Machine-Checked Proofs: Verification Limits and the Understanding Gap

    Large-scale formal proofs can establish confidence in a mathematical result without making its reasoning understandable to humans. This article examines what proof certificates establish, four essential audit gates, the division of work between humans and machines, and practical controls for reproducibility, axiom tracking, and responsible evaluation of major proof announcements.

    When a major mathematical claim is announced as “proved by a program,” engineers and mathematicians face the same problem: how to take responsibility for a conclusion when the proof is too large to read line by line.

    Rather than treating announcements that have not undergone sustained peer review as established theorems, this article examines the underlying technical challenge: establishing trust in very large formal proofs, defining audit gates, and separating confidence in correctness from mathematical understanding.

    What Formal Verification Actually Proves

    Interactive theorem provers represent mathematical statements and proofs as machine-checkable terms. Definitions, lemmas, and proof scripts must ultimately reduce to a small set of kernel rules. The kernel performs type checking and reduction; it does not decide whether a conjecture is important.

    An accepted certificate therefore establishes a specific result: under the selected logic and axioms, the particular proposition encoded in the system follows. It does not automatically establish that this proposition is the conjecture people intended, or that a human can explain the proof’s central idea.

    In practice, three things must remain separate:

    1. The standard statement. The proposition should use definitions maintained by the mathematical community and reviewed by experts, rather than a superficially similar version rewritten by the proof’s authors.
    2. The proof object. The exported artifact should be a static proof term, not merely a script that computes a result during compilation and inserts it without a corresponding derivation.
    3. The axiom footprint. The final dependencies should be available as an explicit list. Familiar axioms of classical mathematics, such as choice and the law of excluded middle, may be acceptable. Additional assumptions, unexplained axioms, or loopholes that bypass type checking undermine the meaning of “proved.”

    Four Essential Audit Gates

    Once a project reaches millions of declarations, individual reading is no longer a viable verification strategy. Auditing must use multiple independent gates, each answering a different question.

    1. Proposition Identity

    The relevant comparison is not between filenames. It is whether the type of the proof term is definitionally equal to the target proposition in the standard library.

    A weakened proposition, an omitted requirement concerning infinitely many zeros, or a restriction from all Dirichlet characters to a finite collection can all produce a proof that the kernel accepts. The problem is that it proves something other than the intended claim.

    An independent structural comparison tool should check this identity without sharing the implementation of the original comparison mechanism. Otherwise, the same faulty logic may effectively be checking itself.

    2. Reproducible Compilation

    External reviewers should be able to compile every component locally using publicly available dependency versions and reproduce the proof exports released by the authors.

    Screenshots, abbreviated logs, and binaries that cannot be rebuilt do not constitute independent verification. Large modular projects need fixed toolchain versions, hashes, and build recipes. Without them, “it compiled on my machine” is not a transferable assurance.

    3. Kernel Verification and Independent Checking

    The proof terms should pass the official kernel and at least one independently implemented checker.

    A stronger approach is to use a checker with a correctness argument relative to set theory or another foundation, making unjustified acceptance of false proofs harder.

    Agreement across kernels reduces the risk of a defect in a single implementation. It does not, by itself, address errors in the mathematical interpretation or strategy.

    4. No Executable Payload Required for Acceptance

    After executable scripts, code generators, and external solver calls have been removed from the checking path, the remaining static terms should still pass verification.

    Otherwise, reviewers cannot rule out a result that was computed and inserted without an independently checkable derivation.

    Passing all four gates transfers trust from the authors’ personal credibility to the kernels, standard definitions, and reproduction process. That trust base is narrower and more auditable, but it does not make the proof understandable to everyone.

    Human–Machine Collaboration and Proof Structure

    Large formalization projects are almost always layered.

    Humans choose the route. For example, they may recast growth estimates in analytic number theory through structural analogies involving computable determinants and lifting chains over finite fields or function fields. They also identify the lemmas that must first be understood mathematically.

    Machines and AI coding assistants are well suited to constructing technical lemmas within an established pattern: lifts of specified lengths, tedious inequality bookkeeping, and large volumes of routine rewriting. During an intensive development phase, their throughput may far exceed manual proof writing. That is unsurprising, and it does not establish that an assistant “understands the conjecture.”

    This division of labor should be visible in the repository, not just described in an announcement. At a minimum, the project should contain:

    • A human-readable roadmap explaining the dependencies among the main lemmas.
    • Stable interfaces separating core constructions from bookkeeping lemmas.
    • Clearly identified generated or search-produced artifacts, including which files must not be edited manually and how to regenerate them.

    Without a roadmap, auditors of a ten-million-line proof may be able to establish only that the kernel did not reject it. They cannot readily assess whether the proof is fragile or depends on an incidental ordering of definitions.

    Why Confidence and Understanding Can Diverge

    Traditional proofs serve two purposes: convincing other mathematicians that a conclusion is true and communicating reasons that can be reused elsewhere.

    Computer-assisted proofs partially mechanize the first purpose. The second does not automatically follow.

    Decades of concern about the “death of proof” point to this gap. When checking costs exceed human lifetimes or attention spans, a community may be left with social acceptance of a certificate rather than shared understanding of an argument.

    This does not make machine-checked proofs invalid. The Four Color Theorem and computational parts of the classification of finite simple groups have already required mathematics to accept computation as part of proof.

    The important question is how much understanding is lost.

    If the core ideas can be explained in a dozen or so pages of readable mathematics, with the large formalization completing the bookkeeping, understanding remains accessible. If nobody can identify the estimate that forms the proof’s backbone beyond saying “run the checker,” the community has a correctness certificate, but not a theory that can readily be taught, improved, or used to diagnose misleading analogies.

    The surrounding incentives can make this distinction harder to maintain. Announcement speed, lines of code, and the percentage attributed to a model are easier to publicize than the question, “Which lemma is genuinely new?”

    A healthier standard asks authors to present the minimal conceptual core: an explanation that still shows experts why the proof could work after routine rewriting has been stripped away.

    Practical Engineering Controls

    Treat an enormous proof as a software system, not merely as an attachment to a paper.

    Versioning and Modularization

    Split modules by mathematical dependency rather than development date, and ensure that subsets can be checked independently.

    Export a hash for each component and maintain a complete manifest that third parties can verify item by item.

    Tests for the Canonical Proposition

    Alongside the standard statement, prepare variants that must fail the identity check: remove a critical condition, replace an unrestricted claim with a finite case, or substitute a weaker zero region.

    If the comparison tool also reports these variants as identical to the target, the comparison mechanism itself is not trustworthy.

    Axiom and Trust-Base Reports

    Automatically collect the axiom closure of every top-level theorem and compare it with the project’s allowlist.

    A newly introduced axiom should be treated as a breaking change, not as a routine implementation detail.

    Separate Human Semantic Review from Full Machine Checking

    Machines should check every proof leaf. Two human reviewers should focus on the roadmap, the mathematical meaning of key constructions, and whether standard definitions are referenced rather than copied and rewritten.

    Review records should explicitly identify the unread portions. They should not imply that a line-by-line human review took place when it did not.

    Regeneration and Archiving

    Freeze the prover version, library commits, and build parameters. Archive static proof exports separately from source code.

    The source may continue to evolve, but an announced certificate must remain reproducible in its frozen environment.

    An audit conclusion can be constrained by a structured record instead of a broad prose claim that the proof is “certified”:

    1. goal: target proposition identifier in the standard library
    2. axiom_closure: [permitted foundational axioms]
    3. kernel_checks: [primary kernel, independent kernel]
    4. proposition_diff: empty structural difference from the standard statement
    5. negative_tests: all weakened variants rejected
    6. human_core: main lemmas covered by the roadmap
    7. unread_boundary: bookkeeping not reviewed by humans

    This record is not mathematical understanding. It does, however, make the boundaries of trust explicit and citable.

    How to Evaluate Major Announcements

    For a major conjecture in analytic number theory, even a certificate accepted by multiple kernels may leave experts needing months or years to understand whether the proposed route covers every case and whether its informal account relies on analytical estimates that have not been formalized.

    Before that review is complete, the responsible description is “a formalized claim awaiting review,” rather than “the conjecture is now a theorem.” News cycles and kernel checks operate on different timelines.

    Hardware availability, supply chains, and publicity cycles do not change this standard. Cheaper computation and faster assisted construction can make bookkeeping grow faster. That makes proposition identity, axiom footprints, and human-readable roadmaps more important—not less necessary.

    Conclusion

    Very large formal proofs deserve serious attention because they concentrate trust in kernels, standard definitions, and reproducible builds. But the scope of their assurance must remain clear.

    A certificate answers, “Does this proposition follow?” A roadmap answers, “Why do humans believe this route works?” Both are necessary, and neither can substitute for the other.

    An effective audit should establish that the proposition has not been changed, static proofs can be replayed by independent kernels, the axiom closure is explicit, and experts can explain the key ideas. Until those conditions are met, line counts, development speed, and narratives about tools are background information—not conclusions.