Skip to content

About

No description, website, or topics provided.

Resources

Stars

20 stars

Watchers

0 watching

Forks

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

Awesome-Formal-Mathematics

The official repo for “Toward Research-Level Formal Mathematics with Large Language Models”

📖 Table of Contents


📌 Overview

Recent developments in AI for Mathematics (AI4Math) — especially LLM-driven theorem provers — have achieved remarkable milestones in formal proof generation within Interactive Theorem Proving (ITP) environments such as Lean 4, Coq, and Isabelle. However, current systems remain fundamentally limited when tackling frontier research mathematics: discovering new theorems, resolving open conjectures, and engaging with problems that are open-ended, under-specified, and deeply abstract.

We argue that the next leap requires a decisive shift from predefined problem-solvers to research agents capable of addressing frontier mathematical challenges with rigorous formal reasoning. This repository organizes the literature covered in our position paper across:

  • Autoformalization — translating natural language mathematics into ITP-verifiable formal statements
  • Training Strategies — SFT, RL, expert iteration, and reflective learning for proof generation
  • Test-time Adaptation — planning, decomposition, and retrieval augmentation at inference time
  • Agentic Proving — multi-agent, tool-augmented proving systems
  • Datasets & Benchmarks — evaluation infrastructure for neural theorem proving

🗂️ Taxonomy

We organize recent approaches along three complementary axes:

Axis Categories
Training Strategies (§3.1) Supervised Fine-Tuning · Reinforcement Learning · Search-in-the-Loop · Reflective Learning
Test-time Adaptation (§3.2) Planning & Decomposition · Theorem Retrieval · Search Algorithms
System Architecture (§3.3) Generative Policy · Structural Search · Systematic Agent Prover

Tag Legend:

Tag Meaning
SFT Supervised Fine-Tuning / Expert Iteration
RL Reinforcement Learning
Search Search-in-the-Loop (MCTS, BFS, expert iteration cycles)
Decomposition Planning / Subgoal Decomposition
Retrieval Premise / Theorem Retrieval
Agent Agentic / Multi-Agent Systems
Autoformalization Autoformalization
Benchmark Dataset / Benchmark

📑 Paper List

1. Autoformalization

Autoformalization bridges informal mathematics (natural language proofs, textbook statements) and formal ITP languages, addressing semantic ambiguity, type mismatch, and library alignment.

Paper Tags Venue Year Code
Autoformalization with Large Language Models AutoFormal NeurIPS 2022 —
Thor: Wielding Hammers to Integrate LMs and ATPs AutoFormal NeurIPS 2022 —
Draft, Sketch, and Prove (DSP) AutoFormal Decomp ICLR (Oral) 2023 Stars
ProofNet: Autoformalizing Undergraduate-Level Math AutoFormal Benchmark Preprint 2023 Stars
Herald: A Natural Language Annotated Lean 4 Dataset AutoFormal Benchmark ICLR 2025 Stars
ATLAS: Autoformalizing via Lifting, Augmentation & Synthesis AutoFormal SFT NeurIPS 2025 Stars
QDTSynth: Quality-Driven Theorem Synthesis AutoFormal ACL 2025 —
MASA: Multi-Agent Autoformalization AutoFormal Agent EMNLP Demo 2025 Stars
LTRAG: Thought-Guided RAG for Autoformalization AutoFormal Retrieval ACL Findings 2025 Stars
ReForm: Reflective Autoformalization with Bounded Seq Opt AutoFormal ICLR 2026 Stars
Autoformalization Survey (Weng et al.) AutoFormal Preprint 2025 —
A Lean Dataset for IMO: Small Steps for Hard Problems AutoFormal Benchmark TMLR 2025 Stars

2. Training Strategies

2.1 Supervised Fine-Tuning & Expert Iteration

Paper Tags Venue Year Code
GPT-f: Generative Language Modeling for ATP SFT Preprint 2020 Stars
Proof Artifact Co-training (PACT) SFT ICLR 2022 —
TheoremLlama: Transforming LLMs into Lean4 Experts SFT EMNLP 2024 Stars
DeepSeek-Prover: Large-Scale Synthetic Data for ATP SFT Search Preprint 2024 —
HunyuanProver: Scalable Data Synthesis & Guided Tree Search SFT Search Preprint 2024 —
Goedel-Prover: Frontier Open-Source ATP SFT RL Preprint 2025 Stars
Goedel-Prover-V2: Scaffolded Synthesis & Self-Correction SFT RL Preprint 2025 Stars
Kimina-Prover: Large Formal Reasoning Models with RL SFT RL Preprint 2025 Stars
DeepTheorem: LLM Reasoning via NL and RL SFT RL Preprint 2025 Stars
SEED-Prover: Deep and Broad Reasoning for ATP SFT RL Preprint 2025 Stars

