Proving theorems recursively
Wang, Haiming ; Xin, Huajian ; Liu, Zhengying ; Li, Wenda ; Huang, Yinya ; Lu, Jianqiao ; Yang, Zhicheng ; Tang, Jing ; Yin, Jian ; Li, Zhenguo ... show 1 more
Wang, Haiming
Xin, Huajian
Liu, Zhengying
Li, Wenda
Huang, Yinya
Lu, Jianqiao
Yang, Zhicheng
Tang, Jing
Yin, Jian
Li, Zhenguo
Supervisor
Department
Computer Vision
Embargo End Date
Type
Conference proceeding
Date
2024
License
Language
English
Collections
Research Projects
Organizational Units
Journal Issue
Abstract
Recent advances in automated theorem proving leverages language models to explore expanded search spaces by step-by-step proof generation. However, such approaches are usually based on short-sighted heuristics (e.g., log probability or value function scores) that potentially lead to suboptimal or even distracting subgoals, preventing us from finding longer proofs. To address this challenge, we propose POETRY (PrOvE Theorems RecursivelY), which proves theorems in a recursive, level-by-level manner in the Isabelle theorem prover. Unlike previous step-by-step methods, POETRY searches for a verifiable sketch of the proof at each level and focuses on solving the current level's theorem or conjecture. Detailed proofs of intermediate conjectures within the sketch are temporarily replaced by a placeholder tactic called sorry, deferring their proofs to subsequent levels. This approach allows the theorem to be tackled incrementally by outlining the overall theorem at the first level and then solving the intermediate conjectures at deeper levels. Experiments are conducted on the miniF2F and PISA datasets and significant performance gains are observed in our POETRY approach over state-of-the-art methods. POETRY on miniF2F achieves an average proving success rate improvement of 5.1%. Moreover, we observe a substantial increase in the maximum proof length found by POETRY, from 10 to 26.
Citation
H. Wang et al., “Proving Theorems Recursively,” Adv Neural Inf Process Syst, vol. 37, pp. 86720–86748, Dec. 2024, Accessed: Mar. 24, 2025. [Online]. Available: https://github.com/wiio12/POETRY
Source
Advances in Neural Information Processing Systems (NeurIPS 2024)
Conference
Keywords
Recursive theorem proving, Isabelle theorem prover, POETRY framework, Neural theorem proving, Proof sketching
Subjects
Source
Publisher
NEURIPS
