← Session 21 — Tier ii′ planning + launch: close SfBoundProp in Lean (D-064)
thinking (28335 chars)
Now I have the exact definitions from Lagarias's paper:
**Lemma 4.2 (the decomposition)**: λ_n(π) = S_∞(n,π) − S_f(n,π∨) + δ(π), with S_∞(n,π∨) = Σ_{j=1}^n C(n,j) τ_{j−1}(π∨) and S_f(n,π∨) = Σ_{j=1}^n C(n,j) η_{j−1}(π∨).
**For π_triv (our case, GL(1), ζ)**:
- S_∞(n) = −Σ_{j=1}^n (−1)^{j+1} C(n,j) (1−2^{−j})ζ*(j) [eq (4.11)] — where ζ*(j) = ζ(j) for j ≥ 2, ζ*(1) = log(4π)+γ. NOTE: this matches D-037's S_∞ = Σ_j (−1)^j C(n,j)a_j with a₁ = (log 4π+γ)/2... wait — Lagarias has (1−1/2¹)ζ*(1) = (1/2)(log 4π + γ) = a₁ ✓ and signs: −Σ(−1)^{j+1} = Σ(−1)^j ✓ matches D-037's form exactly.
- **−ζ′/ζ(s+1) = 1/s + Σ_{j≥0} η_j s^j** [(4.12)] — so the η_j ARE the Laurent coefficients of −ζ′/ζ at s=1 (η_j = c_j in my notation)!! ✓
- **S_f(n) = Σ_{j=1}^n (−1)^{j−1} C(n,j) η_{j−1}** [(4.13)].
So S_f(n) = Σ_{j=1}^n (−1)^{j−1} C(n,j) c_{j−1} where c_k = Laurent coefficients of −ζ′/ζ at 1.
**THE KEY IDENTITY IS NOW VISIBLE.** Compare with the w=1 residue:
Res₁(n) = Σ_{j=1}^n C(n,j) c_{j−1} (residue of k_n(w−1)(−ζ′/ζ) at w=1).
S_f(n) = Σ_{j=1}^n (−1)^{j−1} C(n,j) c_{j−1}.
These differ by the (−1)^{j−1} signs — they're related by the substitution n → −n or by the involution... Note Σ_j C(n,j)(−1)^{j−1} c_{j−1} vs Σ_j C(n,j) c_{j−1}: the first is the binomial transform with alternating signs. The two are related via the FUNCTIONAL structure — hmm, actually no simple termwise relation. BUT: the contour for the residue can equally be run with the kernel evaluated differently: note k_n(w−1) = (w/(w−1))ⁿ − 1. There's a companion identity: consider the kernel k̃_n(s) = 1 − (1+1/s)^{−n} = 1 − (s/(s+1))ⁿ — hmm.
Actually the clean way: S_f(n) as defined by (4.13) is EXACTLY the residue of a slightly different integrand! Consider J̃(w) = [1 − (1 − 1/w)ⁿ]·(−ζ′/ζ(w))?? At zeros ρ: residue = [1−(1−1/ρ)ⁿ]·(−1) — the liCoeff summand directly!! And at w=1: [1−(1−1/w)ⁿ] = 1 − ((w−1)/w)ⁿ — vanishes at w=1 (no pole! it equals 1−(1−1/w)ⁿ which at w=1 is 1−0 = 1... wait (w−1)/w at w=1 is 0, so 1−0ⁿ = 1 — holomorphic near 1, value 1). Hmm so J̃ has the simple pole from −ζ′/ζ at w=1 with residue [1−(1−1/1)ⁿ]·(−(−1))... −ζ′/ζ residue at 1 is +1 (since ζ′/ζ ~ −1/(s−1)); so Res J̃|_{w=1} = [1−0ⁿ]·(+1) = 1. Interesting!
And at w=0: 1−(1−1/w)ⁿ has an essential... (1−1/w)ⁿ pole of order n at w=0; −ζ′/ζ(0) = −log(2π) finite; so J̃ has pole of order n at w=0 with residue = −[leading coeff]·... residue of [1−(1−1/w)ⁿ](−ζ′/ζ) at 0: 1−(1−1/w)ⁿ = 1 − Σ_{j=0}^n C(n,j)(−1/w)^j = −Σ_{j=1}^n C(n,j)(−1)^j w^{−j}. So J̃ = [−Σ_j C(n,j)(−w)^{−j}](−ζ′/ζ) and Res at 0 = −Σ_j C(n,j)(−1)^j c_{j−1} = Σ_j C(n,j)(−1)^{j−1} c_{j−1} = **S_f(n)**!!!
THERE IT IS. **S_f(n) is exactly the residue at w=0 of J̃(w) = [1−(1−1/w)ⁿ]·(−ζ′/ζ(w)).** That's the elegant kernel: the Lagarias kernel in the form "1−(1−1/w)ⁿ" puts the S_f-producing pole at ZERO and the zero-sum residues 1−(1−1/ρ)ⁿ at the zeros — the SAME form as the liCoeff summand! (D-036's kernel k_n(w−1) = (1+1/(w−1))ⁿ−1 = −[1−(w/(w−1))ⁿ] puts the pole at w=1 and gives the REFLECTED summand 1−(ρ/(ρ−1))ⁿ — equivalent under reindexing, but the J̃ form is cleaner: no reindexing needed!)
So the contour identity with J̃ on the same rectangle (σ₀ = −5/2, σ₁ = 2√n, ±T):
sides(T) = Σ_{|γ|<T} mult·[1−(1−1/ρ)ⁿ] + Res_{w=0} + Res_{w=1} + Res_{trivial zeros inside}
= λ_n(T) + S_f(n) + 1 + Σ_{trivial ρ_t inside} [1−(1−1/ρ_t)ⁿ]·(−1)
Wait sign at w=1: Res J̃ = value of [1−(1−1/w)ⁿ] at w=1 times Res(−ζ′/ζ) = 1·(+1)... let me redo: −ζ′/ζ(w) = 1/(w−1) + c_0 + ..., so Res(−ζ′/ζ, w=1) = 1. J̃ = [1−(1−1/w)ⁿ]·(−ζ′/ζ): the first factor at w=1 equals 1−(1−1)ⁿ = 1 (holomorphic). Res = 1·1 = 1 ✓.
At trivial zeros ρ_t = −2k inside: Res = [1−(1−1/ρ_t)ⁿ]·(−1) = (1−1/ρ_t)ⁿ − 1 = (1+1/(2k))ⁿ − 1. For ρ_t = −2: (3/2)ⁿ − 1.
So the identity: sides(T) = λ_n(T) + S_f(n) + 1 + [(3/2)ⁿ − 1] + [contributions of other trivial zeros inside — only −2 since −4 < −5/2].
⟹ **S_f(n) = sides(T) − λ_n(T) − (3/2)ⁿ**.
Check at n=1, T=2: S_f(1) = sides(2) − 0 − 3/2 = −0.577 ⟹ sides(2) = 0.9228. Can't verify by hand easily but the FORM is clean. And the bound: |S_f(n)| ≤ |λ_n(T)| + |sides(T)| + (3/2)ⁿ?? Hmm — (3/2)ⁿ is EXPONENTIAL — huge! That can't be right for the B(n) ~ √n log n accounting... unless the trivial-zero contribution is bounded differently. Hmm wait — (3/2)ⁿ IS huge. But D-037's B(n) has only "+1" for the trivial. So the D-036/D-037 kernel choice (k_n(w−1), pole at w=1) must handle the trivial zeros better: with k_n, the trivial-zero residue at −2 is 1−(2/3)ⁿ ≤ 1 ✓ small! And with J̃, it's (3/2)ⁿ−1 — huge. So D-036's kernel is the right one for the BOUND, and the J̃ form is the right one for the clean S_f identification. The relation between them: J̃(w) = −k_n(w̃−1) under w̃ = w/(w−1)-ish substitution... they're related by the involution s ↦ ... whatever — the point is the two kernels give two different exact identities:
Identity A (kernel k_n(w−1) = (1+1/(w−1))ⁿ−1, D-036's):
sides_k(T) = Σ_{|γ|<T} mult[1−(ρ/(ρ−1))ⁿ] + [1−(2/3)ⁿ] + Res₁(n) where Res₁(n) = Σ_j C(n,j)c_{j−1}.
Reindexing the zero sum (finite, ρ↦1−ρ preserves the set): = λ_n(T) + [1−(2/3)ⁿ] + Res₁(n).
Identity B (kernel 1−(1−1/w)ⁿ):
sides_j(T) = λ_n(T) + S_f(n) + 1 + [(3/2)ⁿ−1].
From A: λ_n(T) = sides_k − [1−(2/3)ⁿ] − Res₁.
Substitute into Sf = S_∞+1−λ_n = S_∞+1−λ_n(T)−tail:
Sf = S_∞+1+Res₁+[1−(2/3)ⁿ]−sides_k−tail.
Now the bracket: S_∞+1+Res₁(n)+[1−(2/3)ⁿ]. Using B: S_f = sides_j − λ_n(T) − (3/2)ⁿ. Equate with the A-form: S_∞+1+Res₁+1−(2/3)ⁿ−sides_k−tail = sides_j − λ_n(T) − (3/2)ⁿ. Using λ_n(T) = sides_k − 1 + (2/3)ⁿ − Res₁: RHS = sides_j − sides_k + 1 − (2/3)ⁿ + Res₁ − (3/2)ⁿ. LHS = S_∞+1+Res₁+1−(2/3)ⁿ−sides_k−tail. Cancel (1−(2/3)ⁿ+Res₁−sides_k) both sides: LHS−that = S_∞ − tail... wait: LHS = [S_∞+1+Res₁+1−(2/3)ⁿ−sides_k−tail], RHS = sides_j + 1 − (2/3)ⁿ + Res₁ − (3/2)ⁿ − sides_k. Equate: S_∞ + 1 − tail = sides_j − (3/2)ⁿ + ... hmm: S_∞ + 1 + Res₁ + 1 − (2/3)ⁿ − sides_k − tail = sides_j + 1 − (2/3)ⁿ + Res₁ − (3/2)ⁿ − sides_k ⟹ S_∞ + 1 − tail = sides_j − (3/2)ⁿ ⟹ sides_j = S_∞ + 1 − tail + (3/2)ⁿ. Consistency check between the two contour integrals — both are exact, fine, no new info. OK.
So the FINAL assembly for the bound (the D-036/D-037 route):
Sf = [S_∞(n) + 1 + Res₁(n) + 1 − (2/3)ⁿ] − sides_k(T) − tail(T).
And the numerical check: bracket(n) = S_∞+1+Res₁+1−(2/3)ⁿ: n=1: −1.554120+1−0.577216+1−0.666667 = −0.798003 (same as before, −0.798). Hmm STILL not zero. So |Sf| ≤ |bracket| + |sides| + |tail| with bracket = −0.798 at n=1... but D-037's B(n) doesn't have a bracket term — the pieces are 2N(T), sides, triv, I_I. UNLESS bracket(n) is identically zero... it's not (−0.798 at n=1). So something in my residue bookkeeping STILL has a sign/value error. Let me recheck Res₁ via identity B at n=1: sides_j(2) = S_∞(1) + 1 − tail(2) + (3/2) = −1.554120 + 1 − 0.023096 + 1.5 = 0.922784. And sides_k(2) = λ_1(2) + [1−2/3] + Res₁(1) = 0 + 1/3 + (−0.577216) = −0.243883. Both exact, fine.
Now Sf(1) via the A-assembly: bracket(1) − sides_k(2) − tail(2) = −0.798003 + 0.243883 − 0.023096 = −0.577216 ✓✓✓ = S_f(1) EXACTLY. So the identity Sf = bracket − sides_k − tail is EXACT and CORRECT — with bracket(1) = −0.798. So the bracket does NOT vanish, and D-037's B(n) must account for it. But B(n) has no explicit bracket term... so the bracket must be absorbed somewhere: maybe in "2N(T)"? No... OR maybe the bracket is bounded and absorbed into the "+1" constant? At n=1 bracket = −0.798. At n=2: S_∞(2)+1+Res₁(2)+1−(2/3)² = −1.874539+1−0.894071+1−0.444444 = −1.213054. At n=3: need c_2... growing slowly? bracket(n) ~ ? If bracket(n) is bounded (O(1) or O(log n)-ish), it absorbs into B(n)'s constants. Hmm, but actually — WAIT. I should double-check the sign of the sides term in the residue theorem: sides := (1/2πi)∮ J dw = Σ Res — with the convention RectangleIntegral' = (1/2πi)·RectangleIntegral and the boundary oriented COUNTERclockwise? The RectangleIntegral def (HIntegral bottom − HIntegral top + VIntegral right − VIntegral left) = counterclockwise ✓. So sides = Σ Res ✓.
Hmm, but hold on — maybe the intended reading of D-037's identity is different: maybe their "S_f(n)" on the LHS is literally our Sf, and their "Σ_{|γ|≤T}′[1−(ρ/(ρ−1))ⁿ]·(−1)" is MINUS the truncated reflected sum, "+(1/2πi)(I_I+...+I_IV)" is +sides, "+triv(−2)" is... Let me test D-037's identity numerically at n=1, T=2: RHS = −[0] + sides_k(2) + triv(−2). If triv(−2) = −(1−(2/3)¹) = −1/3: RHS = 0 + (−0.243883) − 0.333333 = −0.577216 = S_f(1) ✓✓✓!!! So D-037's exact identity is:
**Sf(n) = −λ_n(T) + sides_k(T) − [1−(2/3)ⁿ]** (with triv(−2) = −triv).
Check against my derivation: Sf = bracket − sides_k − tail = S_∞+1+Res₁+[1−(2/3)ⁿ] − sides_k − tail. And D-037's: Sf = −λ_n(T) + sides_k − [1−(2/3)ⁿ]. Equate: −λ_n(T) + sides_k − 1 + (2/3)ⁿ = S_∞+1+Res₁+1−(2/3)ⁿ−sides_k−tail ⟹ 2·sides_k = S_∞ + 2 + Res₁ + λ_n(T) − tail − 2(1−(2/3)ⁿ)... let me verify numerically at n=1: 2(−0.243883) =? −1.554120 + 2 − 0.577216 + 0 − 0.023096 − 2(0.333333) = −0.821098. LHS = −0.487766. −0.487766 ≠ −0.821098. CONTRADICTION. So D-037's identity (as I've interpreted it: −λ_n(T) + sides − triv) and my identity (bracket − sides − tail) DIFFER — but both reproduced S_f(1) = −0.577 at n=1?! Let me recheck D-037's at n=1: −λ_1(2) + sides_k(2) + triv(−2): −0 + (−0.243883) + triv(−2). For the sum to be −0.577216: triv(−2) = −0.333333 ✓. And my identity: bracket(1) − sides_k(2) − tail(2) = −0.798003 + 0.243883 − 0.023096 = −0.577216 ✓. Both work at n=1 because −λ_n(T) + sides − triv = 0 − 0.243883 − 0.333333 = −0.577216 and bracket − sides − tail = −0.577216 — these are the same number via DIFFERENT decompositions?? −0.243883 − 0.333333 = −0.577216; −0.798003 + 0.243883 − 0.023096 = −0.577216. Both true numerically. But they can't both be the right identity unless sides_k(2) simultaneously satisfies two equations — it's ONE number (−0.243883), and indeed: sides_k = λ_n(T) + triv + Res₁ (residue theorem A): 0 + 0.333333 + (−0.577216) = −0.243883 ✓ consistent. And Sf = S_∞+1−λ_n: −1.554120+1−0.023096 = −0.577216 ✓. All four relations are simultaneously consistent — of course they are; they're all exact. The two "identities" for Sf: (i) Sf = −λ_n(T) + sides_k − triv: −0 − 0.243883 − 0.333333 — is that equal to Sf? −0.577216 ✓ numerically. (ii) Sf = bracket − sides_k − tail = −0.577216 ✓. Are (i) and (ii) the same? (i)−(ii) = −λ_n(T)+sides_k−triv − bracket + sides_k + tail = 2·sides_k − λ_n(T) − triv − bracket + tail. With sides_k = λ_n(T)+triv+Res₁: = 2λ_n(T)+2triv+2Res₁ − λ_n(T) − triv − bracket + tail = λ_n(T) + triv + 2Res₁ − bracket + tail. Numerically: 0 + 0.333333 + 2(−0.577216) − (−0.798003) + 0.023096 = 0.333333 − 1.154432 + 0.798003 + 0.023096 = 0.0. ✓ ZERO — because bracket = S_∞+1+Res₁+triv and the combination λ_n(T)+2triv+2Res₁−S_∞−1−Res₁−triv+tail = λ_n(T)+tail + triv+Res₁−S_∞−1 = λ_n + triv + Res₁ − S_∞ − 1 = (λ_n − S_∞ − 1) + triv + Res₁ = −Sf + triv + Res₁... at n=1: 0.577216 + 0.333333 − 0.577216 = 0.333333 ≠ 0?!? But I just computed 0 above. I keep making arithmetic slips — ENOUGH.
The bottom line for the DESIGN is solid regardless of my hand-arithmetic noise:
1. There IS an exact identity (verified numerically at n=1 to all digits I can compute): **Sf(n) = −λ_n(T) + sides_k(T) − [1−(2/3)ⁿ]** — this is D-037's line-63 identity, and it matches S_f(1) = −γ exactly.
2. It follows from residue theorem A + the relation S_∞+1+Res₁+triv... — i.e., the W=1 RESIDUE IDENTIFICATION: the exact statement connecting Res₁(n), S_∞(n), λ_n(T), tail, and sides. Since sides appears on both... hmm no. Let me redo this cleanly ONE more time, carefully, because the skeleton needs the precise list of exact identities.
Residue theorem (exact): sides_k(T) = λ̃_n(T) + triv + Res₁(n), where λ̃_n(T) = Σ_{|γ|<T} mult·[1−(ρ/(ρ−1))ⁿ] (reflected-form truncated sum).
Reindexing (exact, finite sum): λ̃_n(T) = λ_n(T) (termwise via ρ ↦ 1−ρ on the reflect-invariant finite set, mult-preserving).
Definition (exact): Sf = S_∞ + 1 − λ_n = S_∞ + 1 − λ_n(T) − tail(T).
From the residue theorem: λ_n(T) = sides_k − triv − Res₁. Substitute:
Sf = S_∞ + 1 − sides_k + triv + Res₁ − tail. [MASTER]
D-037's identity claims: Sf = −λ_n(T) + sides_k − triv. [D037]
Are [MASTER] and [D037] equivalent? [MASTER] − [D037]: S_∞ + 1 + triv + Res₁ − tail − (−λ_n(T) + sides_k − triv) = S_∞ + 1 + 2triv + Res₁ − tail + λ_n(T) − sides_k. With sides_k = λ_n(T)+triv+Res₁: = S_∞ + 1 + 2triv + Res₁ − tail + λ_n(T) − λ_n(T) − triv − Res₁ = S_∞ + 1 + triv − tail. So [MASTER]−[D037] = S_∞ + 1 + triv − tail. Numerically at n=1: −1.554120 + 1 + 0.333333 − 0.023096 = −0.243883 ≠ 0. So they're NOT both right — yet both gave −0.577216 at n=1?!? [MASTER] at n=1: −0.798003 − (−0.243883) − 0.023096 = −0.798003+0.243883−0.023096 = −0.577216 ✓. [D037] at n=1: 0 + (−0.243883) − 0.333333 = −0.577216 ✓. Both equal −0.577216 but their difference is −0.243883?? IMPOSSIBLE — unless the difference is 0. Let me recompute the difference numerically: [MASTER]−[D037] = S_∞+1+triv−tail = −1.554120+1+0.333333−0.023096 = −0.243883. But [MASTER] = [D037] = −0.577216 ⟹ difference = 0. CONTRADICTION — so I must have miscomputed one of the sides. [MASTER]: Sf = S_∞+1−sides_k+triv+Res₁−tail = −1.554120+1−(−0.243883)+0.333333+(−0.577216)−0.023096 = −1.554120+1+0.243883+0.333333−0.577216−0.023096 = let me add step by step: −1.554120+1 = −0.554120; +0.243883 = −0.310237; +0.333333 = 0.023096; −0.577216 = −0.554120; −0.023096 = −0.577216 ✓. [D037]: −λ_n(T)+sides_k−triv = 0 + (−0.243883) − 0.333333 = −0.577216 ✓. Difference: [MASTER]−[D037] = −0.577216 − (−0.577216) = 0 ✓✓. And my "difference formula" gave −0.243883 — so the difference formula is wrong, meaning my substitution had an error: [MASTER] = S_∞+1−sides_k+triv+Res₁−tail; [D037] = −λ_n(T)+sides_k−triv. [MASTER]−[D037] = S_∞+1+2triv+Res₁−tail+λ_n(T)−2·sides_k. Substituting sides_k = λ_n(T)+triv+Res₁: −2·sides_k = −2λ_n(T)−2triv−2Res₁. Total: S_∞+1+2triv+Res₁−tail+λ_n(T)−2λ_n(T)−2triv−2Res₁ = S_∞+1−Res₁−tail−λ_n(T) = S_∞+1−Res₁−λ_n = −Sf + (2 − 2Res₁... no: S_∞+1−λ_n = Sf so S_∞+1−Res₁−λ_n = Sf − Res₁. So [MASTER]−[D037] = Sf − Res₁(!!). At n=1: −0.577216 − (−0.577216) = 0 ✓ because S_f(1) = Res₁(1) (the coincidence I found earlier!). So [MASTER] and [D037] differ by Sf − Res₁, which vanishes at n=1 by coincidence (S_f(1) = c_0 = −γ since S_f(1) = η_0·C(1,1)·(−1)⁰ = η_0 = c_0 ✓ and Res₁(1) = c_0 ✓ — not a coincidence: at n=1 both sums have one term). At n=2: S_f(2) = −0.966922, Res₁(2) = −0.894071, difference −0.072851 ≠ 0 — so [MASTER] and [D037] CANNOT both be exact identities. [MASTER] is derived from the residue theorem + definitions only — it MUST be right. So D-037's line-63 identity is WRONG (or my reading of its signs is wrong). This is exactly the kind of thing D-064 must flag: **D-037's stated identity has a sign/transcription issue; the correct exact identity is [MASTER]: Sf = S_∞+1+Res₁+triv−sides−tail, with the w=1 residue identification Res₁(n) = Σ_j C(n,j)c_{j−1} remaining as the quantity to be related to S_f's prime-side definition.**
Hmm wait — but then how does the BOUND work? |Sf| ≤ |S_∞+1+Res₁+triv| + |sides| + |tail|. The bracket S_∞+1+Res₁+triv: at n=1: −0.798; n=2: −1.213. For B(n) ~ √n log n to bound |Sf|, we need |bracket| ≤ something in B(n). What IS bracket(n) asymptotically?? Let me compute bracket via the prime side: Sf(n) = Σ_j (−1)^{j−1}C(n,j)c_{j−1} (Lagarias 4.13, with η = c) and Res₁(n) = Σ_j C(n,j)c_{j−1}: bracket = S_∞+1+triv + Σ_j C(n,j)c_{j−1}. Using Sf = Σ_j(−1)^{j−1}C(n,j)c_{j−1} and the MASTER: bracket = Sf + sides + tail. Circular. The QUESTION is just: how big is bracket(n) = S_∞(n)+1+triv(n)+Res₁(n)?
From [MASTER]: bracket = Sf + sides + tail. At the chosen T ~ √n: |sides| ≤ B(n)-sides-pieces ~ √n log n-ish (the I_III term dominates: 4T[(2/3)C₀+A log+B₀] ~ 4√n·(0.29 log n + 5.25·0.5 log n + 48)·... ~ big√n log n), |tail| ~ √n log n-ish, |Sf| ≤ 13-ish (small). So bracket ~ √n log n too — the bracket is NOT small!! So bounding |Sf| via [MASTER] directly: |Sf| ≤ |bracket| + |sides| + |tail| would need a bound on |bracket| — and bracket = S_∞+1+Res₁+triv involves the archimedean sum S_∞ (~½n log n) and Res₁ (~−½n log n presumably) canceling to O(√n log n). PROVING that cancellation is EXACTLY the w=1 identification problem — it's the same difficulty as before, just relocated. There's no free lunch: the exact relation Res₁(n) = −S_∞(n) − 1 − triv(n) + [Sf + sides + tail](n) is circular; the INDEPENDENT identification needed is:
**Res₁(n) = −S_∞(n) − 1 − triv(n) + S_f(n)** where S_f(n) = Σ_j (−1)^{j−1}C(n,j)c_{j−1} (Lagarias 4.13) — i.e.,
Σ_j C(n,j)c_{j−1} = −S_∞(n) − 1 − triv(n) + Σ_j (−1)^{j−1}C(n,j)c_{j−1}
⟹ **S_∞(n) + 1 + triv(n) = Σ_j C(n,j)c_{j−1}·[(−1)^{j−1} − 1] = −2·Σ_{j even} C(n,j)c_{j−1}**?
Hmm interesting: Σ_j C(n,j)c_{j−1}[(−1)^{j−1}−1] = −2Σ_{j even ≥2} C(n,j)c_{j−1}. So the identification is: S_∞(n) + 1 + triv(n) = −2Σ_{j even} C(n,j)c_{j−1}?? At n=1: RHS = 0 (no even j ≤ 1). LHS = −1.554120+1+0.333333 = −0.220787 ≠ 0. FAIL. Hmm! But wait — S_f(n) = Σ_j (−1)^{j−1}C(n,j)c_{j−1} — let me verify at n=1: S_f(1) = c_0 = −γ ✓ (matches!). At n=2: 2c_0 − c_1 = −1.154432 − 0.260361 = −1.414793 vs true S_f(2) = −0.966922. FAIL!! So Lagarias's (4.13) with η = Laurent-coeffs-of-−ζ′/ζ does NOT reproduce S_f(2) = S_∞(2)+1−λ_2?! Let me recompute S_f(2): S_∞(2)+1−λ_2. S_∞(2) = −Σ_{j=1}^2 (−1)^{j+1}C(2,j)(1−2^{−j})ζ*(j) = −[(−1)²·2·(1/2)(log4π+γ) + (−1)³·1·(3/4)ζ(2)] = −[2a₁ − (3/4)ζ(2)] = −2a₁ + (3/4)ζ(2)·... wait: −[1·2·a₁·(−1)^{2}...] careful: j=1: (−1)^{j+1} = (−1)² = 1: term = C(2,1)·(1−1/2)·ζ*(1) = 2·(1/2)(log4π+γ) = a₁·2 = 3.108240. j=2: (−1)³ = −1: term = −C(2,2)(3/4)ζ(2) = −1.233701. Sum = 3.108240 − 1.233701 = 1.874539. S_∞(2) = −[that] = −1.874539 ✓ matches my earlier. S_f(2) = S_∞(2) + 1 − λ_2 = −1.874539 + 1 − 0.092383 = −0.966922. Lagarias (4.13): S_f(2) = Σ_{j=1}^2 (−1)^{j−1}C(2,j)η_{j−1} = 2η_0 − η_1. If this must equal −0.966922: with η_0 = c_0 = −0.577216: η_1 = 2η_0 + 0.966922 = −1.154432 + 0.966922 = −0.187510. And c_1 = 0.260361. So η_1 ≠ c_1!! η_1 = −0.1875 vs c_1 = 0.2604. So Lagarias's η_j (4.12) — "−ζ′/ζ(s+1) = 1/s + Σ η_j s^j" — should give η_1 = c_1 = 0.260361 by definition!! Unless Lagarias's η has different signs: (4.12) says −ζ′/ζ(s+1) = 1/s + Σ_{j≥0} η_j s^j — that IS c_j. η_1 = c_1 = γ₁+γ² = 0.260361. But then S_f(2) = 2η_0−η_1 = −1.414793 ≠ −0.966922 = S_∞(2)+1−λ_2. So either λ_2 ≠ S_∞−S_f+1 with these S's, or λ_2's value... λ_2 = 0.092383 — let me double check: λ_2 = Σ[1−(1−1/ρ)²]. Known values: λ_1 = 0.0230957, λ_2 = 0.09238... hmm — hmm, actually let me double-check λ_2: some sources: λ_2 ≈ 0.09238303922. Yes. And S_∞(2) − S_f(2) + 1 should = λ_2: −1.874539 − (−0.966922) + 1 = 0.092383 ✓. So Lagarias's Lemma 4.2 with (4.13) gives S_f(2) = −1.414793, but consistency needs −0.966922. UNLESS Lagarias's λ_n has a different normalization (e.g. λ_n^Lagarias = Σ over Z(π) with multiplicity... or the π_triv δ terms). (4.6): λ_n(π) = S_∞(n,π) − S_f(n,π∨) + δ(π) with δ(π_triv) = 1. And (4.13) is S_f(n,π_triv). λ_2^Lagr = S_∞(2) − S_f(2) + 1 = −1.874539 + 1.414793 + 1 = 0.540254. But true λ_2 = 0.092383. So Lagarias's own formula gives 0.540?!? Unless Lagarias's λ_n(π_triv) ≠ standard λ_n... OR the η_j are NOT c_j. Hold on — maybe I mis-assigned c_1. Let me recompute c_1 NUMERICALLY: −ζ′/ζ(s) near s=1: ζ′/ζ(1.001) ≈ −1000-ish + ...: −ζ′/ζ(1+u) = 1/u − γ + c_1 u + ...: at u = 0.001: 1000 − 0.577216 + c_1·0.001. Actual −ζ′/ζ(1.001): ζ′/ζ(1.001) ≈ −1/0.001 + γ − (γ₁+γ²)... sign: ζ′/ζ(1+u) = −1/u + γ − (γ₁+γ²)u: at u=0.001: −1000 + 0.577216 − 0.000260 = −999.423. −ζ′/ζ = 999.423 = 1/u − γ + (γ₁+γ²)u = 1000 − 0.577216 + 0.000260 = 999.423 ✓. So c_1 = γ₁ + γ² = 0.260361 ✓.
So Lagarias's (4.6)+(4.13) appears to give λ_2 = 0.540 ≠ 0.0924 — meaning I'm misreading something in (4.6): "λ_n(π) = S_∞(n,π) − S_f(n,π∨) + δ(π)" — with S_f(n, π∨) on the RIGHT but defined by (4.13) as S_f(n, π_triv)... π_triv∨ = π_triv ✓ same. Hmm, and S_∞(n, π∨) vs S_∞(n,π): remark says S_∞(n,π) = S_∞(n,π∨) ✓. So λ_2 = S_∞(2) − S_f(2) + 1 with S_f(2) = 2η_0 − η_1 = 2(−0.577216) − 0.260361 = −1.414793: λ_2 = −1.874539 + 1.414793 + 1 = 0.540254. The true λ_2 (zero side) = 0.092383. These disagree — so the η_j in (4.12)-(4.13) can NOT be the plain Laurent coefficients of −ζ′/ζ at 1, OR the trivial-zero part of S_∞'s (4.11) has different content than I think. Let me recompute S_∞(2) from (4.11): S_∞(n,π_triv) = −Σ_{j=1}^n (−1)^{j+1}C(n,j)(1−2^{−j})ζ*(j). j=1: (−1)²=1: C(2,1)(1/2)ζ*(1) = 2·(1/2)(log4π+γ) = log4π+γ = 3.108240. j=2: (−1)³=−1: −C(2,2)(3/4)ζ(2) = −1.233701. Sum = 1.874539. S_∞ = −1.874539 ✓. Hmm so S_∞ matches D-037's (they're consistent). Then λ_2 = S_∞ − S_f + 1 needs S_f(2) = −0.966922. So Lagarias's (4.13) MUST evaluate to −0.966922, requiring η_1 = −0.187510 — NOT c_1. So (4.12)'s "η_j" are NOT the Laurent coefficients of −ζ′/ζ as printed?? OR (4.12) is −ζ′/ζ(s+1) = 1/s + Σ η_j s^j with η_1 = −0.1875?? Direct numeric check: −ζ′/ζ(1.001) ≈ 999.423; 1/s + η_0 + η_1 s at s=0.001: 1000 − 0.577216 + η_1·0.001: if η_1 = −0.1875: 999.422596; if η_1 = 0.260361: 999.423476... let me get −ζ′/ζ(1.001) precisely: ζ(1.001) ≈ 1000.577...: ζ(1+u) = 1/u + γ − γ₁u + ... = 1000 + 0.577216 + 0.0000728 = 1000.577289. ζ′(1+u) = −1/u² − γ₁ + ... = −10⁶ + 0.072816 = −999999.927. ζ′/ζ = −999999.927/1000.577289 = −999.42298...: compute: 999999.927/1000.577289 ≈ 999.422984. So −ζ′/ζ(1.001) ≈ 999.422984. Model with c_1: 1000 − 0.577216 + c_1·0.001 = 999.422784 + c_1·0.001. 999.422984 − 999.422784 = 0.000200 ⟹ c_1 ≈ 0.200?? Hmm that's neither 0.260361 nor −0.1875. My approximations are too crude (higher-order terms c_2 u² ~ 10⁻⁶·c_2 contribute at this scale). Ugh — 0.0002 discrepancy could be c_2·10⁻⁶ with c_2 ~ 200?? No, c_2 is O(1)-ish. Let me not do this by hand — precision is insufficient.
DECISION: this hand-verification has hit its limit; the exact identity web will be settled in D-064 with mpmath (we have E-021's exact S_∞/λ_n machinery at dps 1000+ — trivial to verify any candidate identity to 50 digits). The DESIGN doesn't depend on which sign convention is right: the structure is clear — (i) exact residue theorem, (ii) exact finite reindexing, (iii) the w=1 residue Res₁(n) = Σ_j C(n,j)c_{j−1} with c's defined AS Laurent coefficients (no identification needed with prime sums if we take Lagarias's (4.13) as the DEFINITION of S_f... but wait — our Sf is DEFINED as S_∞+1−λ_n, so the BL identity Sf = Σ_j (−1)^{j−1}C(n,j)c_{j−1} is CONTENT (BL Thm 2), not definition).
Hmm OK. So what IS the minimal exact-identity chain for SfBoundProp? Let me lay it out:
GOAL: |S_∞(n) + 1 − λ_n| ≤ B(n).
Chain:
1. λ_n = λ_n(T) + tail(T) [definition + convergence; L7].
2. λ_n(T) = sides_k(T) − triv(n) − Res₁(n) [residue theorem; L0].
3. So Sf = S_∞(n) + 1 + triv(n) + Res₁(n) − sides_k(T) − tail(T).
4. Bound each: |sides_k| ≤ [side pieces from D-036/D-037 §4]; |tail| ≤ [tail bound]; |S_∞+1+triv+Res₁| ≤ [???].
For step 4's bracket: what is it EXACTLY? bracket = S_∞+1+triv+Res₁ = Sf + sides + tail (from 3). So bounding |bracket| requires knowing Sf already — circular. INSTEAD, the right decomposition must put λ_n(T) with a PLUS on the other side... Let me look at D-037's identity once more, in the form that's actually useful for the bound:
D-037: |S_f| ≤ 2N(T) + 4C₀ + sides-pieces + 1. The "2N(T) + 4C₀" bounds |λ_n(T)| (via RH bridge) — so the identity used must be:
Sf = −λ_n(T) + [everything else], with [everything else] = sides-pieces + small constants. From [MASTER]: Sf = S_∞+1+triv+Res₁−sides−tail — for this to read "−λ_n(T) + sides + small", we'd need S_∞+1+triv+Res₁ = λ_n(T) + 2·sides... no. We need bracket ≈ 0. bracket(n) at n=1 is −0.798, n=2: −1.213. NOT small... but wait, maybe I mis-derived [MASTER]'s signs. Let me redo very carefully:
sides_k(T) = Σ Res inside = λ̃_n(T) + triv + Res₁ where λ̃_n(T) = Σ_{|γ|<T}mult[1−(ρ/(ρ−1))ⁿ], triv = Res at −2 = 1−(2/3)ⁿ, Res₁ = residue at 1.
λ̃_n(T) = λ_n(T) (finite reindexing). So λ_n(T) = sides_k − triv − Res₁. ✓
Sf := S_∞ + 1 − λ_n. λ_n = λ_n(T) + tail.
Sf = S_∞ + 1 − λ_n(T) − tail = S_∞ + 1 − (sides_k − triv − Res₁) − tail = S_∞ + 1 − sides_k + triv + Res₁ − tail. ✓ [MASTER]
Hmm so bracket = S_∞+1+triv+Res₁. Now evaluate bracket using the ARCHIMEDEAN identity for Res₁. The crucial classical fact (Lagarias (4.10)): (−1)^j σ_{j+1}(π) = τ_j(π∨) − η_j(π∨) + (−1)^j δ(π∨) — relating power sums of zeros σ_n to τ (archimedean) and η (finite). And (2.18) is presumably λ_n = Σ_j C(n,j)(−1)^{j+1}σ_{j+1}·... The point: Res₁(n) = Σ_j C(n,j)c_{j−1} where c_j = η_j. And S_f = Σ_j (−1)^{j−1}C(n,j)η_{j−1}. And S_∞ = Σ_j C(n,j)τ_{j−1}·(−1)...
So: Res₁(n) = Σ_j C(n,j)η_{j−1}; S_f(n) = Σ_j (−1)^{j−1}C(n,j)η_{j−1}; S_∞(n) = −Σ_j (−1)^{j+1}C(n,j)τ*_{j−1} with τ* the ζ*/digamma-side.
The combination in bracket: S_∞ + Res₁ + 1 + triv = Σ_j C(n,j)[−(−1)^{j+1}τ*_{j−1} + η_{j−1}] + 1 + triv. Using (4.10): τ_j − η_j = (−1)^j σ_{j+1} − (−1)^j δ... = (−1)^j(σ_{j+1} − 1) for π_triv (δ=1). Hmm: (−1)^j σ_{j+1} = τ_j − η_j + (−1)^j ⟹ τ_j = η_j + (−1)^j σ_{j+1} − (−1)^j = η_j + (−1)^j(σ_{j+1} − 1).
This is the power-sum/zero-side relation: σ_{j+1} = Σ_ρ 1/ρ^{j+1} (paired power sums). So Res₁ = Σ_j C(n,j)η_{j−1} = Σ_j C(n,j)[τ_{j−1} − (−1)^{j−1}(σ_j − 1)] = Σ_j C(n,j)τ_{j−1} + Σ_j (−1)^j C(n,j)(σ_j−1).
And Σ_j C(n,j)(σ_j − 1)(−1)^j = Σ_j (−1)^j C(n,j)σ_j − Σ_j (−1)^j C(n,j) = Σ_j (−1)^j C(n,j)σ_j + 1 (since Σ_{j=1}^n (−1)^j C(n,j) = −1).
And λ_n = Σ_ρ[1−(1−1/ρ)ⁿ] = Σ_ρ Σ_j (−1)^{j+1}C(n,j)(−1/ρ)^j·... 1−(1−1/ρ)ⁿ = −Σ_{j=1}^n C(n,j)(−1/ρ)^j = Σ_j (−1)^{j+1}C(n,j)ρ^{−j}·... (−1/ρ)^j = (−1)^j ρ^{−j}: 1−(1−1/ρ)ⁿ = −Σ_j C(n,j)(−1)^j ρ^{−j} = Σ_j (−1)^{j+1}C(n,j)ρ^{−j}. So λ_n = Σ_j (−1)^{j+1}C(n,j)σ_j (with σ_j = Σ_ρ ρ^{−j} — needs care for j=1 convergence but paired OK). So Σ_j (−1)^j C(n,j)σ_j = −λ_n.
So Res₁ = Σ_j C(n,j)τ_{j−1} + (−λ_n) + 1 = [τ-sum] − λ_n + 1.
And S_∞ = −Σ_j (−1)^{j+1}C(n,j)τ*_{j−1} = Σ_j (−1)^j C(n,j)τ*_{j−1}. Hmm — but the τ* in S_∞'s (4.11) form: S_∞ = −Σ_j (−1)^{j+1}C(n,j)(1−2^{−j})ζ*(j) — vs the τ-form S_∞ = Σ_j C(n,j)τ_{j−1} (4.7: S_∞(n,π∨) = Σ_j C(n,j)τ_{j−1}(π∨) — NO alternating signs!). And (4.11) says S_∞(n,π_triv) = −Σ_j (−1)^{j+1}C(n,j)(1−2^{−j})ζ*(j) — WITH signs. So Σ_j C(n,j)τ_{j−1} = −Σ_j (−1)^{j+1}C(n,j)a_j: i.e., τ_{j−1} = −(−1)^{j+1}a_j = (−1)^j a_j. So τ-sum Σ_j C(n,j)τ_{j−1} = S_∞ ✓ (consistent — S_∞ = τ-sum).
Then: Res₁ = S_∞ − λ_n + 1. SO: bracket = S_∞ + 1 + triv + Res₁ = S_∞ + 1 + triv + S_∞ − λ_n + 1 = 2S_∞ + 2 + triv − λ_n?!? At n=1: 2(−1.554120)+2+0.333333−0.023096 = −3.108240+2+0.333333−0.023096 = −0.798003 ✓✓ MATCHES bracket(1)!
So Res₁(n) = S_∞(n) − λ_n + 1 = Sf(n) + triv... wait: S_∞ − λ_n + 1 = Sf + ... Sf = S_∞+1−λ_n: so **Res₁(n) = Sf(n)**??? At n=1: Res₁ = −0.577216 = S_f(1) ✓✓!! At n=2: Res₁(2) = −0.894071 vs S_f(2) = −0.966922 — DIFFER (−0.072851)!! But my derivation just said Res₁ = S_∞ − λ_n + 1 = Sf. Contradiction with n=2?! Let me recheck the derivation: Res₁ = Σ_j C(n,j)η_{j−1}; η_{j−1} = τ_{j−1} − (−1)^{j−1}(σ_j−1) [from (4.10) rearranged: τ_j − η_j = (−1)^j(σ_{j+1}−1) ⟹ η_j = τ_j − (−1)^j(σ_{j+1}−1)]. Res₁ = Σ_j C(n,j)[τ_{j−1} − (−1)^{j−1}(σ_j − 1)] = S_∞ − Σ_j (−1)^{j−1}C(n,j)(σ_j−1) = S_∞ + Σ_j (−1)^j C(n,j)σ_j − Σ_j (−1)^j C(n,j) = S_∞ + (−λ_n) − (−1) = S_∞ − λ_n + 1 ✓. So Res₁ = S_∞ − λ_n + 1 = Sf EXACTLY?? But numerically at n=2 they differ by 0.0728... — UNLESS my numeric Res₁(2) is wrong: Res₁(2) = 2c_0 + c_1 with c_j = η_j... is c_1 = η_1? If η_1 = −0.187510 (as required for S_f(2)): Res₁(2) = 2η_0 + η_1 = −1.154432 − 0.187510 = −1.341942?? Then Res₁ ≠ −0.894071. I previously computed Res₁(2) = 2c_0 + c_1 with c_1 = γ₁+γ² = 0.260361 — but if the actual Laurent coefficient of −ζ′/ζ at 1 is c_1 = η_1 = −0.187510, then my c_1 was WRONG. Which is it?! Direct numeric: −ζ′/ζ(1.001) ≈ 999.422984 (computed above). Model: 1/u + c_0 + c_1 u = 1000 − 0.577216 + c_1·0.001. 999.422984 = 999.422784 + c_1·0.001 ⟹ c_1 = 0.200. Hmm — neither. My numeric is too imprecise (c_2 u² terms: c_2·10⁻⁶ shifts by ~0.000001·c_2 — negligible unless c_2 ~ 200). So c_1 ≈ 0.2?? Conflicting with both candidates (0.260361, −0.187510). My hand numerics are too sloppy at the 10⁻⁴ level. Let me just compute properly with mpmath — 30 seconds of work — instead of spiraling.
The identity web needs precise numerical settling, not hand arithmetic. Let me compute the Laurent coefficients and all candidate identity components exactly with the project venv.
tool: Bash
input
{
"command": "cd /d/Python/Quantum && ./.venv/Scripts/python.exe -c \"\nimport mpmath\nmpmath.mp.mp.dps = 50\nz = mpmath.zeta\n# Laurent coefficients of -zeta'/zeta at s=1: -z'/z(1+u) = 1/u + c0 + c1 u + c2 u^2 + ...\ndef negld(u):\n return -mpmath.diff(z, 1+u)/z(1+u)\n# extract c0..c3 by fitting at geometric points (Richardson-ish)\nus = [mpmath.mpf(10)**(-k) for k in [2,3,4,5]]\n# series: negld(u) - 1/u = c0 + c1 u + c2 u^2 + c3 u^3\nimport mpmath as m\ndef A(u): return negld(u) - 1/u\n# extrapolate A(u) to u->0 via polynomial fit on 4 points\ncs = []\nvals = [(u, A(u)) for u in us]\n# fit c0 + c1 u + c2 u^2 + c3 u^3\nM = m.matrix([[u**j for j in range(4)] for u,_ in vals])\nb = m.matrix([v for _,v in vals])\nsol = m.lu_solve(M, b)\nc0,c1,c2,c3 = [sol[i] for i in range(4)]\nprint('c0 =', m.nstr(c0,30))\nprint('c1 =', m.nstr(c1,30))\nprint('c2 =', m.nstr(c2,20))\ngamma = m.euler\ng1 = m.stieltjes(1)\nprint('euler =', m.nstr(gamma,20), ' stieltjes1 =', m.nstr(g1,20))\nprint('candidate c1 = g1 + gamma^2 =', m.nstr(g1 + gamma**2,20))\nprint('candidate c1 = -(g1 + gamma^2) =', m.nstr(-(g1 + gamma**2),20))\n# S_f via archimedean: S_inf(n) + 1 - lambda_n needs lambda_n; use known small-n lambda\n# lambda_1, lambda_2 from zero side is costly; instead check BL identity consistency:\n# S_inf(n) for n=1,2\na1 = (m.log(4*m.pi)+gamma)/2\ndef Sinf(n):\n tot = (1-a1)*n - 1\n s = m.mpf(0)\n for mm in range(3, 20001, 2):\n s += (1-1/m)**n - 1 + n/m\n # tail ~ C(n,2)/2 * sum_{m>20000 odd} 1/m^2 ~ C(n,2)/(4*10000)\n return tot + s\nfor n in [1,2]:\n print('Sinf(%d) ='%n, m.nstr(Sinf(n),20))\n\"\n",
"description": "Compute Laurent coefficients of -zeta'/zeta at 1 numerically",
"timeout": 180000
}
raw content_json (database row)
[{"type":"thinking","thinking":"Now I have the exact definitions from Lagarias's paper:\n\n**Lemma 4.2 (the decomposition)**: λ_n(π) = S_∞(n,π) − S_f(n,π∨) + δ(π), with S_∞(n,π∨) = Σ_{j=1}^n C(n,j) τ_{j−1}(π∨) and S_f(n,π∨) = Σ_{j=1}^n C(n,j) η_{j−1}(π∨).\n\n**For π_triv (our case, GL(1), ζ)**:\n- S_∞(n) = −Σ_{j=1}^n (−1)^{j+1} C(n,j) (1−2^{−j})ζ*(j) [eq (4.11)] — where ζ*(j) = ζ(j) for j ≥ 2, ζ*(1) = log(4π)+γ. NOTE: this matches D-037's S_∞ = Σ_j (−1)^j C(n,j)a_j with a₁ = (log 4π+γ)/2... wait — Lagarias has (1−1/2¹)ζ*(1) = (1/2)(log 4π + γ) = a₁ ✓ and signs: −Σ(−1)^{j+1} = Σ(−1)^j ✓ matches D-037's form exactly.\n- **−ζ′/ζ(s+1) = 1/s + Σ_{j≥0} η_j s^j** [(4.12)] — so the η_j ARE the Laurent coefficients of −ζ′/ζ at s=1 (η_j = c_j in my notation)!! ✓\n- **S_f(n) = Σ_{j=1}^n (−1)^{j−1} C(n,j) η_{j−1}** [(4.13)].\n\nSo S_f(n) = Σ_{j=1}^n (−1)^{j−1} C(n,j) c_{j−1} where c_k = Laurent coefficients of −ζ′/ζ at 1.\n\n**THE KEY IDENTITY IS NOW VISIBLE.** Compare with the w=1 residue:\nRes₁(n) = Σ_{j=1}^n C(n,j) c_{j−1} (residue of k_n(w−1)(−ζ′/ζ) at w=1).\n\nS_f(n) = Σ_{j=1}^n (−1)^{j−1} C(n,j) c_{j−1}.\n\nThese differ by the (−1)^{j−1} signs — they're related by the substitution n → −n or by the involution... Note Σ_j C(n,j)(−1)^{j−1} c_{j−1} vs Σ_j C(n,j) c_{j−1}: the first is the binomial transform with alternating signs. The two are related via the FUNCTIONAL structure — hmm, actually no simple termwise relation. BUT: the contour for the residue can equally be run with the kernel evaluated differently: note k_n(w−1) = (w/(w−1))ⁿ − 1. There's a companion identity: consider the kernel k̃_n(s) = 1 − (1+1/s)^{−n} = 1 − (s/(s+1))ⁿ — hmm.\n\nActually the clean way: S_f(n) as defined by (4.13) is EXACTLY the residue of a slightly different integrand! Consider J̃(w) = [1 − (1 − 1/w)ⁿ]·(−ζ′/ζ(w))?? At zeros ρ: residue = [1−(1−1/ρ)ⁿ]·(−1) — the liCoeff summand directly!! And at w=1: [1−(1−1/w)ⁿ] = 1 − ((w−1)/w)ⁿ — vanishes at w=1 (no pole! it equals 1−(1−1/w)ⁿ which at w=1 is 1−0 = 1... wait (w−1)/w at w=1 is 0, so 1−0ⁿ = 1 — holomorphic near 1, value 1). Hmm so J̃ has the simple pole from −ζ′/ζ at w=1 with residue [1−(1−1/1)ⁿ]·(−(−1))... −ζ′/ζ residue at 1 is +1 (since ζ′/ζ ~ −1/(s−1)); so Res J̃|_{w=1} = [1−0ⁿ]·(+1) = 1. Interesting!\nAnd at w=0: 1−(1−1/w)ⁿ has an essential... (1−1/w)ⁿ pole of order n at w=0; −ζ′/ζ(0) = −log(2π) finite; so J̃ has pole of order n at w=0 with residue = −[leading coeff]·... residue of [1−(1−1/w)ⁿ](−ζ′/ζ) at 0: 1−(1−1/w)ⁿ = 1 − Σ_{j=0}^n C(n,j)(−1/w)^j = −Σ_{j=1}^n C(n,j)(−1)^j w^{−j}. So J̃ = [−Σ_j C(n,j)(−w)^{−j}](−ζ′/ζ) and Res at 0 = −Σ_j C(n,j)(−1)^j c_{j−1} = Σ_j C(n,j)(−1)^{j−1} c_{j−1} = **S_f(n)**!!! \n\nTHERE IT IS. **S_f(n) is exactly the residue at w=0 of J̃(w) = [1−(1−1/w)ⁿ]·(−ζ′/ζ(w)).** That's the elegant kernel: the Lagarias kernel in the form \"1−(1−1/w)ⁿ\" puts the S_f-producing pole at ZERO and the zero-sum residues 1−(1−1/ρ)ⁿ at the zeros — the SAME form as the liCoeff summand! (D-036's kernel k_n(w−1) = (1+1/(w−1))ⁿ−1 = −[1−(w/(w−1))ⁿ] puts the pole at w=1 and gives the REFLECTED summand 1−(ρ/(ρ−1))ⁿ — equivalent under reindexing, but the J̃ form is cleaner: no reindexing needed!)\n\nSo the contour identity with J̃ on the same rectangle (σ₀ = −5/2, σ₁ = 2√n, ±T):\nsides(T) = Σ_{|γ|<T} mult·[1−(1−1/ρ)ⁿ] + Res_{w=0} + Res_{w=1} + Res_{trivial zeros inside}\n = λ_n(T) + S_f(n) + 1 + Σ_{trivial ρ_t inside} [1−(1−1/ρ_t)ⁿ]·(−1)\n \nWait sign at w=1: Res J̃ = value of [1−(1−1/w)ⁿ] at w=1 times Res(−ζ′/ζ) = 1·(+1)... let me redo: −ζ′/ζ(w) = 1/(w−1) + c_0 + ..., so Res(−ζ′/ζ, w=1) = 1. J̃ = [1−(1−1/w)ⁿ]·(−ζ′/ζ): the first factor at w=1 equals 1−(1−1)ⁿ = 1 (holomorphic). Res = 1·1 = 1 ✓.\n\nAt trivial zeros ρ_t = −2k inside: Res = [1−(1−1/ρ_t)ⁿ]·(−1) = (1−1/ρ_t)ⁿ − 1 = (1+1/(2k))ⁿ − 1. For ρ_t = −2: (3/2)ⁿ − 1.\n\nSo the identity: sides(T) = λ_n(T) + S_f(n) + 1 + [(3/2)ⁿ − 1] + [contributions of other trivial zeros inside — only −2 since −4 < −5/2].\n\n⟹ **S_f(n) = sides(T) − λ_n(T) − (3/2)ⁿ**. \n\nCheck at n=1, T=2: S_f(1) = sides(2) − 0 − 3/2 = −0.577 ⟹ sides(2) = 0.9228. Can't verify by hand easily but the FORM is clean. And the bound: |S_f(n)| ≤ |λ_n(T)| + |sides(T)| + (3/2)ⁿ?? Hmm — (3/2)ⁿ is EXPONENTIAL — huge! That can't be right for the B(n) ~ √n log n accounting... unless the trivial-zero contribution is bounded differently. Hmm wait — (3/2)ⁿ IS huge. But D-037's B(n) has only \"+1\" for the trivial. So the D-036/D-037 kernel choice (k_n(w−1), pole at w=1) must handle the trivial zeros better: with k_n, the trivial-zero residue at −2 is 1−(2/3)ⁿ ≤ 1 ✓ small! And with J̃, it's (3/2)ⁿ−1 — huge. So D-036's kernel is the right one for the BOUND, and the J̃ form is the right one for the clean S_f identification. The relation between them: J̃(w) = −k_n(w̃−1) under w̃ = w/(w−1)-ish substitution... they're related by the involution s ↦ ... whatever — the point is the two kernels give two different exact identities:\n\nIdentity A (kernel k_n(w−1) = (1+1/(w−1))ⁿ−1, D-036's): \n sides_k(T) = Σ_{|γ|<T} mult[1−(ρ/(ρ−1))ⁿ] + [1−(2/3)ⁿ] + Res₁(n) where Res₁(n) = Σ_j C(n,j)c_{j−1}.\n Reindexing the zero sum (finite, ρ↦1−ρ preserves the set): = λ_n(T) + [1−(2/3)ⁿ] + Res₁(n).\n \nIdentity B (kernel 1−(1−1/w)ⁿ):\n sides_j(T) = λ_n(T) + S_f(n) + 1 + [(3/2)ⁿ−1].\n\nFrom A: λ_n(T) = sides_k − [1−(2/3)ⁿ] − Res₁.\nSubstitute into Sf = S_∞+1−λ_n = S_∞+1−λ_n(T)−tail:\nSf = S_∞+1+Res₁+[1−(2/3)ⁿ]−sides_k−tail.\n\nNow the bracket: S_∞+1+Res₁(n)+[1−(2/3)ⁿ]. Using B: S_f = sides_j − λ_n(T) − (3/2)ⁿ. Equate with the A-form: S_∞+1+Res₁+1−(2/3)ⁿ−sides_k−tail = sides_j − λ_n(T) − (3/2)ⁿ. Using λ_n(T) = sides_k − 1 + (2/3)ⁿ − Res₁: RHS = sides_j − sides_k + 1 − (2/3)ⁿ + Res₁ − (3/2)ⁿ. LHS = S_∞+1+Res₁+1−(2/3)ⁿ−sides_k−tail. Cancel (1−(2/3)ⁿ+Res₁−sides_k) both sides: LHS−that = S_∞ − tail... wait: LHS = [S_∞+1+Res₁+1−(2/3)ⁿ−sides_k−tail], RHS = sides_j + 1 − (2/3)ⁿ + Res₁ − (3/2)ⁿ − sides_k. Equate: S_∞ + 1 − tail = sides_j − (3/2)ⁿ + ... hmm: S_∞ + 1 + Res₁ + 1 − (2/3)ⁿ − sides_k − tail = sides_j + 1 − (2/3)ⁿ + Res₁ − (3/2)ⁿ − sides_k ⟹ S_∞ + 1 − tail = sides_j − (3/2)ⁿ ⟹ sides_j = S_∞ + 1 − tail + (3/2)ⁿ. Consistency check between the two contour integrals — both are exact, fine, no new info. OK.\n\nSo the FINAL assembly for the bound (the D-036/D-037 route): \nSf = [S_∞(n) + 1 + Res₁(n) + 1 − (2/3)ⁿ] − sides_k(T) − tail(T).\n\nAnd the numerical check: bracket(n) = S_∞+1+Res₁+1−(2/3)ⁿ: n=1: −1.554120+1−0.577216+1−0.666667 = −0.798003 (same as before, −0.798). Hmm STILL not zero. So |Sf| ≤ |bracket| + |sides| + |tail| with bracket = −0.798 at n=1... but D-037's B(n) doesn't have a bracket term — the pieces are 2N(T), sides, triv, I_I. UNLESS bracket(n) is identically zero... it's not (−0.798 at n=1). So something in my residue bookkeeping STILL has a sign/value error. Let me recheck Res₁ via identity B at n=1: sides_j(2) = S_∞(1) + 1 − tail(2) + (3/2) = −1.554120 + 1 − 0.023096 + 1.5 = 0.922784. And sides_k(2) = λ_1(2) + [1−2/3] + Res₁(1) = 0 + 1/3 + (−0.577216) = −0.243883. Both exact, fine.\n\nNow Sf(1) via the A-assembly: bracket(1) − sides_k(2) − tail(2) = −0.798003 + 0.243883 − 0.023096 = −0.577216 ✓✓✓ = S_f(1) EXACTLY. So the identity Sf = bracket − sides_k − tail is EXACT and CORRECT — with bracket(1) = −0.798. So the bracket does NOT vanish, and D-037's B(n) must account for it. But B(n) has no explicit bracket term... so the bracket must be absorbed somewhere: maybe in \"2N(T)\"? No... OR maybe the bracket is bounded and absorbed into the \"+1\" constant? At n=1 bracket = −0.798. At n=2: S_∞(2)+1+Res₁(2)+1−(2/3)² = −1.874539+1−0.894071+1−0.444444 = −1.213054. At n=3: need c_2... growing slowly? bracket(n) ~ ? If bracket(n) is bounded (O(1) or O(log n)-ish), it absorbs into B(n)'s constants. Hmm, but actually — WAIT. I should double-check the sign of the sides term in the residue theorem: sides := (1/2πi)∮ J dw = Σ Res — with the convention RectangleIntegral' = (1/2πi)·RectangleIntegral and the boundary oriented COUNTERclockwise? The RectangleIntegral def (HIntegral bottom − HIntegral top + VIntegral right − VIntegral left) = counterclockwise ✓. So sides = Σ Res ✓.\n\nHmm, but hold on — maybe the intended reading of D-037's identity is different: maybe their \"S_f(n)\" on the LHS is literally our Sf, and their \"Σ_{|γ|≤T}′[1−(ρ/(ρ−1))ⁿ]·(−1)\" is MINUS the truncated reflected sum, \"+(1/2πi)(I_I+...+I_IV)\" is +sides, \"+triv(−2)\" is... Let me test D-037's identity numerically at n=1, T=2: RHS = −[0] + sides_k(2) + triv(−2). If triv(−2) = −(1−(2/3)¹) = −1/3: RHS = 0 + (−0.243883) − 0.333333 = −0.577216 = S_f(1) ✓✓✓!!! So D-037's exact identity is:\n\n**Sf(n) = −λ_n(T) + sides_k(T) − [1−(2/3)ⁿ]** (with triv(−2) = −triv).\n\nCheck against my derivation: Sf = bracket − sides_k − tail = S_∞+1+Res₁+[1−(2/3)ⁿ] − sides_k − tail. And D-037's: Sf = −λ_n(T) + sides_k − [1−(2/3)ⁿ]. Equate: −λ_n(T) + sides_k − 1 + (2/3)ⁿ = S_∞+1+Res₁+1−(2/3)ⁿ−sides_k−tail ⟹ 2·sides_k = S_∞ + 2 + Res₁ + λ_n(T) − tail − 2(1−(2/3)ⁿ)... let me verify numerically at n=1: 2(−0.243883) =? −1.554120 + 2 − 0.577216 + 0 − 0.023096 − 2(0.333333) = −0.821098. LHS = −0.487766. −0.487766 ≠ −0.821098. CONTRADICTION. So D-037's identity (as I've interpreted it: −λ_n(T) + sides − triv) and my identity (bracket − sides − tail) DIFFER — but both reproduced S_f(1) = −0.577 at n=1?! Let me recheck D-037's at n=1: −λ_1(2) + sides_k(2) + triv(−2): −0 + (−0.243883) + triv(−2). For the sum to be −0.577216: triv(−2) = −0.333333 ✓. And my identity: bracket(1) − sides_k(2) − tail(2) = −0.798003 + 0.243883 − 0.023096 = −0.577216 ✓. Both work at n=1 because −λ_n(T) + sides − triv = 0 − 0.243883 − 0.333333 = −0.577216 and bracket − sides − tail = −0.577216 — these are the same number via DIFFERENT decompositions?? −0.243883 − 0.333333 = −0.577216; −0.798003 + 0.243883 − 0.023096 = −0.577216. Both true numerically. But they can't both be the right identity unless sides_k(2) simultaneously satisfies two equations — it's ONE number (−0.243883), and indeed: sides_k = λ_n(T) + triv + Res₁ (residue theorem A): 0 + 0.333333 + (−0.577216) = −0.243883 ✓ consistent. And Sf = S_∞+1−λ_n: −1.554120+1−0.023096 = −0.577216 ✓. All four relations are simultaneously consistent — of course they are; they're all exact. The two \"identities\" for Sf: (i) Sf = −λ_n(T) + sides_k − triv: −0 − 0.243883 − 0.333333 — is that equal to Sf? −0.577216 ✓ numerically. (ii) Sf = bracket − sides_k − tail = −0.577216 ✓. Are (i) and (ii) the same? (i)−(ii) = −λ_n(T)+sides_k−triv − bracket + sides_k + tail = 2·sides_k − λ_n(T) − triv − bracket + tail. With sides_k = λ_n(T)+triv+Res₁: = 2λ_n(T)+2triv+2Res₁ − λ_n(T) − triv − bracket + tail = λ_n(T) + triv + 2Res₁ − bracket + tail. Numerically: 0 + 0.333333 + 2(−0.577216) − (−0.798003) + 0.023096 = 0.333333 − 1.154432 + 0.798003 + 0.023096 = 0.0. ✓ ZERO — because bracket = S_∞+1+Res₁+triv and the combination λ_n(T)+2triv+2Res₁−S_∞−1−Res₁−triv+tail = λ_n(T)+tail + triv+Res₁−S_∞−1 = λ_n + triv + Res₁ − S_∞ − 1 = (λ_n − S_∞ − 1) + triv + Res₁ = −Sf + triv + Res₁... at n=1: 0.577216 + 0.333333 − 0.577216 = 0.333333 ≠ 0?!? But I just computed 0 above. I keep making arithmetic slips — ENOUGH. \n\nThe bottom line for the DESIGN is solid regardless of my hand-arithmetic noise:\n1. There IS an exact identity (verified numerically at n=1 to all digits I can compute): **Sf(n) = −λ_n(T) + sides_k(T) − [1−(2/3)ⁿ]** — this is D-037's line-63 identity, and it matches S_f(1) = −γ exactly.\n2. It follows from residue theorem A + the relation S_∞+1+Res₁+triv... — i.e., the W=1 RESIDUE IDENTIFICATION: the exact statement connecting Res₁(n), S_∞(n), λ_n(T), tail, and sides. Since sides appears on both... hmm no. Let me redo this cleanly ONE more time, carefully, because the skeleton needs the precise list of exact identities.\n\nResidue theorem (exact): sides_k(T) = λ̃_n(T) + triv + Res₁(n), where λ̃_n(T) = Σ_{|γ|<T} mult·[1−(ρ/(ρ−1))ⁿ] (reflected-form truncated sum).\n\nReindexing (exact, finite sum): λ̃_n(T) = λ_n(T) (termwise via ρ ↦ 1−ρ on the reflect-invariant finite set, mult-preserving).\n\nDefinition (exact): Sf = S_∞ + 1 − λ_n = S_∞ + 1 − λ_n(T) − tail(T).\n\nFrom the residue theorem: λ_n(T) = sides_k − triv − Res₁. Substitute:\nSf = S_∞ + 1 − sides_k + triv + Res₁ − tail. [MASTER]\n\nD-037's identity claims: Sf = −λ_n(T) + sides_k − triv. [D037]\n\nAre [MASTER] and [D037] equivalent? [MASTER] − [D037]: S_∞ + 1 + triv + Res₁ − tail − (−λ_n(T) + sides_k − triv) = S_∞ + 1 + 2triv + Res₁ − tail + λ_n(T) − sides_k. With sides_k = λ_n(T)+triv+Res₁: = S_∞ + 1 + 2triv + Res₁ − tail + λ_n(T) − λ_n(T) − triv − Res₁ = S_∞ + 1 + triv − tail. So [MASTER]−[D037] = S_∞ + 1 + triv − tail. Numerically at n=1: −1.554120 + 1 + 0.333333 − 0.023096 = −0.243883 ≠ 0. So they're NOT both right — yet both gave −0.577216 at n=1?!? [MASTER] at n=1: −0.798003 − (−0.243883) − 0.023096 = −0.798003+0.243883−0.023096 = −0.577216 ✓. [D037] at n=1: 0 + (−0.243883) − 0.333333 = −0.577216 ✓. Both equal −0.577216 but their difference is −0.243883?? IMPOSSIBLE — unless the difference is 0. Let me recompute the difference numerically: [MASTER]−[D037] = S_∞+1+triv−tail = −1.554120+1+0.333333−0.023096 = −0.243883. But [MASTER] = [D037] = −0.577216 ⟹ difference = 0. CONTRADICTION — so I must have miscomputed one of the sides. [MASTER]: Sf = S_∞+1−sides_k+triv+Res₁−tail = −1.554120+1−(−0.243883)+0.333333+(−0.577216)−0.023096 = −1.554120+1+0.243883+0.333333−0.577216−0.023096 = let me add step by step: −1.554120+1 = −0.554120; +0.243883 = −0.310237; +0.333333 = 0.023096; −0.577216 = −0.554120; −0.023096 = −0.577216 ✓. [D037]: −λ_n(T)+sides_k−triv = 0 + (−0.243883) − 0.333333 = −0.577216 ✓. Difference: [MASTER]−[D037] = −0.577216 − (−0.577216) = 0 ✓✓. And my \"difference formula\" gave −0.243883 — so the difference formula is wrong, meaning my substitution had an error: [MASTER] = S_∞+1−sides_k+triv+Res₁−tail; [D037] = −λ_n(T)+sides_k−triv. [MASTER]−[D037] = S_∞+1+2triv+Res₁−tail+λ_n(T)−2·sides_k. Substituting sides_k = λ_n(T)+triv+Res₁: −2·sides_k = −2λ_n(T)−2triv−2Res₁. Total: S_∞+1+2triv+Res₁−tail+λ_n(T)−2λ_n(T)−2triv−2Res₁ = S_∞+1−Res₁−tail−λ_n(T) = S_∞+1−Res₁−λ_n = −Sf + (2 − 2Res₁... no: S_∞+1−λ_n = Sf so S_∞+1−Res₁−λ_n = Sf − Res₁. So [MASTER]−[D037] = Sf − Res₁(!!). At n=1: −0.577216 − (−0.577216) = 0 ✓ because S_f(1) = Res₁(1) (the coincidence I found earlier!). So [MASTER] and [D037] differ by Sf − Res₁, which vanishes at n=1 by coincidence (S_f(1) = c_0 = −γ since S_f(1) = η_0·C(1,1)·(−1)⁰ = η_0 = c_0 ✓ and Res₁(1) = c_0 ✓ — not a coincidence: at n=1 both sums have one term). At n=2: S_f(2) = −0.966922, Res₁(2) = −0.894071, difference −0.072851 ≠ 0 — so [MASTER] and [D037] CANNOT both be exact identities. [MASTER] is derived from the residue theorem + definitions only — it MUST be right. So D-037's line-63 identity is WRONG (or my reading of its signs is wrong). This is exactly the kind of thing D-064 must flag: **D-037's stated identity has a sign/transcription issue; the correct exact identity is [MASTER]: Sf = S_∞+1+Res₁+triv−sides−tail, with the w=1 residue identification Res₁(n) = Σ_j C(n,j)c_{j−1} remaining as the quantity to be related to S_f's prime-side definition.**\n\nHmm wait — but then how does the BOUND work? |Sf| ≤ |S_∞+1+Res₁+triv| + |sides| + |tail|. The bracket S_∞+1+Res₁+triv: at n=1: −0.798; n=2: −1.213. For B(n) ~ √n log n to bound |Sf|, we need |bracket| ≤ something in B(n). What IS bracket(n) asymptotically?? Let me compute bracket via the prime side: Sf(n) = Σ_j (−1)^{j−1}C(n,j)c_{j−1} (Lagarias 4.13, with η = c) and Res₁(n) = Σ_j C(n,j)c_{j−1}: bracket = S_∞+1+triv + Σ_j C(n,j)c_{j−1}. Using Sf = Σ_j(−1)^{j−1}C(n,j)c_{j−1} and the MASTER: bracket = Sf + sides + tail. Circular. The QUESTION is just: how big is bracket(n) = S_∞(n)+1+triv(n)+Res₁(n)? \n\nFrom [MASTER]: bracket = Sf + sides + tail. At the chosen T ~ √n: |sides| ≤ B(n)-sides-pieces ~ √n log n-ish (the I_III term dominates: 4T[(2/3)C₀+A log+B₀] ~ 4√n·(0.29 log n + 5.25·0.5 log n + 48)·... ~ big√n log n), |tail| ~ √n log n-ish, |Sf| ≤ 13-ish (small). So bracket ~ √n log n too — the bracket is NOT small!! So bounding |Sf| via [MASTER] directly: |Sf| ≤ |bracket| + |sides| + |tail| would need a bound on |bracket| — and bracket = S_∞+1+Res₁+triv involves the archimedean sum S_∞ (~½n log n) and Res₁ (~−½n log n presumably) canceling to O(√n log n). PROVING that cancellation is EXACTLY the w=1 identification problem — it's the same difficulty as before, just relocated. There's no free lunch: the exact relation Res₁(n) = −S_∞(n) − 1 − triv(n) + [Sf + sides + tail](n) is circular; the INDEPENDENT identification needed is:\n\n**Res₁(n) = −S_∞(n) − 1 − triv(n) + S_f(n)** where S_f(n) = Σ_j (−1)^{j−1}C(n,j)c_{j−1} (Lagarias 4.13) — i.e., \nΣ_j C(n,j)c_{j−1} = −S_∞(n) − 1 − triv(n) + Σ_j (−1)^{j−1}C(n,j)c_{j−1}\n⟹ **S_∞(n) + 1 + triv(n) = Σ_j C(n,j)c_{j−1}·[(−1)^{j−1} − 1] = −2·Σ_{j even} C(n,j)c_{j−1}**?\n\nHmm interesting: Σ_j C(n,j)c_{j−1}[(−1)^{j−1}−1] = −2Σ_{j even ≥2} C(n,j)c_{j−1}. So the identification is: S_∞(n) + 1 + triv(n) = −2Σ_{j even} C(n,j)c_{j−1}?? At n=1: RHS = 0 (no even j ≤ 1). LHS = −1.554120+1+0.333333 = −0.220787 ≠ 0. FAIL. Hmm! But wait — S_f(n) = Σ_j (−1)^{j−1}C(n,j)c_{j−1} — let me verify at n=1: S_f(1) = c_0 = −γ ✓ (matches!). At n=2: 2c_0 − c_1 = −1.154432 − 0.260361 = −1.414793 vs true S_f(2) = −0.966922. FAIL!! So Lagarias's (4.13) with η = Laurent-coeffs-of-−ζ′/ζ does NOT reproduce S_f(2) = S_∞(2)+1−λ_2?! Let me recompute S_f(2): S_∞(2)+1−λ_2. S_∞(2) = −Σ_{j=1}^2 (−1)^{j+1}C(2,j)(1−2^{−j})ζ*(j) = −[(−1)²·2·(1/2)(log4π+γ) + (−1)³·1·(3/4)ζ(2)] = −[2a₁ − (3/4)ζ(2)] = −2a₁ + (3/4)ζ(2)·... wait: −[1·2·a₁·(−1)^{2}...] careful: j=1: (−1)^{j+1} = (−1)² = 1: term = C(2,1)·(1−1/2)·ζ*(1) = 2·(1/2)(log4π+γ) = a₁·2 = 3.108240. j=2: (−1)³ = −1: term = −C(2,2)(3/4)ζ(2) = −1.233701. Sum = 3.108240 − 1.233701 = 1.874539. S_∞(2) = −[that] = −1.874539 ✓ matches my earlier. S_f(2) = S_∞(2) + 1 − λ_2 = −1.874539 + 1 − 0.092383 = −0.966922. Lagarias (4.13): S_f(2) = Σ_{j=1}^2 (−1)^{j−1}C(2,j)η_{j−1} = 2η_0 − η_1. If this must equal −0.966922: with η_0 = c_0 = −0.577216: η_1 = 2η_0 + 0.966922 = −1.154432 + 0.966922 = −0.187510. And c_1 = 0.260361. So η_1 ≠ c_1!! η_1 = −0.1875 vs c_1 = 0.2604. So Lagarias's η_j (4.12) — \"−ζ′/ζ(s+1) = 1/s + Σ η_j s^j\" — should give η_1 = c_1 = 0.260361 by definition!! Unless Lagarias's η has different signs: (4.12) says −ζ′/ζ(s+1) = 1/s + Σ_{j≥0} η_j s^j — that IS c_j. η_1 = c_1 = γ₁+γ² = 0.260361. But then S_f(2) = 2η_0−η_1 = −1.414793 ≠ −0.966922 = S_∞(2)+1−λ_2. So either λ_2 ≠ S_∞−S_f+1 with these S's, or λ_2's value... λ_2 = 0.092383 — let me double check: λ_2 = Σ[1−(1−1/ρ)²]. Known values: λ_1 = 0.0230957, λ_2 = 0.09238... hmm — hmm, actually let me double-check λ_2: some sources: λ_2 ≈ 0.09238303922. Yes. And S_∞(2) − S_f(2) + 1 should = λ_2: −1.874539 − (−0.966922) + 1 = 0.092383 ✓. So Lagarias's Lemma 4.2 with (4.13) gives S_f(2) = −1.414793, but consistency needs −0.966922. UNLESS Lagarias's λ_n has a different normalization (e.g. λ_n^Lagarias = Σ over Z(π) with multiplicity... or the π_triv δ terms). (4.6): λ_n(π) = S_∞(n,π) − S_f(n,π∨) + δ(π) with δ(π_triv) = 1. And (4.13) is S_f(n,π_triv). λ_2^Lagr = S_∞(2) − S_f(2) + 1 = −1.874539 + 1.414793 + 1 = 0.540254. But true λ_2 = 0.092383. So Lagarias's own formula gives 0.540?!? Unless Lagarias's λ_n(π_triv) ≠ standard λ_n... OR the η_j are NOT c_j. Hold on — maybe I mis-assigned c_1. Let me recompute c_1 NUMERICALLY: −ζ′/ζ(s) near s=1: ζ′/ζ(1.001) ≈ −1000-ish + ...: −ζ′/ζ(1+u) = 1/u − γ + c_1 u + ...: at u = 0.001: 1000 − 0.577216 + c_1·0.001. Actual −ζ′/ζ(1.001): ζ′/ζ(1.001) ≈ −1/0.001 + γ − (γ₁+γ²)... sign: ζ′/ζ(1+u) = −1/u + γ − (γ₁+γ²)u: at u=0.001: −1000 + 0.577216 − 0.000260 = −999.423. −ζ′/ζ = 999.423 = 1/u − γ + (γ₁+γ²)u = 1000 − 0.577216 + 0.000260 = 999.423 ✓. So c_1 = γ₁ + γ² = 0.260361 ✓.\n\nSo Lagarias's (4.6)+(4.13) appears to give λ_2 = 0.540 ≠ 0.0924 — meaning I'm misreading something in (4.6): \"λ_n(π) = S_∞(n,π) − S_f(n,π∨) + δ(π)\" — with S_f(n, π∨) on the RIGHT but defined by (4.13) as S_f(n, π_triv)... π_triv∨ = π_triv ✓ same. Hmm, and S_∞(n, π∨) vs S_∞(n,π): remark says S_∞(n,π) = S_∞(n,π∨) ✓. So λ_2 = S_∞(2) − S_f(2) + 1 with S_f(2) = 2η_0 − η_1 = 2(−0.577216) − 0.260361 = −1.414793: λ_2 = −1.874539 + 1.414793 + 1 = 0.540254. The true λ_2 (zero side) = 0.092383. These disagree — so the η_j in (4.12)-(4.13) can NOT be the plain Laurent coefficients of −ζ′/ζ at 1, OR the trivial-zero part of S_∞'s (4.11) has different content than I think. Let me recompute S_∞(2) from (4.11): S_∞(n,π_triv) = −Σ_{j=1}^n (−1)^{j+1}C(n,j)(1−2^{−j})ζ*(j). j=1: (−1)²=1: C(2,1)(1/2)ζ*(1) = 2·(1/2)(log4π+γ) = log4π+γ = 3.108240. j=2: (−1)³=−1: −C(2,2)(3/4)ζ(2) = −1.233701. Sum = 1.874539. S_∞ = −1.874539 ✓. Hmm so S_∞ matches D-037's (they're consistent). Then λ_2 = S_∞ − S_f + 1 needs S_f(2) = −0.966922. So Lagarias's (4.13) MUST evaluate to −0.966922, requiring η_1 = −0.187510 — NOT c_1. So (4.12)'s \"η_j\" are NOT the Laurent coefficients of −ζ′/ζ as printed?? OR (4.12) is −ζ′/ζ(s+1) = 1/s + Σ η_j s^j with η_1 = −0.1875?? Direct numeric check: −ζ′/ζ(1.001) ≈ 999.423; 1/s + η_0 + η_1 s at s=0.001: 1000 − 0.577216 + η_1·0.001: if η_1 = −0.1875: 999.422596; if η_1 = 0.260361: 999.423476... let me get −ζ′/ζ(1.001) precisely: ζ(1.001) ≈ 1000.577...: ζ(1+u) = 1/u + γ − γ₁u + ... = 1000 + 0.577216 + 0.0000728 = 1000.577289. ζ′(1+u) = −1/u² − γ₁ + ... = −10⁶ + 0.072816 = −999999.927. ζ′/ζ = −999999.927/1000.577289 = −999.42298...: compute: 999999.927/1000.577289 ≈ 999.422984. So −ζ′/ζ(1.001) ≈ 999.422984. Model with c_1: 1000 − 0.577216 + c_1·0.001 = 999.422784 + c_1·0.001. 999.422984 − 999.422784 = 0.000200 ⟹ c_1 ≈ 0.200?? Hmm that's neither 0.260361 nor −0.1875. My approximations are too crude (higher-order terms c_2 u² ~ 10⁻⁶·c_2 contribute at this scale). Ugh — 0.0002 discrepancy could be c_2·10⁻⁶ with c_2 ~ 200?? No, c_2 is O(1)-ish. Let me not do this by hand — precision is insufficient.\n\nDECISION: this hand-verification has hit its limit; the exact identity web will be settled in D-064 with mpmath (we have E-021's exact S_∞/λ_n machinery at dps 1000+ — trivial to verify any candidate identity to 50 digits). The DESIGN doesn't depend on which sign convention is right: the structure is clear — (i) exact residue theorem, (ii) exact finite reindexing, (iii) the w=1 residue Res₁(n) = Σ_j C(n,j)c_{j−1} with c's defined AS Laurent coefficients (no identification needed with prime sums if we take Lagarias's (4.13) as the DEFINITION of S_f... but wait — our Sf is DEFINED as S_∞+1−λ_n, so the BL identity Sf = Σ_j (−1)^{j−1}C(n,j)c_{j−1} is CONTENT (BL Thm 2), not definition).\n\nHmm OK. So what IS the minimal exact-identity chain for SfBoundProp? Let me lay it out:\n\nGOAL: |S_∞(n) + 1 − λ_n| ≤ B(n).\n\nChain:\n1. λ_n = λ_n(T) + tail(T) [definition + convergence; L7].\n2. λ_n(T) = sides_k(T) − triv(n) − Res₁(n) [residue theorem; L0].\n3. So Sf = S_∞(n) + 1 + triv(n) + Res₁(n) − sides_k(T) − tail(T).\n4. Bound each: |sides_k| ≤ [side pieces from D-036/D-037 §4]; |tail| ≤ [tail bound]; |S_∞+1+triv+Res₁| ≤ [???].\n\nFor step 4's bracket: what is it EXACTLY? bracket = S_∞+1+triv+Res₁ = Sf + sides + tail (from 3). So bounding |bracket| requires knowing Sf already — circular. INSTEAD, the right decomposition must put λ_n(T) with a PLUS on the other side... Let me look at D-037's identity once more, in the form that's actually useful for the bound:\n\nD-037: |S_f| ≤ 2N(T) + 4C₀ + sides-pieces + 1. The \"2N(T) + 4C₀\" bounds |λ_n(T)| (via RH bridge) — so the identity used must be:\n\nSf = −λ_n(T) + [everything else], with [everything else] = sides-pieces + small constants. From [MASTER]: Sf = S_∞+1+triv+Res₁−sides−tail — for this to read \"−λ_n(T) + sides + small\", we'd need S_∞+1+triv+Res₁ = λ_n(T) + 2·sides... no. We need bracket ≈ 0. bracket(n) at n=1 is −0.798, n=2: −1.213. NOT small... but wait, maybe I mis-derived [MASTER]'s signs. Let me redo very carefully:\n\nsides_k(T) = Σ Res inside = λ̃_n(T) + triv + Res₁ where λ̃_n(T) = Σ_{|γ|<T}mult[1−(ρ/(ρ−1))ⁿ], triv = Res at −2 = 1−(2/3)ⁿ, Res₁ = residue at 1.\n\nλ̃_n(T) = λ_n(T) (finite reindexing). So λ_n(T) = sides_k − triv − Res₁. ✓\n\nSf := S_∞ + 1 − λ_n. λ_n = λ_n(T) + tail. \nSf = S_∞ + 1 − λ_n(T) − tail = S_∞ + 1 − (sides_k − triv − Res₁) − tail = S_∞ + 1 − sides_k + triv + Res₁ − tail. ✓ [MASTER]\n\nHmm so bracket = S_∞+1+triv+Res₁. Now evaluate bracket using the ARCHIMEDEAN identity for Res₁. The crucial classical fact (Lagarias (4.10)): (−1)^j σ_{j+1}(π) = τ_j(π∨) − η_j(π∨) + (−1)^j δ(π∨) — relating power sums of zeros σ_n to τ (archimedean) and η (finite). And (2.18) is presumably λ_n = Σ_j C(n,j)(−1)^{j+1}σ_{j+1}·... The point: Res₁(n) = Σ_j C(n,j)c_{j−1} where c_j = η_j. And S_f = Σ_j (−1)^{j−1}C(n,j)η_{j−1}. And S_∞ = Σ_j C(n,j)τ_{j−1}·(−1)... \n\nSo: Res₁(n) = Σ_j C(n,j)η_{j−1}; S_f(n) = Σ_j (−1)^{j−1}C(n,j)η_{j−1}; S_∞(n) = −Σ_j (−1)^{j+1}C(n,j)τ*_{j−1} with τ* the ζ*/digamma-side.\n\nThe combination in bracket: S_∞ + Res₁ + 1 + triv = Σ_j C(n,j)[−(−1)^{j+1}τ*_{j−1} + η_{j−1}] + 1 + triv. Using (4.10): τ_j − η_j = (−1)^j σ_{j+1} − (−1)^j δ... = (−1)^j(σ_{j+1} − 1) for π_triv (δ=1). Hmm: (−1)^j σ_{j+1} = τ_j − η_j + (−1)^j ⟹ τ_j = η_j + (−1)^j σ_{j+1} − (−1)^j = η_j + (−1)^j(σ_{j+1} − 1).\n\nThis is the power-sum/zero-side relation: σ_{j+1} = Σ_ρ 1/ρ^{j+1} (paired power sums). So Res₁ = Σ_j C(n,j)η_{j−1} = Σ_j C(n,j)[τ_{j−1} − (−1)^{j−1}(σ_j − 1)] = Σ_j C(n,j)τ_{j−1} + Σ_j (−1)^j C(n,j)(σ_j−1).\nAnd Σ_j C(n,j)(σ_j − 1)(−1)^j = Σ_j (−1)^j C(n,j)σ_j − Σ_j (−1)^j C(n,j) = Σ_j (−1)^j C(n,j)σ_j + 1 (since Σ_{j=1}^n (−1)^j C(n,j) = −1).\nAnd λ_n = Σ_ρ[1−(1−1/ρ)ⁿ] = Σ_ρ Σ_j (−1)^{j+1}C(n,j)(−1/ρ)^j·... 1−(1−1/ρ)ⁿ = −Σ_{j=1}^n C(n,j)(−1/ρ)^j = Σ_j (−1)^{j+1}C(n,j)ρ^{−j}·... (−1/ρ)^j = (−1)^j ρ^{−j}: 1−(1−1/ρ)ⁿ = −Σ_j C(n,j)(−1)^j ρ^{−j} = Σ_j (−1)^{j+1}C(n,j)ρ^{−j}. So λ_n = Σ_j (−1)^{j+1}C(n,j)σ_j (with σ_j = Σ_ρ ρ^{−j} — needs care for j=1 convergence but paired OK). So Σ_j (−1)^j C(n,j)σ_j = −λ_n.\n\nSo Res₁ = Σ_j C(n,j)τ_{j−1} + (−λ_n) + 1 = [τ-sum] − λ_n + 1.\n\nAnd S_∞ = −Σ_j (−1)^{j+1}C(n,j)τ*_{j−1} = Σ_j (−1)^j C(n,j)τ*_{j−1}. Hmm — but the τ* in S_∞'s (4.11) form: S_∞ = −Σ_j (−1)^{j+1}C(n,j)(1−2^{−j})ζ*(j) — vs the τ-form S_∞ = Σ_j C(n,j)τ_{j−1} (4.7: S_∞(n,π∨) = Σ_j C(n,j)τ_{j−1}(π∨) — NO alternating signs!). And (4.11) says S_∞(n,π_triv) = −Σ_j (−1)^{j+1}C(n,j)(1−2^{−j})ζ*(j) — WITH signs. So Σ_j C(n,j)τ_{j−1} = −Σ_j (−1)^{j+1}C(n,j)a_j: i.e., τ_{j−1} = −(−1)^{j+1}a_j = (−1)^j a_j. So τ-sum Σ_j C(n,j)τ_{j−1} = S_∞ ✓ (consistent — S_∞ = τ-sum).\n\nThen: Res₁ = S_∞ − λ_n + 1. SO: bracket = S_∞ + 1 + triv + Res₁ = S_∞ + 1 + triv + S_∞ − λ_n + 1 = 2S_∞ + 2 + triv − λ_n?!? At n=1: 2(−1.554120)+2+0.333333−0.023096 = −3.108240+2+0.333333−0.023096 = −0.798003 ✓✓ MATCHES bracket(1)! \n\nSo Res₁(n) = S_∞(n) − λ_n + 1 = Sf(n) + triv... wait: S_∞ − λ_n + 1 = Sf + ... Sf = S_∞+1−λ_n: so **Res₁(n) = Sf(n)**??? At n=1: Res₁ = −0.577216 = S_f(1) ✓✓!! At n=2: Res₁(2) = −0.894071 vs S_f(2) = −0.966922 — DIFFER (−0.072851)!! But my derivation just said Res₁ = S_∞ − λ_n + 1 = Sf. Contradiction with n=2?! Let me recheck the derivation: Res₁ = Σ_j C(n,j)η_{j−1}; η_{j−1} = τ_{j−1} − (−1)^{j−1}(σ_j−1) [from (4.10) rearranged: τ_j − η_j = (−1)^j(σ_{j+1}−1) ⟹ η_j = τ_j − (−1)^j(σ_{j+1}−1)]. Res₁ = Σ_j C(n,j)[τ_{j−1} − (−1)^{j−1}(σ_j − 1)] = S_∞ − Σ_j (−1)^{j−1}C(n,j)(σ_j−1) = S_∞ + Σ_j (−1)^j C(n,j)σ_j − Σ_j (−1)^j C(n,j) = S_∞ + (−λ_n) − (−1) = S_∞ − λ_n + 1 ✓. So Res₁ = S_∞ − λ_n + 1 = Sf EXACTLY?? But numerically at n=2 they differ by 0.0728... — UNLESS my numeric Res₁(2) is wrong: Res₁(2) = 2c_0 + c_1 with c_j = η_j... is c_1 = η_1? If η_1 = −0.187510 (as required for S_f(2)): Res₁(2) = 2η_0 + η_1 = −1.154432 − 0.187510 = −1.341942?? Then Res₁ ≠ −0.894071. I previously computed Res₁(2) = 2c_0 + c_1 with c_1 = γ₁+γ² = 0.260361 — but if the actual Laurent coefficient of −ζ′/ζ at 1 is c_1 = η_1 = −0.187510, then my c_1 was WRONG. Which is it?! Direct numeric: −ζ′/ζ(1.001) ≈ 999.422984 (computed above). Model: 1/u + c_0 + c_1 u = 1000 − 0.577216 + c_1·0.001. 999.422984 = 999.422784 + c_1·0.001 ⟹ c_1 = 0.200. Hmm — neither. My numeric is too imprecise (c_2 u² terms: c_2·10⁻⁶ shifts by ~0.000001·c_2 — negligible unless c_2 ~ 200). So c_1 ≈ 0.2?? Conflicting with both candidates (0.260361, −0.187510). My hand numerics are too sloppy at the 10⁻⁴ level. Let me just compute properly with mpmath — 30 seconds of work — instead of spiraling.","signature":""},{"type":"text","text":"The identity web needs precise numerical settling, not hand arithmetic. Let me compute the Laurent coefficients and all candidate identity components exactly with the project venv."},{"type":"tool_use","id":"Bash_45","name":"Bash","input":{"command":"cd /d/Python/Quantum && ./.venv/Scripts/python.exe -c \"\nimport mpmath\nmpmath.mp.mp.dps = 50\nz = mpmath.zeta\n# Laurent coefficients of -zeta'/zeta at s=1: -z'/z(1+u) = 1/u + c0 + c1 u + c2 u^2 + ...\ndef negld(u):\n return -mpmath.diff(z, 1+u)/z(1+u)\n# extract c0..c3 by fitting at geometric points (Richardson-ish)\nus = [mpmath.mpf(10)**(-k) for k in [2,3,4,5]]\n# series: negld(u) - 1/u = c0 + c1 u + c2 u^2 + c3 u^3\nimport mpmath as m\ndef A(u): return negld(u) - 1/u\n# extrapolate A(u) to u->0 via polynomial fit on 4 points\ncs = []\nvals = [(u, A(u)) for u in us]\n# fit c0 + c1 u + c2 u^2 + c3 u^3\nM = m.matrix([[u**j for j in range(4)] for u,_ in vals])\nb = m.matrix([v for _,v in vals])\nsol = m.lu_solve(M, b)\nc0,c1,c2,c3 = [sol[i] for i in range(4)]\nprint('c0 =', m.nstr(c0,30))\nprint('c1 =', m.nstr(c1,30))\nprint('c2 =', m.nstr(c2,20))\ngamma = m.euler\ng1 = m.stieltjes(1)\nprint('euler =', m.nstr(gamma,20), ' stieltjes1 =', m.nstr(g1,20))\nprint('candidate c1 = g1 + gamma^2 =', m.nstr(g1 + gamma**2,20))\nprint('candidate c1 = -(g1 + gamma^2) =', m.nstr(-(g1 + gamma**2),20))\n# S_f via archimedean: S_inf(n) + 1 - lambda_n needs lambda_n; use known small-n lambda\n# lambda_1, lambda_2 from zero side is costly; instead check BL identity consistency:\n# S_inf(n) for n=1,2\na1 = (m.log(4*m.pi)+gamma)/2\ndef Sinf(n):\n tot = (1-a1)*n - 1\n s = m.mpf(0)\n for mm in range(3, 20001, 2):\n s += (1-1/m)**n - 1 + n/m\n # tail ~ C(n,2)/2 * sum_{m>20000 odd} 1/m^2 ~ C(n,2)/(4*10000)\n return tot + s\nfor n in [1,2]:\n print('Sinf(%d) ='%n, m.nstr(Sinf(n),20))\n\"\n","description":"Compute Laurent coefficients of -zeta'/zeta at 1 numerically","timeout":180000},"extra_content":null}]