2.2 Reinforcement Learning

Paper Tags Venue Year Code
DeepSeek-Prover-V1.5: RLPAF + MCTS RL Search ICLR 2025 Stars
AlphaProof: RL for Formal Math (IMO Silver Medal) RL Search Blog 2024 —
AlphaProof (Nature): Olympiad-level RL Proving RL Search Nature 2025 —
Abel: Sample Efficient Online RL for ATP RL NeurIPS-W 2024 —
DeepSeek-Prover-V2: RL for Subgoal Decomposition RL Decomp Preprint 2025 Stars
Leanabell-Prover: Posttraining Scaling in Formal Reasoning RL Preprint 2025 Stars
Leanabell-Prover-V2: Verifier-Integrated RL RL Preprint 2025 Stars
Scaling Multi-Turn Off-Policy RL & Multi-Agent Tree Search RL Preprint 2025 —
Seed-Prover 1.5: Agentic RL for Theorem Proving RL Agent Preprint 2025 Stars
GAR: Generative Adversarial RL for Formal ATP RL Preprint 2025 —

2.3 Search-in-the-Loop Training

Expert iteration with proof search (MCTS, BFS, etc.) embedded in the training loop, iteratively bootstrapping stronger provers.

Paper Tags Venue Year Code
Deep Network Guided Proof Search (E-prover) Search LPAR 2017 —
HyperTree Proof Search (HTPS) Search NeurIPS 2022 —
InternLM2.5-StepProver: Expert Iteration on Large-Scale Lean Search SFT Preprint 2024 Stars
BFS-Prover: Best-First Tree Search for LLM ATP Search ACL 2025 —
MPS-Prover: Multi-Perspective Search & Data Curation Search SFT Preprint 2025 —
STP: Self-play Theorem Proving via Iterative Conjecturing Search Preprint 2025 Stars

2.4 Reflective Learning

Learning from failure: verifier feedback, self-correction, and subgoal decomposition rewards.

Paper Tags Venue Year Code
Baldur: Whole-Proof Generation and Repair SFT ESEC/FSE 2023 —
Decomposing the Enigma: Subgoal-Based Demo Learning Decomp Preprint 2023 Stars
POETRY: Proving Theorems Recursively Decomp NeurIPS 2024 Stars
SubgoalXL: Subgoal-Based Expert Learning Decomp Preprint 2024 Stars
Lyra: Orchestrating Dual Correction in ATP SFT TMLR 2024 Stars
Hierarchical Proof Decomposition via Rewarding LLMs Decomp Preprint 2024 —
HybridProver: LLM-Driven Proof Synthesis & Refinement SFT Preprint 2025 —
Decomposition-Based Solving with Iterative Reflection Decomp Preprint 2025 —

3. Test-time Adaptation

3.1 Planning & Theorem Decomposition

Paper Tags Venue Year Code
Draft, Sketch, and Prove (DSP) Decomp AutoFormal ICLR (Oral) 2023 Stars
DeepSeek-Prover-V2: Subgoal Decomposition Decomp RL Preprint 2025 Stars
Reviving DSP for Advanced Theorem Proving Decomp Preprint 2025 Stars
Hilbert: Recursive Decomposition + RAG (99.2% MiniF2F) Decomp Retrieval Preprint 2025 —
StepFun-Prover: Think and Verify Step by Step Decomp Preprint 2025 Stars
ProofCompass: Guiding Formal Proof Search with LLMs Search ICML-W 2025 —
DeepTheorem: NL → Formal via Informal Planning Decomp Preprint 2025 Stars
PaCoRe: Parallel Coordinated Reasoning Decomp Preprint 2026 Stars

3.2 Theorem Retrieval

Paper Tags Venue Year Code
LeanDojo / ReProver: Retrieval-Augmented LLMs for Lean Retrieval NeurIPS (Oral) 2023 Stars
COPRA: In-Context Learning for Theorem Proving Retrieval COLM 2024 Stars
LEGO-Prover: Dynamic Growing Proof Library Retrieval ICLR 2024 Stars
LeanAgent: Lifelong Learning for Formal Theorem Proving Retrieval Agent ICLR 2025 Stars
LemmaHead: RAG-Assisted Proof Generation Retrieval Preprint 2025 —
ProofNet++: Neuro-Symbolic Verification with Self-Correction Retrieval Search Preprint 2025 —

4. Systematic Agent Prover

