Goldbach’s Conjecture: How Many AI Agents Would It Take to Prove It?
Multi-agent theorem proving is constrained by more than compute. This article distinguishes the weak and strong Goldbach conjectures, examines a reported 194,000-line formalization and its external assumptions, and explains why historical results, proof dependencies, and duplicate work complicate progress estimates. It also outlines four engineering practices for making large-scale formalization more reliable.
1. First, Identify Which Goldbach Conjecture You Mean
Before asking how many AI agents could prove Goldbach’s conjecture, we need to specify the proposition. Otherwise, any discussion of progress starts from the wrong premise.
- The weak, or ternary, Goldbach conjecture: Every odd integer greater than 5 can be expressed as the sum of three primes. A mathematician completed its proof in 2013, with the main manuscript running to approximately 300 pages.
- The strong, or binary, Goldbach conjecture: Every even integer greater than 2 can be expressed as the sum of two primes—the result commonly described as “1+1.” It remains unproved.
This distinction determines whether there is an existing proof to formalize. The weak conjecture has a complete manuscript that can be translated into a machine-checkable proof. The strong conjecture does not.
For the strong conjecture, zero lines of a completed formal proof do not indicate insufficient compute or slow implementation. They indicate that the mathematical proof to be formalized does not yet exist. Reading that zero as “almost there” fundamentally misrepresents the project’s status.
2. A Reported Formalization: Where 194,000 Lines Came From
In a recently reported project, an independent developer used AI coding tools to translate the roughly 300-page proof of the weak Goldbach conjecture into a mainstream interactive theorem prover. The resulting project contained approximately 194,000 lines, with no unproved placeholders such as sorry.
The repository documentation reportedly listed 11 discrepancies with the original text. These were not merely typographical errors: formalization exposed gaps in how parts of the original proof were stated.
After corrections, a key safety-margin constant decreased from 0.04877 to 0.0114. Crucially, it remained strictly positive.
This illustrates a central benefit of formalization. It does more than ask a machine to confirm a proof. It acts as a precise audit, forcing edge cases and implicit reasoning into the open—issues that human review can miss.
3. No Proof Placeholders Does Not Mean No Assumptions
This is the easiest part of the project to misinterpret. The reported formalization still depends on two explicit external premises:
- Numerical verification of the generalized Riemann hypothesis over a finite range.
- Verification of the binary Goldbach conjecture for even integers up to (4 \times 10^{18}).
These are large numerical computations. They were not brought inside the theorem prover’s kernel; instead, their results were represented as explicit assumptions.
The dependency structure can be summarized as follows:
Target:Weak GoldbachFor every odd n > 5, n = p1 + p2 + p3,where p1, p2, and p3 are prime.Target depends on:A: Finite-range numerical verification of thegeneralized Riemann hypothesis# External premise, not kernel-checkedB: Verification of binary Goldbach up to 4 × 10^18# External premise, not kernel-checkedKernel-checked result:A and B imply Target
The precise claim is therefore: assuming A and B, the formal proof of the weak Goldbach conjecture has been fully machine-checked.
An unqualified statement that “Goldbach’s conjecture has been formally proved” obscures both which conjecture is involved and the two substantial computational premises that remain outside the kernel.
4. More Than 6,000 Agents—and the Misreading of “1+3”
A collective proof initiative on a question-and-answer platform reportedly involved more than 6,000 agents working simultaneously. Its workflow combined an interactive theorem prover with incremental compilation through a continuous integration pipeline. Propositions received individual scores, with a base score of one point.
One participant reported obtaining a “1+3” result for even integers, pending review by a central expert group.
The problem is that 1+3 is not a new mathematical result.
In this notation, the numbers describe bounds on the number of prime factors in the two summands. The historical progression along this route is well established:
| Year | Result |
|---|---|
| 1920 | (9,9) |
| 1956 | (3,4) |
| 1957 | (2,3) |
| 1962 | (1,5) |
| 1963 | (1,4) |
| 1965 | (1,3), achieved independently by three mathematicians |
| 1966 | (1,2), achieved by a Chinese mathematician |
Formalizing a decades-old theorem has genuine engineering value. Adding it to a shared mathematical library is a useful contribution, and the process may expose implicit gaps in the original paper.
But describing that work as a new mathematical advance toward 1+1 systematically overstates progress.
Shared Libraries Do Not Automatically Detect Duplicate Theorems
A theorem prover does not ordinarily reject a proposition merely because someone has already proved an equivalent statement. A second proof can be added under a different declaration name without a semantic duplication warning.
Determining whether a result already exists therefore depends on search and deduplication practices outside the compiler.
In a multi-agent workflow, simply adding agents can increase duplicate effort rather than useful coverage. Without task registration and prior-result checks, the risk of redundant work grows with the number of agents.
5. A Rough Conversion Rate: 647 Lines per Page
The reported project provides a rough scale estimate:
194,000 lines ÷ 300 pages ≈ 647 lines per page
Two qualifications matter:
- The 194,000-line total includes supporting scripts and technical documentation, not just proof code checked by the kernel.
- The actual proportion of kernel-checked proof code was not disclosed. The total is useful for estimating engineering scale, but it is not a direct measure of mathematical content.
Applying the same ratio to the more-than-200-page manuscript associated with the 1966 1+2 result suggests a formalization on the order of 130,000 lines.
However, that extrapolation presupposes an existing manuscript. The strong Goldbach conjecture has no such proof available.
The 130,000-line estimate is therefore a conditional workload estimate for an existing result—not a roadmap to proving 1+1.
6. The Ceiling on Parallelism: Serial Dependency Chains
Adding agents shortens a project only when the work can be divided into sufficiently independent tasks. Formal proofs contain dependency chains that must be resolved in order:
Lemma A can be completed only after Lemma B is complete.Lemma B can be completed only after Lemma C is complete.Lemma C can be completed only after Definition D is stable.
If B is unfinished, A cannot be finalized. If D changes, the results that depend on it may need rework.
This creates three practical constraints:
- Leaf tasks can run in parallel. Independent lemmas, local arithmetic facts, and finite-range enumeration are good candidates for broad distribution.
- The critical path remains serial. Key lemma chains and the stabilization of definitions require ordered progress. Adding agents to these bottlenecks can increase coordination overhead.
- Speedup is limited in an Amdahl-like way. The serial portion determines the acceleration ceiling. The difference between 6,000 and 600 agents is much smaller on the proof’s critical path than on independent leaf tasks.
Agent count alone is therefore a poor predictor of completion time.
7. So, How Many Agents Are Needed?
The answer is a set of constraints, not a single number.
For the Strong Goldbach Conjecture: The Missing Input Is a Proof
A count of zero agents is not the central deficiency. The missing ingredient is new mathematical insight, not merely additional compute.
No agent-count estimate can substitute for that unresolved step. Scaling a formalization pipeline does not, by itself, supply the proof it is supposed to formalize.
For an Existing Proof Such as Weak Goldbach: Dependencies Matter More Than Headcount
When a complete manuscript exists, the main bottlenecks are dependency depth and definition stability.
Dozens of agents capable of sustained operation can cover substantial leaf-level work. The main proof structure still requires expert oversight to settle definitions and reconcile the critical chain of lemmas.
For Historical Results Such as 1+3: Prioritize Deduplication
Formalizing established results remains useful, but the marginal value declines when agents repeatedly target the same propositions.
Investment should prioritize theorem search, proposition registration, and duplicate detection—not just more workers.
8. Four Engineering Practices for Multi-Agent Formalization
1. Make External Premises Explicit
Every external numerical verification assumption should be visible in the theorem signature.
Do not hide these dependencies in implementation details. Reviewers need to distinguish between a kernel-checked implication and computational premises accepted from outside the proof system.
2. Register Propositions and Check for Duplicates
Maintain a proposition-fingerprint registry alongside the shared mathematical library.
Require agents to search it before claiming tasks. The goal is to make “already proved” detectable during the build or review workflow, rather than discovering duplication after substantial work has been completed.
3. Combine Incremental Compilation with Dependency Layers
Use continuous integration for incremental verification, and merge work in batches organized by dependency level.
Stabilize foundational definitions before integrating large numbers of dependent results. This reduces the chance that changes near the bottom of the dependency graph trigger widespread rework.
4. Build a Reproducible Compute Foundation
Large-scale parallel verification typically needs:
- A container platform for stateless builds.
- Object storage for proof artifacts and version snapshots.
- Logging, monitoring, and alerts to track failure rates and retry storms.
General-purpose cloud capabilities—including container, storage, logging, and alerting services of the kind offered by Baidu AI Cloud—do not produce mathematical conclusions. They do, however, help determine whether thousands of agents deliver useful computation or simply consume resources without making progress.
Conclusion
Formalization can strengthen the reliability of existing mathematics; scaling formalization alone cannot supply a missing mathematical proof.
To assess a multi-agent theorem-proving project, examine its external assumptions, dependency depth, and theorem-deduplication process. Agent counters and lines of code describe activity and engineering volume, but they do not, by themselves, measure progress toward proving the strong Goldbach conjecture.
