# Verification of the explicit four-power threshold ## File names The archive accepts only certain file types, so one file carries an added `.txt`: `SHA256SUMS.txt` is the file `SHA256SUMS` named in the commands below. From the directory containing `main.tex`, restore the original name with the following command. ```sh cp anc/SHA256SUMS.txt anc/SHA256SUMS ``` ## Reproduction All computations use the Python 3 standard library. After restoring that name, run the following commands from the directory containing `main.tex`. ```sh python3 -I -B anc/verify.py python3 -I -B anc/verify.py --details (cd anc && sha256sum -c SHA256SUMS) ``` The first command evaluates both endpoints and ends with `PASS`. The second prints the paper equation, group and name of every check. `endpoints.txt` contains the output of the first command. The intervals printed for the period, diagonal and row estimates enclose their respective **upper bounds**. The four count intervals enclose the **lower bounds** obtained after all deductions. Class 0 denotes multiples of six. Class 2 denotes the two other even classes modulo six. ## Map from the output to the paper The equation numbers in the first column also appear beside individual checks under `--details`. Constants shared by two bounds have both equation numbers. | Equation | Output group | Quantity evaluated | |---|---|---| | (1.1)–(1.2) | `scale`, `elementary` | Decimal size of the threshold, lower bound for the even exponent length, disjointness and widths of the arcs, and elementary logarithms. | | (2.1) | `design` | Five positive quartic coefficients against the ordered parity multiplicities, total absolute coefficient mass, positive quadratic form and the number of free digits. | | (2.2) | `design`, `series` | For each orientation, the weighted coefficient mass and negative tail. The count of joint and extra moduli, the retained-order sum, the periodic minimum in each target class and the direct orbit comparisons. | | (2.3), (5.1) | `order`, `design` | Both order sums, the two finite order moments, the tail beyond order 16,384, the six-term lower sum, and the Rosser–Schoenfeld product at 100. | | §2(i), (6.2) | `facets` | Number and symmetries of the facets, largest squared parity slope and smallest half-space offset. | | (3.1)–(3.2) | `zero`, `variance` | Local zero count, smoothing multiplier, contour integral, primitive replacement, crossing of a sharp endpoint and total Perron remainder. | | (3.3)–(3.4) | `zero`, `variance` | Gaussian Gram estimate, low and high zero blocks, shell counts, pointwise cumulative sum and the complete moving-window bound. | | (3.5)–(3.6) | `zero`, `variance` | Three clipped boundary ranges, unit reference and nonunit classes, division by progression multiplicity and the dyadic level estimate. | | (4.1) | `arcs`, `sharp` | Gamma and geometric-series constants, the cutoff transform and its convolution with the primitive zero formula. | | (4.2) | `arcs`, `sharp`, `scale` | Smooth and nonunit numerator errors, translated denominators and sum of weights, integrated error, sharp endpoint strips and continuous-to-discrete comparison. | | (4.3)–(4.4) | `arcs`, `sharp`, `design` | Class factors at three, diagonal local mass, divisor and Ramanujan tails, extension of the arcs and total error at a nonzero shift. | | (5.2)–(5.3) | `order`, `scale`, `budget` | Positivity and size of targets, upper and lower exponent-length estimates, the complete-period replacement and the coefficient-error charge. | | (5.4) | `sieve` | The absolute and logarithmic Euler moments, sieve cutoff and modulus range, leading sieve coefficient, small primes, proper powers and total class multiplier. | | (6.2)–(6.3) | `window`, `scale`, `digital` | Distortion, odd extra digit, finite-length Haar loss, cyclic length and support, Fejér displacement and zero-mode constant. | | (6.4) | `window`, `digital` | Sizes and number of short divisors, length of the free Fourier index, pre-lift Cauchy constant, and slope and logarithmic power of the weighted frequency sum. | | (6.5) | `scale`, `window`, `digital` | Rational-approximation range for each translate, divisor bound on the progression model, and comparison to the sharp high-amplitude set. | | (6.6)–(6.8) | `boxes`, `digital`, `window`, `rows` | Type I multiplier-block constant, short and smooth boxes, two-slot grouping, both truncations in Parseval, long-side mean square, number of rectangles, sum of Fourier weights and squared pointwise remainder. | | (6.9)–(6.10), (6.1) | `rows` | Full prime mass on the union of high rows, joint low-row bound for all Fourier modes, their monotonicity, and the combined outside mass including translations. | | (7.1)–(7.3) | `budget`, `design`, `sieve` | The diagonal ratio and its residual, slope of the pair-sieve deduction, twin-product enclosure used in the budget, and the two reference class margins. | | (7.4)–(7.5) | `budget` | Signed margins after period, sieve, diagonal and rare-set losses. Small-prime and proper-power removal, even-length conversion, factor 25/36, normalization by two and all four final floors. | ## Arithmetic and data `intervals.py` computes with exact fractions. To enclose a logarithm it first reduces its argument by a power of two. For the reduced argument `y` between 1 and 2 it uses the first 36 terms of the series for `2 atanh((y−1)/(y+1))`. The omitted positive terms are bounded by a geometric series starting at degree 73. Only the enclosing endpoints are rounded, down and up on a grid of denominator 10³⁰. Square roots use integer square roots, and the enclosure for π uses Machin's identity and two consecutive partial sums of each alternating arctangent series. Products, quotients and inequality comparisons use the resulting rational endpoints. Exponentials at the analytic scale are compared by their logarithms. `design.py` computes the order of two at the small moduli and the scalar design consequences. It derives the stated upper and lower bounds for the two infinite order sums. For the upper order sum it forms the products at every index through 2¹⁴ using every odd prime through 2¹⁷. Rounding each positive product up once to the 10⁻⁹ grid bounds both integer moments in Droll's Lemma 6.2(ii). Partial summation and (5.1) cover the infinite order tail. `series.py` computes the three coupled minima in Droll's equation (7). A bin represents a residue modulo a squarefree modulus `d`. Exponents of each parity are drawn from the subgroup generated by four or its double. A polynomial is stored as an integer in base `B`, and multiplication modulo `B^d−1` gives cyclic convolution. At subgroup size `s`, the base exceeds twice `14·10⁶·52·(2s)⁴+1`. This bound permits exact unpacking after adding the same offset to every signed bin. The 16 divisor contributions are added at each of the 5,005 residues before taking their joint minimum. The other 594 minima are taken separately. Direct enumeration at 5, 7 and 13 checks the orientations, signs and packing. `facets.tsv` transcribes the 1,614 base half-spaces, in the order of `baseFacets`. Divide the first four integer columns by 1,024 and the fifth by 10¹⁵. Conjugation and exchange of exponent parities generate the full list. Without the source comparison below, the program checks the counts, symmetries, largest slope and smallest offset of this table, not its individual entries. The SHA-256 digest of the public Lean source is `9c70d51951032ff85b3c4528340d4ee2b1266dd051853c5c6deea2278150e936`. If that file is available, the following command also compares every transcribed integer against it. [Pinned facet source](https://github.com/2batsloverandomartifactromps-dotcom/goldbach-frontier/blob/4e22ecafd8d92998c7f9fc4814cdd9794acfa7e5/lean/Goldbach/Linnik4FacetData.lean) ```sh python3 -I -B anc/verify.py --facet-source Linnik4FacetData.lean ``` The transfer-operator inequalities and polynomial majorant on the polytope are the geometric certificate inputs of Section 2. The analytic inputs there include Dirichlet GRH and the cited Karalis–Cleveland formulas. The endpoint calculations use the same two-factor truncation on both rays. Decreasing upper envelopes justify passage from each endpoint to every larger scale, as in Sections 4, 6 and 7.