Gaussian Moat Conjecture: How OpenAI’s Proof Solves the 64-Year Walk-to-Infinity Mystery

Imagine stepping from prime to prime across the complex plane, always keeping the next jump below the same fixed limit. OpenAI’s September 26, 2026 manuscript answers that challenge negatively: the Gaussian moat conjecture admits no infinite walk through distinct Gaussian primes with bounded steps. Its stronger conclusion caps every connected component, wherever the walk starts. The surprise is how it gets there. Geometry supplies differences, arithmetic separates them, and information theory shows that avoiding composite points would demand more information than bounded movements can carry.

1. Gaussian Moat Conjecture Solved: What Exactly Did OpenAI Prove?

Bounded-Step Walks on Gaussian Primes states a proof of the uniform Gaussian moat conjecture. For each finite real step bound DD, one finite number BDB_D bounds all components of the Gaussian prime graph. The manuscript belongs to OpenAI’s October mathematics release, attributed to an internal frontier model.

1.1. Gaussian Moat Conjecture: Key Facts

Research DetailWhat the Manuscript Establishes
Manuscript dateSeptember 26, 2026. The paper is authored by OpenAI.
Main conclusionEvery fixed finite step bound has a uniform finite component-size bound, independent of the starting Gaussian prime.
Walk restrictionVisited Gaussian primes must be distinct. Distance is Euclidean, and the step bound stays fixed.
ScopeAll Gaussian primes, including coordinate-axis primes and their associates, are covered.
Proof mechanismA finite periodic sieve, geometric sampling, residue coverage, and an entropy-budget contradiction.
Quantitative limitationThe bound exists but no explicit function of the step allowance is supplied.

“Fixed” matters. You may choose an enormous jump allowance before starting, but cannot keep increasing it indefinitely. The conclusion concerns distinct visited primes. Repeatedly shuttling between two nearby primes is no counterexample. The theorem is stronger than saying that each particular starting point eventually traps you.

2. What Are Gaussian Primes, and How Can You Walk Between Them?

Gaussian integers form Z[i]={a+bi:a,b∈Z}\mathbb Z[i]=\{a+bi:a,b\in\mathbb Z\}, with i2=−1i^2=-1. Their norm is N(a+bi)=a2+b2N(a+bi)=a^2+b^2, and Euclidean length is |z|=N(z)|z|=\sqrt{N(z)}. A Gaussian prime is irreducible: any factorization has a unit factor, one of 1,−1,i,−i1,-1,i,-i.

For example, 2+i2+i is prime because its norm is the ordinary prime 55. The integer 33 is also Gaussian prime, despite having norm 99. By contrast, 5=(2+i)(2−i)5=(2+i)(2-i) is reducible. Ordinary primes congruent to 11 modulo 44 split into conjugate factors. Those congruent to 33 remain irreducible, while 22 ramifies.

A legal short walk is 2+i,3,3+2i2+i,3,3+2i. Its jumps have lengths 2\sqrt2 and 22, so D=2D=2 permits both. All three vertices are prime and distinct. Distance, rather than the difference between their norms, determines legality.

3. The Original 1962 Gaussian Moat Problem: Can a Prime Walk Continue Forever?

The manuscript traces the question to Basil Gordon at the 1962 International Congress of Mathematicians. Erdős later credited Gordon and Motzkin, recalling a conversation with Motzkin in 1963. That history explains the 64-year framing.

Define GDG_D by joining distinct Gaussian primes whose distance is at most DD. A self-avoiding walk never revisits a vertex. The question asks whether some fixed DD permits an infinite such walk.

On the ordinary prime number line, a sufficiently long composite interval blocks progress outright. In two dimensions, sideways escape remains possible. The connectivity language resembles percolation theory, but this graph is determined by arithmetic. Its vertices are not independently retained at random.

4. Why Previous Attempts Could Not Prove the Gaussian Moat Conjecture

Earlier work constructed arbitrarily large prime-free disks and arbitrarily isolated real Gaussian primes. These are genuine obstructions, but an empty disk is a lake, not necessarily a coastline extending across every possible route.

