Neural Theorem Proving: Generating and Structuring Proofs for Formal Verification
Not on the map. Why?
Abstract (arXiv)
Formally verifying properties of software code has been a highly desirable task, especially with the emergence of LLM-generated code. In the same vein, they provide an interesting avenue for the exploration of formal verification and mechanistic interpretability. Since the introduction of code-specific models, despite their successes in generating code in Lean4 and Isabelle, the task of generalized theorem proving still remains far from being fully solved and will be a benchmark for reasoning capability in LLMs. In this work, we introduce a framework that generates whole proofs in a formal language to be used within systems that utilize the power of built-in tactics and off-the-shelf automated theorem provers. Our framework includes 3 components: generating natural language statements of the code to be verified, an LLM that generates formal proofs for the given statement, and a module employing heuristics for building the final proof. To train the LLM, we employ a 2-stage fine-tuning process, where we first use SFT-based training to enable the model to generate syntactically correct Isabelle code and then RL-based training that encourages the model to generate proofs verified by a theorem prover. We validate our framework using the miniF2F-test benchmark and the Isabelle proof assistant and design a use case to verify the correctness of the AWS S3 bucket access policy code. We also curate a dataset based on the FVELtextsubscripttextnormalER dataset for future training tasks.
Key facts. Cited by 5 papers in the map (data through 13 Oct 2026). Builds on 27 of its 36 references that are in the map. First posted on arXiv 23 Apr 2025.
Builds on
27 of 36 references.
References · 27
- 2017Proximal Policy Optimization Algorithmscited by 14,592
- 2024DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Modelscited by 9,091
- 2023Direct Preference Optimization: Your Language Model is Secretly a Reward Modelcited by 7,986
- 2025DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learningcited by 6,247
- 2022Solving Quantitative Reasoning Problems with Language Modelscited by 1,369
- 2023LeanDojo: Theorem Proving with Retrieval-Augmented Language Modelscited by 420
- 2023Llemma: An Open Language Model For Mathematicscited by 387
- 2020Generative Language Modeling for Automated Theorem Provingcited by 386
- 2021MiniF2F: a cross-system benchmark for formal Olympiad-level mathematicscited by 383
- 2022Draft, Sketch, and Prove: Guiding Formal Theorem Provers with Informal Proofscited by 285
- 2022Autoformalization with Large Language Modelscited by 259
- 2024DeepSeek-Prover: Advancing Theorem Proving in LLMs through Large-Scale Synthetic Datacited by 231
15 more
- 2022HyperTree Proof Search for Neural Theorem Provingcited by 195
- 2022Formal Mathematics Statement Curriculum Learningcited by 141
- 2023LEGO-Prover: Neural Theorem Proving with Growing Librariescited by 109
- 2022Thor: Wielding Hammers to Integrate Language Models and Automated Theorem Proverscited by 98
- 2016DeepMath - Deep Sequence Models for Premise Selectioncited by 81
- 2017Deep Network Guided Proof Searchcited by 47
- 2017Premise Selection for Theorem Proving by Deep Graph Embeddingcited by 44
- 2025Teaching Language Models to Critique via Reinforcement Learningcited by 40
- 2024Proving Theorems Recursivelycited by 26
- 2023Lyra: Orchestrating Dual Correction in Automated Theorem Provingcited by 25
- 2022Towards a Mathematics Formalisation Assistant using Large Language Modelscited by 22
- 2024FVEL: Interactive Formal Verification Environment with Large Language Models via Theorem Provingcited by 22
- 2024Formal Theorem Proving by Rewarding LLMs to Decompose Proofs Hierarchicallycited by 22
- 2024SubgoalXL: Subgoal-based Expert Learning for Theorem Provingcited by 11
- 2025ProofAug: Efficient Neural Theorem Proving via Fine-grained Proof Structure Analysiscited by 11
Built on by
Citing papers per year: 2025: 2; 2026: 3.
5 papers.
- 2025Neuro-Symbolic AI for Cybersecurity: State of the Art, Challenges, and Opportunitiescited by 2
- 2026VeriBound: PAC-Bayesian Generalization Bounds for Process Reward Models Trained with Formal Verification Toolscited by 1
- 2026AoA: Theorem Proving Agent over Abstract Syntax Tree of Redesigned Languagecited by 1
- 2025A Neuro-Symbolic Framework for Accountability in Public-Sector AIcited by 0
- 2026Case study: proving sqrt(2) irrational with LPTP and an LLMcited by 0
- 2026Case study: proving sqrt(2) irrational with LPTP and an LLM23 Jul 2026
- 2026AoA: Theorem Proving Agent over Abstract Syntax Tree of Redesigned Language17 Jul 2026
- 2026VeriBound: PAC-Bayesian Generalization Bounds for Process Reward Models Trained with Formal Verification Tools17 Jun 2026
- 2025A Neuro-Symbolic Framework for Accountability in Public-Sector AI13 Dec 2025
- 2025Neuro-Symbolic AI for Cybersecurity: State of the Art, Challenges, and Opportunities8 Sep 2025
Similar, not cited
Close in wording, no citation either way
- 2026Neuro-Symbolic Proof Generation for Scaling Systems Software Verification
- 2024TheoremLlama: Transforming General-Purpose LLMs into Lean4 Experts
- 2026A Learning Method for Symbolic Systems Using Large Language Models ↗
- 2025ProofCompass: Enhancing Specialized Provers with LLM Guidance
- 2025LeanProgress: Guiding Search for Neural Theorem Proving via Proof Progress Prediction
- 2026TreeThink: A Modular Tree Search Library for Mathematical Reasoning with LLMs
- 2025Steering LLMs for Formal Theorem Proving
- 2026Pushing the Boundaries of Natural Reasoning: Interleaved Bonus from Formal-Logic Verification