← Session 22 — ii′-1: liCoeff pairing fix + residue machinery
thinking (29197 chars)
Now I have Lagarias's actual proof structure. Key observations:
**Lemma 4.1 (the heart)**: The power series expansion around s = 1 of ξ′/ξ:
ξ′/ξ(s + 1) = Σ_{n=0}^∞ (−1)^n σ_{n+1} s^n (4.1)
where σ_n = Σ′_ρ ρ^{−n} (power sums of zeros of ξ, which ARE the nontrivial zeros of ζ).
The proof: Hadamard product ξ(s) = e^{As+B} Π_ρ (1−s/ρ)e^{s/ρ} — taking logs, expanding log(1−s/ρ) = −Σ_{n≥1} s^n/(nρ^n), the n=1 terms combine with A = −σ₁ to kill the s¹ term, giving log ξ(s) = B − Σ_{n≥2} σ_n s^n/n; differentiating: −ξ′/ξ(s) = Σ_{n≥2} σ_n s^{n−1} = Σ_{m≥0} σ_{m+2} s^m... hmm wait let me redo: log ξ(s) = As + B − Σ_{n≥2} σ_n s^n/n — wait: log(1 − s/ρ) + s/ρ = −Σ_{n≥1} (s/ρ)^n/n + s/ρ = −Σ_{n≥2} s^n/(nρ^n) — the n=1 term cancels with the +s/ρ ✓. So log ξ(s) = As + B − Σ_ρ Σ_{n≥2} s^n/(nρ^n) = As + B − Σ_{n≥2} σ_n s^n/n (swap needs the absolute convergence Σ_ρ |ρ|^{−2} ✓). Then A = −σ₁ (deduced by *-convergent rearrangement — this is the symmetry ρ ↔ 1−ρ̄ argument). Differentiate: ξ′/ξ(s) = A − Σ_{n≥2} σ_n s^{n−1} = A − Σ_{m≥1} σ_{m+1} s^m. With A = −σ₁: ξ′/ξ(s) = −σ₁ − Σ_{m≥1} σ_{m+1} s^m = −Σ_{m≥0} σ_{m+1} s^m. So −ξ′/ξ(s) = Σ_{m=0}^∞ σ_{m+1} s^m — expansion at s = 0. And (4.1) is the expansion at s = 1: ξ′/ξ(s+1) = Σ (−1)^n σ_{n+1} s^n — via the FE: ξ′/ξ(s+1) = −ξ′/ξ(−s) (for the self-dual triv case with the sign)... the FE gives ξ(s) = ξ(1−s) (for ζ: ξ(s) = ξ(1−s)) so ξ′(s) = −ξ′(1−s), ξ′/ξ(s) = −ξ′/ξ(1−s); at s+1: ξ′/ξ(s+1) = −ξ′/ξ(−s) = −(−Σ σ_{m+1}(−s)^m) = Σ (−1)^m σ_{m+1} s^m ✓ (4.1).
**(4.10)**: comparing (4.1) with (4.2): ξ′/ξ(s+1) = [archimedean part: τ_j] + [L-part: −η_j] + [pole terms −e(0)/(s+1) − e(1)/s]: for the triv case: ξ′/ξ(s+1) = (τ-series) + L′/L(s+1)... hmm with signs: (4.2) says ξ′/ξ(s+1,π) = (1/2 log Q + Σ Γ'R/ΓR(s+1+κj)) + L′/L(s+1,π) − e(0,π)/(s+1) − e(1,π)/s. For πtriv: N=1, κ=0, Q=1: ξ′/ξ(s+1) = Γ′R/ΓR(s+1) + ζ′/ζ(s+1) − 1/s (e(0) = 0? e(1) = 1? for triv: the pole at s=1 of L = ζ gives e(1,πtriv) = 1; and −e(0)/(s+1) with e(0) = 0? Hmm — actually for ζ: ξ(s) = (1/2)s(s−1)π^{−s/2}Γ(s/2)ζ(s) — so ξ′/ξ = 1/s + 1/(s−1) + Γ′R/ΓR(s) + ζ′/ζ(s). At s+1: ξ′/ξ(s+1) = 1/(s+1) + 1/s + Γ′R/ΓR(s+1) + ζ′/ζ(s+1). Comparing with (4.2)'s form: −e(0)/(s+1) − e(1)/s: so −e(0) = 1?? and −e(1) = 1... signs vary. Whatever — the pole terms.
Then (4.10): (−1)^j σ_{j+1} = τ_j − η_j + (−1)^j δ — comparing the coefficient of s^j:
- LHS from (4.1): (−1)^j σ_{j+1}.
- RHS from (4.2): τ_j (from the archimedean series Σ τ_j s^j) + [ζ′/ζ(s+1) part] + [pole 1/s part].
- The ζ-part: (4.12): −ζ′/ζ(s+1) = 1/s + Σ_{j≥0} η_j s^j — so ζ′/ζ(s+1) = −1/s − Σ η_j s^j. Hmm — and η_j here = Lagarias's η_j = c_j in our D-064 notation (Laurent coefficients of −ζ′/ζ at 1: −ζ′/ζ(1+s) = 1/s + Σ η_j s^j — so η_0 = c_0 = −γ etc. — wait sign: −ζ′/ζ(1+s) = 1/s + c₀ + c₁s + ... with c₀ = −γ ✓ (D-064: Laurent c₀ = −γ ✓). So η_j = c_j ✓ (D-064 said "η_j = c_j" ✓).
- The pole term: from ξ = (1/2)s(s−1)...: 1/(s+1) + 1/s — hmm at s+1 the (s−1) factor gives 1/s. The 1/s pole: its contribution to the power series at s = 0 of 1/s — it's NOT analytic — that's why (4.12) keeps 1/s separate: −ζ′/ζ(s+1) = 1/s + Σ η_j s^j.
Let me redo (4.2) for triv carefully: ξ(s) = (1/2)·s·(s−1)·ΓR(s)·ζ(s) with ΓR(s) = π^{−s/2}Γ(s/2). Then ξ′/ξ(s) = 1/s + 1/(s−1) + Γ′R/ΓR(s) + ζ′/ζ(s). At s ↦ s+1: ξ′/ξ(s+1) = 1/(s+1) + 1/s + Γ′R/ΓR(s+1) + ζ′/ζ(s+1).
Hmm — (4.2) has −e(0,π)/(s+1) − e(1,π)/s — so e(0) = −1, e(1) = −1 for triv? and δ(πtriv) = 1. (2.18) mention: "using −e(0,π) = δ(π)" — so −e(0,πtriv) = 1 = δ. So the pole terms are 1/(s+1) + 1/s? With −e(0)/(s+1) = 1/(s+1) and −e(1)/s = 1/s: e(1) = −1. OK whatever — the point: pole terms 1/(s+1) + 1/s.
Coefficient of s^j in ξ′/ξ(s+1):
- From 1/(s+1) = Σ_j (−1)^j s^j (geometric, |s| < 1) — coefficient (−1)^j.
- From 1/s — singular, excluded (cancels against ζ's pole — as the remark says).
- From Γ′R/ΓR(s+1): τ_j by definition (4.3): Σ τ_j s^j := 1/2 log Q + Σ Γ′R/ΓR(s+1+κj) — for triv: τ_j from Γ′R/ΓR(s+1) = Σ τ_j s^j.
- From ζ′/ζ(s+1) = −1/s − Σ_j η_j s^j (from (4.12)) — coefficient of s^j: −η_j.
So coefficient of s^j in ξ′/ξ(s+1): τ_j − η_j + (−1)^j (from the 1/(s+1)) — and the 1/s and −1/s cancel. Comparing with (4.1)'s (−1)^j σ_{j+1}:
(−1)^j σ_{j+1} = τ_j − η_j + (−1)^j ✓ — this is (4.10) with δ = 1: (−1)^jσ_{j+1} = τ_j − η_j + (−1)^jδ.
Hmm wait — in (4.2) the pole terms are written −e(0)/(s+1) − e(1)/s. And the coefficient extraction: −e(0)/(s+1) = −e(0)Σ(−1)^j s^j. With −e(0) = δ = 1: coefficient (−1)^j ✓ consistent.
So (4.10): τ_j = η_j + (−1)^j σ_{j+1} − (−1)^j — matching D-064's statement: "τ_j = c_j + (−1)ʲσ_{j+1} − (−1)ʲ" with η_j = c_j ✓ EXACTLY.
**Now — what needs formalizing for the a-form target:** c_{k−1} = (−1)^k(a_k + σ_k) + (−1)^{k−1}, i.e. η_{k−1} = ...
From (4.10): η_j = τ_j − (−1)^j + (−1)^j σ_{j+1}·(−1)... let me redo: (−1)^j σ_{j+1} = τ_j − η_j + (−1)^j ⟹ η_j = τ_j + (−1)^j − (−1)^j σ_{j+1}·... no:
(−1)^j σ_{j+1} = τ_j − η_j + (−1)^j
⟹ η_j = τ_j − (−1)^j σ_{j+1} + (−1)^j·... wait: η_j = τ_j + (−1)^j − (−1)^j σ_{j+1} — hmm: (−1)^jσ_{j+1} = τ_j − η_j + (−1)^j ⟹ η_j = τ_j + (−1)^j − (−1)^jσ_{j+1}.
Check against D-064: τ_j = c_j + (−1)^jσ_{j+1} − (−1)^j ⟹ c_j = τ_j − (−1)^jσ_{j+1} + (−1)^j ✓ SAME (η_j = c_j) ✓.
My a-form target: c_{k−1} = (−1)^k(a_k + σ_k) + (−1)^{k−1}. Set j = k−1: c_{k−1} = τ_{k−1} − (−1)^{k−1}σ_k + (−1)^{k−1} = τ_{k−1} + (−1)^k σ_k + (−1)^{k−1}. So I need **τ_{k−1} = (−1)^k a_k** — i.e., τ_j = (−1)^{j+1} a_{j+1}:
- j = 0: τ_0 = −a₁ = −(log 4π + γ)/2. Check via (4.17): τ_0 = 1/2 log Q − N/2 log π + 1/2 Σ Γ′/Γ(κj − 1/2)... for triv: N=1, Q=1, κ=0: τ_0 = −(log π)/2 + (1/2)ψ(−1/2 + 1)?? hmm (4.17): τ_0(π) = (1/2)log Q − (N/2)log π + (1/2)Σ_{j=1}^N (Γ′/Γ)(κ_j − 1/2)·... the text says "τ0(π) = 1/2 log Q − N/2 log π + 1/2 Σ Γ′/Γ(κj(π) − 1/2)"... hmm wait the extracted text shows "τ0(π) = 1/2 log Q −N/2 log π + 1/2 Σ_{j=1}^N Γ′/Γ(κj(π) −1/2)" — hmm actually it shows "+ 1/2 Σ Γ′/Γ(κj(π) − 1/2)"? The extraction shows "1 2 N X j=1 Γ′ Γ κj(π) −1 2 " — with κ_1 = 0: Γ′/Γ(−1/2)?? That doesn't look right — probably Γ′/Γ(κj + 1/2) or the Hurwitz form (4.16)... Let me check numerically: τ_0 should equal −(log 4π + γ)/2 ≈ −(2.5310 + 0.5772)/2 ≈ −1.5541. From (4.20)-(4.21): τ_0(triv) = τ̃_0(0)? Definition 4.1: Σ τ_n s^n := 1/2 log Q + Σ Γ′R/ΓR(s+1+κj) — for triv: Γ′R/ΓR(s+1) = Σ τ_n s^n — so τ_0 = Γ′R/ΓR(1) = −(1/2)log π + (1/2)ψ(1/2). ψ(1/2) = −γ − 2 log 2. So τ_0 = −(1/2)log π + (1/2)(−γ − 2 log 2) = −(log π)/2 − γ/2 − log 2 = −(log π + 2 log 2 + γ)/2 = −(log(4π) + γ)/2 ✓✓ = −a₁ ✓.
So the needed identity: **τ_j = (−1)^{j+1} a_{j+1}** for j ≥ 0:
- j = 0: τ_0 = −a₁ ✓ (just shown).
- j ≥ 1: τ_j = (−1)^{j+1} a_{j+1} = (−1)^{j+1}(1−2^{−(j+1)})ζ(j+1).
From the digamma expansion (4.18)-(4.22): Γ′R/ΓR(s+1) = −(1/2)log π + (1/2)ψ((s+1)/2) — wait: ΓR(s) = π^{−s/2}Γ(s/2), so Γ′R/ΓR(s) = −(1/2)log π + (1/2)ψ(s/2). At s+1: Γ′R/ΓR(s+1) = −(1/2)log π + (1/2)ψ((s+1)/2). Hmm — but (4.20) defines τ̃ via Γ′/Γ(s+1+z) — and (4.19): ψ(s+1) = −γ + Σ_{m≥1} (1/m − 1/(s+m)). The τ_j extraction via (4.22): τ̃_n(z) = (−1)^{n+1} Σ_{m≥1} (m+z)^{−(n+1)} for n ≥ 1. With the (s+1)/2 argument: ψ((s+1)/2)... hmm the exact chain: (4.16) gives τ_n = (−1/2)^{n+1} Σ_j ζ(n+1, κ_j + 1/2) (Hurwitz) — for triv: τ_n = (−1/2)^{n+1} ζ(n+1, 1/2). And ζ(n+1, 1/2) = (2^{n+1} − 1)ζ(n+1) (Hurwitz at 1/2 identity). So τ_n = (−1/2)^{n+1}(2^{n+1}−1)ζ(n+1) = (−1)^{n+1}(1 − 2^{−(n+1)})ζ(n+1) ✓✓ = (−1)^{n+1} a_{n+1} ✓ for n ≥ 1.
So the full a-form (4.10) decomposition:
c_{k−1} = τ_{k−1} + (−1)^k σ_k + (−1)^{k−1} [from (4.10)]
τ_{k−1} = (−1)^k a_k [archimedean evaluation]
giving c_{k−1} = (−1)^k(a_k + σ_k) + (−1)^{k−1} ✓.
**The proof content breaks into:**
(A) **Lemma 4.1 for ζ**: −ξ′/ξ(s) = Σ_{m≥0} σ_{m+1} s^m as a power series near s = 0 (Hadamard product) + the FE move to s = 1: ξ′/ξ(s+1) = Σ (−1)^m σ_{m+1} s^m.
(B) **The decomposition (4.2) for triv**: ξ′/ξ(s+1) = Γ′R/ΓR(s+1) + ζ′/ζ(s+1) + 1/(s+1) + 1/s — pure algebra from ξ = (1/2)s(s−1)ΓR ζ (logDeriv of a product).
(C) **(4.12)**: −ζ′/ζ(s+1) = 1/s + Σ η_j s^j with η_j = c_j — that's exactly our `lcoeff`/`hLi` machinery! From LiResidue: hLi(w) = 1 − (w−1)(zetaA′/zetaA) with hLi = (w−1)(−ζ′/ζ) punctured near 1. So −ζ′/ζ(1+s) = hLi(1+s)/s = (1/s)·hLi(1+s) = (1/s)(1 + Σ_{j≥1} (hLi^{(j)}(1)/j!) s^j) = 1/s + Σ_{j≥0} (hLi^{(j+1)}(1)/(j+1)!) s^j = 1/s + Σ_j lcoeff(j) s^j·... wait lcoeff k := iteratedDeriv (k+1) hLi 1/(k+1)! — so hLi(1+s) = Σ_{j≥0} (iteratedDeriv j hLi 1/j!) s^j = Σ_j lcoeff(j−1)... hmm lcoeff(k) with k = j−1: for j ≥ 1: iteratedDeriv j hLi 1/j! = lcoeff(j−1) (hLi_iteratedDeriv_div_factorial ✓ PROVED in LiResidue!). And j = 0: hLi(1) = 1 ✓ (hLi_one). So hLi(1+s) = 1 + Σ_{j≥1} lcoeff(j−1) s^j = Σ_{j≥0} lcoeff(j−1) s^j with the convention lcoeff(−1) := 1. Then −ζ′/ζ(1+s) = hLi(1+s)/s = 1/s + Σ_{j≥1} lcoeff(j−1) s^{j−1} = 1/s + Σ_{j≥0} lcoeff(j) s^j ✓✓ — EXACTLY (4.12) with η_j = c_j = lcoeff j — and this is PRECISELY the analytic-content-free reading of the lcoeff definition (the power-series expansion of hLi at 1, which is analytic — hLi_analyticAt_one PROVED). The needed ingredient: the power series CONVERGES and hLi(1+s) = its series near 0 — AnalyticAt ⟹ hasFPowerSeries ✓ Mathlib machinery. And hLi(1+s)/s = ... the division by s — need (1+s) ≠ 1 i.e. s ≠ 0 and ζ(1+s) ≠ 0 for the hLi_eq_of_ne bridge — on a punctured neighborhood of 0 avoiding zeros of ζ(1+·) — ζ ≠ 0 near 1 punctured (riemannZeta_residue_one.eventually_ne ✓ used before).
So (C) is nearly FREE from LiResidue + analyticity.
(D) **The archimedean evaluation**: τ_j := coefficient of s^j in Γ′R/ΓR(s+1) — with ΓR(s) = π^{−s/2}Γ(s/2). τ_j = (−1)^{j+1} a_{j+1}:
- j = 0: τ_0 = Γ′R/ΓR(1) = −(log π)/2 + ψ(1/2)/2 = −(log 4π + γ)/2 — needs ψ(1/2) = −γ − 2 log 2 — Mathlib: `Complex.digamma_one_half`? or `Real.digamma...`? Hmm — Mathlib has digamma values? There's `Complex.digamma_one : ψ(1) = −γ`? and digamma(1/2)? I recall Mathlib has digamma at 1 (via `Complex.digamma_one`?) and maybe the reflection/recurrence. ψ(1/2) = −γ − 2log 2 might NOT be in Mathlib. Hmm. There's `Real.Gamma...`? Let me check what's available.
- j ≥ 1: τ_j = (−1)^{j+1}(1−2^{−(j+1)})ζ(j+1) — via the digamma partial fractions (4.19)/(4.22) + the odd-m zeta = (1−2^{−j})ζ(j) identification. Mathlib has digamma partial fractions? `Complex.digamma_eq_sum...`? Hmm — there IS something: `Complex.digamma_def`? Mathlib's digamma is defined as deriv Gamma / Gamma. The series expansion ψ(s+1) = −γ + Σ (1/m − 1/(s+m)) — does Mathlib have it? I recall `Real.digamma_eq...`? Not sure. This could be substantial.
Hmm wait — actually, let me reconsider. Do I even need the digamma route? The identity τ_j = (−1)^{j+1} a_{j+1} in terms of my Lean `lagariasA (j+1)` = 1 + Σ_{m odd ≥ 3} m^{−(j+1)} — i.e. I need:
coefficient of s^j in Γ′R/ΓR(s+1) = (−1)^{j+1}·(1 + Σ_{m odd ≥ 3} m^{−(j+1)}) (j ≥ 1)
coefficient of s^0 (value at 0) = −(log 4π + γ)/2.
Via (4.18) + (4.19): Γ′R/ΓR(s+1) = −(log π)/2 + (1/2)ψ((s+1)/2). Hmm wait — Γ′R/ΓR(s+1): ΓR(s+1) = π^{−(s+1)/2}Γ((s+1)/2) so logDeriv = −(log π)/2 + ψ((s+1)/2)·(1/2). ✓.
ψ((s+1)/2) — expansion at s = 0: ψ(1/2 + s/2) = Σ_j ψ^{(j)}(1/2)/j!·(s/2)^j. The polygamma values at 1/2: ψ^{(j)}(1/2) = (−1)^{j+1} j! (2^{j+1} − 1) ζ(j+1) for j ≥ 1 — standard (from the series ψ(s) = −γ + Σ_m (1/m − 1/(s−1+m))... ψ^{(j)}(z) = (−1)^{j+1} j! Σ_{m≥0} (m+z)^{−(j+1)} = (−1)^{j+1} j! ζ(j+1, z) (Hurwitz). At z = 1/2: ζ(j+1, 1/2) = (2^{j+1}−1)ζ(j+1).
So τ_j = (1/2)·ψ^{(j)}(1/2)/j!·(1/2)^j = (1/2)·(−1)^{j+1}(2^{j+1}−1)ζ(j+1)·2^{−j} = (−1)^{j+1}(2^{j+1}−1)·2^{−(j+1)}ζ(j+1) = (−1)^{j+1}(1−2^{−(j+1)})ζ(j+1) ✓.
And my lagariasA (j+1) = 1 + Σ_{m odd ≥ 3} m^{−(j+1)} = Σ_{m odd ≥ 1} m^{−(j+1)} = (1−2^{−(j+1)})ζ(j+1) — the odd-zeta identity: Σ_{m odd} m^{−s} = ζ(s) − Σ_{m even} m^{−s} = ζ(s) − 2^{−s}ζ(s) = (1−2^{−s})ζ(s) ✓.
So the archimedean piece needs:
1. ΓR logDeriv decomposition: logDeriv (π^{−s/2}Γ(s/2)) at s+1 = −(log π)/2 + (1/2)ψ((s+1)/2).
2. Polygamma values: ψ^{(j)}(1/2) for j ≥ 1 = (−1)^{j+1} j! (2^{j+1}−1)ζ(j+1), and ψ(1/2) = −γ − 2 log 2 for j = 0.
3. The odd-zeta identity: Σ_{m odd ≥ 1} m^{−s} = (1−2^{−s})ζ(s) for integer s ≥ 2.
4. Taylor coefficient extraction: the j-th Taylor coefficient of Γ′R/ΓR(s+1) at s=0 equals (−1)^{j+1} a_{j+1}.
What's in Mathlib?
- `Complex.digamma` exists (used in Zeta23's gammaBracket: Complex.digamma (1/4 + I*r/2) ✓).
- digamma values: `Complex.digamma_one : digamma 1 = -γ`? Let me check. Polygamma: `Complex.polygamma`? Not sure Mathlib has polygamma at all! Hmm. Let me grep.
Actually — hold on. Let me reconsider the ARCHIMEDEAN side entirely. The identity I need is:
coeff-of-s^j in Γ′R/ΓR(s+1) = (−1)^{j+1}·lagariasA(j+1) [as ℝ or ℂ]
Alternative route avoiding polygamma VALUES: use the partial fraction series DIRECTLY. Γ′R/ΓR(s+1) = −(log π)/2 + (1/2)ψ((s+1)/2). Hmm — but the argument (s+1)/2 has real part 1/2 — the series ψ(s+1) = −γ + Σ_m (1/m − 1/(s+m)) converges for s not a negative integer... ψ((s+1)/2) = ψ(1/2 + s/2) — expand via (4.19): ψ(1 + w) = −γ + Σ_{m≥1}(1/m − 1/(w+m)) — with w = (s−1)/2?? ψ(1/2 + s/2) = ψ(1 + (s−1)/2)... at s = 0: ψ(1/2) — the series (4.19) at w = −1/2: Σ_m (1/m − 1/(m − 1/2)) — converges ✓.
For the j ≥ 1 coefficients: differentiate (4.19) termwise j times: ψ^{(j)}(1+w) = Σ_m (−1)^{j+1} j! (w+m)^{−(j+1)} — at w = −1/2: Σ_m (−1)^{j+1} j! (m − 1/2)^{−(j+1)} = (−1)^{j+1} j! Σ_m (2/(2m−1))^{j+1} = (−1)^{j+1} j! 2^{j+1} Σ_{m≥1} (2m−1)^{−(j+1)} = (−1)^{j+1} j! 2^{j+1}·(odd sum starting at m=1: 2m−1 = 1, 3, 5...) = (−1)^{j+1} j! 2^{j+1}·lagariasA(j+1) ✓ — DIRECTLY in terms of my lagariasA (the odd-m sum!) — no ζ(j+1) values needed!!
So the archimedean identity becomes:
τ_j = (1/2)·[ψ^{(j)}(1/2)]/j!·(1/2)^j = (1/2)·(−1)^{j+1} j! 2^{j+1} lagariasA(j+1)/j!·2^{−j} = (−1)^{j+1} lagariasA(j+1) ✓✓ for j ≥ 1.
And j = 0: τ_0 = −(log π)/2 + (1/2)ψ(1/2) = −(log 4π + γ)/2 needs ψ(1/2) = −γ − 2 log 2: from (4.19): ψ(1/2) = ψ(1 + (−1/2)) = −γ + Σ_m (1/m − 1/(m−1/2)) = −γ + Σ_m (1/m − 2/(2m−1)) — Σ_m [1/m − 2/(2m−1)] = ... this sum = −2 log 2 (classical: it's the alternating harmonic rearrangement). Needs proof: Σ_{m=1}^∞ (1/m − 2/(2m−1)) = −2 log 2. Hmm — that's a real-series evaluation. Via: 1/m − 2/(2m−1) = [(2m−1) − 2m]/(m(2m−1)) = −1/(m(2m−1)). And Σ 1/(m(2m−1)) = 2 Σ (−1)^{k+1}/k? Let me verify numerically: Σ_m 1/(m(2m−1)) = 1/1 + 1/(2·3) + 1/(3·5) + ... = 1 + 0.1667 + 0.0667 + 0.0357 + 0.0222 + ... ≈ 1.386 ≈ 2 log 2 = 1.3863 ✓. So Σ_m (1/m − 2/(2m−1)) = −2 log 2 ✓. Proving Σ 1/(m(2m−1)) = 2 log 2 in Lean: partial fractions 1/(m(2m−1)) = 2/(2m−1) − ... hmm: 1/(m(2m−1)) = A/m + B/(2m−1): 1 = A(2m−1) + Bm: A = −1, B = 2: = −1/m + 2/(2m−1). Σ_{m=1}^M (−1/m + 2/(2m−1)) = −H_M + 2Σ_{m≤M} 1/(2m−1) = −H_M + 2(H_{2M} − (1/2)H_M) = −H_M + 2H_{2M} − H_M = 2H_{2M} − 2H_M = 2(H_{2M} − H_M) → 2 log 2 (since H_{2M} − H_M = log(2M) − log M + o(1) = log 2 + o(1)) ✓ elementary! H_{2M} − H_M → log 2: from H_n = log n + γ + o(1) — Mathlib: harmonic asymptotics: `Real.tendsto_harmonic_sub_log`? There's the Euler–Mascheroni sequence: `Real.tendsto_sum_Ioc_inv...`? Mathlib has `Real.tendsto_harmonic...`? I recall harmonic series stuff: harmonic n − log n → γ: `Real.tendsto_...`? There IS `Real.tendsto_sum_Icc_inv...`? Not sure of the name but harmonic-minus-log convergence is in Mathlib (used for γ's definition? γ is DEFINED as the limit — `Real.eulerMascheroniConstant` is defined AS lim (H_n − log n)? or via the series Σ (1/n − log(1+1/n))? Mathlib defines eulerMascheroniConstant := lim_{n→∞} (harmonic n − log n) I believe — with `Real.tendsto_harmonic_sub_log` or similar. If so, H_{2M} − H_M = (H_{2M} − log(2M)) − (H_M − log M) + log 2M − log M → γ − γ + log 2 = log 2 ✓ elementary assembly.
But the digamma series (4.19) itself — does Mathlib have it? `Complex.digamma` series/partial fractions? Let me grep. If Mathlib has digamma's partial fractions AND its Taylor differentiability (digamma is analytic away from poles — `Complex.analyticAt_digamma`?), then the polygamma values come from termwise differentiation of the series. Termwise differentiation of Σ_m (1/m − 1/(s+m)) j times — analyticity + deriv of the series: needs the standard "deriv of uniformly-convergent-on-compacts series" — Mathlib: `HasSum.deriv`? or via `AnalyticOnNhd` of series of analytic functions (Weierstrass M-test for analyticity: `analyticOnNhd_...`?). Hmm — this is where the work is.
ALTERNATIVELY — maybe Mathlib already HAS the polygamma values at 1/2 or the digamma series expansion. Let me grep for digamma in Mathlib: values, series, iterDeriv.
Actually — WAIT. Let me step back and reconsider the whole (4.10) formalization strategy. The a-form target c_{k−1} = (−1)^k(a_k + σ_k) + (−1)^{k−1} needs:
(A) Lemma 4.1: the σ-expansion of ξ′/ξ at 0/1 — HADAMARD PRODUCT. This is the heavy piece: Mathlib has NO Hadamard factorization. Building it for ξ: ξ entire of order 1, ξ(s) = e^{A+Bs}Π(1−s/ρ)e^{s/ρ}... In Lean: from Zeta23 — do they have anything about ξ's product? Zeta23 proved the EF and RvM — via contours, not Hadamard. completedRiemannZeta IS ξ-ish: `completedRiemannZeta s = (1/2)s(s−1)π^{−s/2}Γ(s/2)ζ(s)`? In Mathlib: completedRiemannZeta s = π^{−s/2}Γ(s/2)·... hmm — Mathlib's completedRiemannZeta: Λ(s) = π^{−s/2}Γ(s/2)ζ(s)·(s(s−1))/2? Let me check — `completedRiemannZeta s = (s * (s - 1)) / 2 * (π^(-s/2) * Gamma(s/2)) * riemannZeta s`? I recall Mathlib's completedRiemannZeta s := (1/2)·s·(s−1)·Gammaℝ... wait actually: `completedRiemannZeta s = (s * (s - 1)) / 2 * Gammaℝ... ` — hmm. The point: (A) needs the HADAMARD product — the e^{A+Bs}Π(1−s/ρ)e^{s/ρ} factorization — which is NOT in Mathlib and NOT in Zeta23 (they proved EF differently).
Hmm hmm. But wait — what does (A) actually need? Not the full Hadamard product as a function identity — just the POWER SERIES identity at one point: −ξ′/ξ(s) = Σ σ_{m+1} s^m near s = 0, i.e., the Taylor coefficients of −ξ′/ξ at 0 are the σ's. Equivalently: iteratedDeriv m (−logDeriv ξ) 0 = σ_{m+1}·... Let me think: −ξ′/ξ(s) = Σ_{m≥0} σ_{m+1} s^m means iteratedDeriv m (−ξ′/ξ) 0 / m! = σ_{m+1}.
Is there a way to get this WITHOUT the global Hadamard product? The classical content: the σ_m are defined as the paired sums; the identity relates them to derivatives of log ξ at 0.
Alternative approach to (A): the functional equation + the EXPLICIT FORMULA (Zeta23's EF_lit_zeta, proved!) might give the moment identities directly. Let me think: the EF says Σ_ρ m_ρ h(γ_ρ) = [pole terms] − [prime sum] + [gamma integral]. The moments σ_k = Σ_ρ ρ^{−k}: ρ = 1/2 + iγ_ρ... σ_k = Σ (1/2 + iγ)^{−k}?? NO — σ_k = Σ_ρ ρ^{−k} — in terms of γ: ρ^{−k} with ρ = 1/2 + iγ only ON RH. Off RH, γ is complex and ρ = 1/2 + iγ still holds BY DEFINITION of gammaOf (γ := ρ.im + i(1/2 − ρ.re), so 1/2 + iγ = 1/2 + i·ρ.im − (1/2 − ρ.re) = ρ.re + i·ρ.im = ρ ✓ ALWAYS). So ρ = 1/2 + i·gammaOf(ρ) exactly. So σ_k = Σ_ρ mult·(1/2 + iγ_ρ)^{−k} — in the EF's language: Σ mult·h(γ_ρ) with h(z) := (1/2 + iz)^{−k} — NOT entire (pole at z = i/2) — outside the EF's test class (paperFT of C²_c is entire of exp type).
BUT the EF is proved by contour methods — the same contour with the kernel (1/2+iz)^{−k}... that's re-proving a special EF instance, not reusing the theorem. Hmm.
Hmm, wait — actually, let me look at this from a totally different angle. What if I DON'T prove (4.10) as a coefficient identity, but prove the CRUX identity directly via the contour residue theorem I just built (rectInt'_Jlag)? Recall the crux: Sf(n) = Res₁(n) i.e. S_∞ + 1 − λ_n = ResW1 n. The contour identity (D-064 §2): sides(T) = λ_n(T) + triv + Res₁ — and as T → ∞... no wait, the crux was derived from (4.10) summed binomially. Hmm.
Alternatively — the crux S_∞ + 1 − λ_n = Res₁ can be attacked DIRECTLY as a power-series identity:
S_∞(n) = Σ_j C(n,j) τ_{j−1}, λ_n = Σ_j (−1)^{j+1}C(n,j)σ_j (PROVED in LiSwaps — well, the a_j form...), Res₁ = Σ_j C(n,j) c_{j−1} (PROVED ResW1_eq_sum). So the crux reduces to: Σ_j C(n,j)[τ_{j−1} + (−1)^{j+1}σ_j... wait we need per-coefficient: c_{j−1} = τ_{j−1} + (−1)^{j}σ_j... = the (4.10) relation. There's no way around the per-coefficient identity — the sums telescope ONLY via (4.10). Right — (4.10) is genuinely needed. OK.
So (4.10) in a-form: c_{k−1} = (−1)^k(a_k + σ_k) + (−1)^{k−1}. The proof structure via Lagarias:
c_{k−1} = [coeff of s^{k−1} in −ζ′/ζ(s+1) − 1/s] — hmm wait: −ζ′/ζ(s+1) = 1/s + Σ_j c_j s^j (from (C)) — the coefficient of s^{k−1} (k ≥ 1) is c_{k−1}.
Consider the function G(s) := −ξ′/ξ(s+1) + Γ′R/ΓR(s+1) + 1/(s+1)... let me define via (4.2): ξ′/ξ(s+1) = 1/(s+1) + 1/s + Γ′R/ΓR(s+1) + ζ′/ζ(s+1). So:
−ζ′/ζ(s+1) − 1/s = Γ′R/ΓR(s+1) + 1/(s+1) − ξ′/ξ(s+1).
Coefficient of s^{k−1}: c_{k−1} = τ_{k−1} + (−1)^{k−1} − [coeff of s^{k−1} in ξ′/ξ(s+1)].
And (4.1): coeff in ξ′/ξ(s+1) = (−1)^{k−1} σ_k.
So c_{k−1} = τ_{k−1} + (−1)^{k−1} − (−1)^{k−1}σ_k = τ_{k−1} + (−1)^k σ_k + (−1)^{k−1}·...
hmm: −(−1)^{k−1} = (−1)^k ✓. So c_{k−1} = τ_{k−1} + (−1)^k σ_k + (−1)^{k−1}. With τ_{k−1} = (−1)^k a_k: c_{k−1} = (−1)^k a_k + (−1)^k σ_k + (−1)^{k−1} ✓✓ the a-form.
So the THREE analytic inputs:
(I) **coeff-of-s^{k−1} in ξ′/ξ(s+1) = (−1)^{k−1}σ_k** — the Hadamard/EF content (Lemma 4.1). HEAVY.
(II) **coeff-of-s^{k−1} in −ζ′/ζ(s+1) − 1/s is c_{k−1}** — nearly free (LiResidue machinery) — needs care: −ζ′/ζ(s+1) = hLi(1+s)/s; the coefficient extraction via hLi's Taylor series ✓.
(III) **coeff-of-s^{k−1} in Γ′R/ΓR(s+1) = (−1)^k a_k** — the archimedean/digamma piece.
(IV) **The decomposition (4.2)**: ξ′/ξ(s+1) = 1/(s+1) + 1/s + Γ′R/ΓR(s+1) + ζ′/ζ(s+1) — pure logDeriv algebra from ξ's definition (completedRiemannZeta in Mathlib: need Λ(s) = (1/2)s(s−1)ΓR(s)ζ(s)?? — Mathlib's completedRiemannZeta: `completedRiemannZeta s = (s * (s - 1)) / 2 * (π ^ (-s/2) * Real.Gamma...` — hmm — actually Mathlib: completedRiemannZeta s = (s·(s−1))/2 · π^{−s/2}·Γ(s/2)·ζ(s)? Let me check the exact Mathlib def. There's `completedRiemannZeta` and `completedRiemannZeta₀`. The logDeriv of the product: logDeriv (f·g·h·l) = Σ logDeriv — needs nonvanishing on a neighborhood — the identity (IV) holds where nothing vanishes — as a MEROMORPHIC identity it holds on a punctured nhd of 0 (where ζ(1+s) ≠ 0 etc.) — for coefficient extraction that's enough.
The COEFFICIENT EXTRACTION mechanism: for all these, "coefficient of s^{k−1}" = iteratedDeriv (k−1) F 0/(k−1)! where F is the analytic-at-0 function. The identities between coefficients follow from identities between the functions on a neighborhood (via AnalyticAt + EventuallyEq → iteratedDeriv equal: `AnalyticAt.iteratedDeriv...`? if f =ᶠ[𝓝 0] g then iteratedDeriv k f 0 = iteratedDeriv k g 0 — `Filter.EventuallyEq.iteratedDeriv`? hmm — deriv_eq exists (EventuallyEq.deriv_eq) — iterated: `EventuallyEq.iteratedDeriv`? maybe iterate deriv_eq — there's `Filter.EventuallyEq.iteratedDeriv_eq`? I recall `EventuallyEq.deriv_eq` and for iterated — might need induction or there's a direct lemma.)
So the architecture: define the meromorphic F(s) := ξ′/ξ(s+1) and its decomposition; the key identity (I): the Taylor coefficients of ξ′/ξ(s+1) at 0 equal (−1)^{k−1}σ_k — THIS is the Hadamard heart.
**Can (I) be obtained from Zeta23's EF instead of building Hadamard?** Think: σ_k = Σ_ρ mult·ρ^{−k} (paired). The EF evaluates Σ mult·h(γ_ρ) for h entire-exp-type. ρ^{−k} = (1/2 + iγ)^{−k} — not admissible. HOWEVER — Lagarias's own proof of (4.1) uses Hadamard. Is there an alternative proof of the moment identity via the EF with a LIMIT of admissible test functions? The functions h_x(z) := e^{izx}... no. The moments (1/2+iγ)^{−k} can be represented as LAPLACE transforms: (1/2+iγ)^{−k} = (1/(k−1)!)∫_0^∞ u^{k−1} e^{−(1/2+iγ)u} du for Re(1/2+iγ) > 0 ✓ (Re ρ > 0 ✓). So σ_k = (1/(k−1)!)∫_0^∞ u^{k−1} e^{−u/2} Σ_ρ mult·e^{−iγ_ρ u} du — and Σ mult·e^{−iγ u} = Σ mult·h_u(γ) with h_u(z) = e^{−izu} = paperFT of... e^{−izu} = ∫ k(t) e^{izt}dt with k = δ(·+u)?? — a DELTA — not C²_c. The EF with k → δ_(-u) limit: the EF as stated needs C²_c... The paper's W-form is the L²-extension — W(f,g) — the EF for f⋆g̃... The delta limit: Σ mult·e^{−iγu} is the "dual" of the prime-side — this is the Cramér/Guinand explicit formula with exponential test — the boundary of the EF's validity. In Lean this would be a limiting argument over the proved EF — possible but delicate (need integrability/summability control in the limit).
Hmm — honestly, the DIRECT Hadamard route might be comparable. But Mathlib has NO Weierstrass/Hadamard factorization API. Building "ξ(s) = e^{A+Bs}Π(1−s/ρ)e^{s/ρ}" from scratch: the product convergence (Π (1−s/ρ)e^{s/ρ} converges since Σ|ρ|^{−2} < ∞ ✓ zero_sum_inv_sq!) — the product is a locally-uniformly-convergent product of analytic functions — Mathlib: `HasProd` of analytic ⟹ analytic (tendsto-locally-uniform + Weierstrass)? There's `AnalyticOnNhd` stability under locally uniform limits? Mathlib has `TendstoLocallyUniformly` + analyticity preservation? I recall `DifferentiableOn` preservation under locally uniform limits of holomorphic functions — `TendstoLocallyUniformly.differentiableOn`? hmm — there might be something like `AnalyticOnNhd` of a tsum of analytic functions with locally uniform summability — `Summable`+`TendstoLocallyUniformly.sum`... In Mathlib: `hasSum_...`? There IS machinery: `TendstoLocallyUniformlyOn` + `DifferentiableOn` → limit differentiable: I recall `TendstoLocallyUniformlyOn.differentiableOn`? not sure it exists (needs Morera or Weierstrass). Hmm.
AND the equality of the product with ξ (the quotient is e^{A+Bs} — needs the order-1 estimate + no-other-zeros + Liouville-style argument) — that's the genuinely hard part: showing ξ/Π = e^{A+Bs} (Hadamard's theorem content: the quotient is entire nonvanishing of order ≤ 1 ⟹ exp of linear). This is deep.
BUT WAIT — for the COEFFICIENT identity at s = 0 (or s = 1), maybe there's a shortcut: we don't need the global factorization! The claim: iteratedDeriv m (ξ′/ξ) 1 = (−1)^m σ_{m+1}·m!-ish. Hmm — the Taylor coefficients of ξ′/ξ at 1 are the σ's.
Alternative: use the EXPLICIT FORMULA in its WEIL-proved form to evaluate the moments via a generating function. Consider the function h(z) = e^{izx}·... no.
OK here's another classical route to Lemma 4.1: the identity −ξ′/ξ(s) = Σ_m σ_{m+1} s^m at s near 0 is equivalent to: log ξ(s) = log ξ(0) − Σ_{m≥1} σ_m s^m/m near 0 (integrate termwise; using A = −σ₁). And σ_m for m ≥ 2 are the ρ-moments. The generating function Σ_m σ_m s^m/m... Consider the contour integral (1/2πi)∮ log(1 − s/w)·(ξ′/ξ)(w) dw — the argument principle with the log kernel picks out Σ_ρ log(1 − s/ρ) = Σ_ρ (−Σ_m s^m/(mρ^m)) = −Σ_m σ_m s^m/m — and on the other side, if the contour can be moved to pick up only the log ξ singularity structure... The contour identity: for |s| < 14 (inside the first zero), take a contour avoiding zeros: (1/2πi)∮_C log(1−s/w) ξ′/ξ(w) dw where C is a large circle — the integral = Σ_{ρ inside} log(1−s/ρ)·mult (residue at each zero: mult·log(1−s/ρ) — log(1−s/w) is ANALYTIC at w = ρ for |s| < |ρ| ✓ since 1−s/ρ ≠ 0... the branch: log(1−s/w) near w = ρ: 1 − s/ρ ≠ 0 for s ≠ ρ — for |s| < min|ρ| = 14.1, 1−s/ρ stays in the right half... |s/ρ| < 1 ⟹ 1−s/ρ ∈ right half-plane-ish (Re(1−s/ρ) > 1−|s/ρ| > 0) ✓ principal log analytic ✓). Moving the contour to infinity: the integral → −log ξ(s) + log ξ(0)? via the poles of ξ′/ξ at 0 and 1 (ξ has zeros at... ξ(0): ξ(0) = 1/2·... ξ(0) = (1/2)·0·(−1)·ΓR(0)·ζ(0) — ΓR(0) = ∞ (Γ pole) — ξ(0) = 1/2 ✓ nonzero. ξ's only "poles" — ξ is ENTIRE (no poles!). Zeros of ξ = the ρ's. So ξ′/ξ has poles ONLY at the ρ's — so ∮_C log(1−s/w)ξ′/ξ = Σ_{ρ ∈ C} mult·log(1−s/ρ) EXACTLY, and as C → ∞... the integral → 0 if the integrand decays — ξ′/ξ grows like log|w| (order-1 estimate) and log(1−s/w) ~ −s/w for large w — so integrand ~ −s·log|w|/w — the circle integral ~ s·log R·(1/R)·2πR = 2π s log R → ∞!! Doesn't decay — need to subtract the Taylor polynomial of the log kernel: log(1−s/w) + s/w ~ −s²/(2w²) — then integrand ~ log R/R² ·R = log R/R → 0 ✓. So:
(1/2πi)∮ [log(1−s/w) + s/w] ξ′/ξ(w) dw → 0 as R → ∞
= Σ_ρ mult·[log(1−s/ρ) + s/ρ] + [residue contributions at 0? ξ′/ξ at 0: ξ(0) ≠ 0 so no pole at 0 — wait ξ′/ξ is analytic at 0 (ξ(0) = 1/2 ≠ 0) ✓ so the only singularities are the ρ's... then the integral over a circle avoiding zeros = Σ_{ρ inside} mult·[log(1−s/ρ) + s/ρ] and as R → ∞ the circle integral → 0?! That gives Σ_ρ [log(1−s/ρ) + s/ρ] = 0?? — that's wrong unless the circle integrals don't vanish — because ξ′/ξ on the large circle is NOT small — the order-1 bound |ξ′/ξ| ≪ log R doesn't hold on ALL circles (only away from zeros) — and the limit requires the circles to avoid zeros with clearance — delicate but classical (this IS the Hadamard proof's contour content).
Hmm — this is the standard proof and it's what Zeta23's EF machinery does in a more general form. Let me look at how Zeta23 PROVES EF_lit_zeta (WeilEF/Main.lean) — if their proof has a reusable "weighted sums over zeros = contour expressions" lemma at the level of generating functions, I can extract the moment identities from it. Let me read WeilEF/Main.lean's EF_lit_zeta proof structure and the ZeroSumLimit/Contour files.
The PDF gives me Lagarias's exact proof structure. Now let me see how Zeta23 *proves* EF_lit_zeta — whether there's a reusable moment/contour identity inside.
tool: Read
input
{
"file_path": "D:\\Python\\Quantum\\zeta-23-lean\\Zeta23\\WeilEF\\Main.lean",
"offset": 30,
"limit": 80
}
raw content_json (database row)
[{"type":"thinking","thinking":"Now I have Lagarias's actual proof structure. Key observations:\n\n**Lemma 4.1 (the heart)**: The power series expansion around s = 1 of ξ′/ξ:\n ξ′/ξ(s + 1) = Σ_{n=0}^∞ (−1)^n σ_{n+1} s^n (4.1)\nwhere σ_n = Σ′_ρ ρ^{−n} (power sums of zeros of ξ, which ARE the nontrivial zeros of ζ).\n\nThe proof: Hadamard product ξ(s) = e^{As+B} Π_ρ (1−s/ρ)e^{s/ρ} — taking logs, expanding log(1−s/ρ) = −Σ_{n≥1} s^n/(nρ^n), the n=1 terms combine with A = −σ₁ to kill the s¹ term, giving log ξ(s) = B − Σ_{n≥2} σ_n s^n/n; differentiating: −ξ′/ξ(s) = Σ_{n≥2} σ_n s^{n−1} = Σ_{m≥0} σ_{m+2} s^m... hmm wait let me redo: log ξ(s) = As + B − Σ_{n≥2} σ_n s^n/n — wait: log(1 − s/ρ) + s/ρ = −Σ_{n≥1} (s/ρ)^n/n + s/ρ = −Σ_{n≥2} s^n/(nρ^n) — the n=1 term cancels with the +s/ρ ✓. So log ξ(s) = As + B − Σ_ρ Σ_{n≥2} s^n/(nρ^n) = As + B − Σ_{n≥2} σ_n s^n/n (swap needs the absolute convergence Σ_ρ |ρ|^{−2} ✓). Then A = −σ₁ (deduced by *-convergent rearrangement — this is the symmetry ρ ↔ 1−ρ̄ argument). Differentiate: ξ′/ξ(s) = A − Σ_{n≥2} σ_n s^{n−1} = A − Σ_{m≥1} σ_{m+1} s^m. With A = −σ₁: ξ′/ξ(s) = −σ₁ − Σ_{m≥1} σ_{m+1} s^m = −Σ_{m≥0} σ_{m+1} s^m. So −ξ′/ξ(s) = Σ_{m=0}^∞ σ_{m+1} s^m — expansion at s = 0. And (4.1) is the expansion at s = 1: ξ′/ξ(s+1) = Σ (−1)^n σ_{n+1} s^n — via the FE: ξ′/ξ(s+1) = −ξ′/ξ(−s) (for the self-dual triv case with the sign)... the FE gives ξ(s) = ξ(1−s) (for ζ: ξ(s) = ξ(1−s)) so ξ′(s) = −ξ′(1−s), ξ′/ξ(s) = −ξ′/ξ(1−s); at s+1: ξ′/ξ(s+1) = −ξ′/ξ(−s) = −(−Σ σ_{m+1}(−s)^m) = Σ (−1)^m σ_{m+1} s^m ✓ (4.1).\n\n**(4.10)**: comparing (4.1) with (4.2): ξ′/ξ(s+1) = [archimedean part: τ_j] + [L-part: −η_j] + [pole terms −e(0)/(s+1) − e(1)/s]: for the triv case: ξ′/ξ(s+1) = (τ-series) + L′/L(s+1)... hmm with signs: (4.2) says ξ′/ξ(s+1,π) = (1/2 log Q + Σ Γ'R/ΓR(s+1+κj)) + L′/L(s+1,π) − e(0,π)/(s+1) − e(1,π)/s. For πtriv: N=1, κ=0, Q=1: ξ′/ξ(s+1) = Γ′R/ΓR(s+1) + ζ′/ζ(s+1) − 1/s (e(0) = 0? e(1) = 1? for triv: the pole at s=1 of L = ζ gives e(1,πtriv) = 1; and −e(0)/(s+1) with e(0) = 0? Hmm — actually for ζ: ξ(s) = (1/2)s(s−1)π^{−s/2}Γ(s/2)ζ(s) — so ξ′/ξ = 1/s + 1/(s−1) + Γ′R/ΓR(s) + ζ′/ζ(s). At s+1: ξ′/ξ(s+1) = 1/(s+1) + 1/s + Γ′R/ΓR(s+1) + ζ′/ζ(s+1). Comparing with (4.2)'s form: −e(0)/(s+1) − e(1)/s: so −e(0) = 1?? and −e(1) = 1... signs vary. Whatever — the pole terms.\n\nThen (4.10): (−1)^j σ_{j+1} = τ_j − η_j + (−1)^j δ — comparing the coefficient of s^j:\n- LHS from (4.1): (−1)^j σ_{j+1}.\n- RHS from (4.2): τ_j (from the archimedean series Σ τ_j s^j) + [ζ′/ζ(s+1) part] + [pole 1/s part].\n - The ζ-part: (4.12): −ζ′/ζ(s+1) = 1/s + Σ_{j≥0} η_j s^j — so ζ′/ζ(s+1) = −1/s − Σ η_j s^j. Hmm — and η_j here = Lagarias's η_j = c_j in our D-064 notation (Laurent coefficients of −ζ′/ζ at 1: −ζ′/ζ(1+s) = 1/s + Σ η_j s^j — so η_0 = c_0 = −γ etc. — wait sign: −ζ′/ζ(1+s) = 1/s + c₀ + c₁s + ... with c₀ = −γ ✓ (D-064: Laurent c₀ = −γ ✓). So η_j = c_j ✓ (D-064 said \"η_j = c_j\" ✓).\n - The pole term: from ξ = (1/2)s(s−1)...: 1/(s+1) + 1/s — hmm at s+1 the (s−1) factor gives 1/s. The 1/s pole: its contribution to the power series at s = 0 of 1/s — it's NOT analytic — that's why (4.12) keeps 1/s separate: −ζ′/ζ(s+1) = 1/s + Σ η_j s^j.\n \n Let me redo (4.2) for triv carefully: ξ(s) = (1/2)·s·(s−1)·ΓR(s)·ζ(s) with ΓR(s) = π^{−s/2}Γ(s/2). Then ξ′/ξ(s) = 1/s + 1/(s−1) + Γ′R/ΓR(s) + ζ′/ζ(s). At s ↦ s+1: ξ′/ξ(s+1) = 1/(s+1) + 1/s + Γ′R/ΓR(s+1) + ζ′/ζ(s+1).\n \n Hmm — (4.2) has −e(0,π)/(s+1) − e(1,π)/s — so e(0) = −1, e(1) = −1 for triv? and δ(πtriv) = 1. (2.18) mention: \"using −e(0,π) = δ(π)\" — so −e(0,πtriv) = 1 = δ. So the pole terms are 1/(s+1) + 1/s? With −e(0)/(s+1) = 1/(s+1) and −e(1)/s = 1/s: e(1) = −1. OK whatever — the point: pole terms 1/(s+1) + 1/s.\n\n Coefficient of s^j in ξ′/ξ(s+1):\n - From 1/(s+1) = Σ_j (−1)^j s^j (geometric, |s| < 1) — coefficient (−1)^j.\n - From 1/s — singular, excluded (cancels against ζ's pole — as the remark says).\n - From Γ′R/ΓR(s+1): τ_j by definition (4.3): Σ τ_j s^j := 1/2 log Q + Σ Γ′R/ΓR(s+1+κj) — for triv: τ_j from Γ′R/ΓR(s+1) = Σ τ_j s^j.\n - From ζ′/ζ(s+1) = −1/s − Σ_j η_j s^j (from (4.12)) — coefficient of s^j: −η_j.\n \n So coefficient of s^j in ξ′/ξ(s+1): τ_j − η_j + (−1)^j (from the 1/(s+1)) — and the 1/s and −1/s cancel. Comparing with (4.1)'s (−1)^j σ_{j+1}:\n (−1)^j σ_{j+1} = τ_j − η_j + (−1)^j ✓ — this is (4.10) with δ = 1: (−1)^jσ_{j+1} = τ_j − η_j + (−1)^jδ.\n\nHmm wait — in (4.2) the pole terms are written −e(0)/(s+1) − e(1)/s. And the coefficient extraction: −e(0)/(s+1) = −e(0)Σ(−1)^j s^j. With −e(0) = δ = 1: coefficient (−1)^j ✓ consistent.\n\nSo (4.10): τ_j = η_j + (−1)^j σ_{j+1} − (−1)^j — matching D-064's statement: \"τ_j = c_j + (−1)ʲσ_{j+1} − (−1)ʲ\" with η_j = c_j ✓ EXACTLY.\n\n**Now — what needs formalizing for the a-form target:** c_{k−1} = (−1)^k(a_k + σ_k) + (−1)^{k−1}, i.e. η_{k−1} = ...\n\nFrom (4.10): η_j = τ_j − (−1)^j + (−1)^j σ_{j+1}·(−1)... let me redo: (−1)^j σ_{j+1} = τ_j − η_j + (−1)^j ⟹ η_j = τ_j + (−1)^j − (−1)^j σ_{j+1}·... no:\n(−1)^j σ_{j+1} = τ_j − η_j + (−1)^j\n⟹ η_j = τ_j − (−1)^j σ_{j+1} + (−1)^j·... wait: η_j = τ_j + (−1)^j − (−1)^j σ_{j+1} — hmm: (−1)^jσ_{j+1} = τ_j − η_j + (−1)^j ⟹ η_j = τ_j + (−1)^j − (−1)^jσ_{j+1}.\n\nCheck against D-064: τ_j = c_j + (−1)^jσ_{j+1} − (−1)^j ⟹ c_j = τ_j − (−1)^jσ_{j+1} + (−1)^j ✓ SAME (η_j = c_j) ✓.\n\nMy a-form target: c_{k−1} = (−1)^k(a_k + σ_k) + (−1)^{k−1}. Set j = k−1: c_{k−1} = τ_{k−1} − (−1)^{k−1}σ_k + (−1)^{k−1} = τ_{k−1} + (−1)^k σ_k + (−1)^{k−1}. So I need **τ_{k−1} = (−1)^k a_k** — i.e., τ_j = (−1)^{j+1} a_{j+1}:\n- j = 0: τ_0 = −a₁ = −(log 4π + γ)/2. Check via (4.17): τ_0 = 1/2 log Q − N/2 log π + 1/2 Σ Γ′/Γ(κj − 1/2)... for triv: N=1, Q=1, κ=0: τ_0 = −(log π)/2 + (1/2)ψ(−1/2 + 1)?? hmm (4.17): τ_0(π) = (1/2)log Q − (N/2)log π + (1/2)Σ_{j=1}^N (Γ′/Γ)(κ_j − 1/2)·... the text says \"τ0(π) = 1/2 log Q − N/2 log π + 1/2 Σ Γ′/Γ(κj(π) − 1/2)\"... hmm wait the extracted text shows \"τ0(π) = 1/2 log Q −N/2 log π + 1/2 Σ_{j=1}^N Γ′/Γ(κj(π) −1/2)\" — hmm actually it shows \"+ 1/2 Σ Γ′/Γ(κj(π) − 1/2)\"? The extraction shows \"1 2 N X j=1 Γ′ Γ \u0012κj(π) −1 2 \u0013\" — with κ_1 = 0: Γ′/Γ(−1/2)?? That doesn't look right — probably Γ′/Γ(κj + 1/2) or the Hurwitz form (4.16)... Let me check numerically: τ_0 should equal −(log 4π + γ)/2 ≈ −(2.5310 + 0.5772)/2 ≈ −1.5541. From (4.20)-(4.21): τ_0(triv) = τ̃_0(0)? Definition 4.1: Σ τ_n s^n := 1/2 log Q + Σ Γ′R/ΓR(s+1+κj) — for triv: Γ′R/ΓR(s+1) = Σ τ_n s^n — so τ_0 = Γ′R/ΓR(1) = −(1/2)log π + (1/2)ψ(1/2). ψ(1/2) = −γ − 2 log 2. So τ_0 = −(1/2)log π + (1/2)(−γ − 2 log 2) = −(log π)/2 − γ/2 − log 2 = −(log π + 2 log 2 + γ)/2 = −(log(4π) + γ)/2 ✓✓ = −a₁ ✓.\n\nSo the needed identity: **τ_j = (−1)^{j+1} a_{j+1}** for j ≥ 0:\n- j = 0: τ_0 = −a₁ ✓ (just shown).\n- j ≥ 1: τ_j = (−1)^{j+1} a_{j+1} = (−1)^{j+1}(1−2^{−(j+1)})ζ(j+1).\n From the digamma expansion (4.18)-(4.22): Γ′R/ΓR(s+1) = −(1/2)log π + (1/2)ψ((s+1)/2) — wait: ΓR(s) = π^{−s/2}Γ(s/2), so Γ′R/ΓR(s) = −(1/2)log π + (1/2)ψ(s/2). At s+1: Γ′R/ΓR(s+1) = −(1/2)log π + (1/2)ψ((s+1)/2). Hmm — but (4.20) defines τ̃ via Γ′/Γ(s+1+z) — and (4.19): ψ(s+1) = −γ + Σ_{m≥1} (1/m − 1/(s+m)). The τ_j extraction via (4.22): τ̃_n(z) = (−1)^{n+1} Σ_{m≥1} (m+z)^{−(n+1)} for n ≥ 1. With the (s+1)/2 argument: ψ((s+1)/2)... hmm the exact chain: (4.16) gives τ_n = (−1/2)^{n+1} Σ_j ζ(n+1, κ_j + 1/2) (Hurwitz) — for triv: τ_n = (−1/2)^{n+1} ζ(n+1, 1/2). And ζ(n+1, 1/2) = (2^{n+1} − 1)ζ(n+1) (Hurwitz at 1/2 identity). So τ_n = (−1/2)^{n+1}(2^{n+1}−1)ζ(n+1) = (−1)^{n+1}(1 − 2^{−(n+1)})ζ(n+1) ✓✓ = (−1)^{n+1} a_{n+1} ✓ for n ≥ 1.\n\nSo the full a-form (4.10) decomposition:\n c_{k−1} = τ_{k−1} + (−1)^k σ_k + (−1)^{k−1} [from (4.10)]\n τ_{k−1} = (−1)^k a_k [archimedean evaluation]\ngiving c_{k−1} = (−1)^k(a_k + σ_k) + (−1)^{k−1} ✓.\n\n**The proof content breaks into:**\n(A) **Lemma 4.1 for ζ**: −ξ′/ξ(s) = Σ_{m≥0} σ_{m+1} s^m as a power series near s = 0 (Hadamard product) + the FE move to s = 1: ξ′/ξ(s+1) = Σ (−1)^m σ_{m+1} s^m.\n(B) **The decomposition (4.2) for triv**: ξ′/ξ(s+1) = Γ′R/ΓR(s+1) + ζ′/ζ(s+1) + 1/(s+1) + 1/s — pure algebra from ξ = (1/2)s(s−1)ΓR ζ (logDeriv of a product).\n(C) **(4.12)**: −ζ′/ζ(s+1) = 1/s + Σ η_j s^j with η_j = c_j — that's exactly our `lcoeff`/`hLi` machinery! From LiResidue: hLi(w) = 1 − (w−1)(zetaA′/zetaA) with hLi = (w−1)(−ζ′/ζ) punctured near 1. So −ζ′/ζ(1+s) = hLi(1+s)/s = (1/s)·hLi(1+s) = (1/s)(1 + Σ_{j≥1} (hLi^{(j)}(1)/j!) s^j) = 1/s + Σ_{j≥0} (hLi^{(j+1)}(1)/(j+1)!) s^j = 1/s + Σ_j lcoeff(j) s^j·... wait lcoeff k := iteratedDeriv (k+1) hLi 1/(k+1)! — so hLi(1+s) = Σ_{j≥0} (iteratedDeriv j hLi 1/j!) s^j = Σ_j lcoeff(j−1)... hmm lcoeff(k) with k = j−1: for j ≥ 1: iteratedDeriv j hLi 1/j! = lcoeff(j−1) (hLi_iteratedDeriv_div_factorial ✓ PROVED in LiResidue!). And j = 0: hLi(1) = 1 ✓ (hLi_one). So hLi(1+s) = 1 + Σ_{j≥1} lcoeff(j−1) s^j = Σ_{j≥0} lcoeff(j−1) s^j with the convention lcoeff(−1) := 1. Then −ζ′/ζ(1+s) = hLi(1+s)/s = 1/s + Σ_{j≥1} lcoeff(j−1) s^{j−1} = 1/s + Σ_{j≥0} lcoeff(j) s^j ✓✓ — EXACTLY (4.12) with η_j = c_j = lcoeff j — and this is PRECISELY the analytic-content-free reading of the lcoeff definition (the power-series expansion of hLi at 1, which is analytic — hLi_analyticAt_one PROVED). The needed ingredient: the power series CONVERGES and hLi(1+s) = its series near 0 — AnalyticAt ⟹ hasFPowerSeries ✓ Mathlib machinery. And hLi(1+s)/s = ... the division by s — need (1+s) ≠ 1 i.e. s ≠ 0 and ζ(1+s) ≠ 0 for the hLi_eq_of_ne bridge — on a punctured neighborhood of 0 avoiding zeros of ζ(1+·) — ζ ≠ 0 near 1 punctured (riemannZeta_residue_one.eventually_ne ✓ used before).\n\nSo (C) is nearly FREE from LiResidue + analyticity.\n\n(D) **The archimedean evaluation**: τ_j := coefficient of s^j in Γ′R/ΓR(s+1) — with ΓR(s) = π^{−s/2}Γ(s/2). τ_j = (−1)^{j+1} a_{j+1}:\n - j = 0: τ_0 = Γ′R/ΓR(1) = −(log π)/2 + ψ(1/2)/2 = −(log 4π + γ)/2 — needs ψ(1/2) = −γ − 2 log 2 — Mathlib: `Complex.digamma_one_half`? or `Real.digamma...`? Hmm — Mathlib has digamma values? There's `Complex.digamma_one : ψ(1) = −γ`? and digamma(1/2)? I recall Mathlib has digamma at 1 (via `Complex.digamma_one`?) and maybe the reflection/recurrence. ψ(1/2) = −γ − 2log 2 might NOT be in Mathlib. Hmm. There's `Real.Gamma...`? Let me check what's available.\n - j ≥ 1: τ_j = (−1)^{j+1}(1−2^{−(j+1)})ζ(j+1) — via the digamma partial fractions (4.19)/(4.22) + the odd-m zeta = (1−2^{−j})ζ(j) identification. Mathlib has digamma partial fractions? `Complex.digamma_eq_sum...`? Hmm — there IS something: `Complex.digamma_def`? Mathlib's digamma is defined as deriv Gamma / Gamma. The series expansion ψ(s+1) = −γ + Σ (1/m − 1/(s+m)) — does Mathlib have it? I recall `Real.digamma_eq...`? Not sure. This could be substantial.\n\nHmm wait — actually, let me reconsider. Do I even need the digamma route? The identity τ_j = (−1)^{j+1} a_{j+1} in terms of my Lean `lagariasA (j+1)` = 1 + Σ_{m odd ≥ 3} m^{−(j+1)} — i.e. I need:\n\n coefficient of s^j in Γ′R/ΓR(s+1) = (−1)^{j+1}·(1 + Σ_{m odd ≥ 3} m^{−(j+1)}) (j ≥ 1)\n coefficient of s^0 (value at 0) = −(log 4π + γ)/2.\n\nVia (4.18) + (4.19): Γ′R/ΓR(s+1) = −(log π)/2 + (1/2)ψ((s+1)/2). Hmm wait — Γ′R/ΓR(s+1): ΓR(s+1) = π^{−(s+1)/2}Γ((s+1)/2) so logDeriv = −(log π)/2 + ψ((s+1)/2)·(1/2). ✓.\n\nψ((s+1)/2) — expansion at s = 0: ψ(1/2 + s/2) = Σ_j ψ^{(j)}(1/2)/j!·(s/2)^j. The polygamma values at 1/2: ψ^{(j)}(1/2) = (−1)^{j+1} j! (2^{j+1} − 1) ζ(j+1) for j ≥ 1 — standard (from the series ψ(s) = −γ + Σ_m (1/m − 1/(s−1+m))... ψ^{(j)}(z) = (−1)^{j+1} j! Σ_{m≥0} (m+z)^{−(j+1)} = (−1)^{j+1} j! ζ(j+1, z) (Hurwitz). At z = 1/2: ζ(j+1, 1/2) = (2^{j+1}−1)ζ(j+1).\n\nSo τ_j = (1/2)·ψ^{(j)}(1/2)/j!·(1/2)^j = (1/2)·(−1)^{j+1}(2^{j+1}−1)ζ(j+1)·2^{−j} = (−1)^{j+1}(2^{j+1}−1)·2^{−(j+1)}ζ(j+1) = (−1)^{j+1}(1−2^{−(j+1)})ζ(j+1) ✓.\n\nAnd my lagariasA (j+1) = 1 + Σ_{m odd ≥ 3} m^{−(j+1)} = Σ_{m odd ≥ 1} m^{−(j+1)} = (1−2^{−(j+1)})ζ(j+1) — the odd-zeta identity: Σ_{m odd} m^{−s} = ζ(s) − Σ_{m even} m^{−s} = ζ(s) − 2^{−s}ζ(s) = (1−2^{−s})ζ(s) ✓.\n\nSo the archimedean piece needs:\n1. ΓR logDeriv decomposition: logDeriv (π^{−s/2}Γ(s/2)) at s+1 = −(log π)/2 + (1/2)ψ((s+1)/2).\n2. Polygamma values: ψ^{(j)}(1/2) for j ≥ 1 = (−1)^{j+1} j! (2^{j+1}−1)ζ(j+1), and ψ(1/2) = −γ − 2 log 2 for j = 0.\n3. The odd-zeta identity: Σ_{m odd ≥ 1} m^{−s} = (1−2^{−s})ζ(s) for integer s ≥ 2.\n4. Taylor coefficient extraction: the j-th Taylor coefficient of Γ′R/ΓR(s+1) at s=0 equals (−1)^{j+1} a_{j+1}.\n\nWhat's in Mathlib? \n- `Complex.digamma` exists (used in Zeta23's gammaBracket: Complex.digamma (1/4 + I*r/2) ✓). \n- digamma values: `Complex.digamma_one : digamma 1 = -γ`? Let me check. Polygamma: `Complex.polygamma`? Not sure Mathlib has polygamma at all! Hmm. Let me grep.\n\nActually — hold on. Let me reconsider the ARCHIMEDEAN side entirely. The identity I need is:\n\n coeff-of-s^j in Γ′R/ΓR(s+1) = (−1)^{j+1}·lagariasA(j+1) [as ℝ or ℂ]\n\nAlternative route avoiding polygamma VALUES: use the partial fraction series DIRECTLY. Γ′R/ΓR(s+1) = −(log π)/2 + (1/2)ψ((s+1)/2). Hmm — but the argument (s+1)/2 has real part 1/2 — the series ψ(s+1) = −γ + Σ_m (1/m − 1/(s+m)) converges for s not a negative integer... ψ((s+1)/2) = ψ(1/2 + s/2) — expand via (4.19): ψ(1 + w) = −γ + Σ_{m≥1}(1/m − 1/(w+m)) — with w = (s−1)/2?? ψ(1/2 + s/2) = ψ(1 + (s−1)/2)... at s = 0: ψ(1/2) — the series (4.19) at w = −1/2: Σ_m (1/m − 1/(m − 1/2)) — converges ✓.\n\nFor the j ≥ 1 coefficients: differentiate (4.19) termwise j times: ψ^{(j)}(1+w) = Σ_m (−1)^{j+1} j! (w+m)^{−(j+1)} — at w = −1/2: Σ_m (−1)^{j+1} j! (m − 1/2)^{−(j+1)} = (−1)^{j+1} j! Σ_m (2/(2m−1))^{j+1} = (−1)^{j+1} j! 2^{j+1} Σ_{m≥1} (2m−1)^{−(j+1)} = (−1)^{j+1} j! 2^{j+1}·(odd sum starting at m=1: 2m−1 = 1, 3, 5...) = (−1)^{j+1} j! 2^{j+1}·lagariasA(j+1) ✓ — DIRECTLY in terms of my lagariasA (the odd-m sum!) — no ζ(j+1) values needed!! \n\nSo the archimedean identity becomes:\nτ_j = (1/2)·[ψ^{(j)}(1/2)]/j!·(1/2)^j = (1/2)·(−1)^{j+1} j! 2^{j+1} lagariasA(j+1)/j!·2^{−j} = (−1)^{j+1} lagariasA(j+1) ✓✓ for j ≥ 1.\nAnd j = 0: τ_0 = −(log π)/2 + (1/2)ψ(1/2) = −(log 4π + γ)/2 needs ψ(1/2) = −γ − 2 log 2: from (4.19): ψ(1/2) = ψ(1 + (−1/2)) = −γ + Σ_m (1/m − 1/(m−1/2)) = −γ + Σ_m (1/m − 2/(2m−1)) — Σ_m [1/m − 2/(2m−1)] = ... this sum = −2 log 2 (classical: it's the alternating harmonic rearrangement). Needs proof: Σ_{m=1}^∞ (1/m − 2/(2m−1)) = −2 log 2. Hmm — that's a real-series evaluation. Via: 1/m − 2/(2m−1) = [(2m−1) − 2m]/(m(2m−1)) = −1/(m(2m−1)). And Σ 1/(m(2m−1)) = 2 Σ (−1)^{k+1}/k? Let me verify numerically: Σ_m 1/(m(2m−1)) = 1/1 + 1/(2·3) + 1/(3·5) + ... = 1 + 0.1667 + 0.0667 + 0.0357 + 0.0222 + ... ≈ 1.386 ≈ 2 log 2 = 1.3863 ✓. So Σ_m (1/m − 2/(2m−1)) = −2 log 2 ✓. Proving Σ 1/(m(2m−1)) = 2 log 2 in Lean: partial fractions 1/(m(2m−1)) = 2/(2m−1) − ... hmm: 1/(m(2m−1)) = A/m + B/(2m−1): 1 = A(2m−1) + Bm: A = −1, B = 2: = −1/m + 2/(2m−1). Σ_{m=1}^M (−1/m + 2/(2m−1)) = −H_M + 2Σ_{m≤M} 1/(2m−1) = −H_M + 2(H_{2M} − (1/2)H_M) = −H_M + 2H_{2M} − H_M = 2H_{2M} − 2H_M = 2(H_{2M} − H_M) → 2 log 2 (since H_{2M} − H_M = log(2M) − log M + o(1) = log 2 + o(1)) ✓ elementary! H_{2M} − H_M → log 2: from H_n = log n + γ + o(1) — Mathlib: harmonic asymptotics: `Real.tendsto_harmonic_sub_log`? There's the Euler–Mascheroni sequence: `Real.tendsto_sum_Ioc_inv...`? Mathlib has `Real.tendsto_harmonic...`? I recall harmonic series stuff: harmonic n − log n → γ: `Real.tendsto_...`? There IS `Real.tendsto_sum_Icc_inv...`? Not sure of the name but harmonic-minus-log convergence is in Mathlib (used for γ's definition? γ is DEFINED as the limit — `Real.eulerMascheroniConstant` is defined AS lim (H_n − log n)? or via the series Σ (1/n − log(1+1/n))? Mathlib defines eulerMascheroniConstant := lim_{n→∞} (harmonic n − log n) I believe — with `Real.tendsto_harmonic_sub_log` or similar. If so, H_{2M} − H_M = (H_{2M} − log(2M)) − (H_M − log M) + log 2M − log M → γ − γ + log 2 = log 2 ✓ elementary assembly.\n\nBut the digamma series (4.19) itself — does Mathlib have it? `Complex.digamma` series/partial fractions? Let me grep. If Mathlib has digamma's partial fractions AND its Taylor differentiability (digamma is analytic away from poles — `Complex.analyticAt_digamma`?), then the polygamma values come from termwise differentiation of the series. Termwise differentiation of Σ_m (1/m − 1/(s+m)) j times — analyticity + deriv of the series: needs the standard \"deriv of uniformly-convergent-on-compacts series\" — Mathlib: `HasSum.deriv`? or via `AnalyticOnNhd` of series of analytic functions (Weierstrass M-test for analyticity: `analyticOnNhd_...`?). Hmm — this is where the work is. \n\nALTERNATIVELY — maybe Mathlib already HAS the polygamma values at 1/2 or the digamma series expansion. Let me grep for digamma in Mathlib: values, series, iterDeriv.\n\nActually — WAIT. Let me step back and reconsider the whole (4.10) formalization strategy. The a-form target c_{k−1} = (−1)^k(a_k + σ_k) + (−1)^{k−1} needs:\n(A) Lemma 4.1: the σ-expansion of ξ′/ξ at 0/1 — HADAMARD PRODUCT. This is the heavy piece: Mathlib has NO Hadamard factorization. Building it for ξ: ξ entire of order 1, ξ(s) = e^{A+Bs}Π(1−s/ρ)e^{s/ρ}... In Lean: from Zeta23 — do they have anything about ξ's product? Zeta23 proved the EF and RvM — via contours, not Hadamard. completedRiemannZeta IS ξ-ish: `completedRiemannZeta s = (1/2)s(s−1)π^{−s/2}Γ(s/2)ζ(s)`? In Mathlib: completedRiemannZeta s = π^{−s/2}Γ(s/2)·... hmm — Mathlib's completedRiemannZeta: Λ(s) = π^{−s/2}Γ(s/2)ζ(s)·(s(s−1))/2? Let me check — `completedRiemannZeta s = (s * (s - 1)) / 2 * (π^(-s/2) * Gamma(s/2)) * riemannZeta s`? I recall Mathlib's completedRiemannZeta s := (1/2)·s·(s−1)·Gammaℝ... wait actually: `completedRiemannZeta s = (s * (s - 1)) / 2 * Gammaℝ... ` — hmm. The point: (A) needs the HADAMARD product — the e^{A+Bs}Π(1−s/ρ)e^{s/ρ} factorization — which is NOT in Mathlib and NOT in Zeta23 (they proved EF differently).\n\nHmm hmm. But wait — what does (A) actually need? Not the full Hadamard product as a function identity — just the POWER SERIES identity at one point: −ξ′/ξ(s) = Σ σ_{m+1} s^m near s = 0, i.e., the Taylor coefficients of −ξ′/ξ at 0 are the σ's. Equivalently: iteratedDeriv m (−logDeriv ξ) 0 = σ_{m+1}·... Let me think: −ξ′/ξ(s) = Σ_{m≥0} σ_{m+1} s^m means iteratedDeriv m (−ξ′/ξ) 0 / m! = σ_{m+1}.\n\nIs there a way to get this WITHOUT the global Hadamard product? The classical content: the σ_m are defined as the paired sums; the identity relates them to derivatives of log ξ at 0. \n\nAlternative approach to (A): the functional equation + the EXPLICIT FORMULA (Zeta23's EF_lit_zeta, proved!) might give the moment identities directly. Let me think: the EF says Σ_ρ m_ρ h(γ_ρ) = [pole terms] − [prime sum] + [gamma integral]. The moments σ_k = Σ_ρ ρ^{−k}: ρ = 1/2 + iγ_ρ... σ_k = Σ (1/2 + iγ)^{−k}?? NO — σ_k = Σ_ρ ρ^{−k} — in terms of γ: ρ^{−k} with ρ = 1/2 + iγ only ON RH. Off RH, γ is complex and ρ = 1/2 + iγ still holds BY DEFINITION of gammaOf (γ := ρ.im + i(1/2 − ρ.re), so 1/2 + iγ = 1/2 + i·ρ.im − (1/2 − ρ.re) = ρ.re + i·ρ.im = ρ ✓ ALWAYS). So ρ = 1/2 + i·gammaOf(ρ) exactly. So σ_k = Σ_ρ mult·(1/2 + iγ_ρ)^{−k} — in the EF's language: Σ mult·h(γ_ρ) with h(z) := (1/2 + iz)^{−k} — NOT entire (pole at z = i/2) — outside the EF's test class (paperFT of C²_c is entire of exp type).\n\nBUT the EF is proved by contour methods — the same contour with the kernel (1/2+iz)^{−k}... that's re-proving a special EF instance, not reusing the theorem. Hmm.\n\nHmm, wait — actually, let me look at this from a totally different angle. What if I DON'T prove (4.10) as a coefficient identity, but prove the CRUX identity directly via the contour residue theorem I just built (rectInt'_Jlag)? Recall the crux: Sf(n) = Res₁(n) i.e. S_∞ + 1 − λ_n = ResW1 n. The contour identity (D-064 §2): sides(T) = λ_n(T) + triv + Res₁ — and as T → ∞... no wait, the crux was derived from (4.10) summed binomially. Hmm.\n\nAlternatively — the crux S_∞ + 1 − λ_n = Res₁ can be attacked DIRECTLY as a power-series identity: \n\nS_∞(n) = Σ_j C(n,j) τ_{j−1}, λ_n = Σ_j (−1)^{j+1}C(n,j)σ_j (PROVED in LiSwaps — well, the a_j form...), Res₁ = Σ_j C(n,j) c_{j−1} (PROVED ResW1_eq_sum). So the crux reduces to: Σ_j C(n,j)[τ_{j−1} + (−1)^{j+1}σ_j... wait we need per-coefficient: c_{j−1} = τ_{j−1} + (−1)^{j}σ_j... = the (4.10) relation. There's no way around the per-coefficient identity — the sums telescope ONLY via (4.10). Right — (4.10) is genuinely needed. OK.\n\nSo (4.10) in a-form: c_{k−1} = (−1)^k(a_k + σ_k) + (−1)^{k−1}. The proof structure via Lagarias:\nc_{k−1} = [coeff of s^{k−1} in −ζ′/ζ(s+1) − 1/s] — hmm wait: −ζ′/ζ(s+1) = 1/s + Σ_j c_j s^j (from (C)) — the coefficient of s^{k−1} (k ≥ 1) is c_{k−1}.\n\nConsider the function G(s) := −ξ′/ξ(s+1) + Γ′R/ΓR(s+1) + 1/(s+1)... let me define via (4.2): ξ′/ξ(s+1) = 1/(s+1) + 1/s + Γ′R/ΓR(s+1) + ζ′/ζ(s+1). So:\n−ζ′/ζ(s+1) − 1/s = Γ′R/ΓR(s+1) + 1/(s+1) − ξ′/ξ(s+1).\nCoefficient of s^{k−1}: c_{k−1} = τ_{k−1} + (−1)^{k−1} − [coeff of s^{k−1} in ξ′/ξ(s+1)].\nAnd (4.1): coeff in ξ′/ξ(s+1) = (−1)^{k−1} σ_k.\nSo c_{k−1} = τ_{k−1} + (−1)^{k−1} − (−1)^{k−1}σ_k = τ_{k−1} + (−1)^k σ_k + (−1)^{k−1}·... \n\nhmm: −(−1)^{k−1} = (−1)^k ✓. So c_{k−1} = τ_{k−1} + (−1)^k σ_k + (−1)^{k−1}. With τ_{k−1} = (−1)^k a_k: c_{k−1} = (−1)^k a_k + (−1)^k σ_k + (−1)^{k−1} ✓✓ the a-form.\n\nSo the THREE analytic inputs:\n(I) **coeff-of-s^{k−1} in ξ′/ξ(s+1) = (−1)^{k−1}σ_k** — the Hadamard/EF content (Lemma 4.1). HEAVY.\n(II) **coeff-of-s^{k−1} in −ζ′/ζ(s+1) − 1/s is c_{k−1}** — nearly free (LiResidue machinery) — needs care: −ζ′/ζ(s+1) = hLi(1+s)/s; the coefficient extraction via hLi's Taylor series ✓.\n(III) **coeff-of-s^{k−1} in Γ′R/ΓR(s+1) = (−1)^k a_k** — the archimedean/digamma piece.\n(IV) **The decomposition (4.2)**: ξ′/ξ(s+1) = 1/(s+1) + 1/s + Γ′R/ΓR(s+1) + ζ′/ζ(s+1) — pure logDeriv algebra from ξ's definition (completedRiemannZeta in Mathlib: need Λ(s) = (1/2)s(s−1)ΓR(s)ζ(s)?? — Mathlib's completedRiemannZeta: `completedRiemannZeta s = (s * (s - 1)) / 2 * (π ^ (-s/2) * Real.Gamma...` — hmm — actually Mathlib: completedRiemannZeta s = (s·(s−1))/2 · π^{−s/2}·Γ(s/2)·ζ(s)? Let me check the exact Mathlib def. There's `completedRiemannZeta` and `completedRiemannZeta₀`. The logDeriv of the product: logDeriv (f·g·h·l) = Σ logDeriv — needs nonvanishing on a neighborhood — the identity (IV) holds where nothing vanishes — as a MEROMORPHIC identity it holds on a punctured nhd of 0 (where ζ(1+s) ≠ 0 etc.) — for coefficient extraction that's enough.\n\nThe COEFFICIENT EXTRACTION mechanism: for all these, \"coefficient of s^{k−1}\" = iteratedDeriv (k−1) F 0/(k−1)! where F is the analytic-at-0 function. The identities between coefficients follow from identities between the functions on a neighborhood (via AnalyticAt + EventuallyEq → iteratedDeriv equal: `AnalyticAt.iteratedDeriv...`? if f =ᶠ[𝓝 0] g then iteratedDeriv k f 0 = iteratedDeriv k g 0 — `Filter.EventuallyEq.iteratedDeriv`? hmm — deriv_eq exists (EventuallyEq.deriv_eq) — iterated: `EventuallyEq.iteratedDeriv`? maybe iterate deriv_eq — there's `Filter.EventuallyEq.iteratedDeriv_eq`? I recall `EventuallyEq.deriv_eq` and for iterated — might need induction or there's a direct lemma.)\n\nSo the architecture: define the meromorphic F(s) := ξ′/ξ(s+1) and its decomposition; the key identity (I): the Taylor coefficients of ξ′/ξ(s+1) at 0 equal (−1)^{k−1}σ_k — THIS is the Hadamard heart.\n\n**Can (I) be obtained from Zeta23's EF instead of building Hadamard?** Think: σ_k = Σ_ρ mult·ρ^{−k} (paired). The EF evaluates Σ mult·h(γ_ρ) for h entire-exp-type. ρ^{−k} = (1/2 + iγ)^{−k} — not admissible. HOWEVER — Lagarias's own proof of (4.1) uses Hadamard. Is there an alternative proof of the moment identity via the EF with a LIMIT of admissible test functions? The functions h_x(z) := e^{izx}... no. The moments (1/2+iγ)^{−k} can be represented as LAPLACE transforms: (1/2+iγ)^{−k} = (1/(k−1)!)∫_0^∞ u^{k−1} e^{−(1/2+iγ)u} du for Re(1/2+iγ) > 0 ✓ (Re ρ > 0 ✓). So σ_k = (1/(k−1)!)∫_0^∞ u^{k−1} e^{−u/2} Σ_ρ mult·e^{−iγ_ρ u} du — and Σ mult·e^{−iγ u} = Σ mult·h_u(γ) with h_u(z) = e^{−izu} = paperFT of... e^{−izu} = ∫ k(t) e^{izt}dt with k = δ(·+u)?? — a DELTA — not C²_c. The EF with k → δ_(-u) limit: the EF as stated needs C²_c... The paper's W-form is the L²-extension — W(f,g) — the EF for f⋆g̃... The delta limit: Σ mult·e^{−iγu} is the \"dual\" of the prime-side — this is the Cramér/Guinand explicit formula with exponential test — the boundary of the EF's validity. In Lean this would be a limiting argument over the proved EF — possible but delicate (need integrability/summability control in the limit).\n\nHmm — honestly, the DIRECT Hadamard route might be comparable. But Mathlib has NO Weierstrass/Hadamard factorization API. Building \"ξ(s) = e^{A+Bs}Π(1−s/ρ)e^{s/ρ}\" from scratch: the product convergence (Π (1−s/ρ)e^{s/ρ} converges since Σ|ρ|^{−2} < ∞ ✓ zero_sum_inv_sq!) — the product is a locally-uniformly-convergent product of analytic functions — Mathlib: `HasProd` of analytic ⟹ analytic (tendsto-locally-uniform + Weierstrass)? There's `AnalyticOnNhd` stability under locally uniform limits? Mathlib has `TendstoLocallyUniformly` + analyticity preservation? I recall `DifferentiableOn` preservation under locally uniform limits of holomorphic functions — `TendstoLocallyUniformly.differentiableOn`? hmm — there might be something like `AnalyticOnNhd` of a tsum of analytic functions with locally uniform summability — `Summable`+`TendstoLocallyUniformly.sum`... In Mathlib: `hasSum_...`? There IS machinery: `TendstoLocallyUniformlyOn` + `DifferentiableOn` → limit differentiable: I recall `TendstoLocallyUniformlyOn.differentiableOn`? not sure it exists (needs Morera or Weierstrass). Hmm.\n\nAND the equality of the product with ξ (the quotient is e^{A+Bs} — needs the order-1 estimate + no-other-zeros + Liouville-style argument) — that's the genuinely hard part: showing ξ/Π = e^{A+Bs} (Hadamard's theorem content: the quotient is entire nonvanishing of order ≤ 1 ⟹ exp of linear). This is deep.\n\nBUT WAIT — for the COEFFICIENT identity at s = 0 (or s = 1), maybe there's a shortcut: we don't need the global factorization! The claim: iteratedDeriv m (ξ′/ξ) 1 = (−1)^m σ_{m+1}·m!-ish. Hmm — the Taylor coefficients of ξ′/ξ at 1 are the σ's. \n\nAlternative: use the EXPLICIT FORMULA in its WEIL-proved form to evaluate the moments via a generating function. Consider the function h(z) = e^{izx}·... no.\n\nOK here's another classical route to Lemma 4.1: the identity −ξ′/ξ(s) = Σ_m σ_{m+1} s^m at s near 0 is equivalent to: log ξ(s) = log ξ(0) − Σ_{m≥1} σ_m s^m/m near 0 (integrate termwise; using A = −σ₁). And σ_m for m ≥ 2 are the ρ-moments. The generating function Σ_m σ_m s^m/m... Consider the contour integral (1/2πi)∮ log(1 − s/w)·(ξ′/ξ)(w) dw — the argument principle with the log kernel picks out Σ_ρ log(1 − s/ρ) = Σ_ρ (−Σ_m s^m/(mρ^m)) = −Σ_m σ_m s^m/m — and on the other side, if the contour can be moved to pick up only the log ξ singularity structure... The contour identity: for |s| < 14 (inside the first zero), take a contour avoiding zeros: (1/2πi)∮_C log(1−s/w) ξ′/ξ(w) dw where C is a large circle — the integral = Σ_{ρ inside} log(1−s/ρ)·mult (residue at each zero: mult·log(1−s/ρ) — log(1−s/w) is ANALYTIC at w = ρ for |s| < |ρ| ✓ since 1−s/ρ ≠ 0... the branch: log(1−s/w) near w = ρ: 1 − s/ρ ≠ 0 for s ≠ ρ — for |s| < min|ρ| = 14.1, 1−s/ρ stays in the right half... |s/ρ| < 1 ⟹ 1−s/ρ ∈ right half-plane-ish (Re(1−s/ρ) > 1−|s/ρ| > 0) ✓ principal log analytic ✓). Moving the contour to infinity: the integral → −log ξ(s) + log ξ(0)? via the poles of ξ′/ξ at 0 and 1 (ξ has zeros at... ξ(0): ξ(0) = 1/2·... ξ(0) = (1/2)·0·(−1)·ΓR(0)·ζ(0) — ΓR(0) = ∞ (Γ pole) — ξ(0) = 1/2 ✓ nonzero. ξ's only \"poles\" — ξ is ENTIRE (no poles!). Zeros of ξ = the ρ's. So ξ′/ξ has poles ONLY at the ρ's — so ∮_C log(1−s/w)ξ′/ξ = Σ_{ρ ∈ C} mult·log(1−s/ρ) EXACTLY, and as C → ∞... the integral → 0 if the integrand decays — ξ′/ξ grows like log|w| (order-1 estimate) and log(1−s/w) ~ −s/w for large w — so integrand ~ −s·log|w|/w — the circle integral ~ s·log R·(1/R)·2πR = 2π s log R → ∞!! Doesn't decay — need to subtract the Taylor polynomial of the log kernel: log(1−s/w) + s/w ~ −s²/(2w²) — then integrand ~ log R/R² ·R = log R/R → 0 ✓. So:\n(1/2πi)∮ [log(1−s/w) + s/w] ξ′/ξ(w) dw → 0 as R → ∞\n= Σ_ρ mult·[log(1−s/ρ) + s/ρ] + [residue contributions at 0? ξ′/ξ at 0: ξ(0) ≠ 0 so no pole at 0 — wait ξ′/ξ is analytic at 0 (ξ(0) = 1/2 ≠ 0) ✓ so the only singularities are the ρ's... then the integral over a circle avoiding zeros = Σ_{ρ inside} mult·[log(1−s/ρ) + s/ρ] and as R → ∞ the circle integral → 0?! That gives Σ_ρ [log(1−s/ρ) + s/ρ] = 0?? — that's wrong unless the circle integrals don't vanish — because ξ′/ξ on the large circle is NOT small — the order-1 bound |ξ′/ξ| ≪ log R doesn't hold on ALL circles (only away from zeros) — and the limit requires the circles to avoid zeros with clearance — delicate but classical (this IS the Hadamard proof's contour content).\n\nHmm — this is the standard proof and it's what Zeta23's EF machinery does in a more general form. Let me look at how Zeta23 PROVES EF_lit_zeta (WeilEF/Main.lean) — if their proof has a reusable \"weighted sums over zeros = contour expressions\" lemma at the level of generating functions, I can extract the moment identities from it. Let me read WeilEF/Main.lean's EF_lit_zeta proof structure and the ZeroSumLimit/Contour files.","signature":""},{"type":"text","text":"The PDF gives me Lagarias's exact proof structure. Now let me see how Zeta23 *proves* EF_lit_zeta — whether there's a reusable moment/contour identity inside."},{"type":"tool_use","id":"Read_165","name":"Read","input":{"file_path":"D:\\Python\\Quantum\\zeta-23-lean\\Zeta23\\WeilEF\\Main.lean","offset":30,"limit":80},"extra_content":null}]