cert-machine · report · generated from the records

Three Lean proofs of bounded prime gaps, and the 16 premises Lean does not check

Three Lean proofs bound the gaps between primes: OpenAI’s (186), one whose repository credits “GPT-6 Astra (OpenAI), prompted by Romyar Sharifi.” (182), and Axiom Math’s (212). The proofs are theirs, and nothing on this page proves a premise or verifies any of the three bounds. Each proof starts from statements it takes as given, which Lean does not check. Here is the list, 16 in all, and what I could check about each, with Claude.

what was done to it OpenAI · 186 3 premises the 182 5 premises Axiom Math · 212 8 premises DECIDED ON INSTANCES below 2000 every case at the primes below 2,000 A bound on a rank-three Kloosterman sum — DECIDED ON INSTANCES below 2000 A correlation bound for Kloosterman sums — DECIDED ON INSTANCES below 2000 The 186’s first premise, again — DECIDED ON INSTANCES below 2000 The 186’s second premise, again — DECIDED ON INSTANCES below 2000 A bound on a rank-four Kloosterman sum — DECIDED ON INSTANCES below 2000 REPRODUCED the authors’ own programs, run again 152 numerical bounds on integrals — REPRODUCED 262 numerical bounds on integrals — REPRODUCED READ: MISMATCH differs from the paper it cites A Type II estimate — READ: MISMATCH ≠ A Type I estimate — READ: MISMATCH ≠ A Type I estimate — READ: MISMATCH ≠ A Type I estimate — READ: MISMATCH ≠ A Type III estimate — READ: MISMATCH ≠ A reduction step — READ: MISMATCH ≠ A bilinear Bombieri–Vinogradov theorem — READ: MISMATCH ≠ NOT DECIDED ∅ · nothing here could decide it A local Fourier hypothesis with free constants — NOT DECIDED A certificate: a function with a stated property exists — NOT DECIDED
OpenAI · 186 · 3 premises DECIDED ON INSTANCES below 2000 A bound on a rank-three Kloosterman sum — DECIDED ON INSTANCES below 2000 A correlation bound for Kloosterman sums — DECIDED ON INSTANCES below 2000 REPRODUCED 152 numerical bounds on integrals — REPRODUCED the 182 · 5 premises DECIDED ON INSTANCES below 2000 The 186’s first premise, again — DECIDED ON INSTANCES below 2000 The 186’s second premise, again — DECIDED ON INSTANCES below 2000 A bound on a rank-four Kloosterman sum — DECIDED ON INSTANCES below 2000 REPRODUCED 262 numerical bounds on integrals — REPRODUCED NOT DECIDED · ∅ A local Fourier hypothesis with free constants — NOT DECIDED Axiom Math · 212 · 8 premises READ: MISMATCH A Type II estimate — READ: MISMATCH ≠ A Type I estimate — READ: MISMATCH ≠ A Type I estimate — READ: MISMATCH ≠ A Type I estimate — READ: MISMATCH ≠ A Type III estimate — READ: MISMATCH ≠ A reduction step — READ: MISMATCH ≠ A bilinear Bombieri–Vinogradov theorem — READ: MISMATCH ≠ NOT DECIDED · ∅ A certificate: a function with a stated property exists — NOT DECIDED
One square per premise. Solid: every case at the primes below 2,000 was decided in exact arithmetic, which is not a proof for all primes. Dashed: the authors’ numbers, reproduced with their own programs, or (≠) a quoted theorem that two readers found to differ from its source. Hatched: nothing here could decide it. No square is a proof of a premise.Records: certs/prime-gap-premises.json · sha256 e11e704a7b30; corpus/prime-gap-premises/ledger.jsonl · sha256 3c1384fe2474The build refuses this figure if a premise’s status is not the one its evidence gives, or a premise has no cell.
decided
exact arithmetic backs it
computed
float, or a number someone printed; nothing decided it
refused
no mark — the void is drawn
proofs
3
with the bounds 186, 182 and 212
premises proved here
0 of 16
they remain premises
decided on instances
5
every case at the 303 primes below 2,000
reproduced
2
the authors’ numbers, with their own programs
read: mismatch
7
against the papers they cite, by two readers
not decided
2
nothing here could decide them

The three proofs, their Lean developments and their numerical packages belong to their authors. This page lists what they assume and what could be checked about it; it is not new mathematics. The checks are mine, done with Claude (Anthropic’s AI model), which wrote the programs under my direction; the readings of the 212 were made by AI readers working blind.

