← All papers
First page of ProofVMM: A Maturity Model for Auditing Lean Proofs

ProofVMM: A Maturity Model for Auditing Lean Proofs

Gustas Mickus, Linas Petkevicius

cs.LO Nov 27, 2026 · v1
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.
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.

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.

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.

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 κSourceStatusL_techL_credΔ
2^-182OpenAI R182Proved330
2^-154OpenAI R154Proved330
3.67e-5Round 6Proved32+1
5.10e-5PR #62Proved32+1
6.40e-5Round 7Open220
Selected Prove2Me mission audit results