草稿、草图与证明:用非形式化证明指导形式化定理证明器

Draft, Sketch, and Prove: Guiding Formal Theorem Provers with Informal Proofs

蒋启天 Albert Q. Jiang · University of Cambridge / Meta AI · 2022-10-21 · arXiv:2210.12283 ↗ · 被引 326

打开互动全文版(逐段中英对照 + 图/公式 + 论文问答)→

摘要 · Abstract

现有数学证明的形式化是一个众所周知的困难过程。尽管在自动化和证明助手方面进行了数十年的研究,编写形式化证明仍然艰巨且只有少数专家能够掌握。以往自动化形式化的研究侧重于强大的搜索算法,但没有人尝试利用现有的非形式化证明。在这项工作中,我们引入了 Draft, Sketch, and Prove (DSP)方法,该方法将非形式化证明映射为形式化证明草图,并利用这些草图通过将搜索引导到更简单的子问题来指导自动化证明器。我们研究了两种相关设置,其中非形式化证明由人类编写或由语言模型生成。我们的实验和消融研究表明,大型语言模型能够生成结构良好的形式化草图,这些草图遵循与非形式化证明相同的推理步骤。用这些草图指导自动化证明器,在一组数学竞赛问题上的性能从 20.9%提升到了 39.3%。

The formalization of existing mathematical proofs is a notoriously difficult process. Despite decades of research on automation and proof assistants, writing formal proofs remains arduous and only accessible to a few experts. While previous studies to automate formalization focused on powerful search algorithms, no attempts were made to take advantage of available informal proofs. In this work, we introduce Draft, Sketch, and Prove (DSP), a method that maps informal proofs to formal proof sketches, and uses the sketches to guide an automated prover by directing its search to easier sub-problems. We investigate two relevant setups where informal proofs are either written by humans or generated by a language model. Our experiments and ablation studies show that large language models are able to produce well-structured formal sketches that follow the same reasoning steps as the informal proofs. Guiding an automated prover with these sketches enhances its performance from 20.9% to 39.3% on a collection of mathematical competition problems.

核心贡献 · Key contributions

局限 · Limitations

论文章节 · Sections(共 19)

阅读逐段中英对照全文 →