read this first

What is still open

the ledger

The 16 premises, proof by proof

Each row is one statement a proof takes as given. The third column quotes or summarises it, as the ledger does: the Lean text, shortened, or for the 212 the theorem it cites. The status is in the ledger’s own words, and none of the four is a proof of the premise.

  • The bound 186. OpenAI’s. openai/PrimeGaps186 at 61340d0b · 3 premises.
  • The bound 182. Its repository’s notice reads: “Project attribution: GPT-6 Astra (OpenAI), prompted by Romyar Sharifi.” It carries no licence for its own material, so it is quoted and linked here, never copied. romyar1/prime-gaps-lean at b77bf175 · 5 premises.
  • The bound 212. Axiom Math’s. In its quoted rows, [1] is a Polymath paper and [2] a paper of Stadlmann. AxiomMath/BGP212 at 6641780b · 8 premises.
proofpremiseas quotedstatus
186A bound on a rank-three Kloosterman sum
PrimeGap186.kloosterman3_bound · finite-field bound
∀ p [Fact p.Prime] (c : ZMod p), c ≠ 0 → ‖normalizedKloosterman3 p c‖ ≤ 3DECIDED ON INSTANCES below 2000
Every case at the 303 primes below 2,000 holds, in two programs that share no code: 276,747 cases. From the earlier check of the 186.
186A correlation bound for Kloosterman sums
PrimeGap186.kloosterman2_correlation_bound · finite-field bound
∀ p [Fact p.Prime] (A B : ZMod p), A ≠ 0 → B ≠ 0 → ‖∑ t ≠ 0, −1, K2(A/t) K2(B/(t+1))‖ ≤ 8 p √pDECIDED ON INSTANCES below 2000
Every case at the same primes holds, in two programs that share no code: 359,158,973 cases. From the earlier check of the 186.
186152 numerical bounds on integrals
PrimeGap186.physical_integral_bounds · real-inequality bundle
104 outer + 45 inner + 3 cap bounds, rationals / 10^18REPRODUCED
OpenAI’s program was run again and its 152 numbers were recomputed with no shared code. That each integral is at most its estimate is argued on paper.
182The 186’s first premise, again
PublicPrimeLocalBounds182 (first conjunct) · finite-field bound
∀ p [Fact p.Prime] (c : ZMod p), c ≠ 0 → ‖normalizedKloosterman3 p c‖ ≤ 3DECIDED ON INSTANCES below 2000
Taken over from the 186: the 182 carries a byte-identical copy of that Lean file and states the same sum, so it inherits that check. That its names resolve to that file’s definitions is a reading.
182The 186’s second premise, again
PublicPrimeLocalBounds182 (second conjunct) · finite-field bound
∀ p [Fact p.Prime] (A B : ZMod p), A ≠ 0 → B ≠ 0 → ‖∑ t ≠ 0, −1, K2(A/t) K2(B/(t+1))‖ ≤ 8 p √pDECIDED ON INSTANCES below 2000
Taken over from the 186: the 182 carries a byte-identical copy of that Lean file and states the same sum, so it inherits that check. That its names resolve to that file’s definitions is a reading.
182A bound on a rank-four Kloosterman sum
AllIncidenceRankFourBounds / IncidenceRankFourBound · finite-field bound
∀ c : ZMod p, c ≠ 0 → ‖∑ u v w : (ZMod p)ˣ, stdAddChar (u + v + w + c / (u v w))‖ ≤ 4 p √pDECIDED ON INSTANCES below 2000
New in this work. Every case at the 303 primes below 2,000 holds, in two programs that share no code: 276,747 cases, none failing, none left undecided.
182262 numerical bounds on integrals
PhysicalSourceBounds182 · real-inequality bundle
cap (5) + outerRoot, outerFace (∀ j : Fin 60) + innerMass (∀ j : Fin 137): 262 inequalities between integrals and rationalsREPRODUCED
The authors’ own numerical package, run again by me: it accepts its own run, and all 262 fresh values equal the numbers written in Lean. A replay, not an independent decision.
182A local Fourier hypothesis with free constants
LocalFourierHypothesis C D p₀ · free constants
∀ p, p₀ < p → ∀ α m m′ n n′ : ZMod p, … Finite/CurveExceptionalFourierBound p C D …NOT DECIDED
No finite test can refute it: a larger threshold or a larger constant escapes any instance.
212A Type II estimate
TypeIIPolymath · quoted asymptotic theorem
cited: [2] Lemma 3, [1] Thm 2.8(iv)READ: MISMATCH
Read twice, blind. Both readers: the Lean text bounds the error over all n, where the paper it cites sums over n between x and 2x.
212A Type I estimate
TypeIbPolymath · quoted asymptotic theorem
cited: [2] Lemma 4, [1] 2.8(ii)READ: MISMATCH
Read twice, blind. Both readers: the Lean text bounds the error over all n, where the paper it cites sums over n between x and 2x.
212A Type I estimate
TypeIBakerIrving · quoted asymptotic theorem
cited: [2] Lemma 5READ: MISMATCH
Read twice, blind. Both readers: the Lean text bounds the error over all n, where the paper it cites sums over n between x and 2x.
212A Type I estimate
TypeIStadlmann · quoted asymptotic theorem
cited: [2] Lemma 6READ: MISMATCH
Read twice, blind. Both readers: the Lean text bounds the error over all n, where the paper it cites sums over n between x and 2x.
212A Type III estimate
TypeIIIPolymath · quoted asymptotic theorem
cited: [2] Lemma 7, [1] 2.8(v)READ: MISMATCH
Read twice, blind. Both readers: the Lean text bounds the error over all n, where the paper it cites sums over n between x and 2x.
212A reduction step
Gap212HarmanReduction · quoted asymptotic theorem
cited: [2] Prop. 2, Def. 9READ: MISMATCH
Read twice, blind. Both readers: the Lean text bounds the error over all n, where the paper it cites sums over n between x and 2x.
212A bilinear Bombieri–Vinogradov theorem
BilinearBombieriVinogradov · quoted asymptotic theorem
cited: [1] Thm 2.9READ: MISMATCH
Read twice, blind. Both readers: the Lean text adds a condition that the theorem it cites does not have.
212A certificate: a function with a stated property exists
Gap212Certificate · real-inequality bundle
Certificate gap212Params 44 0 0: ∃ F, symmetric, L², 0 < I(F) < k·J(F)NOT DECIDED
It needs a witness, and none is published. The question is open with the authors.
1 · the 182’s rank-four premise