LLMs as autonomous agents: multi-step planning, tool use (ITP interaction, library retrieval, code execution), reflection, and multi-agent collaboration.

Paper Tags Venue Year Code
Proving Olympiad Algebraic Inequalities without Human Demos Agent NeurIPS 2024 —
Proving Olympiad Inequalities by LLMs + Symbolic Reasoning Agent ICLR 2025 Stars
APOLLO: Automated LLM and Lean Collaboration Agent Preprint 2025 —
Prover Agent: Agent-Based Framework for Formal Proofs Agent ICML-W 2025 Stars
Seed-Prover 1.5: Agentic RL + Tool Use Agent RL Preprint 2025 Stars
MASA: Multi-Agent System for Autoformalization Agent AutoFormal EMNLP Demo 2025 Stars
Aristotle: IMO-level ATP Agent Preprint 2025 —
Advancing Mathematical Research via Human-AI Interactive TP Agent Preprint 2025 —

5. Foundation Models for Math

Paper Tags Venue Year Code
GPT-f: Generative Language Modeling for ATP SFT Preprint 2020 Stars
LLEMMA: Open Language Model for Mathematics SFT ICLR 2024 Stars
DeepSeekMath: Pushing the Limits of Math Reasoning SFT Preprint 2024 Stars
OpenAI o1: Learning to Reason RL Preprint 2024 —
DeepSeek-R1: Incentivizing Reasoning via RL RL Preprint 2025 —
Gemini 2.5: Advanced Reasoning & Agentic Capabilities RL Preprint 2025 —

6. Datasets & Benchmarks

Dataset / Benchmark ITP Scale Venue Year Code
CoqGym Coq 71K proofs, 123 projects ICML 2019 Stars
HOList HOL Light 29K theorems ICML 2019 —
MATH — 12.5K problems NeurIPS D&B 2021 Stars
miniF2F Lean / Isabelle / Coq 488 Olympiad problems ICLR 2022 Stars
ProofNet Lean 371 undergrad problems Preprint 2023 Stars
LeanDojo (Mathlib) Lean 4 140M+ tokens NeurIPS (Oral) 2023 Stars
Lean Workbook Lean 4 57K problems Preprint 2024 Stars
PutnamBench Lean / Isabelle / Coq 1697 competition problems NeurIPS D&B 2024 Stars
Herald Lean 4 NL-annotated Lean ICLR 2025 Stars
FrontierMath — Research-level Preprint 2024 —
CombiBench Lean 4 Combinatorics Preprint 2025 Stars
FATE Lean 4 Algebra Preprint 2025 —
IneqMath Lean 4 Inequalities NeurIPS Spotlight 2025 Stars
FormalMath Lean 4 5.6K problems Preprint 2025 —
IMO Lean Dataset Lean 4 IMO problems TMLR 2025 Stars
ProverBench Lean 4 Textbook Preprint 2025 —
Formal Conjectures Lean 4 Open conjectures — 2026 Stars

7. Interactive Theorem Provers & Tools

System Foundation Key Features ML Ecosystem Code
Lean 4 CIC (Dependent Type Theory) Mathlib (1.9M+ LOC), active community LeanDojo, TheoremLlama, extensive Stars
Mathlib4 Lean 4 library 1.9M+ LOC, 140K+ theorems Core of most Lean provers Stars
Coq (Rocq) CIC 383K+ declarations, CompCert, Four Color Theorem CoqGym —
Isabelle/HOL HOL Sledgehammer automation, AFP (5M+ LOC) LISA, IsarStep —
HOL Light HOL Kepler Conjecture formalization HOList —
Metamath ZFC Set Theory Minimalist, 40K+ theorems GPT-f origin —
AlphaGeometry Geometry-specific Neural + algebraic, deductive database Built-in —

🔮 Open Challenges

We identify five critical open challenges for advancing toward research-level formal mathematics:

# Challenge Description
1 Data Scarcity & Evaluation Formal math corpora remain orders of magnitude smaller than informal ones; specification fidelity and benchmark contamination are growing concerns
2 Relational Structure Current provers treat theorems in isolation; mathematical research requires understanding deep structural relationships between concepts
3 Discovery vs. Verification Existing systems verify known results but cannot discover new theorems, conjecture, or engage in exploratory reasoning
4 Tool Ecosystem Proof assistants need tighter integration with computational tools (CAS, numerical solvers, visualization)
5 Human–AI Collaboration Smooth interactive workflows for mathematician–AI collaboration require uncertainty estimation, calibrated confidence, and intuitive interfaces

About

No description, website, or topics provided.

Resources

Stars

20 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors