Machine Verification of Major Conjectures and the Limits of Understanding

    A formalization accepted by a proof assistant is not the same as human understanding or community acceptance. This article explains what a machine-checked proof actually certifies, four gates for auditing it, where people and tools should divide the work, and the new risks that appear when proof libraries grow to millions of lines.

    Why “proved” is still not enough

    When a major mathematical conjecture is announced as fully formalized, public discussion often treats two claims as one: the machine accepted the proof, and humans therefore understand it. They are not equivalent. The kernel of an interactive proof assistant answers a narrow question—under a given logic and set of axioms, and from the definitions that were declared, is each inference step allowed by the rules? It does not say whether those definitions match the statement the community recognizes, or whether the key constructions reveal mathematical ideas that transfer elsewhere.

    Any report that “a conjecture has been machine-proved” should first be treated as an engineering artifact awaiting audit: the statement, the dependency libraries, the proof scripts, the exported static certificate, and the reproduction records. Until independent review is finished, it is candidate evidence, not a settled result of the mathematical community. Writing candidate evidence up as an established fact is itself a methodological error.

    What formalization actually proves

    A formal proof usually involves four layers of objects.

    The first is the statement. It must be written with the proof assistant’s standard library, or with definitions that peers have reviewed over a long period—for example, a claim about the location of non-trivial zeros of a certain class of L-functions. If the author writes a separate set of definitions that only look similar, then proves a weakened conclusion under those definitions, the compiler will still happily report success.

    The second is the proof term. It is a huge derivation tree built from rules such as elimination, induction, and rewriting. The generated code can run to millions or even tens of millions of lines. Line count is not evidence of difficulty or correctness. It only shows that reading the proof line by line is no longer realistic.

    The third is the trusted computing base. The kernel, the axioms, and the cited lemmas from the standard library jointly decide what “accepted” means. If the proof quietly depends on an extra axiom the community has not accepted, or on an assumption that is circularly equivalent to the target statement, the certificate can be valid as engineering and invalid as mathematics.

    The fourth is the social process. Are the definitions maintained by number theorists? Have several people reproduced the build in a clean environment? Has a kernel unrelated to the original developers checked the result again? Formalization does not cancel peer review. It changes the object of review from a paper derivation to an executable specification and a certificate.

    Four gates, not one compile

    Designing verification as a sequence of gates is more reliable than trusting a single tool.

    Gate 1: Pin the statement. The proof must cite a statement identifier that the community has frozen, not a same-named claim defined inside the repository. Auditors should export the fully expanded form of the statement and compare its structure with the public standard definition. Quantifier order, conditions on analytic continuation, exceptional points, and the trivial zeros that are excluded must not change quietly after expansion. At least two independent implementations of the comparison tool should be used, so that the same bug in one parser cannot pass both sides.

    Gate 2: Clean reproduction. An outside researcher rebuilds the proof in a container with no network, pinned dependency hashes, and a fixed compiler version. Success is not a terminal message that says “success.” It is an exported proof-object hash that matches the certificate the author published. When there are many modules, compilation should be split along the dependency graph, and each shard should publish input and output digests so a replaced sub-library can be located.

    Gate 3: Prevent statement substitution. An independent comparator checks that the type ultimately proved is definitionally equivalent to the standard statement, not a corollary, a finite-field approximation, or a weaker form that drops the condition on infinitely many zeros. This check should erase the proof term and keep only the statement, so notation inside the proof script cannot bias the judgment.

    Gate 4: Multiple kernels and an axiom audit. Export the proof as a static certificate with no executable script, and send it to the official kernel and to at least one independently implemented checker. If a checker comes with a meta-argument about its own reliability, the assumptions of that argument should be public, but a meta-argument cannot replace an instance check of this certificate. Finally, list every axiom that was used and confirm that only the system’s accepted standard axioms appear: no sorry-style placeholders, no unexplained coercions, and no oracle that trusts the output of an external program.

    If any gate fails, the only conclusion is that the artifact has not yet established an acceptable verification. Failure is not a disproof of the conjecture.

    A reasonable boundary for human–machine work

    In this kind of work, the parts people cannot hand off are choosing the problem, finding mathematical analogies for the main lemmas, and deciding when to stop and recheck the definitions. Machines are good at rapidly expanding long but patterned constructions once a strategy is given—for example, concatenating lifting chains of a fixed length, or enumerating local obstacles and searching for an elimination order. The speed gap widens in a sprint: a person is still checking one class of estimates while an assistant has already drafted the next several dozen lemmas.

    That does not mean “the tool pulled ahead of the person,” so authorship of the proof is clear. Agree in advance which lemmas need a mathematical explanation written by a person and which may exist only as a formal script. Every automatically generated fragment should record its source strategy and its random seed or search budget. A critical step that cannot be explained intuitively should be marked separately as “machine-checked only; human understanding incomplete.” The mark is not a disgrace. It makes cognitive debt explicit so the team does not mistake itself for having mastered the proof.

    For more than thirty years, worry about very large computer-assisted proofs has focused on the same point: once the cost of checking exceeds human working memory, correctness shifts from “I understood it” to “I trust this process.” That shift can be acceptable in engineering if the process is auditable, repeatable, and open to hostile re-examination. It cannot be packaged as a substitute for mathematical understanding.

    New risks that come from scale

    When a proof library grows to the order of ten million lines, new failure modes appear.

    Dependency bloat. Upgrading a corner lemma can change the proof terms of thousands of downstream modules and invalidate every hash, while the mathematical content may not have changed. Without a stable layer of interface lemmas, a reproduction cannot tell a substantive change from a rewrite at the level of presentation.

    Unreadable certificates. If the static export is still one giant term, an independent kernel can only accept or reject the whole thing. An expert cannot sample the most suspicious one percent. Certificates should be splittable by lemma, and the dependency closure should be published.

    Search overfitting. Programming assistants tend to look for the narrowest patch that passes the type checker: strengthen a hypothesis, weaken a conclusion, or insert an estimate that holds only for special parameters. Code review must be checked against a natural-language roadmap, not only against whether the diff compiles.

    A social single point of failure. If the definitions, the proof, the comparators, and the announcement all come from the same small circle, the four gates are not organizationally independent. The number of reviewers should not be tied to the number of lines of code. It should be tied to the number of reviewers without a stake in the result and to the number of kernel implementations.

    Engineering practice that can be carried out

    The following pipeline sketch is independent of any particular vendor. It fits any team preparing to accept an external formal proof.

    1. Input: statement identifier P, proof-library commit, dependency lockfile, axiom allowlist
    2. 1. Parse the standard definition of P and compute a structural hash H_stmt
    3. 2. Build from the lockfile in a clean container; export certificate C and the actual statement Q
    4. 3. Require Q to be definitionally equivalent to P; otherwise fail
    5. 4. Check C with two independent checkers; record each version and its assumptions
    6. 5. Extract the axiom set A and require A to be contained in the allowlist
    7. 6. Archive build logs, certificate-shard hashes, reviewer identities, and the environment inventory

    A few implementation points matter. Container images and dependency lockfiles should live in object storage with immutable versioning. Build nodes can be ordinary compute on a public cloud—for example, container and object-storage services such as those on Baidu AI Cloud—used only to pin the environment and retain logs. They do not change the mathematical content of the proof. Logs should record the compiler version, the kernel version, and each checker’s exit code. For generated code, keep a document that explains the generation strategy; do not submit only the huge expanded file. Keep critical interface lemmas at a size a person can review, and let the machine expand the rest. Maintain an “understanding incomplete” list, and have domain experts periodically rewrite selected entries as short proofs or as attempts at counterexamples, in order to probe for hidden wrong assumptions.

    Three practical conclusions follow for readers. First, a formalization claim about a major statement qualifies for mathematical discussion only after it passes statement identity, clean reproduction, independent kernels, and an axiom allowlist. Second, tens of millions of lines that type-check show only that the derivation rules were followed, not that humans know why. Third, human–machine collaboration has to record cognitive debt in the repository: machines may speed up construction, but people must hold the definitions, the main line of argument, and the review process. Until those conditions are met, any headline that “the conjecture is now a theorem” is a hypothesis still awaiting verification, not a fact ready for a textbook.