Every case for the primes below 2,000

The 182 adds a premise the 186 does not have: a bound on a sum over a finite field, one for every prime p and every nonzero c. Its size is to be at most 4 times p√p. It is Deligne’s bound for the rank-four Kloosterman sum, taken as a hypothesis. A computer can decide it prime by prime, which proves nothing about all primes and still tests whether the Lean statement says something false.

  • All hold. 276,747 cases, for the 303 primes below 2,000, each decided by two programs that share no code: one in exact integers, one in interval arithmetic. None fails; none is left undecided.
  • The two programs agree case by case. On all 276,747 cases their enclosures of the sum overlap. A third program, a direct triple sum, recomputed the 149 cases at the primes up to 31 and landed inside both.
  • Wrong versions are caught. With 4 replaced by 3, 496 cases fail in both programs, the same 496, the earliest at p = 73. With 4 replaced by 2, 13,696 fail in both, the same number at every prime.
  • How close it comes. The sum reaches 3.6085 times p√p against the assumed 4, at p = 1,493 and c = 689.
0 1 2 3 4 0 500 1,000 1,500 2,000 the prime p the assumed bound, 4
The rank-four premise: the largest size of the sum at each prime, divided by p√p, against the assumed bound 4. Each point is the upper end of an interval enclosure, rounded up.Records: certs/prime-gap-premises.json · sha256 e11e704a7b30; corpus/prime-gap-premises/out/decider-b.jsonl · sha256 1eaa3c9b3857The build refuses this figure if a prime’s largest value reaches the bound, or the two programs disagree.
2 · the 182’s numbers

The authors’ numerical package, run again

Another premise of the 182 is a list of 262 inequalities between integrals and fractions: 5 cap bounds, 120 outer and 137 inner. Its authors support them with a numerical package, released as an archive. I ran it again.

3 · the 212’s quoted theorems

Seven quoted premises, read blind twice

7 of the 8 premises of the 212 are theorems quoted from two papers. For these the question is whether the Lean text says what the paper says.

4 · the 212’s certificate

A certificate with no published witness

the method

How it was done

who did what

Each step is a separate job

check it yourself

How to re-run it

contact

Write to Carlos

Sent by Web3Forms to Carlos’s inbox; nothing stored here.

Or write to carlos@carlostoledo.co, or open the public pilot form on GitHub.