ProofVMM: A Maturity Model for Auditing Lean Proofs
Gustas Mickus, Linas Petkevicius
cs.LO
Nov 27, 2026 · v1
TL;DR
Defines a maturity model for auditing Lean 4 proofs and applies it to Prove2Me Lean missions and 21 kernel-checked auxiliary theorems built against Mathlib.
Abstract
Interactive theorem provers such as Lean 4 verify whether a proof term inhabits its formal type, yet they do not check whether that type matches the intended source claim or whether auxiliary proofs advance a target theorem. We introduce ProofVMM (the Proof Verification Maturity Model), a five-tier framework ($L_0$–$L_4$) with four transition gates that separates automated verification status ($L_{\mathrm{tech}}$) from audited semantic faithfulness ($L_{\mathrm{cred}}$), defining the Compile–Faithfulness Gap as $Δ= L_{\mathrm{tech}} - L_{\mathrm{cred}}$, and that propagates maturity across a dependency graph. Applying ProofVMM to the 10-mission Prove2Me campaign (aiming to multiply integers faster than $O(n \log n)$ time) reveals that whilst 5 missions display a Proved status with zero open leaves, only 3 establish full-scope claims while the other 2 verify fixed-constant special cases. An interactive session with DeepSeek V4.1 Flash on an open frontier target further produces 21 kernel-checked auxiliary theorems that leave the target leaf untouched, exposing totalisation traps, mis-indexed specifications, and scope mismatches. ProofVMM turns binary Proved labels into an auditable breakdown of what has actually been established.
Problem
Lean's kernel confirms that a proof term inhabits its formal type. It does not confirm that the type matches the intended source claim or that auxiliary lemmas advance the target theorem, so binary 'Proved' labels can mislead.
Approach
ProofVMM is a five-tier framework (L0 to L4) with four transition gates. Each claim gets two scores: a technical proof-closure level (L_tech) and an audited statement-faithfulness level (L_cred). Their difference defines the Compile–Faithfulness Gap. Maturity propagates through the dependency graph via a weakest-link rule, and the gates combine automated checks (lake build, #print axioms, no native_decide, #lint) with manual audits.
Results
Across the 10-mission Prove2Me campaign on integer multiplication faster than O(n log n), 5 missions show Proved with zero open leaves, but only 3 establish full-scope claims. The other 2 verify fixed-constant special cases. A DeepSeek session produced 21 kernel-checked auxiliary theorems that left the target leaf untouched, exposing totalisation traps, mis-indexed specifications and scope mismatches.
| Target κ | Source | Status | L_tech | L_cred | Δ |
|---|
| 2^-182 | OpenAI R182 | Proved | 3 | 3 | 0 |
| 2^-154 | OpenAI R154 | Proved | 3 | 3 | 0 |
| 3.67e-5 | Round 6 | Proved | 3 | 2 | +1 |
| 5.10e-5 | PR #62 | Proved | 3 | 2 | +1 |
| 6.40e-5 | Round 7 | Open | 2 | 2 | 0 |
Selected Prove2Me mission audit results