What Has Actually Been Proved? Auditable Paper-to-Lean Alignment with LeanTrail
Fabricio Venturim, Leighton Estrada, Claudio Silva, Jorge Poco
Abstract
Compiler feedback certifies that Lean accepts a declaration, not that the declaration captures the intended result: a repository can compile while a central theorem is weakened, merely auxiliary, or transitively dependent on sorry. Formalization progress should instead be measured against the source paper, in terms of its paper items: definitions, lemmas, and theorems. LeanTrail implements this view as a post-hoc, tool-agnostic audit: deterministic retrieval proposes candidate counterparts for each paper item in the Lean repository and, when available, the Blueprint; a language model judges statement-level correspondence, only among those candidates; and proof completeness comes from a deterministic transitive dependency audit never exposed to the model. Fusion assigns each item one of five coverage states, from Formalized to Missing, each backed by inspectable evidence. On consensus annotations of 98 items from three Lean projects, with three runs of each of two judge models, LeanTrail assigns the correct coverage state to 91.8% (Gemini 3.8 Flash) and 92.5% (GPT-6 Sol) of items. 96-97 of the 98 states are identical across runs, and GPT-6 Sol never reports a Partial item as Formalized. Uncovered items form a natural task queue for formalization agents, anchored to the specification rather than the compiler.
Create a lesson
Related papers
Isabelle Pool Server: a pooled verification service for prover training and multi-agent proving
Shared title terminology · Xuanwei Ren, Wenda Li
Apply All, Prove Once: Embedding Parameterized Lemmas in DRAT
Shared title terminology · Randal E. Bryant, Zachary Battleman, Marijn J. H. Heule
Lean-PEP: Performance-Estimation Certificates to Formally Verified Algorithmic Bounds
Shared title terminology · Xinyuan Guo, Andersen Ang
Does a Self-Learning Migration Agent Learn? An Audited Evaluation of Evidence-Graded Experience Memory for Oracle-to-PostgreSQL Migration
Shared title terminology · Oleg Grynets, Vasyl Lyashkevych, Valeriia Oliferuk et al.
When Proofs Are Abundant, What Is a Paper For?
Shared title terminology · Charles-Albert Lehalle
ProofPatch: Reviewing Lean Statements and Keeping the Reviews Valid as Formalizations Evolve
Shared title terminology · Xujun Che, Depeng Xu, Jian Xiang et al.