Lune

NeurIPS2024Top-tier venue

Proving Theorems Recursively

Haiming Wang, Huajian Xin, Zhengying Liu, Wenda Li, Yinya Huang, Jianqiao Lu, Zhicheng Yang, Jing Tang, Jian Yin, Zhenguo Li, Xiaodan Liang

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.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

15 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Hilbert: Recursively Building Formal Proofs with Informal Reasoning cites Reviving DSP for Advanced Theorem Proving in the Era of Reasoning Models
  • Hilbert: Recursively Building Formal Proofs with Informal Reasoning cites miniF2F: a cross-system benchmark for formal Olympiad-level mathematics
  • Reviving DSP for Advanced Theorem Proving in the Era of Reasoning Models cites Autoformalization with Large Language Models
  • Reviving DSP for Advanced Theorem Proving in the Era of Reasoning Models cites miniF2F: a cross-system benchmark for formal Olympiad-level mathematics
  • Reviving DSP for Advanced Theorem Proving in the Era of Reasoning Models cites HyperTree Proof Search for Neural Theorem Proving
  • Solving Quantitative Reasoning Problems with Language Models cites Autoformalization with Large Language Models
  • Solving Quantitative Reasoning Problems with Language Models cites Chain-of-Thought Prompting Elicits Reasoning in Large Language Models
  • MPS-Prover: Advancing Stepwise Theorem Proving by Multi-Perspective Search and Data Curation cites HyperTree Proof Search for Neural Theorem Proving
  • Autoformalization with Large Language Models cites miniF2F: a cross-system benchmark for formal Olympiad-level mathematics
  • Cobblestone: A Divide-and-Conquer Approach for Automating Formal Verification cites Solving Quantitative Reasoning Problems with Language Models
  • Cobblestone: A Divide-and-Conquer Approach for Automating Formal Verification cites Chain-of-Thought Prompting Elicits Reasoning in Large Language Models
  • HyperTree Proof Search for Neural Theorem Proving cites miniF2F: a cross-system benchmark for formal Olympiad-level mathematics
  • Grammars of Formal Uncertainty: When to Trust LLMs in Automated Reasoning Tasks cites Autoformalization with Large Language Models
  • Grammars of Formal Uncertainty: When to Trust LLMs in Automated Reasoning Tasks cites Chain-of-Thought Prompting Elicits Reasoning in Large Language Models
  • Grammars of Formal Uncertainty: When to Trust LLMs in Automated Reasoning Tasks cites HyperTree Proof Search for Neural Theorem Proving
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers15

  1. Hilbert: Recursively Building Formal Proofs with Informal ReasoningSumanth Varambally, Thomas Voice, Yanchao Sun, Zhifeng Chen et al.ICLR 2026 · 62 citations
  2. Reviving DSP for Advanced Theorem Proving in the Era of Reasoning ModelsChenrui Cao, Liangcheng Song, Zenan Li, Xinyi Le et al.NeurIPS 2025 · 23 citations
  3. Grammars of Formal Uncertainty: When to Trust LLMs in Automated Reasoning TasksDebargha Ganguly, Vikash Singh, Sreehari Sankar, Biyao Zhang et al.NeurIPS 2025 · 11 citations
  4. MPS-Prover: Advancing Stepwise Theorem Proving by Multi-Perspective Search and Data CurationZhenwen Liang, Linfeng Song, Yang Li, Tao Yang et al.NeurIPS 2025 · 10 citations
  5. Cobblestone: A Divide-and-Conquer Approach for Automating Formal VerificationSaketh Ram Kasibatla, Arpan Agrawal, Yuriy Brun, Sorin Lerner et al.ICSE 2026 · 3 citations

Builds on16

  1. Chain-of-Thought Prompting Elicits Reasoning in Large Language ModelsJason Wei, Xuezhi Wang, Dale Schuurmans, Maarten Bosma et al.NeurIPS 2022 · 22,562 citations
  2. Solving Quantitative Reasoning Problems with Language ModelsAitor Lewkowycz, Anders Andreassen, David Dohan, Ethan Dyer et al.NeurIPS 2022 · 2,039 citations
  3. Autoformalization with Large Language ModelsYuhuai Wu, Albert Qiaochu Jiang, Wenda Li, Markus N. Rabe et al.NeurIPS 2022 · 364 citations
  4. miniF2F: a cross-system benchmark for formal Olympiad-level mathematicsKunhao Zheng, Jesse Michael Han, Stanislas PoluICLR 2022 · 342 citations
  5. HyperTree Proof Search for Neural Theorem ProvingGuillaume Lample, Timothée Lacroix, Marie-Anne Lachaux, Aurélien Rodriguez et al.NeurIPS 2022 · 271 citations

Related papers

  1. Thor: Wielding Hammers to Integrate Language Models and Automated Theorem ProversAlbert Qiaochu Jiang, Wenda Li, Szymon Tworkowski, Konrad Czechowski et al.NeurIPS 2022 · 154 citations
  2. Enhancing Neural Theorem Proving via High-Quality Proof Selection and Verifier FeedbackXiaoxue Zhu, Jilin Hu, Fuyuan Zhang, Jianyu Zhang et al.ICML 2026
  3. ProofAug: Efficient Neural Theorem Proving via Fine-grained Proof Structure AnalysisHaoxiong Liu, Jiacheng Sun, Zhenguo Li, Andrew C. YaoICML 2025
  4. Learn from Failure: Fine-tuning LLMs with Trial-and-Error Data for Intuitionistic Propositional Logic ProvingChenyang An, Zhibo Chen, Qihao Ye, Emily First et al.ACL 2024 · 1 citation
  5. DT-Solver: Automated Theorem Proving with Dynamic-Tree Sampling Guided by Proof-level Value FunctionHaiming Wang, Ye Yuan, Zhengying Liu, Jianhao Shen et al.ACL 2023 · 5 citations
Dusk over the sea between two cliffs drawn in fine vertical lines