arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2210.12283cs.AIcs.LG
收藏

Draft, Sketch, and Prove:用非形式证明指导形式定理证明

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

Meta AI;University of Cambridge(剑桥大学);University of Washington(华盛顿大学);Allen Institute for AI(艾伦人工智能研究所);Google Research(谷歌研究院);Cornell University(康奈尔大学);Stanford University(斯坦福大学)

Albert Q. Jiang, Sean Welleck, Jin Peng Zhou, Wenda Li, Jiacheng Liu, Mateja Jamnik, Timothée Lacroix, Yuhuai Wu, Guillaume Lample

摘要:

现有数学证明的形式化是一个非常困难的过程。尽管对自动化和证明助手进行了数十年的研究,编写正式的证明仍然很艰巨,只有少数专家才能访问。虽然以前的研究自动化形式化集中在强大的搜索算法,没有尝试利用现有的非正式证明。在这项工作中,我们介绍草案,草图和证明(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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