Tsuchimura’s computation bounded the region reachable with jumps of length at most six from the origin, added as an initial vertex. That controls one component, not every starting prime for every bound.

Gethner and Stark established periodic obstructions for step bounds 2\sqrt2 and 22, while Vardi studied periodic coprimality graphs and uniform component bounds. The missing ingredient was a finite collection of congruence restrictions that works for every fixed DD. Searching farther from one origin could not supply that universal quantifier.

5. Theorem 1.1: Why Every Gaussian Prime Component Has a Uniform Finite Bound

In mathematical form, the main assertion is:

∀𝑫∈ℝ∃𝑩𝑫<∞:#𝑪≤𝑩𝑫(𝑪 a component of 𝑮𝑫).\boldsymbol{\begin{gathered}\forall D\in\mathbb R\;\exists B_D<\infty:\\ \#C\le B_D\quad(C\text{ a component of }G_D).\end{gathered}}

Here #C\#C counts vertices. The same BDB_D works for every starting prime, including axis primes and all associates, meaning multiplication by a unit. Consequently, every injective bounded-step walk has at most BDB_D terms, hence at most BD−1B_D-1 steps.

This uniformity is substantial. A graph can have finite components of sizes one, two, three, and so on without any infinite component. The theorem excludes that possibility here. For D<1D<1, distinct lattice points cannot be adjacent, so BD=1B_D=1 suffices. For larger bounds, the argument establishes existence without providing a numerical estimate.

6. The Finite Sieve Obstruction: How OpenAI Restricts Every Possible Walk

Gaussian moat conjecture infographic showing an illustrative modulo-5 sieve and the finite-obstruction theorem.
Gaussian moat conjecture infographic showing an illustrative modulo-5 sieve and the finite-obstruction theorem.

Choose finitely many ordinary primes p≡1(mod4)p\equiv1\pmod4, each splitting as p=πpπp―p=\pi_p\overline{\pi_p}. Reduction modulo either Gaussian factor gives a field with pp elements. These residue fields are related to the algebra discussed in our prime-field factorization explainer.

For a finite selection PP, define the avoiding set:

𝑨(𝑷)={𝒛∈ℤ[𝒊]:𝒛≢0(mod𝝅𝒑),𝒛≢0(mod𝝅𝒑) (𝒑∈𝑷)}.\boldsymbol{\begin{gathered}A(P)=\{z\in\mathbb Z[i]:\\ z\not\equiv0\pmod{\pi_p},\\ z\not\equiv0\pmod{\overline{\pi_p}}\ (p\in P)\}.\end{gathered}}

Theorem 1.2 supplies one finite set PDP_D, depending only on DD, whose avoiding set contains no infinite self-avoiding bounded-step lattice walk. Importantly, the surviving points need not themselves be prime. Blocking this larger set blocks prime walks too, apart from finitely many exceptions.

That finite sieve obstruction is the real engine. The proof must establish that suitable primes exist uniformly over all hypothetical walks. Choosing different restrictions after seeing each walk would not establish the theorem.

7. Why Periodicity Converts the Sieve Into a Uniform Component Bound

Put Q=∏p∈PpQ=\prod_{p\in P}p. Translating by either coordinate multiple of QQ preserves the avoiding set. This is the repeating-cell idea familiar from periodic lattice tilings.

Each vertex has finitely many bounded-length neighbors. An infinite component would therefore contain an infinite simple path, by the finitely branching tree of finite paths. The sieve theorem rules that out.

Now suppose two points in one finite component agree modulo QQ in both coordinates. Translating by their nonzero difference maps that component onto itself. Repeating the translation would produce infinitely many points, a contradiction. Each component therefore injects into the Q2Q^2 residue cells.

Let EE contain the associates of the selected Gaussian factors, and let KDK_D count lattice vectors of length at most DD, including zero. Deleting EE puts every remaining Gaussian prime inside the avoiding graph. Restoring those exceptions gives Proposition 2.1:

#𝑪≤max⁡{𝑸2,|𝑬|+(𝑲𝑫−1)|𝑬|𝑸2}.\boldsymbol{\begin{gathered}\#C\le\max\{Q^2,\\ |E|+(K_D-1)|E|Q^2\}.\end{gathered}}

