Beyond Human Reading: How to Verify a 17-Million-Line Formal Proof

    This article explains how to assess a formal proof file of about 17 million lines whose claimed result concerns the Riemann hypothesis. It covers why reading the full file line by line is impractical, and how a small trusted kernel shifts the review to the stated theorem, its assumptions, and the kernel itself. It also outlines a verification workflow, common pitfalls, the steps mathematics normally takes before accepting a result, and lessons for engineering teams. The claim is still unverified.

    1. Background: An Unaccepted Claim

    Recent reports describe a mathematical researcher who worked with an AI model to submit a formal proof file of about 17 million lines. The file targets the Riemann hypothesis and claims that the argument extends to the generalized Riemann hypothesis.

    The Riemann hypothesis was proposed in 1859 and remains a central open problem in number theory. A mathematical research institute has offered a $1 million prize for solving it. Of the seven Millennium Prize Problems, only the Poincaré conjecture has received widely accepted resolution.

    The reports also contain two points. A number theory expert called the work a milestone, but admitted having read only the author’s explanatory materials, not the full file. Meanwhile, no authoritative institution has endorsed the claim, and the mathematical community has not formally accepted it.

    For now, the claim is only an assertion awaiting verification. Judging whether it holds requires a practical verification method, not trust in the author or the tool.

    2. The Scale: Reading the Whole File Is Nearly Impossible

    Start with the arithmetic. At 50 lines per page, 17 million lines comes to about 340,000 pages. Reading continuously at 200 lines per minute takes about 59 days. Reading only 8 hours a day takes about 177 days, close to six months.

    This estimate assumes the reader scans the text mechanically, with no understanding or reflection at all.

    Traditional mathematical papers, even those a few hundred pages long, often take referees several months or longer to review. The proof of Fermat’s Last Theorem, whose manuscript runs about 200 pages, contained a serious gap found during review. The gap was later repaired before the proof was completed. This shows that size and difficulty do not scale linearly.

    Formal proofs also differ in kind. They are not narrative text. Every line is a strict instruction in a proof language. Reading one resembles checking a body of law made of many cross-referenced provisions, not reading a paper. Even with a large time investment, manual reading rarely yields reliable conclusions.

    3. Why You Can Verify Without Understanding Every Line

    The value of a formal proof lies in handing the checking work to a program.

    3.1 The Concept of a Trusted Kernel

    A formal proof system usually has two parts:

    • Proof generation or search component: It can be large and complex, and it may use AI models to generate proofs. Its correctness does not need to be guaranteed in advance.
    • Trusted kernel: It is small and checks whether each inference step in the proof follows the formal rules.

    The core idea is to distrust the generation process and trust only the kernel. The smaller and simpler the kernel, the easier it is for experts to review independently.

    3.2 Focus on the Verification Boundary, Not on Reading

    Since a machine can check every step, human attention should go to the critical points. Usually these fall into three categories:

    1. Whether the stated proposition is correct: Does the proof establish the original conjecture, rather than a weaker version or a silently modified one?
    2. Axioms and assumptions it depends on: Which foundational axioms does the proof use, and does it introduce any undeclared premises?
    3. Whether the kernel and formal definitions are reliable: How are the concepts translated into formal language, and does that translation introduce any deviation?

    These three points can be reviewed with a short text. There is no need to read ten million lines of code line by line.

    4. A General Verification Workflow

    The pseudocode below shows a general verification workflow. It does not correspond to the real commands of any specific tool.

    1. procedure VerifyFormalProof(proof_file):
    2. 1. Extract the target proposition and compare it word by word with the original mathematical statement
    3. 2. List all axioms, definitions, and external assumptions the proof depends on
    4. 3. Scan the file for placeholder markers, unfinished proofs, and skip markers
    5. 4. Re-check all proof terms with the trusted kernel, and record the locations that pass or fail
    6. 5. Check the same file again with an independently implemented kernel
    7. 6. Record environment versions, dependency hashes, and check commands so others can reproduce the results
    8. 7. Output the conclusion: passed items, failed items, and assumptions not covered

    Step 5 matters most. Agreement between different implementations reduces the risk that a flaw in one kernel goes unnoticed. Step 6 ensures that anyone can rerun the check in the same environment and get the same result.

    The following illustrative code shows how the size of the file converts to reading time:

    1. function EstimateReadingTime(total_lines, lines_per_minute = 200, hours_per_day = 8):
    2. total_minutes = total_lines / lines_per_minute
    3. total_hours = total_minutes / 60
    4. continuous_reading_days = total_hours / 24
    5. limited_reading_days = total_hours / hours_per_day
    6. return (continuous_reading_days, limited_reading_days)
    7. EstimateReadingTime(17000000)
    8. # Result: about 59.0 days (continuous reading) and 177.1 days (8 hours per day)

    5. Common Pitfalls to Watch For

    Even with formal checking, several kinds of problems still need specific attention.

    • Misaligned proposition: The proof passes, but it proves something different from the original conjecture. This is the most common problem and the easiest to overlook.
    • Hidden assumptions: The proof depends on axioms or premises that are not explicitly listed, which quietly narrows the scope of the conclusion.
    • Placeholders or skipped steps: The file contains unfinished proof items. The checker flags them, but people reporting results may overlook them.
    • Kernel or translation defects: The kernel implementation contains errors, or the translation from mathematical definitions to formal language is inaccurate.
    • Size is not rigor: Large amounts of automatically generated, repetitive code create an impression of bulk but say nothing about the quality of the argument.
    • Results that cannot be reproduced: Without recorded versions and dependencies, others cannot rerun the check, so the result cannot be confirmed independently.

    6. From Claim to Acceptance: The Normal Path in Mathematics

    A major result usually gains acceptance through several stages working together.

    1. Formal checking: A machine confirms that the proof holds under the stated axioms.
    2. Interpretation of key ideas: Experts understand the main line of the proof and write readable explanatory documents.
    3. Peer review: Independent researchers examine the structure of the proof, its key lemmas, and its relationship to known results.
    4. Independent reproduction: Other teams rerun the checks in different environments and publish their results.
    5. Endorsement by authoritative bodies: After the stages above are completed, relevant institutions or the academic community issue a formal conclusion.

    The current reports describe only early progress in the first stage and initial discussion. Until stages two through five are completed, any conclusion should be treated as pending.

    7. Lessons for Engineering Teams

    This case also applies to software and engineering teams. When machine-generated output is too large for people to review item by item, consider these practices:

    • Separate generation from checking: The generator does not need to be trusted. The checker must be small and reliable, and it should be replaceable independently.
    • Pin dependency versions: Record environments, dependencies, and checksums so that rerunning the checks at any time produces the same results.
    • Archive artifacts and logs: Store original files, check results, and run records in an artifact repository or object storage to support audits.
    • Run checks continuously: Include verification in automated pipelines and rerun it on every change, rather than only once at submission.
    • Maintain an explicit assumptions list: Document all premises, interface contracts, and uncovered scope so reviewers can locate risks quickly.

    These practices share one principle: they do not depend on understanding every detail. They depend on repeatable, auditable verification.

    8. Conclusion

    A proof of ten million lines, or 17 million lines in this case, exceeds what a person can read line by line. That does not mean it cannot be verified. The value of formal methods lies in shifting trust away from reading the full text and toward checking the boundaries, verifying the kernel, and enabling independent reproduction.

    For the current claim about the Riemann hypothesis, the most reasonable position is to acknowledge that its scale and technical characteristics deserve attention. At the same time, wait for the results of formal checking, expert interpretation, peer review, and independent reproduction before drawing conclusions.