# Q-hsubpow-K-0829n: the stepped δ-coefficient, derived in closed form ## Scope first - **What this adds.** It upgrades one number of return #10 (job #74, `hsubpow-stepped-sign.md` §3). That return had sup B_step = 0.9381949 as MEASURED on b ≤ 4000, b^(k+1) ≤ 10¹². Here it is DERIVED in closed form, with a unique argmax and a written proof that has not yet been reviewed (so not PROVEN in `CLAUDE.md`'s sense). - **What it does not do.** - No K is proven at any base. - Nothing bounds G₂ from above or reads a G₂ value. - The single open inequality of the ledger (the uniform-in-k ratio cap Ĝ(b^(k+1)) ≤ e^K Ĝ(b) Ĝ(b^k)) is untouched. - The sign of δ for G₂ is still unread. - **Q-hsubpow-K-0829n stays OPEN.** - **Its inputs.** One unconditional fact about primes that return #10 labels PROVEN (its L1), and Nagura's 1952 theorem. ## Definitions (as in return #10) For an integer m ≥ 2, let P(m) be the largest prime ≤ m. Then P(m) ≥ 2, so ln P(m) ≥ ln 2 > 0 and lnln P(m) is real. For integers b ≥ 2 and k ≥ 1 put B(b,k) = lnln P(b^(k+1)) − lnln P(b^k) − lnln P(b). Under the stepped exact law Ĝ(n) = c·P(n)^β·(ln P(n))^δ, the defect D(b,k) = f(b^(k+1)) − f(b^k) − f(b) of f = ln Ĝ splits as D = −ln c + β·A + δ·B, with A(b,k) = ln P(b^(k+1)) − ln P(b^k) − ln P(b). This is return #10's split. B is the δ-carrier. ## Theorem sup_{b ≥ 2, k ≥ 1} B(b,k) = ln( ln 7 / (ln 3 · ln 2) ) = 0.9381949035…, attained only at (b,k) = (2,2), where P(8) = 7, P(4) = 3, P(2) = 2. **[DERIVED, given (I1) and (I2); proof below, unreviewed]** ## Inputs - **(I1)** P(m) ≥ (7/10)·m for every m ≥ 2, with equality only at m = 10. This is return #10's L1: `7m ≤ 10·P(m)`, by decision for m ≤ 24 and Nagura for m ≥ 25. - **(I2)** P(m) > (5/6)·m for every m ≥ 30. - *Proof.* Put n = ⌊5m/6⌋ ≥ 25. Nagura (1952) gives a prime p with n < p < 6n/5. - Then p ≥ n + 1 > 5m/6, and p < 6n/5 ≤ m, so P(m) ≥ p > 5m/6. ∎ ## Proof **Setup.** Write c = ln(10/7) = 0.356675 and L = ln b ≥ ln 2 > c. - Since P(b^(k+1)) ≤ b^(k+1), and lnln is increasing on (1, ∞), lnln P(b^(k+1)) ≤ ln(k+1) + ln L. - By (I1), ln P(b^k) ≥ kL − c > 0 and ln P(b) ≥ L − c > 0. Hence B(b,k) ≤ g_k(L) := ln[ (k+1)·L / ((kL − c)(L − c)) ]. (★) **Monotonicity.** For L > c, d/dL [ln L − ln(kL − c) − ln(L − c)] = 1/L − k/(kL − c) − 1/(L − c) < 1/L − 1/(L − c) < 0, so g_k decreases in L. For fixed L > c, the k-dependent part ln(k+1) − ln(kL − c) has derivative (−L − c)/((k+1)(kL − c)) < 0, so g_k also decreases in k. **Case 1: k = 1, b ≥ 5.** B ≤ g₁(ln 5) = ln[2 ln 5 / (ln 5 − c)²] = 0.718329. **Case 2: k ≥ 2, b ≥ 3.** B ≤ g₂(ln 3) = ln[3 ln 3 / ((2 ln 3 − c)(ln 3 − c))] = 0.881086. **Case 3: b = 2, k ≥ 5.** Here 2^k ≥ 32 ≥ 30, so by (I2) ln P(2^k) > k ln 2 − ln(6/5). Hence B(2,k) < h(k) := ln[ (k+1) ln 2 / (k ln 2 − ln(6/5)) ] − lnln 2, which decreases in k by the same derivative argument, and h(5) = 0.602876. **Remaining cases, exactly:** | (b,k) | P(b^(k+1)), P(b^k), P(b) | B | |---|---|---| | (2,1) | 3, 2, 2 | 0.827074 | | **(2,2)** | **7, 3, 2** | **0.938195** | | (2,3) | 13, 7, 2 | 0.642722 | | (2,4) | 31, 13, 2 | 0.658296 | | (3,1) | 7, 3, 3 | 0.477634 | | (4,1) | 13, 3, 3 | 0.753843 | **Coverage.** - k = 1 is covered by b ∈ {2, 3, 4} (table) and b ≥ 5 (Case 1). - k ≥ 2 with b ≥ 3 is Case 2. - b = 2 with k ∈ {2, 3, 4} is the table, and b = 2 with k ≥ 5 is Case 3. Every value other than (2,2) is at most 0.881086 < 0.938195. ∎ **On the numerical comparisons.** The case bounds 0.718329, 0.881086 and 0.602876 against 0.938195 are comparisons of explicit elementary constants with margins of at least 0.057; interval arithmetic certifies them trivially. `supB-check.js` evaluates them. ## Consequences **1. For the stepped exact law with β, δ ≥ 0,** sup_{b≥2,k≥1} D(b,k) ≤ −ln c + β·ln(97/49) + δ·ln(ln 7/(ln 3·ln 2)), and both coefficients now have derived closed forms (A's is return #10's L4). The two suprema sit at different points, (10,1) and (2,2), so the bound is attained only when β = 0 (at (2,2)) or δ = 0 (at (10,1)). For β, δ > 0 the true sup is smaller. This is an upper bound, which is the direction the all-bases iff on sign(δ) needs. **2. The corpus constant.** `1.0597 = ln 2 − lnln 2` (`attack-0829n-hsubpow-K.md` §3b) is the continuous law's δ-coefficient at (2,1). The stepped value is ln(ln 7/(ln 3·ln 2)) = 0.9381949 at (2,2), lower by 0.1214652 nats. Return #10 already recommended against quoting 1.0597 for Ĝ; that recommendation now rests on a written proof, not a sweep. **3. The base floor** (the red team's point A3 in `redteam-0830-fekete.md`). This proof is for b ≥ 2, the hypothesis's own quantifier. With the floor raised, the stepped sup is only MEASURED (`supB-check.js` Part 5, same sweep): | Floor | Stepped sup | At | Continuous value (red team) | |---|---|---|---| | b ≥ 2 | 0.9381949 | (2,2) | 1.0597 | | b ≥ 3 | 0.7538431 | (4,1) | 0.5991 | | b ≥ 5 | 0.2819520 | (6,1) | — | | b ≥ 16 | −0.1745122 | (16,1) | negative | As in the continuous case, all of it sits at the smallest bases. ## Falsifiers, and whether they ran - Any (b,k) with B(b,k) > ln(ln 7/(ln 3·ln 2)), or a second pair attaining it. - Sweep b ≤ 20000, b^(k+1) ≤ 10¹⁵, 47,361 pairs, P by deterministic Miller–Rabin: none. The runner-up is 0.8270737 at (2,1). - (I1) or (I2) failing at some m. - Sieve to 2·10⁶: no failures. min P(m)/m = 0.7 at m = 10; for m ≥ 30 it is 0.861111, at m = 36. - A case bound at or above the sup. - Evaluated on grids (b up to 10⁶, k up to 200 or 2000): maxima 0.718329, 0.881086, 0.602876. ## Formalization target `hsubpow-supB.lean` gives statements L11–L13 in return #10's conventions. They are statements only, not compiled, and every proof is `sorry`. L11 needs Nagura as a hypothesis, exactly like L1, and the finite cases are `norm_num` or `decide` on P(8), P(16), P(32), P(4), P(9), P(3), P(2).