Only finitely many pieces can attach to the exceptional primes. This transfers the sieve’s bound to the entire prime graph.

8. Torus Geometry: How Long Walks Generate Enough Distinct Differences

To prove the sieve exists, fix any deterministic infinite self-avoiding lattice walk. For a segment of nn steps, temporarily use EE for its visited points. Let RR be its diameter and WW its greatest distance from a diameter line, increased to at least one. Set A=RWA=RW.

Lemma 4.1 establishes:

𝒄𝒏≤𝑨≤𝑫2𝒏2,|𝑬−𝑬|≥𝒄𝑫𝑨.\boldsymbol{\begin{gathered}cn\le A\le D^2n^2,\\ |E-E|\ge c_DA.\end{gathered}}

Here E−EE-E contains distinct displacement vectors, and the positive constants have the dependencies indicated by their subscripts. Packing disjoint small disks around visited lattice points proves the first lower bound.

The difference bound needs topology. When W>1W>1, diameter endpoints and a farthest point generate a lattice of area AA. Subtract two interpolated walk paths modulo that lattice. The resulting torus map has degree minus one, so it must cover the target torus. Every image lies within 2D2D of a vertex difference. Disks around those differences must therefore cover area AA.

The sampling rule chooses a distinct difference uniformly, selects a representative endpoint pair, then flips a coin between its endpoints. Uniformly sampling pairs instead would overweight frequently repeated differences.

9. Random Signed Prime Factors and the Growth of Residue Entropy

For each selected split prime, choose one conjugate factor with a fair coin. “Signed” refers to that choice. The walk remains deterministic. Randomness belongs to the proof’s measurements.

Lemma 4.2 controls collisions after reduction modulo products of chosen factors. If nearby sign choices have witnesses in a sufficiently small rectangle, common divisors force their determinant to be divisible by a number larger than its possible nonzero magnitude. The witnesses must be collinear.

More precisely, write P=∏j=1rpjP=\prod_{j=1}^r p_j for distinct split primes in [T,2T][T,2T], with T≥5T\ge5. For a rectangle with half-lengths R1≥W1≥1R_1\ge W_1\ge1 satisfying R1W1≤P1−dR_1W_1\le P^{1-d}, where 0<d<1/40<d<1/4, the probability of a nonzero multiple of the signed product inside it is at most Ce−cd3rCe^{-cd^3r}, provided d3rd^3r is sufficiently large. That turns geometric separation into a quantitative arithmetic estimate.

For a fixed direction, Hoeffding concentration makes such a witness unlikely. Expansion in the Boolean cube of sign choices then controls all directions together: distinct direction classes have disjoint enlarged neighborhoods. This avoids an uncontrolled count of possible lines.

Define fZ(s)f_Z(s) as the average joint residue entropy of a sampled position ZZ over signed subsets of size ss. All logarithms are natural. With L*L_* the batch’s mean logarithmic prime size, suitable input and output sizes q,bq,b satisfy Lemma 4.3:

𝒇𝑽(𝒃)𝒃𝑳∗≥12(1+𝒇𝒁(𝒒)𝒒𝑳∗)−𝑶𝑫(𝒈).\boldsymbol{\frac{f_V(b)}{bL_*}\ge\frac12\left(1+\frac{f_Z(q)}{qL_*}\right)-O_D(g).}

Repeated enrichment halves the entropy deficit up to controlled error. Entropy is a rigorous uncertainty measure, as in the Courtade–Kumar information problem, rather than a synonym for visual disorder.

The sizes are q=⌊U/L*⌋q=\lfloor U/L_*\rfloor and b=⌊g2U/L*⌋b=\lfloor g^2U/L_*\rfloor, with segment length ⌊egU⌋\lfloor e^{gU}\rfloor. Large scales and small gg make the errors controllable while matching consecutive sampling operations.

For probabilities pxp_x, entropy is H(X)=−∑xpxlogpxH(X)=-\sum_xp_x\log p_x, with zero-probability terms contributing zero. A uniform variable with pp possible values has entropy logp\log p. Conditional mutual information, I(X;Y∣Z)I(X;Y\mid Z), measures how much learning YY reduces uncertainty about XX after ZZ is already known.

