# Derivation — the source threshold against Stadlmann Proposition 1 Companion to the route-156 return. It settles the open threshold question left by returns **#1589** and **#1599**: is the benchmark of the source's criterion `46 J(F) > I(F)` on the recorded support the **source threshold** `1/A = 10000/2583 = 3.871467…` or the **standard Maynard/Polymath8b threshold `4`**? Calibration: *proven* (Lean) for the arithmetic and the implication between the two criteria; *verified* (sympy, exact) for the homogeneity and the rescaling; *open* for the source's equidistribution hypotheses, which are the one analytic input neither paper's candidate proves. --- ## §1 The two criteria are different statements **Stadlmann, Proposition 1** (arXiv:2608.31126) — verbatim structure. Let `T_k(δ,A,B,ε)` be Definition 1's support. Suppose `ρ : ℕ × (1,∞) → ℝ` and constants `c₁, c₂` satisfy 1. (prime minorant) `−c₂ ≤ ρ(n;x) ≤ 1_ℙ(n)` for all large `x`, `n ∈ [x,2x]`; 2. (equidistribution) `ρ` has the equidistribution properties of Definition 3 for the moduli corresponding to `T_k(δ,A,B,ε)`; 3. (roughness) `ρ(n;x) ≠ 0` ⟹ every prime factor of `n` exceeds `x^β` for some `β > max_j B_{j,1}`; 4. (mean) `Σ_{n∈[x,2x]} ρ(n;x) = (1 − c₁ + o(1)) x/log x`. If some symmetric square-integrable `F` supported on `T_k(δ,A,B,ε)` satisfies k(1−c₁)J(F) − k c₂ K(F) ─────────────────────── > 1, (P1) I(F) then `H₁ ≤ H(k)`. The right-hand side is **exactly 1**. With the prime indicator `ρ = 1_ℙ` (`c₁ = c₂ = 0`, the source's choice) it is `k J(F) > I(F)`. **Polymath8b, Theorem 3.12** is a different statement. For the functionals I(F) = ∫_{(1+ε)R_k} F², J_{i,1−ε}(F) = ∫_{(1−ε)R_{k−1}} (∫ F dt_i)², M_{k,ε} = sup Σ_i J_{i,1−ε}(F) / I(F), over `F` supported on `(1+ε)R_k`, if `EH[ϑ]` holds with `1+ε < 1/ϑ` and M_{k,ε} > 2m/ϑ, (P8b) then `DHL[k,m+1]`. At `m = 1`, `ϑ = 1/2` this is `M_{k,ε} > 4`: the standard threshold, **independent of ε**. It is (P1) for the *standard symmetric ε-enlarged simplex*, not for the source's hybrid support. The source's support is the radial condition `Σ t_i < A + ε_s = 0.2658` with `A = 0.2583`, `ε_s = 0.0075`, plus the large-coordinate budget `Σ_{t_i>δ} t_i ≤ B_r`. It is therefore (P1), not (P8b), that the source invokes. --- ## §2 The rescaling `t = A u` and the homogeneity Stadlmann's marginal `J` integrates over `{Σ_{j≠i} t_j ≤ A_m − ε}`, so the source's configuration in the `t` variables is support radius A + ε_s, marginal base A − ε_s. Substituting `t = A u` maps it to support (1+η) R_46, base (1−η) R_45, η = ε_s/A = 25/861, which is exactly the shape of Polymath8b's ε-enlarged functional with `ε = η`. The functionals scale homogeneously, `I_t = A^{46} I_u` and `J_t = A^{47} J_u` (the `k−1 = 45` free coordinates plus the two `t_k` copies), so 46 J_t(F)/I_t(F) = A · M_{46,η}(F∘A), hence (P1) with c₁ = c₂ = 0 ⟺ M_{46,η} > 1/A = 10000/2583. (2.1) `src/threshold_settlement.py` verifies the homogeneity exactly by symbolic integration: for the explicit symmetric test function `F = 1 + ε − t₁ − t₂` and `G(t) = F(t/ρ)`, sympy returns `J(G)/I(G) = ρ · J(F)/I(F)` identically in `ε, ρ`. At `ρ = 1/4` this also gives the calibration `ratio = M_k/4`. --- ## §3 Where the `4` comes from, and where the factor `4A` lives Let `ratio(ρ)` be the `t`-normalised quotient of (P1) on a configuration scaled by `ρ`. Homogeneity gives `ratio(ρ) = ρ · M_k^{(unit)}` for the plain simplex, so on **Stadlmann's Bombieri–Vinogradov radius `ρ = 1/4`** (his `S_BV`), ratio(1/4) > 1 ⟺ M_k > 4, which is precisely (P8b) at `ϑ = 1/2`. So Proposition 1's threshold `1` and Maynard's `4` coincide **when the support is anchored at the BV radius `1/4`**; the ε-enlargement keeps the threshold at `1` because the marginal base shrinks in step, and re-anchoring at `1/4` converts it to `M_{k,4ε} > 4`, matching Theorem 3.12. The source's base is **not** `1/4`: A = 1/4 + ω, ω = A − 1/4 = 0.0083 = 83/10000. Its support radius is `A + ε_s`, i.e. the standard shape scaled by `A` instead of by `1/4`. Since the quotient is homogeneous of degree one, ratio_source = A · M_{46,η} = (4A) · (ratio of the same shape anchored at 1/4). Hence the two thresholds differ by exactly 4A = 2583/2500 = 1.0332, 1/A = 3.871467…, 4 = 4.000000. The recorded companion quantity `4(A+ε_s) − 1 = 79/1250 = 0.0632` is the enlargement of the *total* support radius `A + ε_s` above `1/4`, expressed in the unit normalisation; `4A − 1 = 83/2500` is the base-only part. All three identities are Lean-checked in `lean/ThresholdSettlement.lean` (`eta_eq`, `four_mul_A`, `four_mul_A_sub_one`, `four_A_plus_eps_sub_one`). **Consequence.** The faithful translation of the source's criterion is `M_{46,η} > 1/A`, exactly as return #1599 recorded; the standard `4` is the threshold for a *different* support geometry. The standard criterion implies the source one (`Lean: standard_implies_source`) and not conversely: `M = 39/10` satisfies `1/A < M < 4` (`Lean: source_strictly_weaker`). --- ## §4 What this settles, and the one thing it does not **Settled (proven/verified).** - (P1) has right-hand side `1`; the source's `46 J > I` is the faithful reading. - The rescaling (2.1) is exact, and the source threshold is `1/A`, not `4`. - The two thresholds differ by the factor `4A = 2583/2500`; the difference is the radial excess of the source's base `A` over the BV radius `1/4`. **Not settled (open), and it is the same gap as before.** Proposition 1's conditions (2)–(3) are equidistribution hypotheses *for the moduli of the source's support*. The slice of the support between radius `1/4` and radius `A` is exactly the part not covered by Bombieri–Vinogradov; it is covered only by the source's `S_Z`/budget structure and its Zhang-type estimates, the scalar face of which the source checks (`β = 1 − 2ξ₂ = 0.2 > B₁ = 0.15`). If that analytic input fails, the effective threshold reverts to `4` and the computed `k = 46` values (≈ 3.93) do not reach it. So: `M_{46,ε} > 1/A` is the correct benchmark; whether the criterion is *usable* is exactly the source's analytic repair, not a threshold question. This sharpens, rather than repeats, the #1589 framing: the earlier note read the discrepancy as a drafting defect and the present return confirms the source's normalisation is self-consistent with Proposition 1, while locating the 3.3 % that separates the two thresholds in the part of the support that needs Zhang-type equidistribution. --- ## §5 The `d = 27` certificate (new, exact) The certificate needs no `d = 27` eigensolve. Two structural facts, verified at `k = 46, ε = 25/861`: - **Nesting.** `B(d)` is a prefix of `B(d+2)` (`d = 13, 15, 19` checked), because `b_{a,α} = (1+ε−P₁)^a P_α` does not depend on `d`; - **Exact submatrix identity.** The exact rational `M₁, M₂` entries of the small basis agree inside the larger engine (22500 entries, 0 mismatches). Hence a rational `c` with `cᵀ(M₂ − τM₁)c > 0` at degree `d` gives the *same* exact value when zero-padded to degree `27`, so `M^{(27)}_{k,ε} > τ`. The new streaming evaluator `src/certify_stream.py` computes that form without materialising the dense pair — `O(n²)` exact rational entry evaluations. It produces, per configuration, the Ritz vector, the exact value at its own degree and the lifted exact value at `d = 27`. Results in `out/cert_stream_*.json`. The `d = 27` pass is a full assembly of every entry of the exact `(M₁, M₂)` pair (the measured `d = 11/13/15` scaling is `t ∝ n^{2.25}`; `n(27) = 2526`). ### Results (exact rational, `out/cert_stream_*.json`) | configuration | Ritz degree, value | `Q_τ(c)` at that degree | `Q_τ` lifted to `d = 27` | `d = 27` assembly | |---|---|---|---|---| | `k = 50, ε = 1/25, τ = 4` (control) | `d = 25`, `4.001246593` | `+1.246593e−03` **positive** | `+1.246593e−03` (identical) | 515 s | | `k = 46, ε = 25/861, τ = 1/A` | `d = 21`, `3.920215473` | `+4.874819e−02` **positive** | `+4.874819e−02` (identical) | 412 s | | `k = 46, ε = 79/1250, τ = 1/A` | `d = 21`, `3.906636295` | `+3.516901e−02` **positive** | `+3.516901e−02` (identical) | 455 s | Each `Q_τ(c)` is an exact rational number computed with no floating point; the Ritz values reproduce the #1599 sweep (`4.001247`, `3.920215`, `3.906636`), and the lifted values are *bit-identical* to the values at the Ritz degree, as the nesting theorem requires. Consequently, exactly: M_{50,1/25} > 4, M_{46,25/861} > 1/A, M_{46,79/1250} > 1/A, the first at degree 25 and all three valid at degree 27. The control Ritz vector cost 2744 s and the two `k = 46` vectors 318 s and 316 s (1024-bit blocked `arb` Cholesky); the exact streams cost 74–515 s each. The full `d = 27` exact pair is assembled in 7–9 min, versus the ~3 h `d = 27` whitening that was not run. --- ## §6 Sources - J. Stadlmann, *Bounded gaps between primes*, arXiv:2608.31126 — Proposition 1, Definition 1 (`T_k`), Definition 3 (equidistribution), Definition 5 (`I, J, K`), §5.1 (eigenvalue reduction), §4.3 (the minorant and `c₁`). `H₁ ≤ 240`. - D. H. J. Polymath, *Variants of the Selberg sieve…*, arXiv:1407.4897 — Theorem 3.8 (Maynard's criterion `M_k > 2m/ϑ`), Theorem 3.12 (ε-enlarged simplex), Theorem 3.13(i) (`M_{50,1/25} > 4.0043` at `d = 27`), §7.2. - J. Maynard, *Small gaps between primes*, arXiv:1311.4600 — Proposition 4.2. - Althoefer, *A Checked Candidate Extension of Stadlmann's Method to `H₁ ≤ 216`* (2026), §3–§8.1. - The 2026 `236` paper, eprint `2026/1893` (Lemma 4.20, the inclusion–exclusion model for the budget). - Prior returns **#1589** (route 155) and **#1599** (route 156).