From Informal to Formal -- Incorporating and Evaluating LLMs on Natural Language Requirements to Verifiable Formal Proofs
On the map: LLM reasoning → Mathematical reasoning
Abstract (arXiv)
The research in AI-based formal mathematical reasoning has shown an unstoppable growth trend. These studies have excelled in mathematical competitions like IMO and have made significant progress. This paper focuses on formal verification, an immediate application scenario of formal reasoning, and breaks it down into sub-tasks. We constructed 18k high-quality instruction-response pairs across five formal specification languages (Coq, Lean4, Dafny, ACSL, and TLA+) by distilling gpt-4o and evaluated against ten open-sourced LLMs, including recent popular DeepSeek-R1. We also fine-tuned several 7~8B small models to achieve comparable performance with Deepseek-R1-671B. Interestingly, we observed that fine-tuning with formal data also enhances mathematics, reasoning, and coding capabilities. Fine-tuned models are released at https: //huggingface.co/fm-universe.
Key facts. Cited by 17 papers in the map (data through 7 Oct 2026). Placed in Mathematical reasoning, one of 17 directions in LLM reasoning. Builds on 38 of its 87 references that are in the map. First posted on arXiv 27 Jan 2025.
Builds on
38 of 87 references.
Closest ancestors · 1
Same direction, newest first
Other references · 37
- 2021Training Verifiers to Solve Math Word Problemscited by 9,743
- 2021Evaluating Large Language Models Trained on Codecited by 8,053
- 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,767
- 2021Measuring Mathematical Problem Solving With the MATH Datasetcited by 5,203
- 2021Finetuned Language Models Are Zero-Shot Learnerscited by 3,747
- 2021Program Synthesis with Large Language Modelscited by 3,509
- 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,193
- 2019The Curious Case of Neural Text Degenerationcited by 2,881
- 2022Self-Instruct: Aligning Language Models with Self-Generated Instructionscited by 2,674
- 2022Challenging BIG-Bench Tasks and Whether Chain-of-Thought Can Solve Themcited by 1,767
- 2021Multitask Prompted Training Enables Zero-Shot Task Generalizationcited by 1,462
- 2024DeepSeek-Coder: When the Large Language Model Meets Programming -- The Rise of Code Intelligencecited by 1,154
25 more
- 2024Qwen2.5-Coder Technical Reportcited by 1,151
- 2023Enhancing Chat Language Models by Scaling High-quality Instructional Conversationscited by 825
- 2022InCoder: A Generative Model for Code Infilling and Synthesiscited by 492
- 2024StarCoder 2 and The Stack v2: The Next Generationcited by 484
- 2023LeanDojo: Theorem Proving with Retrieval-Augmented Language Modelscited by 414
- 2023How Far Can Camels Go? Exploring the State of Instruction Tuning on Open Resourcescited by 405
- 2021MiniF2F: a cross-system benchmark for formal Olympiad-level mathematicscited by 380
- 2022Draft, Sketch, and Prove: Guiding Formal Theorem Provers with Informal Proofscited by 278
- 2023ProofNet: Autoformalizing and Formally Proving Undergraduate-Level Mathematicscited by 180
- 2022GitHub Copilot AI pair programmer: Asset or Liability?cited by 150
- 2023Diverse Data Augmentation with Diffusions for Effective Test-time Prompt Tuningcited by 150
- 2019The Lean mathematical librarycited by 127
- 2019Learning to Prove Theorems via Interacting with Proof Assistantscited by 107
- 2021NaturalProofs: Mathematical Theorem Proving in Natural Languagecited by 80
- 2022NaturalProver: Grounded Mathematical Proof Generation with Language Modelscited by 72
- 2023Clover: Closed-Loop Verifiable Code Generationcited by 62
- 2024Enchanting Program Specification Synthesis by Large Language Models using Static Analysis and Program Verificationcited by 55
- 2024A Survey on Deep Learning for Theorem Provingcited by 55
- 2019Pythia: AI-assisted Code Completion Systemcited by 54
- 2024Calibration and Correctness of Language Models for Codecited by 49
- 2023A New Era in Software Security: Towards Self-Healing Software via Large Language Models and Formal Verificationcited by 42
- 2020Natural Language Premise Selection: Finding Supporting Statements for Mathematical Textcited by 13
- 2023BERT is not The Count: Learning to Match Mathematical Statements with Proofscited by 9
- 2024An Evaluation of Requirements Modeling for Cyber-Physical Systems via LLMscited by 6
- 2020iMER: Iterative Process of Entity Relationship and Business Proces Models Extraction from the Requirementscited by 1
Built on by
Citing papers per year: 2025: 9; 2026: 8.
17 papers.
Sort:
By area:
- 2025When LLMs Meet API Documentation: Can Retrieval Augmentation Aid Code Generation Just as It Helps Developers?cited by 12
- 2025OSVBench: Benchmarking LLMs on Specification Generation Tasks for Operating System Verificationcited by 8
- 2025Requirements Development and Formalization for Reliable Code Generation: A Multi-Agent Visioncited by 3
- 2025SysMoBench: Evaluating AI on Formally Modeling Complex Real-World Systemscited by 2
- 2025Improving Autoformalization Using Direct Dependency Retrievalcited by 2
- 2025MINIF2F-DAFNY: LLM-Guided Mathematical Theorem Proving via Auto-Active Verificationcited by 2
- 2026Spec-Harness: Measuring and Improving Behavioral Adequacy of LLM-Synthesized Formal Specificationscited by 2
- 2025Towards Automated Formal Verification of Backend Systems with LLMscited by 1
- 2026ModelWisdom: An Integrated Toolkit for TLA+ Model Visualization, Digest and Repaircited by 1
- 2026Intent-aligned Formal Specification Synthesis via Traceable Refinementcited by 1
- 2025LLMs as verification oracles for Soliditycited by 0
- 2025AutoICE: Automatically Synthesizing Verifiable C Code via LLM-driven Evolutioncited by 0
5 more
- 2026LiveFMBench: Unveiling the Power and Limits of Agentic Workflows in Specification Generationcited by 0
- 2026Neurosymbolic Auditing of Natural-Language Software Requirementscited by 0
- 2026Specula: Scaling formal specifications for autonomous model checking of system codecited by 0
- 2026VeriSkill: A Self-Evolution Framework for Program Verification Skillscited by 0
- 2026Learning to Prove, Not Just to Answer: Reinforcement Learning from Formal Verification for Natural-Language Logical Reasoningcited by 0
- 2026Learning to Prove, Not Just to Answer: Reinforcement Learning from Formal Verification for Natural-Language Logical Reasoning29 Sep 2026
- 2026VeriSkill: A Self-Evolution Framework for Program Verification Skills30 Jul 2026
- 2026Specula: Scaling formal specifications for autonomous model checking of system code28 Jul 2026
- 2026Neurosymbolic Auditing of Natural-Language Software Requirements13 May 2026
- 2026LiveFMBench: Unveiling the Power and Limits of Agentic Workflows in Specification Generation2 May 2026
- 2026Intent-aligned Formal Specification Synthesis via Traceable Refinement12 Apr 2026
- 2026Spec-Harness: Measuring and Improving Behavioral Adequacy of LLM-Synthesized Formal Specifications31 Mar 2026
- 2026ModelWisdom: An Integrated Toolkit for TLA+ Model Visualization, Digest and Repair12 Feb 2026
- 2025MINIF2F-DAFNY: LLM-Guided Mathematical Theorem Proving via Auto-Active Verification11 Dec 2025
- 2025AutoICE: Automatically Synthesizing Verifiable C Code via LLM-driven Evolution8 Dec 2025
- 2025Improving Autoformalization Using Direct Dependency Retrieval15 Nov 2025
- 2025SysMoBench: Evaluating AI on Formally Modeling Complex Real-World Systems27 Sep 2025
5 more
- 2025LLMs as verification oracles for Solidity23 Sep 2025
- 2025Requirements Development and Formalization for Reliable Code Generation: A Multi-Agent Vision26 Aug 2025
- 2025OSVBench: Benchmarking LLMs on Specification Generation Tasks for Operating System Verification29 Apr 2025
- 2025Towards Automated Formal Verification of Backend Systems with LLMs13 Apr 2025
- 2025When LLMs Meet API Documentation: Can Retrieval Augmentation Aid Code Generation Just as It Helps Developers?19 Mar 2025
- 2025OSVBench: Benchmarking LLMs on Specification Generation Tasks for Operating System Verificationcited by 8
- 2025SysMoBench: Evaluating AI on Formally Modeling Complex Real-World Systemscited by 2
- 2026Spec-Harness: Measuring and Improving Behavioral Adequacy of LLM-Synthesized Formal Specificationscited by 2
- 2025Towards Automated Formal Verification of Backend Systems with LLMscited by 1
- 2026ModelWisdom: An Integrated Toolkit for TLA+ Model Visualization, Digest and Repaircited by 1
- 2026Intent-aligned Formal Specification Synthesis via Traceable Refinementcited by 1
- 2025LLMs as verification oracles for Soliditycited by 0
- 2025AutoICE: Automatically Synthesizing Verifiable C Code via LLM-driven Evolutioncited by 0
- 2026Neurosymbolic Auditing of Natural-Language Software Requirementscited by 0
- 2026Specula: Scaling formal specifications for autonomous model checking of system codecited by 0
- 2026Specula: Scaling formal specifications for autonomous model checking of system code28 Jul 2026
- 2026Neurosymbolic Auditing of Natural-Language Software Requirements13 May 2026
- 2026Intent-aligned Formal Specification Synthesis via Traceable Refinement12 Apr 2026
- 2026Spec-Harness: Measuring and Improving Behavioral Adequacy of LLM-Synthesized Formal Specifications31 Mar 2026
- 2026ModelWisdom: An Integrated Toolkit for TLA+ Model Visualization, Digest and Repair12 Feb 2026
- 2025AutoICE: Automatically Synthesizing Verifiable C Code via LLM-driven Evolution8 Dec 2025
- 2025SysMoBench: Evaluating AI on Formally Modeling Complex Real-World Systems27 Sep 2025
- 2025LLMs as verification oracles for Solidity23 Sep 2025
- 2025OSVBench: Benchmarking LLMs on Specification Generation Tasks for Operating System Verification29 Apr 2025
- 2025Towards Automated Formal Verification of Backend Systems with LLMs13 Apr 2025
Similar, not cited
Close in wording, no citation either way
- 2025FormalMATH: Benchmarking Formal Mathematical Reasoning of Large Language Models
- 2025Thinking Machines: Mathematical Reasoning in the Age of LLMs
- 2025HERMES: Towards Efficient and Verifiable Mathematical Reasoning in LLMs
- 2025ProofCompass: Enhancing Specialized Provers with LLM Guidance
- 2025Evaluating Mathematical Reasoning Across Large Language Models: A Fine-Grained Approach
- 2025Steering LLMs for Formal Theorem Proving
- 2025Towards Advanced Mathematical Reasoning for LLMs via First-Order Logic Theorem Proving
- 2025MSC-180: A Benchmark for Automated Formal Theorem Proving from Mathematical Subject Classification