AI Agents Are Silently Rewriting Mathematical Claims: Why Machine Verification Is Bad News
This article examines why AI-generated formal proofs are not the reliability guarantee they appear to be. It explains the gap between passing a verifier and proving the intended theorem, breaks down specification drift and trust base risks, and outlines an auditable pipeline for claim alignment, minimal trust bases, and adversarial review. Technical teams will find a practical checklist for evaluating machine-verified results.
1. Background: Machine Verification Takes Center Stage
A research team recently claimed that dozens of AI coding agents rewrote the modern proof of a well-known number theory theorem into roughly 13 million lines of formal code in just over ten days, producing more than 30,000 intermediate lemmas. Days later, another team reported that about 10,000 agents running for nearly four days generated around 130 billion tokens, delivered a negative result on a Millennium Prize problem, and released a paper of over a hundred pages alongside the formal code.
These results drew attention not only because of their speed, but because they pushed “machine verification” from a niche tool at the intersection of mathematics and computer science into a primary public credential for AI reliability. The problem is that verifiers do offer strong guarantees, but the boundaries of those guarantees are often misread.
2. Core Takeaway: Passing a Check Is Not Proving What You Meant
A formal proof compresses natural-language mathematics into a statement that a proposition can be derived under a given set of axioms and definitions. A verifier answers only one question: does this code legally derive the proposition written in the code?
It does not answer whether the proposition in the code faithfully corresponds to the proposition in the paper. That gap produces two kinds of bad news:
- Semantic drift: conditions are quietly strengthened or weakened during translation, so the conclusion looks the same but is not equivalent.
- Verifier blind spots: flaws in the verifier implementation or an inconsistent trust base mean that “passing” does not equal “reliable.”
3. Technical Breakdown of Two New Problems
3.1 Claim Alignment (Specification Drift)
Translating natural language into formal language is essentially a requirements translation. Common forms of drift include:
- Quantifier order changes: ∀∃ is written as ∃∀, which has completely different strength.
- Missing boundary conditions: premises such as smoothness, compact support, or decay rate are dropped.
- Definitions from different sources: the paper’s “solution” and the code’s “solution” refer to different definitions.
- Weakened conclusions: “no global smooth solution exists” becomes “a certain class of blow-up solutions exists.”
Illustrative pseudocode showing the risk of forms that look identical but are not equivalent:
-- Paper intent: for any external force, a solution existstheorem claimA : ∀ f, Smooth f → ∃ u, Solution f u-- Drifted version: there exists some external force with a solution (much weaker)theorem claimB : ∃ f, Smooth f ∧ ∃ u, Solution f u
In engineering terms, claim alignment must be treated as a first-class concern: every intermediate result in the paper needs a unique identifier and a bidirectional, traceable mapping to its formal proposition.
3.2 Verification Chain and Trust Base
A verifier’s reliability depends on a chain: kernel implementation, logical axioms, library definitions, imported dependencies, and build artifacts. Inconsistency at any link distorts “passing.” Typical risks:
- Over-introduced axioms: strong assumptions are added for convenience, making conclusions cheap.
- Dependency contamination: inconsistent modules slip in through indirect dependencies.
- Toolchain drift: different kernel or library versions return different judgments for the same definition.
4. Engineering Practice: Making “Trusted” an Auditable Pipeline
Formal verification should be brought into a software-delivery-like process that produces a repeatable, auditable evidence chain.
4.1 Claim Contracts
- Generate a stable ID for each lemma, with bidirectional references between paper and code.
- Enforce a “single source” constraint for key definitions; prohibit synonymous duplicate definitions.
- Maintain a machine-readable contract list for automated comparison.
claim_id: NS-BLOWUP-017paper_ref: "Section 4.2, Theorem 4.3"formal_ref: "Thm.blowup_017"preconditions: [smooth_force, finite_energy]conclusion: "exists finite_time_blowup"risk: high
4.2 Minimal Trust Base
- Explicitly list all axioms and external dependencies as a whitelist.
- Run a “no extra axioms” audit on high-risk conclusions.
- Pin kernel and library versions, hash artifacts, and prohibit implicit upgrades.
4.3 Adversarial Review
- Have independent agents try to “falsify alignment,” specifically hunting for evidence that conditions were rewritten.
- Automatically generate proposition variants (swapped quantifiers, removed conditions) and check whether they still pass, exposing overly strong assumptions.
- Sample high-risk nodes for close human reading instead of spreading effort evenly.
4.4 Observability and Governance
- Use a logging service to record the environment, versions, and input hashes of every verification run.
- Use monitoring and alerts with thresholds for “sudden axiom count increases,” “dependency changes,” and “abnormal pass rates.”
- Store artifacts and evidence chains in object storage, fix the build environment on a container platform, and drive review tasks with a message queue.
5. Checklist for Technical Teams
- Does every conclusion in the paper have a formal counterpart of the same strength?
- Are key definitions single-sourced, with no synonymous drift?
- Have all axioms and dependencies been listed and audited?
- Have adversarial variant tests covered quantifiers, boundary conditions, and conclusion strength?
- Is the verification environment reproducible and the evidence chain traceable?
6. Conclusion
AI has moved formal proofs from “humans write, machines check” to “machines write, machines check,” and the efficiency gains are real. But a verifier is only accountable for the proposition in the code. Building claim alignment, a minimal trust base, and adversarial review into a pipeline is what makes “passing the check” a trustworthy engineering conclusion again, rather than a misread guarantee.