10. From High Entropy to Residue Coverage: The Proof’s Critical Bridge

Gaussian moat conjecture infographic contrasting high entropy with residue coverage and the shared-data argument.
Gaussian moat conjecture infographic contrasting high entropy with residue coverage and the shared-data argument.

High joint entropy does not ensure that each residue gets useful probability. A distribution can have nearly maximal entropy while entirely omitting some symbols. The needed coverage statement is:

#{𝒖:Pr⁡(𝑿=𝒖)<𝝉/𝒑}<𝒑1−𝜷.\boldsymbol{\#\{u:\Pr(X=u)<\tau/p\}<p^{1-\beta}.}

Thus almost every residue has probability at least τ/p\tau/p, with an explicitly controlled exceptional set. The proof obtains this by transferring coverage backward through checkpoints, although every sampled walk time moves forward.

Fix an exact later checkpoint. Run independent continuations from it, recording their displacements together in one data vector HH. If terminal coverage fails, candidate starting residues can be tested against the deficient set. The true residue lands on a short candidate list with appreciable probability. Coverage from that exact checkpoint makes most false candidates unlikely to survive repeated trials.

The short-list inequality then forces a conditional entropy deficit. But high joint entropy and the small entropy of HH cannot support such deficits across many coordinates. Crucially, the shared displacement vector is charged once, not separately for every residue.

The quantitative principle is simple. If an alphabet has size aa and data identify a list of size at most bb containing the true value with probability ρ\rho, then:

log⁡𝒂−𝑯(𝑿|𝒀)≥𝝆log⁡(𝒂/𝒃)−𝒉(𝝆).\boldsymbol{\log a-H(X\mid Y)\ge\rho\log(a/b)-h(\rho).}

Here hh is binary entropy and YY is the observed data. A short successful list reveals information even when success depends on the hidden value. Independence is required for repeated continuations only after fixing their exact checkpoint, not before that conditioning.

10.1. What the Sampling Schedule Supplies

StageMathematical Job
Top bandBuild joint residue entropy of order TT for the batch of primes near TT, and preserve it through later stages.
Middle bandUse exact checkpoints and inexpensive shared continuation data to transfer the required coverage backward.
Bottom bandObtain exceptionally accurate one-coordinate entropy to start the backward coverage induction.
Final smoothingAdd an independent uniform time offset so every prime batch uses one terminal law that changes little under short time shifts.

The schedule uses decreasing geometric scales in widely separated windows. Later movements have small displacement entropy compared with information accumulated earlier. An independent uniform time offset makes the common terminal law nearly invariant under the short shifts used in block comparisons. No stationarity assumption is imposed on the original walk.

At the initial checkpoint, at least 99% of signed factors receive terminal coverage with probability floor 1/(4p)1/(4p) outside fewer than p199/200p^{199/200} residues. These are auxiliary sampling guarantees, not measured properties of randomly generated prime walks.

11. The Final Contradiction: Why Zero Avoidance Costs More Information Than a Walk Can Carry

Gaussian moat conjecture infographic comparing a finite increment-entropy budget with accumulating prime-batch costs.
Gaussian moat conjecture infographic comparing a finite increment-entropy budget with accumulating prime-batch costs.

Assume the walk avoids every selected zero class. A short increment word tests candidate starting residues: a candidate is impossible if its translated word hits zero. Self-avoidance makes the hit opportunities disjoint when DL<pDL<\sqrt p, since a nonzero multiple of a factor of norm pp has length at least p\sqrt p.

Coverage therefore makes repeated tests eliminate most candidates. The manuscript uses dyadic lengths LTL_T comparable to T2/5T^{2/5} for primes near TT. After accounting for displacement entropy, Proposition 7.1 charges conditional mutual information of at least c1/logTc_1/\log T per increment to each batch.

Let XT′X’_T be that batch’s terminal residue vector and OT′O’_T contain earlier batches. Write JTJ_T for the conditional mutual information I(XT′;WLT(t*)∣OT′)I(X’_T;W_{L_T}(t_*)\mid O’_T), averaged over auxiliary choices. Nested residue vectors, dyadic block subadditivity, and smoothing yield:

