TL;DR
This paper introduces ProofGate, a new auditing framework to rigorously evaluate the quality of proofs generated by AI theorem provers. It reveals that current high reported pass rates can be misleading by conflating proof correctness, statement alignment, and vacuous truths, and finds significant issues with the public releases of some state-of-the-art systems.
What Problem Does This Paper Address?
The field of AI-driven formal mathematics has seen impressive progress, with neural theorem provers reporting high "pass rates" on benchmarks like miniF2F and PutnamBench. These results suggest that automated theorem proving is nearing a solution. However, the authors argue that these reported metrics are often an oversimplification. They conflate several distinct aspects:
- Proof Faithfulness: Does the proof actually prove the stated theorem according to the formal system's kernel?
- Statement Alignment: Does the formal statement accurately capture the intent of the original informal mathematical statement?
- Problem Vacuity: Is the theorem trivially true (a tautology) or provable from contradictory assumptions (ex falso), making the proof uninformative?
A single failure in any of these areas can render a reported "success" an unsubstantiated claim. The current landscape lacks a standardized, reproducible method to disentangle these phenomena, making it difficult to assess true progress.
Methods
The paper proposes ProofGate, a reproducible audit pipeline that integrates four orthogonal checks to produce a single, dimensionless metric called FAITHFUL-PASS. These checks are:
- Kernel-level Axiom Inspection: This check verifies that proofs only rely on a predefined set of trusted axioms (e.g., standard Lean 4 axioms). It flags proofs that introduce new axioms or rely on potentially unsound compiler-trust axioms.
- Banned-Tactic Linter: A static analysis of the proof source code to identify problematic tactics like
sorry(indicating incomplete proofs),apply?/exact?(interactive tactics that can hide issues), or the introduction of fresh axiom declarations. - Negation-Counterexample Probe: This check attempts to prove the negation of the formal statement. If successful, it indicates the original statement was vacuous (trivially true or based on contradictory premises), making the proof uninformative.
- Alignment Score (SBERT-based): This check uses a Sentence-BERT model to measure the semantic similarity between the informal mathematical statement and its formal Lean counterpart. A low score suggests a potential misformalization.
These checks are combined into the FAITHFUL-PASS metric, with a stricter KERNEL-FAITHFUL-PASS variant focusing only on kernel-level checks.
Datasets
The paper uses existing benchmarks for evaluation:
- miniF2F: A benchmark for formal Olympiad-level mathematics.
- PutnamBench: A multilingual competition-mathematics benchmark.
Additionally, they introduce a synthetic corpus of 10 adversarial Lean files designed to specifically test each of ProofGate's checks. This corpus is used for validation and ensures the pipeline correctly identifies known failure modes.
Key Insights and Ideas
- High Pass Rates Can Be Misleading: The core insight is that simply checking if a proof type-checks in a formal system is insufficient. The reported pass rates often mask issues with proof correctness, statement accuracy, or trivial theorems.
- The Importance of Trusted Bases: The paper highlights how different "trusted bases" (sets of accepted axioms) can affect proof verification. Relying on compiler-trust axioms (like those introduced by
native_decide) expands the trusted base and needs to be explicitly reported. - Public Releases Vary Wildly in Quality: The audit reveals that not all publicly released "proofs" are actually auditable proofs. Some systems release placeholder proofs or only input statements.
- SBERT as a Proxy for Alignment: While not perfect, SBERT-based alignment scoring can provide a useful, albeit preliminary, signal for detecting misformalized statements, correlating reasonably well with expert annotations.
Key Results
- DeepSeek-Prover-V2 and Kimina-Prover-72B: For these systems, 100% of audited proofs were faithful to the kernel and within the conventional trusted base ($\mathcal{T}_0$), with no
sorrytactics or extra axioms. Kimina-Prover-72B had 11 proofs that extended the trusted base to $\mathcal{T}_1$ usingnative_decide. - Goedel-Prover-V2: The public release for miniF2F contained no auditable proofs; the provided files were input statements with
sorryplaceholders. This means their reported pass rate is not verifiable from the release. - Alignment: SBERT-based alignment scoring on DeepSeek-Prover-V2 showed a 15.2% misalignment rate on miniF2F-test, which is within 1.2 percentage points of expert-annotated rates.
- Synthetic Corpus Validation: ProofGate successfully matched all 10 expected verdicts on the synthetic adversarial corpus, demonstrating its effectiveness in identifying specific failure modes.
Limitations and Future Work
- SBERT Limitations: The paper acknowledges that SBERT embeddings alone can miss subtle structural misalignments and that its reported misalignment rates are sensitive to the chosen threshold. They suggest using LLM judges for escalation.
- Vacuity Check Recall: The negation-counterexample probe uses a fixed, limited set of tactics and may miss vacuous statements requiring more complex search. Integration with tools like Plausible is suggested for better recall.
- Kernel-Level Check Completeness: The kernel-level axiom inspection checks axiom names but doesn't verify if the released theorem's signature matches the benchmark's expected signature, nor does it detect certain metaprogramming injections. The authors suggest delegating this to external tools like
lean4checkerandComparator. - Future Work: The authors recommend a reporting protocol for future prover papers, including reporting axiom sets, tactic usage, benchmark revisions, and FAITHFUL-PASS scores. They also suggest extending ProofGate to other proof assistants and benchmarks, and further investigating LLM-based alignment evaluation.
Summary updated