Machine-Assisted Proofs: Verification Boundaries and Collaboration Practices
Machine-assisted formal proofs require more than large codebases or successful local builds. This article explains the trust boundaries of formal verification, the appropriate role of large language models, and a practical workflow for checking statements, identifying proof gaps, reproducing kernel checks, and organizing independent review. It also covers contribution attribution, researcher safety, and lessons for enterprise verification teams.
Why Claims of Machine-Proved Breakthroughs Need Technical Scrutiny
Famous mathematical conjectures often share three characteristics: a short statement, far-reaching implications, and deep partial results. When someone publicly claims that a machine has completely solved one, discussion can quickly split into praise, skepticism, and disputes over credit.
For engineering readers, the useful question is not who posted first. It is whether the proof rests on a trusted formal kernel, whether others have independently reproduced its verification, and whether gaps remain hidden inside an uncheckable generation process.
Viewed as a general technical problem, the issue has three main dimensions:
- Formal proof development is software engineering. A project may reach tens of millions of lines, but line count does not establish correctness.
- AI coding tools can accelerate search, completion, and refactoring, but they do not automatically earn the mathematical community’s trust.
- The more heated the public debate becomes, the more important it is to turn questions of credit and safety into actionable collaboration practices.
What Does a Formal Proof Actually Establish?
A conventional mathematical paper relies on reviewers’ judgment: Are the definitions standard? Do the lemmas apply? Are the estimates rigorous?
Formal verification moves as much of this reasoning as possible into a proof assistant’s small kernel. The kernel accepts a limited set of inference rules. Large libraries, tactics, and automated provers operate outside it and must ultimately provide a proof object that the kernel can check.
The trust chain has four layers:
- Mathematical statement: Is the formalized conjecture equivalent to the standard statement in the literature, rather than weaker, stronger, or dependent on hidden assumptions?
- Library dependencies: Have the required results in analytic number theory, complex analysis, the prime number theorem, and related areas been proved within the same system, rather than skipped with a comment that they are “well known”?
- Proof object: Is there a proof object that a small kernel can independently check, with a reproducible checking process?
- Engineering process: Can generation, patches, manual edits, and tactic invocations be traced? Have failed branches been silently removed?
If any layer is missing, “a large amount of code” cannot be equated with “the conjecture has been solved.”
Statement drift deserves particular attention. For example, a claim that all nontrivial zeros have real part one-half must not quietly become a proposition with additional growth conditions, a finite-height restriction, or coverage limited to a particular class of L-functions while retaining the original conjecture’s name in the headline.
The Proper Role of Large Language Models in Proof Engineering
AI coding tools are useful for narrowing the search space, not for replacing proof obligations. In large formalization projects, a responsible division of labor looks like this.
Tasks Suitable for Models
- Translate natural-language lemmas into searchable patterns to help locate existing library theorems.
- Generate boilerplate proofs, structural induction steps, routine inequality manipulations, and renaming patches.
- Cluster failure messages to identify recurring type errors or missing lemmas.
- Help document the correspondence between formal definitions and definitions in the classical literature.
Tasks That Remain Human Responsibilities
- Select the precise statement to prove and justify its equivalence to the target conjecture.
- Review additional axioms, classical logic assumptions, computational bypasses, and unfinished-proof markers such as
sorryoradmitintroduced by the model. - Decide which automated tactics are acceptable and which must be expanded into more basic steps.
- Arrange independent review rather than relying on repeated confirmation within the same conversation context.
A practical rule is to treat every model output as a proposed patch. Before it enters the main branch, it should receive the same diff review as ordinary code, plus checks for whether proof-completion requirements have been bypassed through comments, conditional compilation, or instructions that disable checking.
Tens of Millions of Lines Do Not Automatically Make a Milestone
Formal mathematics libraries naturally grow. A successful development effort may include foundational library re-exports, many specialized lemmas, automatically generated cases, remnants of failed attempts, and technical rewrites needed to satisfy the type checker.
Line count captures both insight and noise.
Assess scale using several indicators rather than total lines alone:
- The number of modules and dependency depth on the core proof path.
- The number of new axioms. Ideally, there are none; otherwise, each should have a separate justification meeting the standards of the mathematical literature.
- The number and distribution of unfinished-proof markers.
- Kernel checking time, peak memory usage, and whether verification can be reproduced from source in a clean environment.
- Whether the statement-mapping documentation covers every key definition, not merely those discussed in the introduction.
If the core path is short but the surrounding generated code is enormous, the volume may reflect search and boilerplate expansion rather than a new method that resolves the decisive estimate.
Conversely, if a key lemma still depends on an unexplained numerical black box, the proof should not be considered complete.
A Practical Verification Workflow
Research and platform teams can implement the following workflow using ordinary engineering infrastructure: version control, continuous integration, object storage, logs, and access controls. It does not depend on any vendor-specific interface.
1. Freeze the Statement
Create a statement-freeze document that presents the natural-language claim alongside its formal code. List definitions, quantifier order, exceptional cases, and the classical results it relies on.
After the statement is frozen, any commit that changes it must receive separate review. Statement changes must not be bundled with proof patches.
2. Inventory the Gaps
Scan all source files for unfinished-proof markers, additional axioms, and instructions that trust external computation.
Produce a gap inventory with three severity levels:
- Blocks the conjecture.
- Blocks a particular lemma.
- Affects examples only.
If any blocking item remains, public descriptions should use “formalization attempt” or “partial proof,” not “proved.”
3. Reproduce Verification in a Clean Environment
Check out the specified revision in an environment without caches or private configuration, starting from the dependency lockfile.
Record tool versions, checking commands, exit codes, and resource consumption. Store logs in object storage that cannot be casually overwritten.
The goal is to avoid a result that passes only on the author’s machine.
4. Arrange Independent Review
Use at least two review groups that do not share the same conversation context:
- One reviews statement equivalence.
- The other reviews kernel checking and dependencies.
Record findings in a public issue list. Reviewers may use AI coding tools, but their conclusions must be explainable without relying on those tools.
5. Use Graded Public Claims
A three-level vocabulary helps keep communication aligned with the evidence:
- Verified: The statement is frozen, no blocking gaps remain, clean verification succeeds, and independent review has found no substantive objections.
- Partially formalized: Key sections have been checked, but explicit gaps remain.
- Exploratory draft: Unfinished-proof markers or unreviewed generated code are still present.
Claims that exceed the demonstrated verification level are a major source of later disputes.
The following pseudocode illustrates the workflow; it is not a set of commands for a particular product:
Pin the revisionScan for unfinished-proof markers and additional axiomsRun proof checking in a clean environmentRecord the exit code, elapsed time, and memory usageArchive the logs together with the revision identifierManually confirm that the statement-freeze document has not changed
Attribution: What Belongs to People, and What Belongs to Tools?
When proof development relies heavily on AI coding tools, public discussion often falls into one of two simplifications: assigning all credit to the tool, or dismissing it as an insignificant editor. Neither helps future collaboration.
A better approach separates credit by verifiable contribution:
- Problem selection and statement responsibility: Who decided exactly what to prove, and who is accountable if the statement is wrong?
- Key mathematical ideas: Who supplied a new estimate, decomposition, or induction scheme? If the work only translates an existing proof into a formal system, it should be described as formalization rather than a new proof.
- Proof engineering: Who handled module design, gap management, tactic design, and continuous checking?
- Tool assistance: Where did the model provide completion, retrieval, or refactoring? Tools are not authors, but their use should be documented in a methods appendix so others can assess which steps were not derived manually.
Saying that a person “merely pulled the trigger” undervalues statement selection, gap auditing, and failure diagnosis. Saying that a tool has “automatically solved the field” overstates current systems’ command of deep mathematical estimates.
The more accurate division is usually this: humans own the goal and acceptance criteria, tools accelerate search, and the kernel determines whether the submitted proof is accepted.
Community Disputes and Researcher Safety
Once a proof becomes public, feedback may combine technical corrections, questions about motives, and personal attacks. Teams should separate these channels in advance.
- Route mathematical issues through the repository and issue tracker, requiring reproducible evidence or a precise location for a counterexample.
- Keep opinion and technical defect reporting separate so that genuine counterexamples are not buried in comment threads.
- Refer threats, harassment, and doxxing to platform safety processes and law-enforcement channels rather than discussing their details in technical posts.
- Allow core authors to pause public updates until independent review is complete. Sleep-deprived sprints may accelerate commits, but they do not replace review and should not be presented as part of the methodology.
Research organizations also need basic safety practices: separate public identities from private contact details, keep home addresses out of repository metadata, and designate a contact person when public attention suddenly surges.
These measures protect the continuity of verification, not merely individual well-being.
Five Additional Questions for Famous Conjectures
When the target is a major conjecture, reviewers should also ask:
- Does the formal statement cover all nontrivial zeros or all relevant objects, rather than a finite verification?
- Are the classical analytic tools established within the same trusted foundation, rather than leaving the hardest estimates in external papers?
- Is the interface between numerical verification and symbolic proof auditable, with rounding and truncation included in the proof obligations?
- Are there nonportable steps that pass only with particular tactic versions?
- Do the authors welcome attempts to reprove key lemmas using a different foundational library?
A second implementation is expensive, but it can help distinguish an engineering coincidence from a mathematical fact.
These questions are disqualifying checks rather than positive proof of correctness. If any check fails, public claims should be downgraded.
Lessons for Enterprise and Platform Teams
Most businesses do not prove number-theoretic conjectures, but they may verify protocol invariants, authorization models, and data-pipeline properties.
Several practices transfer directly:
- Express critical invariants as checkable statements and freeze their versions.
- Use continuous integration for clean verification; do not treat “it passed locally” as a release criterion.
- Let AI coding tools generate proof drafts, but prevent unreviewed patches from entering the main branch.
- Maintain a proof-gap dashboard covering unfinished-proof markers, additional assumptions, and checking time.
- Use graded language in release notes so marketing claims do not diverge from engineering status.
Cloud object storage can archive verification logs, message queues can distribute review tasks, and container platforms can provide clean build environments. These are general infrastructure capabilities; the provider does not change the acceptance criteria.
General-purpose cloud infrastructure, including platforms such as Baidu AI Cloud, can support log archiving, access isolation, and reproducible builds. What determines whether the conclusion holds is still the statement, kernel checking, and independent review—not cluster size or generated line count.
Conclusion
Large-scale machine-assisted formalization can substantially accelerate the translation of known proofs into formal systems. It can also help uncover statement errors and hidden assumptions. It cannot replace mathematical acceptance with line counts, overnight work, or social-media attention.
When a claim appears that a famous conjecture has been solved, technical readers should check statement equivalence, the elimination of blocking gaps, clean verification, and independent review—in that order. Until then, the work should be treated as a proof-engineering project worth auditing.
Keeping tools in an assistive role and assigning credit and responsibility through verifiable contributions makes public discussion more useful. It protects researchers while allowing the actual verification work to proceed.