∑𝑻𝑱𝑻𝑳𝑻≤log⁡𝑲𝑫+𝒐(1).\boldsymbol{\sum_T\frac{J_T}{L_T}\le\log K_D+o(1).}

Here WLTW_{L_T} is the increment word, CC records auxiliary prime choices, and o(1)o(1) tends to zero as the schedule grows. The paper connects this budgeting method to Tao’s entropy-decrement argument, also relevant background to the two-point Chowla story.

Each increment has only KDK_D possible values. Yet the selected prime windows force:

𝒄1∑𝑻1log⁡𝑻≤log⁡𝑲𝑫+𝒐(1).\boldsymbol{c_1\sum_T\frac1{\log T}\le\log K_D+o(1).}

Each window contributes a fixed positive amount, and the number of windows grows without bound. The right side stays finite. Uniformity over walks lets the proof choose one sufficiently large finite schedule, giving PDP_D, then Theorem 1.1 through periodicity.

Why does a window contribute enough? Its logarithmic width grows in proportion to its location. Geometrically spaced batches therefore supply proportionally more terms, each proportionally smaller. Their aggregate stays bounded below rather than disappearing as the primes become enormous.

The bound remains nonexplicit. This is not a practical maximum-walk calculator. Developers can illustrate finite components, but a large simulation cannot replace the uniform argument.

The official Lean scope reports formalization of the no-infinite-walk result and uniform component bound, including axis primes and associates. That concerns the encoded theorem, not separate verification of every paragraph of the 29-page exposition. We did not rebuild the Lean project. The distinction between discovery and formalization also guides our Fermat proof explainer.

The Gaussian moat conjecture’s resolution turns a local jump restriction into a global information contradiction. For more explanations that follow the actual mathematical mechanism, explore Binary Verse AI’s AI mathematical proofs coverage and follow the research series.

12. Gaussian Moat Conjecture: Frequently Asked Questions

Has the Gaussian moat conjecture been solved?

OpenAI’s September 26, 2026 manuscript presents a proof that no infinite sequence of distinct Gaussian primes can maintain a fixed finite maximum step length. It states the stronger result that every connected component has a uniform finite size bound depending only on that step limit. OpenAI lists the main result as formalized in Lean.

What is a Gaussian prime? Can you give an example?

A Gaussian prime is an irreducible element of Z[i]\mathbb Z[i]. For example, 2+i2+i is prime because its norm is 55, an ordinary prime. However, 55 itself is not Gaussian prime, because 5=(2+i)(2−i)5=(2+i)(2-i). The ordinary integer 33 is Gaussian prime even though its norm is 99.

Why didn’t large prime-free regions already prove the Gaussian moat conjecture?

A prime-free region blocks a local route, but a walk in the two-dimensional Gaussian integer lattice may go around it. The challenge was to rule out every infinite bounded-step route, rather than merely construct arbitrarily large empty regions.

Does OpenAI’s proof calculate the maximum number of Gaussian primes in a bounded-step walk?

It proves that a finite bound BDB_D exists for every fixed step limit DD, independently of the starting prime. The proof is nonexplicit: it does not give a numerical formula or usable estimate for that bound. It also does not identify the exact largest achievable walk.

Why does the proof use entropy and information theory?

The proof measures uncertainty in residues of sampled walk positions. Avoiding selected zero residues forces short increment sequences to reveal information about their starting positions across many prime batches. Those information costs eventually exceed the finite per-increment entropy budget, producing a contradiction.

Does the result include Gaussian primes on the coordinate axes?

Yes. The uniform component bound covers coordinate-axis primes and all associates. When passing from the periodic avoiding graph to the full Gaussian-prime graph, the proof restores the finitely many associates of the selected Gaussian factors and bounds the additional components that they can connect.

Is OpenAI’s Gaussian moat proof formally verified in Lean?

OpenAI’s official scope note reports a Lean formalization covering every real step bound, all starting Gaussian primes, and the uniform component-size conclusion. This describes formalization of the stated result, not separate formal verification of every line of the 29-page exposition. Binary Verse AI did not independently rebuild the Lean project.

Leave a Comment