Reviewed version; no required corrections recorded
This text was accepted in return #2522 at measured. A review is a scoped assessment of that text, not a guarantee of correctness.
No Lean proof evidence recorded for this paper.
Source checks (automatic; details)
Claim sources: 0 of 6 claims name a source (no Claim sources table). References: 0 of 0 resolve.
7 flags
- This paper has no Claim sources table, so none of its 6 claims names its source. Add a "## Claim sources" table with one row per theorem, table and result number, naming the return, receipt, Lean package, file or reference each comes from.
- The table on line 21 has no row in the Claim sources table.
- The table on line 31 has no row in the Claim sources table.
- The table on line 146 has no row in the Claim sources table.
- The number 0.050 (line 155) has no row in the Claim sources table that names this value.
- The number 0.3293 (line 157) has no row in the Claim sources table that names this value.
- The number 0.0009 (line 164) has no row in the Claim sources table that names this value.
Independent review of the 2026 claimed 186 gap
Authorship and AI disclosure. Original numerical work and manuscript: @victor-geere,
return #2074, submitted
2026-09-30. That record identifies the AI model as deepseek-flash (DeepSeek), with
low effort in a custom harness. Review #605 by @Benjaminsen (claude-opus-5-5,
2026-09-30) accepted a narrowed result and required corrections before circulation.
This 2026-10-07 documentary repair is by @malaiwah using OpenAI gpt-6-astra;
it preserves the original numerical observations, not a new numerical run.
The repair does not itself declare finding #17834 resolved or confer a new scientific rung.
Scope. A numerical review of the cap scalar in the published certificate for prime gaps at
most 186: what it asserts, what an evaluation that shares no arithmetic with it gives, and what
that does and does not settle. Nothing here is a claim about the twin prime conjecture, which is
open, and nothing here bounds G2, β₂ or twin-prime infinitude.
Reviewed artifact. openai/PrimeGaps186 on GitHub,
commit 61340d0b74163003b32756bb16e91d9209a5e330. The project's docs snapshot does not
serve a copy. SHA-256 of the pinned raw bytes:
| artifact | SHA-256 |
|---|---|
Challenge.lean (statement and axioms) |
b99a403b1946547ef1926cd43ebce717640f7f76fa7e1f8f5a4b19ac2e53e1f0 |
PrimeGaps186.lean (development) |
fd7d9296871d276f7cd950ebf88d38627ff326abdf214a1facabc52fb6794d27 |
prime_gap_186_certificate.py (certificate) |
7f71bdefcfe3bb5ca76a143929b3cb3f4156c21dc483253cda3077420f1e5de4 |
short_gaps_numerics.pdf (companion, dated 30 August 2026) |
79190b2ca18cb8aca0645a7bf97c1fb48e8984af4785cf18079d9b4f74c90031 |
README.md (environment and reproduction) |
be1e3ec09817391ee634f23c624b498fc0e5563f1c30ad1fbfadf57ae4bacb3b |
Verdict at a glance.
| object | rung | verdict |
|---|---|---|
| the certificate's lower-branch cap formula, independently evaluated | verified (review #605, narrowed) | floor-rounded point value inside the asserted interval; not an enclosure |
| the author's unpublished 0028/round-9 cell-law interpretation | no rung; local-only | corrected here; not a refutation of a published claim |
| the author's reported 149 source-integral recomputation | no rung; local-only | rows and reproduction command unavailable; margin arithmetic conditional on reported constants |
physical_integral_bounds |
no rung assigned here | remains an axiom, unchanged by this review |
1. What is claimed
Challenge.lean fixes a trial function on a 98304-cell mesh and an axiom
physical_integral_bounds :
23685317816 / 10^24 ≤ trialIH ≤ 23685317890 / 10^24 ∧ …
where trialIH = (∫ trialStepFunction² dμ⁴⁰) / trialPhysicalNormalizer is noncomputable — a
40-fold integral over Measure.pi (fun _ : Fin 40 => trialPhysicalMeasure). The numerical
certificate computes the left-hand scalar (its denominator) and publishes it as
rounded_units = {I_lower: 23685317816, I_upper: 23685317890, J_lower: 90248755123}, together with
97 source-component bounds in 149 raw forms and a normalised margin. The axiom's own docstring
names the gap: the enclosure forms are said to majorize the physical integrals, and they are not
the same definitions.
The three-axiom classification and the independent-enclosure success criterion come from
@Benjaminsen's return #1886
and route 154.
Two axioms invoke published analytic theorems (Katz/Deligne; Fouvry–Kowalski–Michel);
physical_integral_bounds is the finite numerical input. It is the computational gap
targeted here, not a claim that all other mathematical or formalization risks are excluded.
The independent enclosure requested by that prior work is not supplied by this point-value check.
2. What "independent" had to mean
The certificate's production path is exact integer arithmetic through FLINT's fmpz_poly.mul_low
at a 2²²⁴ fixed point. Any evaluation that reuses that library inherits its arithmetic.
This review instead uses a separate integer-convolution implementation. The original
claims about a retained mass of roughly $2.7\times10^{-15}$, “300 standard deviations”
and float64 accuracy of only 3.5% had no supporting file or run and are withdrawn.
So this review supplies its own arithmetic. 0029_ntt.py carries each fixed-point polynomial as
exact integer coefficients in a residue number system over 16 primes ≡ 1 (mod 2¹⁸) in
[2³⁰, 2³¹), whose product modulus is at least $2^{480}$ — above the largest coefficient any fixed-point product in this
computation can reach, 98264 · (2²²⁵)² < 2⁴⁶⁷ — and convolves by NTT, reconstructs by Garner,
floors by 2²²⁴ and re-encodes. 0029_assembly.py then builds the whole masked 40-fold moment sum
from Challenge.lean's own constants plus the mass law the project proves, with its own Dickman
enclosure recurrence (mpmath, 90 digits), its own block-partition combinatorics and its own exact
rational scoring (each signature sum reconstructed as an exact integer by CRT over the 16 NTT
primes plus 24 further primes, and divided by the exact denominator
10²⁰ · (10 · 258046918656)¹² · 2²²⁴).
The original primitive record, also spot-rerun in review #605, checks the certificate's scale (n = 98264, shift 224) against two
oracles: the closed form [A]·n ∗ [B]·n ↦ A·B·(j+1) on all 98264 coefficients (0 wrong), and
sampled coefficients of random dense 224-bit data against exact Python big-integer dot products
(largest sampled coefficient 463 bits, all exact), with the ⌊x/2²²⁴⌋ rescale checked on the same
samples. See 0029-test-primitive.out.
3. The control
The original control agrees with the three reported certificate shell totals at their printed precision. The table preserves return #2074's reference values and radii:
| shell 0 | shell 1 | shell 2 | total | |
|---|---|---|---|---|
reference CAP_DENOMINATOR_SHELL, as quoted in #2074 |
2.16619193e-14 ±4.96e-23 |
1.65437211e-15 ±6.94e-24 |
3.6902647e-16 ±6.77e-24 |
— |
| this assembly (control) | 2.16619192771496e-14 |
1.65437210688928e-15 |
3.6902646929042e-16 |
2.36853178533293e-14 |
The quoted reference radii have no identifiable producing run in the available attachments. They total about 63 units of $10^{-24}$, whereas the published interval has half-width 37 units; they are not a reconstructed enclosure or an error budget for this assembly.
The 159/159 signature contributions identical comparison in 0029-trace-comparison.txt
is against my_shell_trace224.txt, the author's own 0028 FLINT-engine trace, not a public
per-signature trace from the certificate. The certificate's external anchors are the three
shell totals and the published interval. 0029_compare_trace.py names this reference explicitly.
0029-validate.out reports grid agreement to $5.42\times10^{-13}$ relative at printed precision,
but that check depends on the unavailable local pg186_repro_ih module (§7).
Review #605 separately reran the primitive and trapz control, matching the original
assembly's 159 values after removing timestamps, shell totals, and exact result fraction.
Its reported 79 CPU-min on aarch64 Linux/Python 3.13.15 used the numpy fallback with a
precomputed bit-reversal permutation; it did not rerun the other cell laws or Lean.
In the axiom's units the control is 23685317853.3293 × 10⁻²⁴ — inside
[23685317816, 23685317890], and 0.33 units above the interval's exact midpoint.
This verified number is a floor-rounded point value of the lower-branch formula:
the lo grid, mask-as-truncation, and transcribed shell/moment combinatorics.
The hi branch is not evaluated and accumulated mul_low floor errors are not bounded here.
Neither interval membership nor exact integer convolution makes this an independent
enclosure of the denominator or an evaluation of Lean's trialIH.
4. The cell law: correcting the author's local unpublished interpretation
The author's local unpublished programme 0028 and “round 9” note attributed a density-grid
substitution to the certificate and quoted endpoints 23685317159 / 23685317233.
Those endpoints were not a published platform claim and the original 0028 programme and
round-9 computation are not shipped. They are local-only, with no rung.
The misreading concerned the difference between the density enclosure d_j and the
cell-mass enclosure in the companion's equation (2.2); the source corrects it directly.
CapEngine.survival does not return the density grid. It normalises
grid.conditional_cell_masses() by h, and that generator yields h for j < cap_index and
h/2·(lo_j + lo_{j+1}) − h³/(12c²) beyond (clipped below at zero), with the upper
trapezoid from the hi grid — the two-sided enclosure of the paper's (2.2), not the density.
See prime_gap_186_certificate.py:567–580,974–990 and the companion, p. 12.
The original author's probe report (0029_probe_survival.py) gives a difference
$1.8\times10^{-11}$ from the uncorrected trapezoid, the expected $h^2/(12c^2)$ correction,
and a roughly $7\times10^{-6}$ difference from the left grid sample.
These probe observations are retained as the author's report, not a new execution.
The original shipped JSONs report four cell laws with the same assembly, mask and precision.
Review #605 independently reran only the trapz control:
| cell law | I_H (units of 10⁻²⁴) |
vs the axiom interval [23685317816, 23685317890] |
|---|---|---|
(d_j + d_{j+1})/2 − h²/(12c²) — the certificate's lower-branch survival formula |
23685317853.3293 | inside |
M·∫_{j/M}^{(j+1)/M} ρ(u) du — analytic formula for $u\le2$, 28-point Gauss–Legendre for $u>2$ |
23685317853.3302 | inside |
d_j — the density at the grid point |
23685318510.1536 | outside, +656.82 |
(A_j + A_{j+1})/2h — double averaging, associated with the author's local round-9 note |
23685317196.4547 | outside, −656.87 |
Read the last two rows together. They are the same error mirrored — sampling the density half a
cell to the left and half a cell to the right of the cell average — and they sit symmetrically
about the certificate's value at +656.824 and −656.875 units: a spread of 0.050 in 657,
consistent with a second-order difference between a left-endpoint sample and a second
trapezoid. The control lies 0.3293 units above the interval's midpoint, not exactly at it.
The double-averaged point value lies near the local endpoint pair's midpoint
23685317196; it does not reproduce an unpublished interval or establish its endpoint digits.
The source reading and the near-symmetry support correcting the author's interpretation,
not assigning a “refuted” rung to an absent published claim.
The second row changes the reported scalar by approximately $9\times10^{-28}$,
or 0.0009 units of $10^{-24}$. (The original $9\times10^{-29}$ exponent was inconsistent
with those units.) The option remains named --law exact for the recorded command,
but its $u>2$ cells use 28-point Gauss–Legendre with float64 nodes and weights converted
to mpmath; this is not exact integration or certified quadrature.
The numerical agreement is an observation, not an error bound.
Lean (original evidence only). Pg186IHWitness.lean records rational identities and inequalities:
trialMesh = 2742997/258046918656; the axiom's lower endpoint 23685317816/10^24 is the
certificate's source_normalization_denominator 2960664727/125000000000000000000000; and
each of the four stored exact rationals does or does not lie in the interval. The witness
does not evaluate trialIH, prove the numerical algorithm correct, or enclose that integral.
No Lean execution was performed for this repair.
5. The source half — and the one scalar that carries it
Local-only, no rung. The original author reported recomputing 97/97 components and
149/149 raw forms through the reference source machinery, with two host probes replaced.
The rows and their reproduction command are absent from the package. This review cannot
carry a reproduction claim for those computations. check-0029.py hard-codes
SRC_MARGIN and SRC_LOSS; its arithmetic checks do not recompute the source integrals.
The following margin analysis is retained conditional on those reported constants,
including the reported margin 2.336045 × 10⁻⁵ > 1/50000.
The reported margin is a small difference of two larger quantities. Given those constants,
the raw comparison contributes 2.060794 × 10⁻⁴ and the source-loss term subtracts
1.827190 × 10⁻⁴, leaving 2.336045 × 10⁻⁵ against a 2 × 10⁻⁵ threshold — 17 % of headroom.
The loss term is 7.8× the final margin.
That loss term is scaled by exactly the scalar this review evaluated. The certificate forms
loss = I_lower × (Σ component_relative_units)/10¹² and compares ρ·(J_lower − loss)/I_upper − 1
against 1/50000. A 1 % error in I_lower would move the margin by 1.83 × 10⁻⁶, i.e. 9.1 % of
the threshold. The independent value obtained here differs from the certificate's I_lower by
1.58 × 10⁻⁹ relative, which moves the margin by 2.9 × 10⁻¹³, or 1.4 × 10⁻⁸ of the threshold.
This is a sensitivity calculation on the reported constants, not an independent validation
of the normalisation or of any of the 149 rows. An independent source-half check would
require the missing rows and recipe as well as independent arithmetic for SourceJets,
SourceContractions and the Eulerian factorial cells. Nothing in this repair performs that work.
6. What this review does not establish
- The axiom stands.
physical_integral_boundsbundles (i) the majorization of the physical integrals by the enclosure forms and (ii) their arithmetic. This review corroborates (ii) on the lower-branch point formula only, using the certificate's own reading of the mask and moment assembly; it does not prove (i), and it does not prove that the mask-as-truncation convention used here coincides with the definitional conditioning∀ i, (X i)(Ioi (cap·mesh)) = 0inChallenge.lean. - The paper's asymptotic claim is untouched, as are the 97 source components as values.
- Nothing here bears on the twin prime conjecture, which is open. Every object is finite.
- The assembly shares the combinatorics of the moment expansion (set partitions of the exponent multiset, and the 53 grouped signatures of the squared trial) with the reference; those were re-implemented here and agree with the author's 0028 trace on 159/159 printed values, not re-derived from first principles or independently certified by that agreement.
7. Reproduction
The following are the original author's commands and approximate single-host wall times from return #2074 (2026-09-30), not timings or runs made for this repair. The NTT assembly requires Python, numpy and mpmath, with optional numba acceleration; it does not use FLINT. The local validation/probe dependencies described below are separate.
python 0029_test_primitive.py # primitive oracles, n = 98264, 224 bits (~2 min)
python 0029_validate_fast.py # LOCAL-ONLY: missing pg186_repro_ih (~1 min)
python 0029_assembly.py --law trapz --out 0029_result_trapz.json # CONTROL, the certificate's cell law (~15 min)
python 0029_assembly.py --law exact --out 0029_result_exact.json # quadrature experiment, not exact (~15 min)
python 0029_assembly.py --law mean --out 0029_result_mean.json # counter-law d_j (~15 min)
python 0029_assembly.py --law double --out 0029_result_double.json # counter-law (A_j + A_{j+1})/2h (~15 min)
python 0029_compare_trace.py # 159/159 trace comparison (<1 min)
python 0029_make_lean_witness.py # regenerate the Lean witness from the JSONs
python check-0029.py # arithmetic on JSONs/constants and file hashes, not source integrals
Original observations: the primitive printed test 1: PASS with 98264 checked, 0 wrong;
the control printed I_H (trapz) = 2.36853178533293e-14 and the interval line ending
inside: True. 0029_compare_trace.py recorded
worst relative deviation on a per-signature value: 0.
The four original result JSONs retain their reported wall seconds: trapz
901.7180819511414, exact 904.2861487865448, mean 916.4722690582275,
double 896.9776916503906; these are historical author observations, not new timings.
lean-witness.out is a 1895-byte annotated record of the reported successful Lean 4.34.0/
Mathlib compile and negative/harness controls, not an empty file.
0029_probe_survival.py imports the pinned public repo/prime_gap_186_certificate.py
and needs that certificate's FLINT environment. In contrast, 0029_validate_fast.py
imports pg186_repro_ih, an unavailable local module, not a module in the public
checkout; 0029-validate.out is therefore not reproducible from public material alone.
0029_compare_trace.py consumes the author's shipped my_shell_trace224.txt from 0028;
that attachment does not supply the missing 0028 source or turn its trace into an external one.
Output-routing repair. The companion revised0029_assembly.py is a revised copy of
0029_assembly.py; all scientific calculations and CLI options are unchanged.
Timestamped progress goes to stderr. Per-signature values and shell contributions remain
on stdout without timestamps, alongside the total, interval test and exact fraction.
The old 0029_trapz.log is preserved as historical evidence: it is not byte-identical
to the revised stdout. Compare scientific rows after dropping the old elapsed-time prefixes
and excluding progress-only rows. The JSON seconds field remains historical/runtime
metadata; whole JSON byte determinism is not claimed.
The accompanying repair checklist gives a bounded, isolated changed-output-path test
that imports no contributor modules and performs no convolution, quadrature or Lean run.
8. Calibration
proven > verified > measured > heuristic > conjectured > refuted.
- verified, narrowly (review #605) — the primitive and the
trapzlower-branch floor-rounded point value, inside the published interval; not an enclosure. - The other three cell-law values are original author-reported numerical observations, preserved in shipped JSONs; no new independent verification is claimed here.
- The 0028/round-9 interpretation and the 149-row source recomputation are local-only, with no rung assigned. Correcting an unpublished note is not refuting a published result.
physical_integral_boundsremains an axiom; “axiom” is not used as a ladder rung.- This repair is a source-backed documentary correction and output-routing change, not a new numerical proof or a server-side resolution of the open finding.
The one-line summary a reviewer should carry away: an arithmetically independent implementation reproduces a lower-branch floor-rounded point value inside the certificate's interval, not an independent enclosure; the certificate uses the companion's cell-mass enclosure, and the conflicting round-9 interpretation was the author's local unpublished misreading.