# The `(H_w)` transfer, written out: statement, range, tails, accumulated error Job #1552 (explore, lane `formalize`), attempt `eaeac47a…`, taken before any research step. TODO item 9, the move named in `attack-0830-varE-identification.md` section 4 and left as "OUTLINED, NOT A PROOF" by `recon-0830-smooth-aps.md` section 3.4. Everything below is mine and unreviewed except where marked PUBLISHED. Two instruments this pass, both archived: `work/hw-transfer-check.py` (`artifacts/hw-transfer-check.out`) and `work/hw-normalization.py` (`artifacts/hw-normalization.out`). ## 0. Verdict, the two results that matter **1. The printed `(H_w)` is false as printed, and the fix is one word: the discrepancy has to be block-local.** Sections 3.2-3.3 of the note consume a *block* deviation (sums running over `E < e <= t`), while section 3.1 prints a *full-range* one (sums running over `e <= t`) with the right-hand side `C_A(log^{-A} E + Q/E)`. The full-range diagonal is a constant per modulus (`sum_{e<=2E} w(e)^2 = 1.175` at `x = 19, 23, 29` — measured, constant in `E`), so at `Q = 7` the printed left side is `>= 0.73` and *grows with no bound relative to its own right side*, which goes to zero. The block-local diagonal is `S2 = sum_{E (4L/M)^{1/3}` | one BV-type input (`K_prog`), named `[O1]` | | Harper 2012, Thm 2 + the note's steps (a)-(d) | `E >= y`, i.e. `D <= sqrt(L)/M` | the (a)-(d) write-out, named `[O2]` | The two ranges overlap on `((4L/M)^{1/3}, sqrt(L)/M]`, and both contain the whole of section 3.3's range `D <= D_max(M) = L^{1/2}/(M log^{K_1+2} L)^{1/2}` with `K_1 = 196/9 - 1`. So `(H_w')` is justified on the range the deduction uses, given `[O1]` **or** `[O2]` — not both. Five things the second engine does *not* need, each of which the note's section 3.4 lists as a cost: the uniform-in-`a` sieve tail (which genuinely fails at `D > (L/M)^{2/5}`, and is never invoked, because `[O2]`'s range stops below it — section 5), any `L^infty` or variation bound on the twist, any new cancellation, and any change of the parent note's balance threshold. Three things neither engine supplies, said plainly: the 2012 paper is an unrefereed preprint with no journal version (`[O3]`), the constants are ineffective by construction (Siegel, `[O4]`), and nothing here is TPC-strength. ## 1. The object, and the normalization, measured `L = x#`, `y` the largest prime `<= sqrt L`, so `L = y^{2+o(1)}`. On the dyadic cell `d ~ D`, `e ~ E = L/(DM)`, the weight is `w(e) = lam1(e) = f(e)/e` with f(e) = mu^2(e) 1_{(e,30)=1} 1_{S(y)}(e) prod_{p|e} p/(p-4), w(e) = f(e)/e. Two masses, which is what decides the normalization: | quantity | value | reading | |---|---|---| | `M_bl := sum_{E 0` there is `C_A` such that, for all `E >= y` and `1 <= Q <= E`, sum_{d<=Q} sum_{(a,d)=1} max_{t in [E,2E]} |Delta^bl_a(t;d)|^2 <= C_A ( log^{-A} E + Q/E ), Delta^bl_a(t;d) := sum_{E C_A(log^{-A}E + Q/E)`; computed at three `x`, monotone in `E`. The note's section 3.2-3.3 do not need this correction — they are already block-local. It is section 3.1's *statement* that has to be changed, and that is an audit of a served document (section 7, `[O5]`). ## 2. The engines, at the page **PUBLISHED (2025), read this pass at the arXiv HTML of arXiv:2412.19644v1** (= Harper, JLMS 112 (2025) no. 4, e70293). With `A(z;q,a) = sum_{n<=z, n=a(q)} a_n` and `Aver(A,z,q,h)` the average over the classes with `(a,q) = h`: V(A,x,Q) := sum_{Q/2 (4L/M)^{1/3}` Apply Thm 1 to the **shifted sequence** `A' = (a'_n)` with `a'_n = w(n)` for `E < n <= 2E` and `a'_n = 0` otherwise, at `x = 2E` and `Q = D`. Then `A'(z;d,a) - Aver(A',z,d,(a,d)) = Delta^bl_a(z;d)` for every `z <= 2E`, in particular for `z = t in [E,2E]` minus the maximum. Three identifications: * **the range.** `sqrt(2x) < Q` reads `sqrt(4E) < D`, i.e. `D^3 > 4L/M`: D > (4L/M)^{1/3} [DERIVED, arithmetic, exact] * **the diagonal.** `(Q/2) sum_{n<=x}|a'_n|^2 = (D/2) S2 = (D/2) C_2/E`, and normalizing by `M_bl^2` gives `(D/E) * C_2/(2 M_bl^2) ~ 4 D/E`. So Harper's main term *is* `(H_w')`'s `Q/E` term, with a constant `C_A` of its own — and by the measurement in section 1 the truth (`diagW/(6 S2) = 0.48 .. 0.73`) sits below it, so `(H_w')` is not vacuous and the `Q/E` term is the truth up to a constant, as it must be. * **the hypotheses.** In corpus coordinates, with `x = 2E`: * *Non-concentration on Multiples*: our `sum_{n<=x, h|n}|a'_n|` is the `w`-mass on the block restricted to multiples of `h`, which is `0` unless `h` is squarefree, `y`-friable and `(h,30) = 1`, and otherwise is `M_bl/h (1 + o(1))`. Hence `sum_{H<=h<=Q}(...)^2 = M_bl^2 sum_{H<=h<=Q, (h,30)=1, h y-friable} h^{-2} (1+o(1)) <= M_bl^2/H`, so `K_conc[H] = H`. At `H = 2x/Q = 4E/D` this is `4E/D`, and `4E/D >= log^A E <=> D <= 4E/log^A E`, which is implied by the range `D/E = D^2 M/L <= log^{-(K_1+2)} L`. **DERIVED.** * *Hereditarily Sparse*: `sum_{n in I}|a'_{nh}| tau(n)` over an interval `I` of length `Q/2 = D/2`, for `h <= 2x/Q`: the support condition forces `nh` into the block, so the sum is `<= (|I|/h + 1) (log E)^{O(1)} M_bl/h`-shaped, and the right side is `(sum|a_n|)^2/(sum|a_n| tau_3(n)) = M_bl^2/(M_bl (log E)^{O(1)}) = M_bl (log E)^{-O(1)}`. So `K_hered ~ x/Q` up to log powers, and `x/Q = 2E/D >= log^A E` in the same range. **DERIVED up to the log powers of `tau`, which are the first entry of section 6's table.** * *the Progressions Condition*: this one is not arithmetic but an input. It reads sum_{1<=r<=2x/Q} sum_{1<=a<=r} (sum_{n<=x, n=a(r)}|a_n|) max_{z<=x} |A(z;r,a) - Aver(A,z,r,(a,r))| <= (sum|a_n|)^2 / K_prog, i.e. an `L^1`-in-`a`, class-mass-weighted, max-in-`z` discrepancy bound for the `f`-twisted squarefree `y`-friable sequence to **level `2x/Q = 4E/D <= 2 sqrt E`**. With Thm 1's own range that level is at most `sqrt(2x)` — the level at which classical Bombieri-Vinogradov operates, and exactly the boundary Harper's own calibration of `Lambda` uses (`x^{0.51} <= Q` gives level `2x/Q <= 2x^{0.49} < sqrt x`). It is not in print for our sequence: the 2012 Thm 1 supplies it for weight-one friable counts and without the maximum; the 2025 Thm 1 consumes it as a hypothesis and so does not supply it; nothing in the parent note's eleven-source table covers the `f`-twist with the sieve. **This is `[O1]`, the one genuinely new obligation of engine A, and it is a statement I believe, not one I can cite. Rung: REQUIRES A NAMED INPUT.** ## 4. The maximum over `t`: what it costs, and why it is not optional `(H_w')` carries `max_{t in [E,2E]}`, and section 3.2(iii) is where it is spent: the block sum is the Stieltjes integral of `G` against `d Delta^bl`, so `|sum_{e~E, e=a(d)} lam1(e)G(a,e) - mean| <= (2 sup|G| + Var G) max_t |Delta^bl_a(t;d)|`. So a version of Harper's theorem at `z = x` alone is **not** enough; the maximum is required. The device is the one the 2025 paper's own footnote 1 quotes from Harper [11]: "Theorem 1 of Harper [11] is stated without the innermost maximum over `Z <= x/h`, but that may be incorporated with a few modifications to the proof, at the unimportant cost of a factor `log^{9/2}x` here rather than `log^{7/2}x` there." Two independent ways to see the cost, and they agree: * **sign splitting + monotone partials.** Write each partial count as the difference of two nonnegative ones (`w = w^+ - w^-`; the mean is a monotone function of `t`). Each piece is monotone in `t`, so its maximum over `[E,2E]` is at a grid of ratio `1 + log^{-B}`, and between grid points the increment is `<= log^{-B}` times the piece's mass. Cost: `log^{B}` applications of the theorem plus `log^{-B}`-relative boundary terms. Since `A` is arbitrary in the ineffective form, this is a choice of `A`, not a constraint. * **the note's own (e)**, which says the same thing on `[1,x]` rather than on the dyadic block; on a block of ratio 2 the grid is cheaper, not dearer. Our range is short (`t in [E,2E]`, ratio 2), which is why the maximum costs a log power here rather than a power of `E`. **DERIVED, with the precedent PUBLISHED** (footnote 1, read by the red team at the page). The accumulated log power is one of the entries of section 6. ## 5. Engine B: 2012 Thm 2 plus (a)-(d), on `E >= y`, i.e. `D <= sqrt(L)/M` The note's section 3.4 is right about what the steps are; what has to be added is the range bookkeeping and the normalization. In block-local form, with `t` the running upper end in `[E,2E]`: * **(a) the `1/e`.** On the block `1/e in [1/(2E), 1/E]`, so `w = f/e` is, up to a factor 2, `(1/E) f`. Partial summation in `t` against `ds/s^2` turns the `w`-discrepancy into the `f`-discrepancy: `max_t |Delta^bl_w| <= (const/E) max_{s<=2E}|Delta_{<=s} f|`. The factor `1/E` is exactly the `1/E` that makes the block mass `M_bl = O(1)`. **DERIVED, exact.** The note's phrase "the `1/e` in `w` costs a factor `1/E` on the block" is this line. * **(b) the twist.** `prod_{p|e} g(p) = sum_{m|e} h(m)` with `h(m) = mu^2(m) prod_{p|m}(g(p)-1)` (`g(p)-1 = 4/(p-4) > 0` for `p > 5`, and our `e` are coprime to 30, so all `p >= 7`), and `sum_m h(m)/m^{1/2} = prod_p (1 + (g(p)-1)/p^{1/2}) < infinity` since `sum_p 4/p^{3/2}` converges. Truncating at `m <= T` and using that `a -> a m^{-1}` permutes the units mod `d`, the class decomposition costs `sum_{m<=T} h(m) tau(m) << log^8 T` by Cauchy-Schwarz; the tail is section (d). **DERIVED as an outline; the `tau(m)` bookkeeping is the note's own line, and I did not rewrite the Cauchy-Schwarz step. This is part of `[O2]`.** * **(c) the sieve.** `mu^2(e')` and `(e',30) = 1` are removed by Möbius over the primes `p <= P` exactly, leaving the primes `p > P` with `p^2 | e'` in a tail. The `p <= P` part is a finite combination of weight-one friable counts in progressions — which is precisely what Thm 2 bounds — at the price of `pi(P)` terms and the class maps `a -> a u^{-1}`. **DERIVED as an outline; `[O2]`.** * **(d) the tails, and here is the one place the note's own doubt resolves.** Uniformly in `a`, the `p^2 | e` tail is `<= sum_{p>P}(t/(p^2 d) + 1)`, whose `+1`'s cost `pi(sqrt t)` and exceed the class mass `t/d` once `d > sqrt t`; the sharper count by `n = e/p^2` gives `2^{omega(d)}(t/(Pd) + t/P^2)`, fine only while `P^2 >> 2^{omega(d)} d`, whose `pi(P)` then exceeds `t/d` at `d > t^{2/3}`; with `t = L/d` that is `d > L^{2/5}` [DERIVED, matches the note, and matches the parent note's own balance threshold]. **But `(H_w')` is an `L^2`-in-`a` statement, so the uniform form is never used.** On average: sum_a (tail_a)^2 <= max_a tail_a * sum_a tail_a <= (t/(dP) + 1) * (t/P), and in the block-local normalization this is `1/(D P^2) + 1/(sqrt(E) P)` — so `P = log^A E` suffices for both pieces, since `1/(D P^2) <= log^{-A}E` needs only `P >= log^{A/2}E/sqrt D` and `1/(sqrt(E) P) <= log^{-A}E` needs only `P >= log^{A}E/sqrt E`, while the `pi(P)` term of (c) is `log^A E / log log E <= t/d = E/D`, which holds throughout. **DERIVED, arithmetic, computed here. The average form is the one that works, and the threshold `(L/M)^{2/5}` where the uniform form dies is above `(4L/M)^{1/3}`, i.e. inside engine A's range, so the failing bookkeeping is never needed.** **The range.** Engine B needs `E >= y`, i.e. `D <= L/(M y) = sqrt(L)/M (1+o(1))` (that is the note's own hypothesis "for all `E >= y`", with the bracket that for `E < y` every integer is `y`-friable and the statement is the trivial one), and it needs `D << Psi(E,y)/log^A E`, which is exactly section 3.3's `D_max(M)`. Both are satisfied on section 3.3's range. **So engine B alone covers everything the deduction needs, at the price of `[O2]`** — and engine A covers everything above `(4L/M)^{1/3}` at the price of `[O1]`. Neither is needed in full. ## 6. The accumulated error Every log power and where it lands. `K_1 := 196/9 - 1 = 187/9 = 20.7…` is the note's own Cauchy-Schwarz exponent (`lam0(d)^2 phi(d) <= ((14/3)^2)^{omega(d)}/d`). | cost | size | where it is beaten | |---|---|---| | `tau`, `tau_3` in `K_hered` | `(log E)^{O(1)}` | absorbed into `A`: `K_hered ~ x/Q ~ 2E/D`, and `2E/D >= log^A E` by `D/E <= log^{-(K_1+2)}L` | | `K_conc` at `H = 2x/Q` | exact `K_conc = H = 4E/D` | same inequality, no log loss | | maximum in `t` | `log^{B}` applications | absorbed into `A` (section 4) | | `m`-truncation of (b) | `log^{8} T`, `T = log^B E` | absorbed into `A` | | the `A` of the theorem | free (ineffective) | the price is that `C_A` is not computable | | `sum_{n<=x}|a_n|^2 tau(n)` (Thm 1's last error) | `~ S2 log E = (C_2/E) log E`, i.e. it sits `log E` **above** the diagonal `C_2/E` | absorbed into `log^{-A}E`: `log E / E <= C_A log^{-A}E` for any fixed `A`, and in section 3.3's second piece `log^{K_1/2}D (D/E + log E/E)^{1/2} = log^{-1}L` is unaffected because `log E/E << D/E` on the top of the range | | section 3.3's own margin on the diagonal piece | exactly `log^{-1}L` (top dyadic block dominates geometrically) | **no room for a positive power of `log`** — so the `tau`-error above had to be, and is, beaten by `log^{-A}E`, not by any slack in the chain | Rung: DERIVED, arithmetic on exponents. Falsifier: a term in the table that exceeds the margin it is absorbed into — the sharpest one is the last row, where the margin is exactly one inverse log. ## 7. What remains, named * **`[O1]`** the Progressions Condition of Harper 2025 Thm 1 for the `f`-twisted squarefree friable sequence, to level `2x/Q <= 2 sqrt E` (`L^1` in `a`, class-mass weighted, max in `z`). Classical level, plausible by existing technology, not in print, not proved here. Needed only by engine A. * **`[O2]`** the write-out of (b) and (c): the `tau(m)` Cauchy-Schwarz of the twist and the exact Möbius over `p <= P`. Elementary; (d) is now settled in its average form (section 5). Needed only by engine B. * **`[O3]`** the 2012 paper is a preprint with no journal version (the corpus's calibrated negative); its two misquotes are corrected in section 2 and do not affect the use made of it. * **`[O4]`** all constants ineffective (Siegel, by construction); nothing quantitative can be read off. * **`[O5]`** the served `recon-0830-smooth-aps.md` section 3.1 states `(H_w)` in a form its own sections 3.2-3.3 do not use and which is false as printed (section 1, measured at three levels). This wants an audit of that staging note: replace the full-range `Delta` with `Delta^bl`, and replace "divided by `E^2`" with "normalized by the block mass squared `M_bl^2 = O(1)`". What this does *not* change: sections 3.2-3.3 (the two-branch deduction given `(H_w')`) stand as written. I re-derived its two load-bearing identities independently this pass — `R_n(c) = (n/L)[(rho-theta)^+ + (rho+theta-1)^+ - rho^2]` (exact, 400 random `(L,n,c)`, residual 0), `sum_{(a,d)=1} G(a,e) = sum_{g|d} mu(g) R_{eg}(2)` (exact, 120 random `(L,d,e)`, residual 0), `|R_n(c)| <= min(1, 2n/L)` (worst ratio 0.302), and `Var_e G <= 14` (worst 0.376, loose as the note says) — all on my own code, from the definitions, independently of the producer's PARTS A-C. The $E^2$-free normalization of the *main term* of section 3.2(iv) is unaffected: it is `S_d = sum_{e~E} lam1(e) = M_bl (1+o(1))`, not `log E` — the mean value of `prod_{p|e} p/(p-4)` converges, which is why the block mass is `O(1)` and why every normalization above holds. **One instrument lesson, recorded because it cost real time.** My first version of `hw-transfer-check.py` enumerated the negative side of `R_n(c)` from a hand-computed lower limit, which was wrong by one period; it then reported a spurious MISMATCH on identity (iv) and residuals of `7.7e3` on the closed form, while its own printout said "holds". The corpus's own rule applied: read the generator before believing the check. The corrected enumeration (walk `c, c+n, …` and `c-n, c-2n, …`, which is the definition verbatim) reproduces the producer to the last digit (`artifacts/hw-transfer-check.out`). ## 8. The three-branch type: unchanged, and why `(H_w')` is a one-variable statement: the modulus is one of the two parts and the summed variable is `e`. For `(n0, n+, n-)` all nontrivial, fixing any two parts as the modulus makes the third's class map a function of the *pair*, and with `n+` summed and `q = n0 n-` the requirement of section 5's argument is `q <= (n/q)/log^A`, i.e. the summed part above `(n log^A)^{1/2}`. Triples with all three parts `<= sqrt n` are outside, and they carry a positive fraction of the `4^{omega}`-weighted three-branch mass at `n ~ L` (HEURISTIC, mine, the fraction not computed — as the note says). There the trivial bound is `O(ln^3 y)` against a target of `o(ln^2 y)`, no one-variable progression statement reaches it, and the class map in two summed variables is the Kloosterman-fraction shape of the parent note's section 3. Measured `-0.0002` at `x = 19` (`attack-0830-varE-identification.md` line 79). **Nothing in this pass touches it, and it is not TPC-strength either way.** ## 9. The outstanding mirrored-pattern producer correction: status The corpus `TODO.md` maintenance list (lines 244-246) still carries "Apply the mirrored-pattern correction to `research/history/staging/varE-theta2-step.js`, then re-embed the affected entries". **That line is stale.** The rider at the head of `varE-theta2-step.md` records it APPLIED on 2026-09-05: "the producer now sums both mirror patterns, is re-embedded, and reproduces these values with `x = 23` added (`delta*X2 = 0.000236`, `delta*Xmix = -0.013876`); section 5 above carries the corrected numbers. `X`, `X1`, `X_dec` and all ratios are untouched; the section 8 row's rung (MEASURED) is unchanged." The underlying defect claim is `Q-verify-record-defects-0830` claim 1 (CONFIRMED: `W-(-h) = W+(h)` exactly, `W-(h) != W-(-h)` at 9 to 900,679 shifts). So the item is a bookkeeping line for the orchestrator, not an open producer defect — and not mine to edit (live files). Recorded here so the two documents can be reconciled. ## 10. Falsifiers | claim | rung | falsifier | run | |---|---|---|---| | the printed section 3.1 `(H_w)` is false | MEASURED | a `(Q, A, E)` where `0.73 <= C_A(log^{-A}E + Q/E)` | YES, `d = 7`, three `x`, monotone in `E` | | `(H_w')` block-local is the required normalization | DERIVED | a term in section 3.2-3.3 that consumes the full-range `Delta` | read line by line, none | | Thm 1's range gives `D > (4L/M)^{1/3}` | DERIVED, arithmetic | a slipped factor in `sqrt(2x) < Q` with `x = 2E` | YES, one line | | `K_conc = H`, `K_hered ~ x/Q` | DERIVED | a modulus `h` where the multiples mass is not `M_bl/h` | NO | | the average tail bound with `P = log^A E` | DERIVED, arithmetic | a `(D, E)` in range where `pi(P) > E/D` | YES, computed | | engine B covers `E >= y` | DERIVED | `D > sqrt(L)/M` in section 3.3's range | NO — `D_max << sqrt(L)/M` | | section 3.2's identities | MEASURED, independent | any `(L,n,c)` or `(L,d,e)` with a nonzero residual | YES, residual 0 on 400+120 cases | | the three-branch type | NOT CLAIMED | — | — |