Plectis

Long paper

Prime-Gap Dyadic Series: Perturbations, Exact Criteria and Certificates

Summary. A convergent dyadic series with nonnegative integer coefficients can be made rational by sparse nonnegative corrections of upper Banach density zero, eventually bounded by any f(n)→∞, while preserving every fixed modulus and, for a logarithmic allowance, short-block empirical distributions. For prime gaps the cumulative positions remain asymptotic to n log n; no primality conclusion is asserted. Summation by parts reduces the prime series to the gap series, and the tails TN=∑j≥1gN+j2−j satisfy TN+1=2TN−gN+1. That recurrence characterises rationality and yields finite tests with explicit remainder bounds. An exact finite certificate shows that a rational value of the prime series would have denominator at least 239998>1012040. The bound does not establish irrationality.

This paper covers the complete problem-specific reasoning surface for Erdős #251, including all registered result families and their boundaries.

It does not establish the validity of claims tagged Lean, which belongs to the cited kernel-checked source, or a solution to Erdős #251, which remains open.

In this paper

Two lower bounds on a possible rational denominator

Here the enclosure is for Π itself, rather than a tail difference. A finite prime sum gives the lower endpoint; the polynomial prime bound gives the upper endpoint. Two fractions of determinant one bracket this entire interval, so every rational in it has denominator at least the sum of their denominators. This last step is an integer identity, independent of how the fractions were found. Appendix B prints the smaller certificate; the linked Lean development checks the integer comparisons for both. The bounds exclude finite denominator ranges, not rationality.

Theorem 7.1 (a denominator bound checked by exact integer comparisons). Let a∈Z and let b be a positive integer. If Π=a/b then b≥2589>10177, and the same floor holds for every rational equal to S.

Proof. Put c=1229, the number of primes below 104, and A=∑i=0c−1pi2c−i−1, so that A/2c is the cth partial sum of Π. All terms are positive, so A/2c≤Π. For the upper bound, pc+j≤1250(c+j+1)4. Since c≥9, each successive ratio of (c+1+j)4 is at most (11/10)4<3/2. Hence (c+1+j)4≤(c+1)4(3/2)j for all j≥0. The omitted dyadic terms are therefore bounded by a geometric series with ratio 3/4, whose sum gives

A2c≤Π≤2A+5000(c+1)42c+1.

The four positive integers u,v,u′,v′ printed in Appendix B satisfy

u′v−uv′=1,uv<A2c,2A+5000(c+1)42c+1<u′v′,v+v′≥2589,

all four being integer comparisons after clearing the positive denominators. If Π=a/b, the strict lower and upper bounds make av−bu and bu′−av′ positive integers. Each is therefore at least 1. The determinant identity expresses b as their positive integer combination of v′ and v:

b=b(u′v−uv′)=(av−bu)v′+(bu′−av′)v≥v+v′≥2589.

The only properties needed of the bracketing fractions are their order, positive denominators and determinant one. Their decimal expansions and the way they were found play no part in this denominator bound. Since 589log10⁡2>177, the floor exceeds 10177. If S=a/b, apply the same argument to Π=(a+2b)/b. ◻

The Lean kernel evaluates the four inequalities itself, on the same integers, after recomputing the primes below 104 by trial division; no compiled code is trusted. Its analytic input is the same enclosure, derived from the polynomial bound pn≤1250(n+1)4. The four integers u,v,u′,v′ have 177 and 178 digits.

Theorem 7.2 (certified continued-fraction exclusion). Every rational equal to Π, and hence every rational equal to S, has reduced denominator q≥239997, and therefore q>1012040.

The same determinant argument gives the stronger floor 240062 below. The smaller constants in the statement and the different continued-fraction pairs are accounted for after the proof.

Proof. Put c=80200, the number of primes below 1023068, and A=∑i=0c−1pi2c−i−1. The estimate in the proof of Theorem 7.1 holds for every c≥9 and gives

A2c≤Π≤2A+5000(c+1)42c+1.

Four positive integers u,v,u′,v′, described after this proof, satisfy

u′v−uv′=1,uv<A2c,2A+5000(c+1)42c+1<u′v′,v+v′≥240062,

all four being integer comparisons after clearing the positive denominators. If Π=a/b with a∈Z and b a positive integer, the determinant calculation in the proof of Theorem 7.1 gives

b≥v+v′≥240062>1012059.

The last inequality holds because 1012059=(1059)2041023 and 240062=(2196)204278, with 1059<2196 and 1023<278. The reduced denominator q is one such b, so q≥240062>239997 and q>1012059>1012040. If S=a/b, apply the same argument to Π=(a+2b)/b. ◻

The integers u,v,u′,v′ come from the continued fractions of the two endpoints A/2c and (2A+5000(c+1)4)/2c+1, which agree in their first 23407 partial quotients. The fraction u/v is the convergent formed by those partial quotients, and u′/v′ is the mediant of u/v and the convergent before it. Only the four comparisons enter the proof. The numerators u,u′ have 12061 decimal digits and the denominators v,v′ have 12060.

The Lean kernel checks every step of this proof and evaluates every computation itself; no compiled code is trusted. It recomputes c and A from the definition of primality, scanning the integers below 1023068 in 250 consecutive blocks and checking the prime count and partial numerator at the end of each block. It decides primality by trial division below 1012. On [1012,10132), which contains the rest of the scan because 10132=1026169, it uses the fact that such an integer is prime exactly when it is coprime to the product of the primes below 1012, and it recomputes that product by trial division. Lean proves that the two primality tests agree at every natural number. The kernel then decides the four comparisons, together with 1059<2196 and 1023<278; the enclosure and the determinant step are proved in general form. Lean proves the bound b≥240062 and b>1012059 for both series and derives the theorem as stated from it, using only Lean’s three standard axioms.

An independent program outside Lean recomputes A by a prime sieve and uses exact integer arithmetic. Its recorded output has the same 23407 common partial quotients. It brackets the interval with the last two consecutive convergents, whose denominator sum has bit length 40062, and checks the advertised bound 239997>1012040. This pair differs from the convergent–mediant pair in the Lean certificate above, whose denominator sum has bit length 40063 and is at least 240062. The two bit lengths refer to different valid pairs.

The constants 239997 and 1012040 in the statement come from a separate computation with a bracket of width 2−80000, which used the best-approximation property of convergents [10]; Short gives an accessible statement and proof [19]. Its recorded output lists the generating program and its digest and a last convergent whose denominator has bit length 39998, hence is at least 239997; the program also checked its arithmetic against the known expansions of e and π. That bit length describes one convergent only; the bound for every rational in the enclosure comes from the certified sum v+v′ above, and 239997>1012040 is a separate integer comparison.

These computations exclude finite denominator ranges. Irrationality would require unbounded exclusions, not just a larger finite bound. Even extending the prefix need not improve the bound at every step. No irrationality-exponent estimate is asserted.

About this paper

Authorship and AI use. Will Cook built and directed the research infrastructure and maintains the public release. He reviewed claims when he could. AI agents did most of the research and drafting. Cook did not independently verify every claim.

Cite and contact. Cite this paper by its title, author and date above, with its PDF; cite the earlier sources it uses for a mathematical result. For software, use the release citation and give the commit used. Contact Will with questions or corrections.

Prefer the manuscript?

Equations typeset from the exact TeX. Rendered from the LaTeX manuscript source with file fingerprint sha256:db2a5b20038e07a9. Its file fingerprint matched the published source record, so the PDF above, the LaTeX, and this page are one manuscript. Redeploying the site regenerates this page from whatever the public repository holds at that moment.