TL;DR
FIPO-Prover is a new framework that treats informal mathematical proofs not as static drafts, but as dynamic, optimizable states. By iteratively refining natural language reasoning based on feedback from the Isabelle formal verifier, it achieves a state-of-the-art 73.77% pass@1 rate on the MiniF2F-Test benchmark.
What Problem Does This Paper Address?
Large Language Models (LLMs) are surprisingly good at "informal" mathematics—writing out proofs in natural language much like a human would. However, they often stumble when asked to write "formal" proofs in languages like Isabelle or Lean, which require absolute logical precision and machine-checkable syntax.
The core issue is a representation mismatch. Informal proofs often skip "obvious" steps, omit dependencies, or use ambiguous language. When an LLM tries to translate these "leaky" informal proofs into formal code, the verifier rejects them. Most existing systems try to fix the formal code directly, but FIPO-Prover argues that the real problem lies upstream: the informal reasoning itself needs to be optimized to be "projection-friendly" for formalization.
Methods
The authors introduce the Formalization-oriented Informal Proof (FIP) state. Instead of a block of text, a FIP state is a structured graph of "causal pairs"—explicit links between a mathematical cause (premises) and its effect (the claim).
FIPO-Prover operates as a verification-guided search framework:
- Initialization: It generates an initial informal proof and structures it into FIP causal pairs.
- Projection: It maps these pairs into an Isabelle formal proof candidate.
- Verification & Feedback: Isabelle checks the proof. If it fails, the error is "normalized" (categorized) and routed back to the informal proof.
- Optimization (The Search): The system performs "recovery transitions" to fix the informal proof. These include:
- Explicitization: Breaking down a "big jump" into smaller, clearer steps.
- Causal-Pair Expansion: Turning one complex claim into a finer-grained subgraph of reasoning.
- Upstream Backtracking: If a step is unfixable, the system traces the error back to a faulty premise earlier in the proof.
- Branch Pruning: Using RAG (Retrieval-Augmented Generation) to compare the current proof to the Archive of Formal Proofs (AFP) and kill off "low-promise" directions.
- Memory: The system uses Long-term Memory (LTM) to learn from past successes/failures across different theorems and Short-term Memory (STM) to track the current attempt.
Datasets
The primary benchmark for evaluation is MiniF2F, a collection of 488 high-school competition-level math problems (AIME, AMC, etc.) split into validation and test sets. The authors specifically use the Isabelle version of the dataset. They also utilize the Archive of Formal Proofs (AFP) as a reference library for their RAG-based pruning and expansion logic.
Key Insights and Ideas
- The "Aha" Moment: Fix the Logic, Not Just the Code. The authors found that many Isabelle errors aren't just syntax typos; they are caused by "mathematical gaps" in the informal sketch. By fixing the informal proof first, the formalization becomes much easier.
- Explicitization is King: Analysis showed that 55.2% of successful recoveries came from simply making implicit reasoning more explicit. Only 6.6% required changing the entire proof strategy.
- Blame Localization: Because the FIP state is structured as causal pairs, the system can "blame" a specific informal step for a formal verifier error, allowing for surgical repairs rather than re-rolling the entire proof.
- Target-Conditioned Optimization: The FIP state becomes "Isabelle-friendly." The optimization process essentially "teaches" the informal proof to speak the specific language and granularity required by the target formalizer.
Key Results
- State-of-the-Art Performance: FIPO-Prover achieved 73.77% pass@1 and 80.33% pass@3 on MiniF2F-Test.
- Significant Gains: This outperforms the strongest direct LLM baseline (Gemini 3.1 Pro at 54.51%) by nearly 20 percentage points.
- Efficiency: Unlike "brute-force" sampling methods that require thousands of attempts, FIPO-Prover is highly efficient, solving 65% of problems within just 20 LLM calls.
- Ablation Success: Removing any single component (like Causal-Pair Expansion or Backtracking) led to a significant drop in performance, proving that the multi-layered recovery strategy is necessary.
Limitations and Future Work
- Model Dependency: The current optimization loop is somewhat "overfitted" to the target formalizer (Gemini 3.1 Pro + Isabelle). The authors noted that FIP states optimized for Gemini didn't always help other models like DeepSeek or GPT-5-Codex as much.
- Complexity Scaling: While it excels at high-school competition math, it remains to be seen how well this structured causal-pair approach scales to graduate-level research mathematics where proofs are significantly longer and more abstract.
- Future Directions: The authors suggest exploring cross-prover optimization (e.g., using an informal proof optimized for Isabelle to help solve a Lean proof) and further automating the "Structure Judge" to reduce reliance on LLM prompting.
Summary updated