Current task: —

← Session 21 — Tier ii′ planning + launch: close SfBoundProp in Lean (D-064)

#900 assistant 2026-08-21 18:38:10.570 UTC · 4163→10870 tok open ⤢
thinking (22539 chars)
Now everything is verified numerically: 1. **The residue theorem [EXACT]**: sides(T) = λ_n(T) + triv + Res₁(n) — verified to 2e-21 (n=2) and 1.7e-15 (n=3) ✓✓✓. (λ_n(T) = 0 since T < γ₁ = 14.13.) 2. **[MASTER] holds**: B0 − sides − tail = Sf exactly ✓. 3. **B0(n) = S_∞+1+triv+Res₁(n)**: n=2: −1.2859, n=3: −1.5300. NOT small, NOT zero. And Sf(2) = −0.9659, Sf(3) = −1.2185. So the honest picture: |Sf| ≤ |B0(n)| + |sides| + |tail| would need a bound on B0 — but B0 = Sf + sides + tail (tautology). The way D-037's bound actually works must be DIFFERENT. Since |Sf| ≤ |B0| + |sides| + |tail| is useless without controlling B0, the actual assembly must be: |Sf| = |S_∞+1−λ_n| ≤ |S_∞+1−λ_n(T)| + |tail|? No — that swaps one unknown for another. Hmm, wait. Let's reconsider. What does Lagarias's Thm 6.1 actually prove (per D-032): "S_f(n) = λ_n(√n) + O(√n log n)". So S_f − λ_n(√n) = O(√n log n). With our numbers: S_f(2) − λ_2(√2) = −0.9659 − 0 = −0.9659 = O(·) ✓ trivially at this size. And S_f = S_∞+1−λ_n = S_∞+1−λ_n(T)−tail. So the claim "S_f − λ_n(T) = O(√n log n)" reads S_∞+1−2λ_n(T)−tail = ... at n=2: −1.8745+1−0−0.0914 = −0.9659 ✓ (equals S_f since λ_n(T)=0). So the CONTENT of Thm 6.1: **S_∞(n) + 1 − 2λ_n(T) − tail(T) is O(√n log n)**?? That doesn't factor through the contour nicely... Hmm wait — actually maybe it does: S_f − λ_n(T) = [B0 − sides − tail] − λ_n(T) = [S_∞+1+triv+Res₁] − sides − tail − λ_n(T). With λ_n(T) = sides−triv−Res₁: = S_∞+1+triv+Res₁−sides−tail−sides+triv+Res₁ = S_∞+1+2triv+2Res₁−2·sides−tail. Messy. NOT the right combination. Alternatively: maybe Lagarias's contour bounds λ_n(T) − [something]... Let me think about what the contour identity gives DIRECTLY: λ_n(T) = sides − triv − Res₁. Res₁ = Σ_j C(n,j)c_{j−1} is EXPLICIT (given the c's). So: **λ_n(T) + Res₁(n) + triv(n) = sides(T)** — an exact identity. And Sf = S_∞+1−λ_n(T)−tail. Combining: Sf = S_∞+1+Res₁+triv−sides−tail. To bound |Sf|: - |sides| ≤ [D-036's I_I..I_IV pieces] ✓ explicit. - |tail| ≤ [explicit bound needed — D-037's accounting must have it somewhere or it's handled by the bridge... hmm]. - |S_∞+1+Res₁+triv| = |B0| — the remaining piece. How does D-037 bound B0?? B0(2) = −1.286, B0(3) = −1.530, B0(1) = −0.798. What's B0(10)? If B0 grows like... B0 = S_∞+1+triv+Res₁ where S_∞ ~ ½n log n and Res₁ = ΣC(n,j)c_{j−1} — for B0 to be bounded by 2N(T)+... ~ √n log n, we need S_∞ + Res₁ to cancel the ½n log n down to O(√n log n). I.e., **Res₁(n) = −S_∞(n) + O(√n log n)**. Check: n=2: Res₁ = −0.9669, −S_∞ = 1.8745 — NOT close (B0 = −1.286 not small). Hmm!! So S_∞ + Res₁ does NOT cancel to o(n). B0(2) = −1.286, B0(3) = −1.530, B0(1) = −0.798 — these are all ≈ S_f(n) − 0.3-ish. Actually: B0 = Sf + sides + tail: n=2: Sf = −0.9659, sides = −0.4113, tail = 0.0914: −0.9659 − 0.4113 + 0.0914 = −1.2858 ✓. So B0 ≈ Sf + sides − ... B0 is just as big as sides ~ O(1) at small n; at n = 10⁵ sides ~ √n log n·(const ~ 20?) — so B0(n) ~ 2×10⁶-ish at n=10⁵. So |Sf| ≤ |B0| + |sides| + |tail| is useless (B0 is as big as the things we're bounding). CONCLUSION: [MASTER] as assembled does NOT directly give a useful bound. The useful decomposition must avoid B0 entirely. How?? Go back to: Sf = S_∞ + 1 − λ_n, λ_n = λ_n(T) + tail. The bridge bounds |λ_n(T)| ≤ 2N(T) (RH). The tail: |tail(T)| ≤ [bound]. So **|Sf| ≤ |S_∞(n) + 1| + 2N(T) + |tail|**?? But S_∞+1 ~ ½n log n — HUGE — that gives |Sf| ≲ ½n log n which is TRUE (Sf = S_∞+1−λ_n and both terms ~ ½n log n... wait no — Sf is SMALL (≤ 13 measured) because λ_n ≈ S_∞+1 to leading order!). The whole subtlety: Sf = S_∞+1−λ_n is a DIFFERENCE of two ~½n log n quantities. Bounding |Sf| needs the CANCELLATION between S_∞+1 and λ_n — and the contour's job is to exhibit λ_n = S_∞+1+O(√n log n)... no wait — λ_n = λ_n(T)+tail = sides−triv−Res₁+tail: |λ_n + Res₁| ≤ |sides|+|triv|+|tail| — so λ_n ≈ −Res₁ with error O(√n log n). Then Sf = S_∞+1−λ_n = S_∞+1+Res₁ + (λ_n+Res₁)·(−1)... = B0 − (λ_n+Res₁) − tail·... hmm: Sf = S_∞+1−λ_n = (S_∞+1+Res₁) − (λ_n+Res₁) = B0 − triv − (λ_n+Res₁) where |λ_n+Res₁| ≤ |sides|+|triv|+|tail|. So |Sf| ≤ |S_∞+1+Res₁| + |sides| + 2|triv| + |tail|. STILL has S_∞+1+Res₁ (= B0 − triv). So everything hinges on: **THE CORE ID: S_∞(n) + 1 + Res₁(n) is SMALL** (bounded by the B(n) pieces). And the numerics say: S_∞+1+Res₁ at n=2: −1.8745+1−0.9669 = −1.8414; n=3: −2.0131+1−1.2207 = −2.2338; n=1: −1.5541+1−0.5772 = −1.1313. Growing ~ −(0.3..0.7)n-ish? Not small!! But |Sf| IS small (−0.9659, −1.2185). So |S_∞+1+Res₁| ~ 1.8–2.2 at n=2,3 and |sides| ~ 0.4–0.5, and Sf = (S_∞+1+Res₁) − (λ_n+Res₁): −0.9659 = −1.8414 − (λ_2 + Res₁(2)) ⟹ λ_2+Res₁(2) = −0.8755; λ_2 = 0.0914 (approx full), Res₁(2) = −0.9669: sum = −0.8755 ✓. So the cancellation for small Sf comes from (λ_n+Res₁), NOT from S_∞+1+Res₁ being small. So the bound structure: |Sf| ≤ |S_∞+1+Res₁(n)| + |λ_n + Res₁(n)|, with |λ_n+Res₁| ≤ |sides|+|triv|+|tail|. This needs |S_∞+1+Res₁(n)| ≤ [B(n) piece]. Numerically S_∞+1+Res₁(2) = −1.8414, (3) = −2.2338 — for the theorem's bound B(n) ~ √n log n ~ 20·√n log n... at n=10⁵, B ~ 3.4×10⁵. How big is S_∞+1+Res₁(n) at n=10⁵? If it grows like ~n/10 it's 10⁴ — fits. If ~n it's 10⁵ — fits (margin 9.3×10⁴... hmm tight-ish). What IS the asymptotic of S_∞+1+Res₁? S_∞(n) = ½n log n + C₁n − ¼ − 1/(24n) + o(1/n) (E-021 V3!). And Res₁(n) = Σ_j C(n,j)c_{j−1}: what's ITS asymptotic? If Res₁(n) = −½n log n − C₁n + O(1), then S_∞+1+Res₁ = O(1). At n=2: −S_∞−1 = 0.8745 vs Res₁ = −0.9669 — not converged yet. The asymptotic of the binomial transform Σ_j C(n,j)c_{j−1}: for large n, dominated by... c_j are specific constants (Laurent of −ζ′/ζ). Hmm — Σ_j C(n,j)c_{j−1}: if c_j were (j−1)!·a^j-ish the sum would be huge; c_j = η_j are the BL eta constants ~ known to be ~ −(1−2^{−j})... hmm η_j ~ O(1)? Then Σ_j C(n,j)c_{j−1} ~ up to 2ⁿ·max|c| — the cancellation inside is enormous. The ASYMPTOTIC of Res₁(n): since Res₁(n) = sides(T) − λ_n(T) − triv for any T (exact), choose T = √n: Res₁(n) = sides(√n) − λ_n(√n) − triv, and |sides(√n)| ≤ B-pieces ~ √n log n, |λ_n(√n)| ≤ 2N(√n) ~ √n log n. So **|Res₁(n)| ≤ O(√n log n)** via the contour! And S_∞(n)+1+Res₁(n) = S_∞+1 + [sides − λ_n − triv] — circular again for bounding. OK the smoke is clearing — the correct, non-circular assembly is: **Sf = S_∞+1−λ_n = [S_∞+1+Res₁] − [λ_n+Res₁]** and - λ_n + Res₁(n) = λ_n(T) + tail + Res₁ = sides(T) − triv + tail ⟹ |λ_n+Res₁| ≤ |sides| + |triv| + |tail| — CONTOUR-BOUNDED ✓. - S_∞+1+Res₁(n) =: the "archimedean-pole bracket" — must be bounded DIRECTLY. What is it exactly? S_∞(n) + 1 + Σ_j C(n,j)c_{j−1}. Numerically −1.13, −1.84, −2.23 for n=1,2,3. Hmm — growing roughly linearly? For B(n) ~ 20√n log n at n=10⁵ ~ 2.3×10⁶, a linear growth ~n/2 = 5×10⁴ fits comfortably. But we need its EXACT bound. What is it structurally?? Res₁(n) = Σ_j C(n,j)c_{j−1} where the c's are Laurent of −ζ′/ζ. S_∞(n) = Σ_j (−1)^j C(n,j)a_j (a_j = (1−2^{−j})ζ(j), a₁ special). So: S_∞+1+Res₁ = 1 + Σ_j C(n,j)[c_{j−1} + (−1)^j a_j]. At j=1: c₀ + (−1)a₁ = −γ − a₁ = −γ − (log4π+γ)/2 = −1.554120−0.577216·... = −(log4π+γ)/2 − γ = −1.554120−0.577216 = −2.131336? Hmm wait: −γ − a₁ = −0.577216 − 1.554120 = −2.131336. n=1: 1 + C(1,1)·(−2.131336) = −1.131336 ✓ matches B0(1)−triv(1) = −1.131336−... wait earlier S_∞+1+Res₁(1) = −1.1313 ✓ (1 + [c₀−a₁] = 1−2.131336 = −1.131336 ✓✓). So **S_∞(n)+1+Res₁(n) = 1 + Σ_{j=1}^n C(n,j)[c_{j−1} + (−1)^j a_j]** — a pure finite-difference object! Define d_j := c_{j−1} + (−1)^j a_j (j ≥ 1): d_1 = c₀ − a₁ = −2.131336. d_2 = c₁ + a₂ = 0.187546 + 1.233701 = 1.421247. Then n=2: 1 + 2d_1 + d_2 = 1 − 4.262672 + 1.421247 = −1.841425 ✓✓ matches! So the bracket is EXACTLY 1 + Σ_j C(n,j)d_j with d_j = c_{j−1} + (−1)^j a_j. NOW — what is d_j?? c_{j−1} = Laurent coeff of −ζ′/ζ; a_j = (1−2^{−j})ζ(j). The claim from Lagarias's structure (the τ decomposition (4.3)-(4.5)): ξ′/ξ = Γ-part + L′/L-part − e/s..., and the τ_j (archimedean) vs η_j (finite): (4.10): (−1)^j σ_{j+1} = τ_j − η_j + (−1)^jδ. For π_triv: τ_j relates to digamma values: τ_n(π_triv) = (−1/2)^{n+1}ζ(n+1,1/2) = (−1)^{n+1}(2^{n+1}−1)ζ(n+1)-ish... from the Remark after Lemma 4.3: τ_n(π_triv) = (−1)^{n+1}(1−2^{−(n+1)})ζ(n+1)!! So τ_{j−1} = (−1)^j(1−2^{−j})ζ(j) = (−1)^j a_j (for j ≥ 2). And d_j = c_{j−1} + (−1)^j a_j = c_{j−1} + τ_{j−1} = η_{j−1} + τ_{j−1} (with c = η). From (4.10): τ_j − η_j = (−1)^j σ_{j+1} − (−1)^j ⟹ τ_j + η_j = ... different combination. Hmm: d_j = η_{j−1} + τ_{j−1} and (4.10) gives τ−η. So d_j = 2τ_{j−1} − (−1)^{j−1}(σ_j − 1) = ... or d_j = 2η_{j−1} + (−1)^{j−1}(σ_j−1). Not obviously simpler. The important point: **the bracket 1 + Σ_j C(n,j)d_j is a clean, closed, finite object** — and bounding |Sf| requires |1 + Σ_j C(n,j)d_j| ≤ [part of B(n)]. How big is it? At n=1,2,3: −1.13, −1.84, −2.23. Hmm — wait, but actually, let me reconsider. Is the bracket maybe EXACTLY equal to something like −Σ_j C(n,j)(−1)^j(σ_j−1)...? From Res₁ = ΣC η, S_∞ = ΣC τ (no signs — Lagarias 4.7!): S_∞+1+Res₁ = 1 + Σ_j C(n,j)[τ_{j−1} + η_{j−1}]. And (4.10): τ_j − η_j = (−1)^j(σ_{j+1}−1). So τ+η is NOT directly given... Hmm, hold on, wait. I had S_∞ = Σ_j C(n,j)τ_{j−1} from Lagarias (4.7) — but D-037's S_∞ = Σ_j (−1)^j C(n,j)a_j. With τ_{j−1} = (−1)^j a_j — consistent. So S_∞ = Σ_j C(n,j)τ_{j−1} ✓ (no signs). Then S_∞+1+Res₁ = 1 + Σ_j C(n,j)(τ_{j−1}+η_{j−1}). Now Lagarias (4.10) for π∨ vs π... and Lemma 4.2's proof: "substituting (4.10) into (2.18)": (2.18) is presumably λ_n = Σ_j (−1)^{j+1}C(n,j)σ_j·... something. Let me compute τ+η numerically: τ₀ = −(log4π+γ)/2 = −1.554120 (from the Remark); η₀ = c₀ = −0.577216. τ₀+η₀ = −2.131336 = d_1 ✓ (consistent with above!). τ₁ = (−1)²(1−2^{−2})ζ(2)·... wait τ_{j−1} = (−1)^j a_j: τ₁ = (+1)a₂ = 1.233701. η₁ = c₁ = 0.187546. τ₁+η₁ = 1.421247 = d_2 ✓✓. So d_j = τ_{j−1} + η_{j−1}, and the bracket = 1 + Σ_j C(n,j)(τ_{j−1}+η_{j−1}). Is there a closed form? τ+η = 2τ − (τ−η) = 2τ_{j−1} − (−1)^{j−1}(σ_j−1). Bracket = 1 + 2Σ_j C(n,j)τ_{j−1} − Σ_j (−1)^{j−1}C(n,j)(σ_j−1) = 1 + 2S_∞ + [Σ_j (−1)^j C(n,j)σ_j + Σ_j (−1)^{j−1}C(n,j)]·... Σ_j (−1)^{j−1}C(n,j)(σ_j−1) = Σ_j(−1)^{j−1}C(n,j)σ_j − Σ_j(−1)^{j−1}C(n,j) = (−λ_n)·(−1)... λ_n = Σ_j (−1)^{j+1}C(n,j)σ_j so Σ_j (−1)^{j−1}C(n,j)σ_j = λ_n. And Σ_j (−1)^{j−1}C(n,j) = 1. So Σ(−1)^{j−1}C(σ−1) = λ_n − 1. Bracket = 1 + 2S_∞ − (λ_n − 1) = 2S_∞ + 2 − λ_n. At n=2: 2(−1.874539)+2−0.091384 = −1.840462 ✓ (≈ −1.841425, λ-approx error) ✓✓. So bracket = 2S_∞+2−λ_n — CONSISTENCY CHECK, circular again (contains λ_n)! Of course: because η and τ both relate to σ via (4.10), any such combination reduces to λ_n. The algebra is: bracket = S_∞+1+Res₁ and Sf = S_∞+1−λ_n ⟹ bracket = Sf + Res₁ + λ_n. And |bracket| ≤ |Sf| + |Res₁ + λ_n| — CIRCULAR for bounding Sf. The NON-circular bound is: **|Sf| ≤ |S_∞+1+Res₁| + |λ_n+Res₁|** — hmm still circular-ish: S_∞+1+Res₁ = bracket. Ugh, OK. Let me look at it from D-037's ACTUAL bound (4.1) once more: B(n) = 2N(T) + [I_III piece] + [40M₀] + [horizontals] + [I_I] + 1. The 2N(T) bounds |λ_n(T)| (bridge). The sides pieces bound |sides|. +1 = |triv|. So D-037's implicit identity MUST be: **|Sf| ≤ |λ_n(T)| + |sides| + |triv| + |tail|**, i.e. **Sf = −λ_n(T) ± sides ± triv ± tail** — matching D-037's line-63 identity: S_f = −Σ_{|γ|≤T}·(−1)... + sides + triv(−2). So the intended exact identity IS: **Sf(n) = −λ_n(T) + sides_k(T) − triv(n) − tail(T)??** — but then Sf + λ_n(T) + tail = sides − triv ⟹ S_∞+1−λ_n+λ_n(T)+tail = sides−triv ⟹ S_∞+1−λ_n+λ_n = sides−triv ⟹ **S_∞(n) + 1 = sides_k(T) − triv(n)**?!?! But sides_k is T-dependent and S_∞+1 isn't... so this CANNOT hold for all T — BUT WAIT: sides_k(T) = λ_n(T)+triv+Res₁ (residue theorem), so sides_k − triv = λ_n(T)+Res₁: the claim S_∞+1 = sides_k−triv becomes **S_∞(n)+1 = λ_n(T) + Res₁(n)** — T-independent RHS (since Res₁ = sides−λ_n(T)−triv for any T ✓). So the crux identity is: **(CID) S_∞(n) + 1 = λ_n(T) + Res₁(n) for the truncated-at-any-T sum?** — at T → ∞: S_∞+1 = λ_n + Res₁(n). Check numerically at n=2: λ_2 + Res₁(2) = 0.092383 + (−0.966885) = −0.874502. S_∞(2)+1 = −0.874539. Diff = 3.7e-5 (λ_2 truncation at 5096 — tail(5096) for n=2 ≈ 2n·Σ_{γ>5096}1/γ²... ≈ 2·2·log(5096)/(2π·5096) ≈ 4·8.537/32020 ≈ 0.00107?? that's bigger than 3.7e-5... hmm my λ_2(5096) approximation gave 0.091384 vs true 0.092383 (diff 0.001 ✓ tail). So λ_2(true)+Res₁(2) = 0.092383−0.966885 = −0.874502 vs S_∞(2)+1 = −0.874539: diff 3.7e-5. STILL a 3.7e-5 discrepancy — so CID is NOT exact! Argh. But WAIT — that 3.7e-5: where does it come from? triv: is the trivial-zero contribution exactly 1−(2/3)ⁿ, or are there OTHER trivial zeros inside? Rectangle σ₀ = −5/2: only −2. Hmm. Or is the residue at w=1 not exactly Σ_j C(n,j)c_{j−1}? The pole at w=1 of J = k_n(w−1)(−ζ′/ζ): k_n(w−1) = (1+1/(w−1))ⁿ − 1 = Σ_{j=1}^n C(n,j)(w−1)^{−j} — exact ✓. −ζ′/ζ = 1/(w−1) + Σ_{k≥0} c_k (w−1)^k ✓. Product residue = Σ_j C(n,j)c_{j−1} ✓ exact. So where's 3.7e-5? Let me check the sides computation at n=2 more carefully — the numerical contour integral: sides = −0.4113295414071449 with claimed accuracy ~1e-21 vs λ_n(T)+triv+Res₁. And Sf-check MASTER passed to 1e-9. So the chain sides = λ_n(T)+triv+Res₁ is EXACT (2e-21). The "discrepancy" is in CID: S_∞+1 vs λ_n+Res₁: −0.874539 vs −0.874502 — comes from λ_2's true value: I used λ_2 = 0.092383 (true known); λ_2(5096-zeros) = 0.091384. CID check used true λ_2. Diff 3.7e-5. Hmm — is the true λ_2 maybe 0.0924202? Let me reconsider: maybe my "known" λ_2 = 0.09238303922 is imprecise/wrong at the 5th digit?? Maślanka: λ_2 = 0.09238 30392 2...? If CID is exact: λ_2 = S_∞(2)+1−Res₁(2) = −0.874539+0.966885 = 0.092346. Hmm vs 0.092383 — diff 3.7e-5. One of them is off. Let me just compute λ_2 precisely from the arithmetic side (BL Thm 2 prime form) — E-011 machinery would take a while; OR trust CID and derive λ_2 = 0.092346... Actually easier: compute λ_2 via the zeros to higher accuracy with a proper tail bound, or compute Sf via the prime-side η's: Sf(2) = 2η₀−η₁... Actually — cleanest: test CID directly: CID says λ_n + Res₁(n) = S_∞(n) + 1. So λ_n = S_∞(n) + 1 − Res₁(n). With λ_n = Σ_j (−1)^{j+1}C(n,j)σ_j (σ_j = zero power sums) and Res₁ = Σ_j C(n,j)c_{j−1} and S_∞ = Σ_j C(n,j)τ_{j−1}: CID ⟺ Σ_j C(n,j)[τ_{j−1} − c_{j−1} + (−1)^j σ_j] = 1... using (4.10): τ_{j−1} = η_{j−1} + (−1)^{j−1}(σ_j − 1) = c_{j−1} + (−1)^{j−1}σ_j + (−1)^j. So τ_{j−1} − c_{j−1} + (−1)^j σ_j = (−1)^{j−1}σ_j + (−1)^j + (−1)^j σ_j = (−1)^j. So the sum = Σ_j C(n,j)(−1)^j = −1. So Σ_j C(n,j)[τ−c+(−1)^jσ] = −1 ≠ +1. CID is FALSE — off by a sign on the "1"! The correct identity: Σ_j C(n,j)[τ_{j−1}−c_{j−1}+(−1)^jσ_j] = Σ_j C(n,j)(−1)^j = −1, i.e., S_∞ − Res₁ + λ_n = −1, i.e., **λ_n = Res₁(n) − S_∞(n) − 1**, i.e., **Sf = S_∞+1−λ_n = 2(S_∞+1) − Res₁ − ... no: Sf = S_∞+1−λ_n = S_∞+1−Res₁+S_∞+1 = 2(S_∞+1)−Res₁??** Check n=2: 2(−0.874539) − (−0.966885) = −1.749078+0.966885 = −0.782193?? But Sf(2) = −0.965924. WRONG. Hmm!! Let me recompute: Sf = S_∞+1−λ_n; λ_n = Res₁−S_∞−1 (if that's right): Sf = S_∞+1−Res₁+S_∞+1 = 2S_∞+2−Res₁. n=2: 2(−1.874539)+2+0.966885 = −1.749078+0.966885 = −0.782193. But measured Sf(2) = −0.965924. Inconsistent — so the sign bookkeeping in (4.10) substitution is off somewhere. Let me just carefully redo with explicit numbers at n=2: τ₀ = −1.554120 (Remark), τ₁ = a₂ = 1.233701 (τ_{j−1} = (−1)^j a_j: τ₁ = (+1)·(3/4)ζ(2) = 1.233701 ✓). c₀ = −0.577216, c₁ = 0.187546. σ_1 = λ_1 = 0.023096 (power sum Σ1/ρ = λ_1 ✓). σ_2 = Σ1/ρ² = 0.046191 (D-036 P3: σ₂ = 0.046191 ✓). (4.10): (−1)^j σ_{j+1} = τ_j − η_j + (−1)^j δ. For j=0: (−1)⁰σ_1 = τ₀ − η₀ + (−1)⁰·1 ⟹ σ_1 = −1.554120 + 0.577216 + 1 = 0.023096 ✓✓✓ PERFECT. For j=1: (−1)¹σ_2 = τ₁ − η₁ + (−1)¹ ⟹ −σ_2 = 1.233701 − 0.187546 − 1 = 0.046155 ⟹ σ_2 = −0.046155 vs known +0.046191?? Diff 3.6e-5!!! THERE'S the 3.7e-5 discrepancy again — in σ_2! So σ_2 = Σ 1/ρ²: the "known" 0.046191 vs (4.10)-implied −0.046155?! SIGN: σ_2 should be Σ 1/ρ² — is it positive? ρ = 1/2±iγ: 1/ρ² + 1/ρ̄² = 2Re(1/ρ²) = 2((1/4)−γ²)/|ρ|⁴ < 0 for γ > 1/2!!! Σ 1/ρ² is NEGATIVE: −0.046155-ish, NOT +0.046191!! D-036 P3's "σ₂ = 0.046191" is the WRONG SIGN (or it's defined as Σ|ρ|⁻² = +0.046...). And −0.046155 vs −0.046191: diff 3.6e-5 — hmm STILL a discrepancy. σ_2(true) = Σ 1/ρ²: first pair: 2(0.25−γ₁²)/|ρ|⁴ = 2(0.25−199.79)/(199.99)² = 2(−199.54)/39998 = −0.009977. Sum over all ≈ −0.046...? The exact known value: Σ 1/ρ² = 1 + γ² − γ·... there's a closed form: σ_2 = Σ_ρ 1/ρ² = γ² + 1 − ... hmm: from ξ: log ξ coefficients: σ_2 = (log ξ)'' ... known: Σ 1/ρ² = 1 + γ − log(4π) + γ²−... I recall Σ1/ρ = 1+γ/2−(1/2)log 4π = 0.0230957 ✓ and Σ1/ρ² = 1+γ−log(2π)+γ²... let me not. The point: (4.10) checks out at j=0 EXACTLY (σ_1 = 0.023096 ✓), and at j=1 it gives σ_2 = −0.046155 (consistent sign-negative expectation). The 3.6e-5 gap vs my memory of "0.046191" is my memory being wrong-sign and imprecise — the c₁ extraction (fit, maybe ±1e-7) could also contribute... whatever: **the Lagarias (4.10) relation is VERIFIED at j=0 exactly and the structure is confirmed.** So the CORRECT exact identity (from (4.10), verified): τ_j = η_j + (−1)^j σ_{j+1} − (−1)^j δ. Sum against C(n,j): S_∞ = Σ_j C(n,j)τ_{j−1} = Σ_j C(n,j)c_{j−1} + Σ_j (−1)^{j−1}C(n,j)σ_j − Σ_j (−1)^{j−1}C(n,j)δ = Res₁(n) + λ_n − 1 (using Σ(−1)^{j−1}C(n,j)σ_j = λ_n?? — λ_n = Σ_j (−1)^{j+1}C(n,j)σ_j: (−1)^{j−1} = (−1)^{j+1} ✓ same. And Σ_j (−1)^{j−1}C(n,j)·1 = −Σ(−1)^j C(n,j) = +1.) Wait: Σ_{j=1}^n (−1)^{j−1}C(n,j) = −Σ(−1)^j C(n,j) = −(−1) = 1 (since Σ_{j=0}^n (−1)^j C(n,j) = 0 ⟹ Σ_{j=1} = −1). So Σ_j (−1)^{j−1}C(n,j)δ = δ·1 = 1. So: **S_∞(n) = Res₁(n) + λ_n − 1** ⟹ **λ_n = S_∞(n) + 1 − Res₁(n)** ⟹ **Sf = S_∞+1−λ_n = Res₁(n)**!!! Sf = Res₁(n) EXACTLY. Check n=2: Res₁(2) = −0.966885, Sf(2) = −0.965924 (with λ_2(5096) = 0.091384 — tail 0.001!) — with TRUE λ_2: Sf(2) = S_∞(2)+1−λ_2 = Res₁(2) ⟹ λ_2 = S_∞(2)+1−Res₁(2) = −0.874539+0.966885 = 0.092346. And "known" λ_2 = 0.092383?? diff 3.7e-5 again. Hmm!! So either the known λ_2 is wrong at 4th decimal or Sf = Res₁ is off by 3.7e-5. The numeric evidence chain: (4.10) verified at j=0 EXACTLY (σ_1 = 0.0230957 matches the classical Σ1/ρ = 0.0230957 ✓ to all digits). So (4.10) is right. Then S_∞ = Res₁+λ_n−1 follows algebraically... UNLESS the σ_j ↔ λ_n relation has a convergence subtlety at j=1 (Σ 1/ρ is only conditionally convergent — the swap λ_n = Σ_j(−1)^{j+1}C(n,j)σ_j exchanges sum-over-zeros with finite-sum-over-j; for n ≥ 2 the σ_j (j ≥ 2) converge absolutely and σ_1 (j=1) is the conditionally-convergent one — the swap should be fine with paired summation). And the λ_2 "known" value: let me question it — from the zeros directly: my 4624-zero computation gave λ_2(5096) = 0.091384 with tail bound: tail(5096) for n=2: |Σ_{γ>5096} 2Re[1−(1−1/ρ)²]| = |Σ 2Re[2/ρ − 1/ρ²]|: Σ_{γ>T} 2/ρ paired = 4Σ σ/|ρ|² ≤ 4Σ 1/γ²·... ~ 4·log T/(2πT) = 4·8.537/(2π·5096) = 0.001065; and the 1/ρ² part smaller. So λ_2 = 0.091384 + (0..0.0011) = up to 0.0925 — BOTH 0.092346 and 0.092383 fit within! So the tail uncertainty is ±0.001 and I can't discriminate 0.092346 vs 0.092383 with 4624 zeros. Fine — the algebra (verified (4.10) at j=0 to 15 digits + exact finite algebra) says: **λ_n = S_∞(n) + 1 − Res₁(n), i.e. Sf(n) = Res₁(n) = Σ_{j=1}^n C(n,j)c_{j−1}** — the w=1 residue IS S_f. This is the beautiful, exact crux identity, and it's nothing but the binomial-transform assembly of Lagarias's (4.10) (itself the coefficient-wise Hadamard-product identity). And Sf = Res₁ makes TOTAL sense of everything: the residue at w=1 of k_n(w−1)(−ζ′/ζ) literally computes the finite part. THEN the master bound becomes: Sf = Res₁(n) = sides_k(T) − λ_n(T) − triv(n) (from the residue theorem solved for Res₁): **|Sf(n)| ≤ |λ_n(T)| + |sides_k(T)| + |triv(n)|** — EXACTLY D-037's B(n) structure!!! 2N(T) [bridge on λ_n(T)] + sides pieces + 1. NO tail term needed (the tail never enters — the identity Res₁ = sides−λ_n(T)−triv is at finite T, exact, no tail anywhere!). That's why D-037's B(n) has no tail term!! The tail appeared only in MY detour through λ_n = λ_n(T)+tail — but with Sf = Res₁ (exact, T-independent), we use the residue theorem at the SINGLE height T to write Res₁ = sides(T) − λ_n(T) − triv, and bound. NO TAIL. Let me double-check numerically at n=2, T=√2+0.5: Res₁(2) = −0.966885; sides(T) − λ_2(T) − triv = −0.411330 − 0 − 0.555556 = −0.966885 ✓✓✓ EXACT (to the 2e-21 from before). And Sf(2) = Res₁(2) = −0.966885 — so the TRUE λ_2 = S_∞(2)+1−Sf(2) = −0.874539+0.966885 = 0.092346 — and the "known λ_2 = 0.092383" must be slightly off in my memory (or the Maślanka value has different rounding; E-015 has λ_2 to 100+ digits — check later; actually λ_2 = 0.09238303922 is from Keiper's table... hmm, E-015's λ_2 — the archive will settle it; NOTE: E-021 V1 verified λ_n = S_∞−S_f+1 vs E-015 to 4.8e-25 at n ≤ 3000 — with S_f computed EXACTLY there. If Sf = Res₁ exactly, then E-015's λ_2 should equal 0.092346... Let me quickly sanity-check against the BL formula: λ_2 = 2η₀ − η₁ + 1 − (log4π+γ) + (3/4)ζ(2) with η's = c's: 2(−0.577216) − 0.187546 + 1 − 3.108240 + 1.233701 = −1.154432 − 0.187546 + 1 − 3.108240 + 1.233701 = −0.216517?? That gives λ_2 = −0.2165 — NEGATIVE, nonsense. So BL's λ_n = [prime part] + 1 + S_∞-form has the prime part with a MINUS: λ_n = −Σ_j (−1)^{j−1}C(n,j)η_{j−1} + [archimedean] (per Theorem-2.txt: "−Σ(−1)^{j−1}C(n,j)·η..."): = −[2η₀−η₁] + 1 − (log4π+γ)·... wait I need to be careful: Theorem-2.txt's formula: λ_n = −Σ_{j=1}^n (−1)^{j−1}C(n,j)η_{j−1} + 1 − (log4π+γ)n/2 − Σ_{j=2}^n (−1)^{j−1}C(n,j)(1−2^{−j})ζ(j). At n=2: −[2η₀−η₁] + 1 − (log4π+γ) − [(−1)¹·1·(3/4)ζ(2)] = −[−1.341978] + 1 − 3.108240 + 1.233701 = 1.341978 + 1 − 3.108240 + 1.233701 = 0.467439?? True λ_2 ≈ 0.0923. NO. So Theorem-2.txt's transcription gives 0.467 — sign errors in the txt summary. The RELIABLE identities are the ones I verified numerically: - σ_1 = τ₀ − η₀ + 1: 0.023096 = −1.554120 + 0.577216 + 1 ✓ EXACT. - sides(T) = λ_n(T) + triv + Res₁ ✓ (2e-21). - Sf := S_∞+1−λ_n. - (4.10) ⟹ S_∞ = Res₁ + λ_n − 1 ⟹ Sf = Res₁. Verify Sf = Res₁ via σ_1-only... the j=0 check is the only fully independent numeric anchor; the rest is algebra. But the algebra is airtight given (4.10). And (4.10) at j=1 predicted σ_2 = −0.046155 — testable: Σ 1/ρ² from zeros: pair sums 2Re(1/ρ²) = 2(1/4−γ²)/|ρ|⁴: first pair γ=14.134: 2(0.25−199.77)/(199.77+0.25)² ≈ 2(−199.52)/40008 ≈ −0.009974. Total with 4624 zeros + tail: converges (absolutely!) — computable NOW to high precision. Let me run it as the final confirmation of (4.10) j=1 and hence the Sf = Res₁ identity.
Major structural discovery — let me confirm it definitively. The algebra predicts Sf = Res₁ exactly (via Lagarias's (4.10)); testing with the absolutely-convergent σ₂:
tool: Bash
input
{
  "command": "cd /d/Python/Quantum && ./.venv/Scripts/python.exe -c \"\nimport mpmath as m\nimport numpy as np\nm.mp.dps = 40\ngam = np.load('research/numerics/data/E-021-zeros-cache.npy')\n# sigma_2 = sum 1/rho^2, absolutely convergent; pair rho, conj(rho)\ns2 = m.mpf(0)\nfor g in gam:\n    rho = m.mpc(m.mpf('0.5'), m.mpf(float(g)))\n    s2 += 2*(1/rho**2).real\nprint('sigma_2 (4624 zeros) =', m.nstr(s2, 15))\n# tail estimate: sum_{g>5096} 2|1/rho^2| ~ 2*log(5096)/(2*pi*5096)\nprint('tail bound ~', m.nstr(2*m.log(5096)/(2*m.pi*5096), 6))\n# (4.10) j=1: -sigma_2 = tau_1 - eta_1 - 1\ntau1 = m.mpf(3)/4*m.zeta(2)\neta1 = m.mpf('0.187546232840365225')\nprint('tau1 - eta1 - 1 =', m.nstr(tau1 - eta1 - 1, 15))\nprint('=> -sigma_2 should equal that; diff =', m.nstr(-s2 - (tau1-eta1-1), 8))\n\"",
  "description": "Verify Lagarias (4.10) at j=1 via sigma_2",
  "timeout": 120000
}
raw content_json (database row)
[{"type":"thinking","thinking":"Now everything is verified numerically:\n\n1. **The residue theorem [EXACT]**: sides(T) = λ_n(T) + triv + Res₁(n) — verified to 2e-21 (n=2) and 1.7e-15 (n=3) ✓✓✓. (λ_n(T) = 0 since T < γ₁ = 14.13.)\n\n2. **[MASTER] holds**: B0 − sides − tail = Sf exactly ✓.\n\n3. **B0(n) = S_∞+1+triv+Res₁(n)**: n=2: −1.2859, n=3: −1.5300. NOT small, NOT zero. And Sf(2) = −0.9659, Sf(3) = −1.2185.\n\nSo the honest picture: |Sf| ≤ |B0(n)| + |sides| + |tail| would need a bound on B0 — but B0 = Sf + sides + tail (tautology). The way D-037's bound actually works must be DIFFERENT. Since |Sf| ≤ |B0| + |sides| + |tail| is useless without controlling B0, the actual assembly must be:\n\n|Sf| = |S_∞+1−λ_n| ≤ |S_∞+1−λ_n(T)| + |tail|? No — that swaps one unknown for another.\n\nHmm, wait. Let's reconsider. What does Lagarias's Thm 6.1 actually prove (per D-032): \"S_f(n) = λ_n(√n) + O(√n log n)\". So S_f − λ_n(√n) = O(√n log n). With our numbers: S_f(2) − λ_2(√2) = −0.9659 − 0 = −0.9659 = O(·) ✓ trivially at this size. And S_f = S_∞+1−λ_n = S_∞+1−λ_n(T)−tail. So the claim \"S_f − λ_n(T) = O(√n log n)\" reads S_∞+1−2λ_n(T)−tail = ... at n=2: −1.8745+1−0−0.0914 = −0.9659 ✓ (equals S_f since λ_n(T)=0). So the CONTENT of Thm 6.1: **S_∞(n) + 1 − 2λ_n(T) − tail(T) is O(√n log n)**?? That doesn't factor through the contour nicely...\n\nHmm wait — actually maybe it does: S_f − λ_n(T) = [B0 − sides − tail] − λ_n(T) = [S_∞+1+triv+Res₁] − sides − tail − λ_n(T). With λ_n(T) = sides−triv−Res₁: = S_∞+1+triv+Res₁−sides−tail−sides+triv+Res₁ = S_∞+1+2triv+2Res₁−2·sides−tail. Messy. NOT the right combination.\n\nAlternatively: maybe Lagarias's contour bounds λ_n(T) − [something]... Let me think about what the contour identity gives DIRECTLY: λ_n(T) = sides − triv − Res₁. Res₁ = Σ_j C(n,j)c_{j−1} is EXPLICIT (given the c's). So:\n\n**λ_n(T) + Res₁(n) + triv(n) = sides(T)** — an exact identity. And Sf = S_∞+1−λ_n(T)−tail. Combining: Sf = S_∞+1+Res₁+triv−sides−tail. To bound |Sf|:\n- |sides| ≤ [D-036's I_I..I_IV pieces] ✓ explicit.\n- |tail| ≤ [explicit bound needed — D-037's accounting must have it somewhere or it's handled by the bridge... hmm].\n- |S_∞+1+Res₁+triv| = |B0| — the remaining piece. How does D-037 bound B0?? B0(2) = −1.286, B0(3) = −1.530, B0(1) = −0.798. What's B0(10)? If B0 grows like... B0 = S_∞+1+triv+Res₁ where S_∞ ~ ½n log n and Res₁ = ΣC(n,j)c_{j−1} — for B0 to be bounded by 2N(T)+... ~ √n log n, we need S_∞ + Res₁ to cancel the ½n log n down to O(√n log n). I.e., **Res₁(n) = −S_∞(n) + O(√n log n)**. Check: n=2: Res₁ = −0.9669, −S_∞ = 1.8745 — NOT close (B0 = −1.286 not small). Hmm!! So S_∞ + Res₁ does NOT cancel to o(n). B0(2) = −1.286, B0(3) = −1.530, B0(1) = −0.798 — these are all ≈ S_f(n) − 0.3-ish. Actually: B0 = Sf + sides + tail: n=2: Sf = −0.9659, sides = −0.4113, tail = 0.0914: −0.9659 − 0.4113 + 0.0914 = −1.2858 ✓. So B0 ≈ Sf + sides − ... B0 is just as big as sides ~ O(1) at small n; at n = 10⁵ sides ~ √n log n·(const ~ 20?) — so B0(n) ~ 2×10⁶-ish at n=10⁵. So |Sf| ≤ |B0| + |sides| + |tail| is useless (B0 is as big as the things we're bounding).\n\nCONCLUSION: [MASTER] as assembled does NOT directly give a useful bound. The useful decomposition must avoid B0 entirely. How?? Go back to: Sf = S_∞ + 1 − λ_n, λ_n = λ_n(T) + tail. The bridge bounds |λ_n(T)| ≤ 2N(T) (RH). The tail: |tail(T)| ≤ [bound]. So **|Sf| ≤ |S_∞(n) + 1| + 2N(T) + |tail|**?? But S_∞+1 ~ ½n log n — HUGE — that gives |Sf| ≲ ½n log n which is TRUE (Sf = S_∞+1−λ_n and both terms ~ ½n log n... wait no — Sf is SMALL (≤ 13 measured) because λ_n ≈ S_∞+1 to leading order!). The whole subtlety: Sf = S_∞+1−λ_n is a DIFFERENCE of two ~½n log n quantities. Bounding |Sf| needs the CANCELLATION between S_∞+1 and λ_n — and the contour's job is to exhibit λ_n = S_∞+1+O(√n log n)... no wait — λ_n = λ_n(T)+tail = sides−triv−Res₁+tail: |λ_n + Res₁| ≤ |sides|+|triv|+|tail| — so λ_n ≈ −Res₁ with error O(√n log n). Then Sf = S_∞+1−λ_n = S_∞+1+Res₁ + (λ_n+Res₁)·(−1)... = B0 − (λ_n+Res₁) − tail·... hmm: Sf = S_∞+1−λ_n = (S_∞+1+Res₁) − (λ_n+Res₁) = B0 − triv − (λ_n+Res₁) where |λ_n+Res₁| ≤ |sides|+|triv|+|tail|. So |Sf| ≤ |S_∞+1+Res₁| + |sides| + 2|triv| + |tail|. STILL has S_∞+1+Res₁ (= B0 − triv). So everything hinges on:\n\n**THE CORE ID: S_∞(n) + 1 + Res₁(n) is SMALL** (bounded by the B(n) pieces). And the numerics say: S_∞+1+Res₁ at n=2: −1.8745+1−0.9669 = −1.8414; n=3: −2.0131+1−1.2207 = −2.2338; n=1: −1.5541+1−0.5772 = −1.1313. Growing ~ −(0.3..0.7)n-ish? Not small!!\n\nBut |Sf| IS small (−0.9659, −1.2185). So |S_∞+1+Res₁| ~ 1.8–2.2 at n=2,3 and |sides| ~ 0.4–0.5, and Sf = (S_∞+1+Res₁) − (λ_n+Res₁): −0.9659 = −1.8414 − (λ_2 + Res₁(2)) ⟹ λ_2+Res₁(2) = −0.8755; λ_2 = 0.0914 (approx full), Res₁(2) = −0.9669: sum = −0.8755 ✓. So the cancellation for small Sf comes from (λ_n+Res₁), NOT from S_∞+1+Res₁ being small. So the bound structure:\n\n|Sf| ≤ |S_∞+1+Res₁(n)| + |λ_n + Res₁(n)|, with |λ_n+Res₁| ≤ |sides|+|triv|+|tail|.\n\nThis needs |S_∞+1+Res₁(n)| ≤ [B(n) piece]. Numerically S_∞+1+Res₁(2) = −1.8414, (3) = −2.2338 — for the theorem's bound B(n) ~ √n log n ~ 20·√n log n... at n=10⁵, B ~ 3.4×10⁵. How big is S_∞+1+Res₁(n) at n=10⁵? If it grows like ~n/10 it's 10⁴ — fits. If ~n it's 10⁵ — fits (margin 9.3×10⁴... hmm tight-ish). What IS the asymptotic of S_∞+1+Res₁?\n\nS_∞(n) = ½n log n + C₁n − ¼ − 1/(24n) + o(1/n) (E-021 V3!). And Res₁(n) = Σ_j C(n,j)c_{j−1}: what's ITS asymptotic? If Res₁(n) = −½n log n − C₁n + O(1), then S_∞+1+Res₁ = O(1). At n=2: −S_∞−1 = 0.8745 vs Res₁ = −0.9669 — not converged yet. The asymptotic of the binomial transform Σ_j C(n,j)c_{j−1}: for large n, dominated by... c_j are specific constants (Laurent of −ζ′/ζ). Hmm — Σ_j C(n,j)c_{j−1}: if c_j were (j−1)!·a^j-ish the sum would be huge; c_j = η_j are the BL eta constants ~ known to be ~ −(1−2^{−j})... hmm η_j ~ O(1)? Then Σ_j C(n,j)c_{j−1} ~ up to 2ⁿ·max|c| — the cancellation inside is enormous. The ASYMPTOTIC of Res₁(n): since Res₁(n) = sides(T) − λ_n(T) − triv for any T (exact), choose T = √n: Res₁(n) = sides(√n) − λ_n(√n) − triv, and |sides(√n)| ≤ B-pieces ~ √n log n, |λ_n(√n)| ≤ 2N(√n) ~ √n log n. So **|Res₁(n)| ≤ O(√n log n)** via the contour! And S_∞(n)+1+Res₁(n) = S_∞+1 + [sides − λ_n − triv] — circular again for bounding.\n\nOK the smoke is clearing — the correct, non-circular assembly is:\n\n**Sf = S_∞+1−λ_n = [S_∞+1+Res₁] − [λ_n+Res₁]**\n\nand\n- λ_n + Res₁(n) = λ_n(T) + tail + Res₁ = sides(T) − triv + tail ⟹ |λ_n+Res₁| ≤ |sides| + |triv| + |tail| — CONTOUR-BOUNDED ✓.\n- S_∞+1+Res₁(n) =: the \"archimedean-pole bracket\" — must be bounded DIRECTLY. \n\nWhat is it exactly? S_∞(n) + 1 + Σ_j C(n,j)c_{j−1}. Numerically −1.13, −1.84, −2.23 for n=1,2,3. Hmm — growing roughly linearly? For B(n) ~ 20√n log n at n=10⁵ ~ 2.3×10⁶, a linear growth ~n/2 = 5×10⁴ fits comfortably. But we need its EXACT bound. What is it structurally?? \n\nRes₁(n) = Σ_j C(n,j)c_{j−1} where the c's are Laurent of −ζ′/ζ. S_∞(n) = Σ_j (−1)^j C(n,j)a_j (a_j = (1−2^{−j})ζ(j), a₁ special). So:\nS_∞+1+Res₁ = 1 + Σ_j C(n,j)[c_{j−1} + (−1)^j a_j].\n\nAt j=1: c₀ + (−1)a₁ = −γ − a₁ = −γ − (log4π+γ)/2 = −1.554120−0.577216·... = −(log4π+γ)/2 − γ = −1.554120−0.577216 = −2.131336? Hmm wait: −γ − a₁ = −0.577216 − 1.554120 = −2.131336. n=1: 1 + C(1,1)·(−2.131336) = −1.131336 ✓ matches B0(1)−triv(1) = −1.131336−... wait earlier S_∞+1+Res₁(1) = −1.1313 ✓ (1 + [c₀−a₁] = 1−2.131336 = −1.131336 ✓✓).\n\nSo **S_∞(n)+1+Res₁(n) = 1 + Σ_{j=1}^n C(n,j)[c_{j−1} + (−1)^j a_j]** — a pure finite-difference object! Define d_j := c_{j−1} + (−1)^j a_j (j ≥ 1): d_1 = c₀ − a₁ = −2.131336. d_2 = c₁ + a₂ = 0.187546 + 1.233701 = 1.421247. Then n=2: 1 + 2d_1 + d_2 = 1 − 4.262672 + 1.421247 = −1.841425 ✓✓ matches! \n\nSo the bracket is EXACTLY 1 + Σ_j C(n,j)d_j with d_j = c_{j−1} + (−1)^j a_j. NOW — what is d_j?? c_{j−1} = Laurent coeff of −ζ′/ζ; a_j = (1−2^{−j})ζ(j). The claim from Lagarias's structure (the τ decomposition (4.3)-(4.5)): ξ′/ξ = Γ-part + L′/L-part − e/s..., and the τ_j (archimedean) vs η_j (finite): (4.10): (−1)^j σ_{j+1} = τ_j − η_j + (−1)^jδ. For π_triv: τ_j relates to digamma values: τ_n(π_triv) = (−1/2)^{n+1}ζ(n+1,1/2) = (−1)^{n+1}(2^{n+1}−1)ζ(n+1)-ish... from the Remark after Lemma 4.3: τ_n(π_triv) = (−1)^{n+1}(1−2^{−(n+1)})ζ(n+1)!! So τ_{j−1} = (−1)^j(1−2^{−j})ζ(j) = (−1)^j a_j (for j ≥ 2). And d_j = c_{j−1} + (−1)^j a_j = c_{j−1} + τ_{j−1} = η_{j−1} + τ_{j−1} (with c = η). From (4.10): τ_j − η_j = (−1)^j σ_{j+1} − (−1)^j ⟹ τ_j + η_j = ... different combination. Hmm: d_j = η_{j−1} + τ_{j−1} and (4.10) gives τ−η. So d_j = 2τ_{j−1} − (−1)^{j−1}(σ_j − 1) = ... or d_j = 2η_{j−1} + (−1)^{j−1}(σ_j−1). Not obviously simpler.\n\nThe important point: **the bracket 1 + Σ_j C(n,j)d_j is a clean, closed, finite object** — and bounding |Sf| requires |1 + Σ_j C(n,j)d_j| ≤ [part of B(n)]. How big is it? At n=1,2,3: −1.13, −1.84, −2.23. Hmm — wait, but actually, let me reconsider. Is the bracket maybe EXACTLY equal to something like −Σ_j C(n,j)(−1)^j(σ_j−1)...? From Res₁ = ΣC η, S_∞ = ΣC τ (no signs — Lagarias 4.7!): S_∞+1+Res₁ = 1 + Σ_j C(n,j)[τ_{j−1} + η_{j−1}]. And (4.10): τ_j − η_j = (−1)^j(σ_{j+1}−1). So τ+η is NOT directly given... \n\nHmm, hold on, wait. I had S_∞ = Σ_j C(n,j)τ_{j−1} from Lagarias (4.7) — but D-037's S_∞ = Σ_j (−1)^j C(n,j)a_j. With τ_{j−1} = (−1)^j a_j — consistent. So S_∞ = Σ_j C(n,j)τ_{j−1} ✓ (no signs). Then S_∞+1+Res₁ = 1 + Σ_j C(n,j)(τ_{j−1}+η_{j−1}). Now Lagarias (4.10) for π∨ vs π... and Lemma 4.2's proof: \"substituting (4.10) into (2.18)\": (2.18) is presumably λ_n = Σ_j (−1)^{j+1}C(n,j)σ_j·... something. Let me compute τ+η numerically: τ₀ = −(log4π+γ)/2 = −1.554120 (from the Remark); η₀ = c₀ = −0.577216. τ₀+η₀ = −2.131336 = d_1 ✓ (consistent with above!). τ₁ = (−1)²(1−2^{−2})ζ(2)·... wait τ_{j−1} = (−1)^j a_j: τ₁ = (+1)a₂ = 1.233701. η₁ = c₁ = 0.187546. τ₁+η₁ = 1.421247 = d_2 ✓✓. \n\nSo d_j = τ_{j−1} + η_{j−1}, and the bracket = 1 + Σ_j C(n,j)(τ_{j−1}+η_{j−1}). Is there a closed form? τ+η = 2τ − (τ−η) = 2τ_{j−1} − (−1)^{j−1}(σ_j−1). Bracket = 1 + 2Σ_j C(n,j)τ_{j−1} − Σ_j (−1)^{j−1}C(n,j)(σ_j−1) = 1 + 2S_∞ + [Σ_j (−1)^j C(n,j)σ_j + Σ_j (−1)^{j−1}C(n,j)]·... Σ_j (−1)^{j−1}C(n,j)(σ_j−1) = Σ_j(−1)^{j−1}C(n,j)σ_j − Σ_j(−1)^{j−1}C(n,j) = (−λ_n)·(−1)... λ_n = Σ_j (−1)^{j+1}C(n,j)σ_j so Σ_j (−1)^{j−1}C(n,j)σ_j = λ_n. And Σ_j (−1)^{j−1}C(n,j) = 1. So Σ(−1)^{j−1}C(σ−1) = λ_n − 1. Bracket = 1 + 2S_∞ − (λ_n − 1) = 2S_∞ + 2 − λ_n. At n=2: 2(−1.874539)+2−0.091384 = −1.840462 ✓ (≈ −1.841425, λ-approx error) ✓✓. So bracket = 2S_∞+2−λ_n — CONSISTENCY CHECK, circular again (contains λ_n)! Of course: because η and τ both relate to σ via (4.10), any such combination reduces to λ_n. The algebra is: bracket = S_∞+1+Res₁ and Sf = S_∞+1−λ_n ⟹ bracket = Sf + Res₁ + λ_n. And |bracket| ≤ |Sf| + |Res₁ + λ_n| — CIRCULAR for bounding Sf. The NON-circular bound is:\n\n**|Sf| ≤ |S_∞+1+Res₁| + |λ_n+Res₁|** — hmm still circular-ish: S_∞+1+Res₁ = bracket. \n\nUgh, OK. Let me look at it from D-037's ACTUAL bound (4.1) once more: B(n) = 2N(T) + [I_III piece] + [40M₀] + [horizontals] + [I_I] + 1. The 2N(T) bounds |λ_n(T)| (bridge). The sides pieces bound |sides|. +1 = |triv|. So D-037's implicit identity MUST be:\n\n**|Sf| ≤ |λ_n(T)| + |sides| + |triv| + |tail|**, i.e. **Sf = −λ_n(T) ± sides ± triv ± tail** — matching D-037's line-63 identity: S_f = −Σ_{|γ|≤T}·(−1)... + sides + triv(−2). So the intended exact identity IS:\n\n**Sf(n) = −λ_n(T) + sides_k(T) − triv(n) − tail(T)??** — but then Sf + λ_n(T) + tail = sides − triv ⟹ S_∞+1−λ_n+λ_n(T)+tail = sides−triv ⟹ S_∞+1−λ_n+λ_n = sides−triv ⟹ **S_∞(n) + 1 = sides_k(T) − triv(n)**?!?! But sides_k is T-dependent and S_∞+1 isn't... so this CANNOT hold for all T — BUT WAIT: sides_k(T) = λ_n(T)+triv+Res₁ (residue theorem), so sides_k − triv = λ_n(T)+Res₁: the claim S_∞+1 = sides_k−triv becomes **S_∞(n)+1 = λ_n(T) + Res₁(n)** — T-independent RHS (since Res₁ = sides−λ_n(T)−triv for any T ✓). So the crux identity is:\n\n**(CID) S_∞(n) + 1 = λ_n(T) + Res₁(n) for the truncated-at-any-T sum?** — at T → ∞: S_∞+1 = λ_n + Res₁(n). Check numerically at n=2: λ_2 + Res₁(2) = 0.092383 + (−0.966885) = −0.874502. S_∞(2)+1 = −0.874539. Diff = 3.7e-5 (λ_2 truncation at 5096 — tail(5096) for n=2 ≈ 2n·Σ_{γ>5096}1/γ²... ≈ 2·2·log(5096)/(2π·5096) ≈ 4·8.537/32020 ≈ 0.00107?? that's bigger than 3.7e-5... hmm my λ_2(5096) approximation gave 0.091384 vs true 0.092383 (diff 0.001 ✓ tail). So λ_2(true)+Res₁(2) = 0.092383−0.966885 = −0.874502 vs S_∞(2)+1 = −0.874539: diff 3.7e-5. STILL a 3.7e-5 discrepancy — so CID is NOT exact! Argh.\n\nBut WAIT — that 3.7e-5: where does it come from? triv: is the trivial-zero contribution exactly 1−(2/3)ⁿ, or are there OTHER trivial zeros inside? Rectangle σ₀ = −5/2: only −2. Hmm. Or is the residue at w=1 not exactly Σ_j C(n,j)c_{j−1}? The pole at w=1 of J = k_n(w−1)(−ζ′/ζ): k_n(w−1) = (1+1/(w−1))ⁿ − 1 = Σ_{j=1}^n C(n,j)(w−1)^{−j} — exact ✓. −ζ′/ζ = 1/(w−1) + Σ_{k≥0} c_k (w−1)^k ✓. Product residue = Σ_j C(n,j)c_{j−1} ✓ exact.\n\nSo where's 3.7e-5? Let me check the sides computation at n=2 more carefully — the numerical contour integral: sides = −0.4113295414071449 with claimed accuracy ~1e-21 vs λ_n(T)+triv+Res₁. And Sf-check MASTER passed to 1e-9. So the chain sides = λ_n(T)+triv+Res₁ is EXACT (2e-21). The \"discrepancy\" is in CID: S_∞+1 vs λ_n+Res₁: −0.874539 vs −0.874502 — comes from λ_2's true value: I used λ_2 = 0.092383 (true known); λ_2(5096-zeros) = 0.091384. CID check used true λ_2. Diff 3.7e-5. Hmm — is the true λ_2 maybe 0.0924202? Let me reconsider: maybe my \"known\" λ_2 = 0.09238303922 is imprecise/wrong at the 5th digit?? Maślanka: λ_2 = 0.09238 30392 2...? If CID is exact: λ_2 = S_∞(2)+1−Res₁(2) = −0.874539+0.966885 = 0.092346. Hmm vs 0.092383 — diff 3.7e-5. One of them is off. Let me just compute λ_2 precisely from the arithmetic side (BL Thm 2 prime form) — E-011 machinery would take a while; OR trust CID and derive λ_2 = 0.092346... Actually easier: compute λ_2 via the zeros to higher accuracy with a proper tail bound, or compute Sf via the prime-side η's: Sf(2) = 2η₀−η₁... \n\nActually — cleanest: test CID directly: CID says λ_n + Res₁(n) = S_∞(n) + 1. So λ_n = S_∞(n) + 1 − Res₁(n). With λ_n = Σ_j (−1)^{j+1}C(n,j)σ_j (σ_j = zero power sums) and Res₁ = Σ_j C(n,j)c_{j−1} and S_∞ = Σ_j C(n,j)τ_{j−1}: CID ⟺ Σ_j C(n,j)[τ_{j−1} − c_{j−1} + (−1)^j σ_j] = 1... using (4.10): τ_{j−1} = η_{j−1} + (−1)^{j−1}(σ_j − 1) = c_{j−1} + (−1)^{j−1}σ_j + (−1)^j. So τ_{j−1} − c_{j−1} + (−1)^j σ_j = (−1)^{j−1}σ_j + (−1)^j + (−1)^j σ_j = (−1)^j. So the sum = Σ_j C(n,j)(−1)^j = −1. So Σ_j C(n,j)[τ−c+(−1)^jσ] = −1 ≠ +1. CID is FALSE — off by a sign on the \"1\"! The correct identity: Σ_j C(n,j)[τ_{j−1}−c_{j−1}+(−1)^jσ_j] = Σ_j C(n,j)(−1)^j = −1, i.e., S_∞ − Res₁ + λ_n = −1, i.e., **λ_n = Res₁(n) − S_∞(n) − 1**, i.e., **Sf = S_∞+1−λ_n = 2(S_∞+1) − Res₁ − ... no: Sf = S_∞+1−λ_n = S_∞+1−Res₁+S_∞+1 = 2(S_∞+1)−Res₁??** Check n=2: 2(−0.874539) − (−0.966885) = −1.749078+0.966885 = −0.782193?? But Sf(2) = −0.965924. WRONG. Hmm!! Let me recompute: Sf = S_∞+1−λ_n; λ_n = Res₁−S_∞−1 (if that's right): Sf = S_∞+1−Res₁+S_∞+1 = 2S_∞+2−Res₁. n=2: 2(−1.874539)+2+0.966885 = −1.749078+0.966885 = −0.782193. But measured Sf(2) = −0.965924. Inconsistent — so the sign bookkeeping in (4.10) substitution is off somewhere. Let me just carefully redo with explicit numbers at n=2:\n\nτ₀ = −1.554120 (Remark), τ₁ = a₂ = 1.233701 (τ_{j−1} = (−1)^j a_j: τ₁ = (+1)·(3/4)ζ(2) = 1.233701 ✓). c₀ = −0.577216, c₁ = 0.187546. σ_1 = λ_1 = 0.023096 (power sum Σ1/ρ = λ_1 ✓). σ_2 = Σ1/ρ² = 0.046191 (D-036 P3: σ₂ = 0.046191 ✓).\n\n(4.10): (−1)^j σ_{j+1} = τ_j − η_j + (−1)^j δ. For j=0: (−1)⁰σ_1 = τ₀ − η₀ + (−1)⁰·1 ⟹ σ_1 = −1.554120 + 0.577216 + 1 = 0.023096 ✓✓✓ PERFECT. For j=1: (−1)¹σ_2 = τ₁ − η₁ + (−1)¹ ⟹ −σ_2 = 1.233701 − 0.187546 − 1 = 0.046155 ⟹ σ_2 = −0.046155 vs known +0.046191?? Diff 3.6e-5!!! THERE'S the 3.7e-5 discrepancy again — in σ_2! So σ_2 = Σ 1/ρ²: the \"known\" 0.046191 vs (4.10)-implied −0.046155?! SIGN: σ_2 should be Σ 1/ρ² — is it positive? ρ = 1/2±iγ: 1/ρ² + 1/ρ̄² = 2Re(1/ρ²) = 2((1/4)−γ²)/|ρ|⁴ < 0 for γ > 1/2!!! Σ 1/ρ² is NEGATIVE: −0.046155-ish, NOT +0.046191!! D-036 P3's \"σ₂ = 0.046191\" is the WRONG SIGN (or it's defined as Σ|ρ|⁻² = +0.046...). And −0.046155 vs −0.046191: diff 3.6e-5 — hmm STILL a discrepancy. σ_2(true) = Σ 1/ρ²: first pair: 2(0.25−γ₁²)/|ρ|⁴ = 2(0.25−199.79)/(199.99)² = 2(−199.54)/39998 = −0.009977. Sum over all ≈ −0.046...? The exact known value: Σ 1/ρ² = 1 + γ² − γ·... there's a closed form: σ_2 = Σ_ρ 1/ρ² = γ² + 1 − ... hmm: from ξ: log ξ coefficients: σ_2 = (log ξ)'' ... known: Σ 1/ρ² = 1 + γ − log(4π) + γ²−... I recall Σ1/ρ = 1+γ/2−(1/2)log 4π = 0.0230957 ✓ and Σ1/ρ² = 1+γ−log(2π)+γ²... let me not. The point: (4.10) checks out at j=0 EXACTLY (σ_1 = 0.023096 ✓), and at j=1 it gives σ_2 = −0.046155 (consistent sign-negative expectation). The 3.6e-5 gap vs my memory of \"0.046191\" is my memory being wrong-sign and imprecise — the c₁ extraction (fit, maybe ±1e-7) could also contribute... whatever: **the Lagarias (4.10) relation is VERIFIED at j=0 exactly and the structure is confirmed.**\n\nSo the CORRECT exact identity (from (4.10), verified): τ_j = η_j + (−1)^j σ_{j+1} − (−1)^j δ. Sum against C(n,j):\nS_∞ = Σ_j C(n,j)τ_{j−1} = Σ_j C(n,j)c_{j−1} + Σ_j (−1)^{j−1}C(n,j)σ_j − Σ_j (−1)^{j−1}C(n,j)δ\n     = Res₁(n) + λ_n − 1  (using Σ(−1)^{j−1}C(n,j)σ_j = λ_n?? — λ_n = Σ_j (−1)^{j+1}C(n,j)σ_j: (−1)^{j−1} = (−1)^{j+1} ✓ same. And Σ_j (−1)^{j−1}C(n,j)·1 = −Σ(−1)^j C(n,j) = +1.)\n\nWait: Σ_{j=1}^n (−1)^{j−1}C(n,j) = −Σ(−1)^j C(n,j) = −(−1) = 1 (since Σ_{j=0}^n (−1)^j C(n,j) = 0 ⟹ Σ_{j=1} = −1). So Σ_j (−1)^{j−1}C(n,j)δ = δ·1 = 1. So:\n\n**S_∞(n) = Res₁(n) + λ_n − 1** ⟹ **λ_n = S_∞(n) + 1 − Res₁(n)** ⟹ **Sf = S_∞+1−λ_n = Res₁(n)**!!! \n\nSf = Res₁(n) EXACTLY. Check n=2: Res₁(2) = −0.966885, Sf(2) = −0.965924 (with λ_2(5096) = 0.091384 — tail 0.001!) — with TRUE λ_2: Sf(2) = S_∞(2)+1−λ_2 = Res₁(2) ⟹ λ_2 = S_∞(2)+1−Res₁(2) = −0.874539+0.966885 = 0.092346. And \"known\" λ_2 = 0.092383?? diff 3.7e-5 again. Hmm!! So either the known λ_2 is wrong at 4th decimal or Sf = Res₁ is off by 3.7e-5. The numeric evidence chain: (4.10) verified at j=0 EXACTLY (σ_1 = 0.0230957 matches the classical Σ1/ρ = 0.0230957 ✓ to all digits). So (4.10) is right. Then S_∞ = Res₁+λ_n−1 follows algebraically... UNLESS the σ_j ↔ λ_n relation has a convergence subtlety at j=1 (Σ 1/ρ is only conditionally convergent — the swap λ_n = Σ_j(−1)^{j+1}C(n,j)σ_j exchanges sum-over-zeros with finite-sum-over-j; for n ≥ 2 the σ_j (j ≥ 2) converge absolutely and σ_1 (j=1) is the conditionally-convergent one — the swap should be fine with paired summation).\n\nAnd the λ_2 \"known\" value: let me question it — from the zeros directly: my 4624-zero computation gave λ_2(5096) = 0.091384 with tail bound: tail(5096) for n=2: |Σ_{γ>5096} 2Re[1−(1−1/ρ)²]| = |Σ 2Re[2/ρ − 1/ρ²]|: Σ_{γ>T} 2/ρ paired = 4Σ σ/|ρ|² ≤ 4Σ 1/γ²·... ~ 4·log T/(2πT) = 4·8.537/(2π·5096) = 0.001065; and the 1/ρ² part smaller. So λ_2 = 0.091384 + (0..0.0011) = up to 0.0925 — BOTH 0.092346 and 0.092383 fit within! So the tail uncertainty is ±0.001 and I can't discriminate 0.092346 vs 0.092383 with 4624 zeros. Fine — the algebra (verified (4.10) at j=0 to 15 digits + exact finite algebra) says:\n\n**λ_n = S_∞(n) + 1 − Res₁(n), i.e. Sf(n) = Res₁(n) = Σ_{j=1}^n C(n,j)c_{j−1}** — the w=1 residue IS S_f. This is the beautiful, exact crux identity, and it's nothing but the binomial-transform assembly of Lagarias's (4.10) (itself the coefficient-wise Hadamard-product identity). And Sf = Res₁ makes TOTAL sense of everything: the residue at w=1 of k_n(w−1)(−ζ′/ζ) literally computes the finite part.\n\nTHEN the master bound becomes: Sf = Res₁(n) = sides_k(T) − λ_n(T) − triv(n) (from the residue theorem solved for Res₁):\n**|Sf(n)| ≤ |λ_n(T)| + |sides_k(T)| + |triv(n)|** — EXACTLY D-037's B(n) structure!!! 2N(T) [bridge on λ_n(T)] + sides pieces + 1. NO tail term needed (the tail never enters — the identity Res₁ = sides−λ_n(T)−triv is at finite T, exact, no tail anywhere!). That's why D-037's B(n) has no tail term!! The tail appeared only in MY detour through λ_n = λ_n(T)+tail — but with Sf = Res₁ (exact, T-independent), we use the residue theorem at the SINGLE height T to write Res₁ = sides(T) − λ_n(T) − triv, and bound. NO TAIL. \n\nLet me double-check numerically at n=2, T=√2+0.5: Res₁(2) = −0.966885; sides(T) − λ_2(T) − triv = −0.411330 − 0 − 0.555556 = −0.966885 ✓✓✓ EXACT (to the 2e-21 from before). And Sf(2) = Res₁(2) = −0.966885 — so the TRUE λ_2 = S_∞(2)+1−Sf(2) = −0.874539+0.966885 = 0.092346 — and the \"known λ_2 = 0.092383\" must be slightly off in my memory (or the Maślanka value has different rounding; E-015 has λ_2 to 100+ digits — check later; actually λ_2 = 0.09238303922 is from Keiper's table... hmm, E-015's λ_2 — the archive will settle it; NOTE: E-021 V1 verified λ_n = S_∞−S_f+1 vs E-015 to 4.8e-25 at n ≤ 3000 — with S_f computed EXACTLY there. If Sf = Res₁ exactly, then E-015's λ_2 should equal 0.092346... Let me quickly sanity-check against the BL formula: λ_2 = 2η₀ − η₁ + 1 − (log4π+γ) + (3/4)ζ(2) with η's = c's: 2(−0.577216) − 0.187546 + 1 − 3.108240 + 1.233701 = −1.154432 − 0.187546 + 1 − 3.108240 + 1.233701 = −0.216517?? That gives λ_2 = −0.2165 — NEGATIVE, nonsense. So BL's λ_n = [prime part] + 1 + S_∞-form has the prime part with a MINUS: λ_n = −Σ_j (−1)^{j−1}C(n,j)η_{j−1} + [archimedean] (per Theorem-2.txt: \"−Σ(−1)^{j−1}C(n,j)·η...\"): = −[2η₀−η₁] + 1 − (log4π+γ)·... wait I need to be careful: Theorem-2.txt's formula: λ_n = −Σ_{j=1}^n (−1)^{j−1}C(n,j)η_{j−1} + 1 − (log4π+γ)n/2 − Σ_{j=2}^n (−1)^{j−1}C(n,j)(1−2^{−j})ζ(j). At n=2: −[2η₀−η₁] + 1 − (log4π+γ) − [(−1)¹·1·(3/4)ζ(2)] = −[−1.341978] + 1 − 3.108240 + 1.233701 = 1.341978 + 1 − 3.108240 + 1.233701 = 0.467439?? True λ_2 ≈ 0.0923. NO. So Theorem-2.txt's transcription gives 0.467 — sign errors in the txt summary. The RELIABLE identities are the ones I verified numerically:\n- σ_1 = τ₀ − η₀ + 1: 0.023096 = −1.554120 + 0.577216 + 1 ✓ EXACT.\n- sides(T) = λ_n(T) + triv + Res₁ ✓ (2e-21).\n- Sf := S_∞+1−λ_n.\n- (4.10) ⟹ S_∞ = Res₁ + λ_n − 1 ⟹ Sf = Res₁.\n\nVerify Sf = Res₁ via σ_1-only... the j=0 check is the only fully independent numeric anchor; the rest is algebra. But the algebra is airtight given (4.10). And (4.10) at j=1 predicted σ_2 = −0.046155 — testable: Σ 1/ρ² from zeros: pair sums 2Re(1/ρ²) = 2(1/4−γ²)/|ρ|⁴: first pair γ=14.134: 2(0.25−199.77)/(199.77+0.25)² ≈ 2(−199.52)/40008 ≈ −0.009974. Total with 4624 zeros + tail: converges (absolutely!) — computable NOW to high precision. Let me run it as the final confirmation of (4.10) j=1 and hence the Sf = Res₁ identity.","signature":""},{"type":"text","text":"Major structural discovery — let me confirm it definitively. The algebra predicts Sf = Res₁ exactly (via Lagarias's (4.10)); testing with the absolutely-convergent σ₂:"},{"type":"tool_use","id":"Bash_50","name":"Bash","input":{"command":"cd /d/Python/Quantum && ./.venv/Scripts/python.exe -c \"\nimport mpmath as m\nimport numpy as np\nm.mp.dps = 40\ngam = np.load('research/numerics/data/E-021-zeros-cache.npy')\n# sigma_2 = sum 1/rho^2, absolutely convergent; pair rho, conj(rho)\ns2 = m.mpf(0)\nfor g in gam:\n    rho = m.mpc(m.mpf('0.5'), m.mpf(float(g)))\n    s2 += 2*(1/rho**2).real\nprint('sigma_2 (4624 zeros) =', m.nstr(s2, 15))\n# tail estimate: sum_{g>5096} 2|1/rho^2| ~ 2*log(5096)/(2*pi*5096)\nprint('tail bound ~', m.nstr(2*m.log(5096)/(2*m.pi*5096), 6))\n# (4.10) j=1: -sigma_2 = tau_1 - eta_1 - 1\ntau1 = m.mpf(3)/4*m.zeta(2)\neta1 = m.mpf('0.187546232840365225')\nprint('tau1 - eta1 - 1 =', m.nstr(tau1 - eta1 - 1, 15))\nprint('=> -sigma_2 should equal that; diff =', m.nstr(-s2 - (tau1-eta1-1), 8))\n\"","description":"Verify Lagarias (4.10) at j=1 via sigma_2","timeout":120000},"extra_content":null}]