Current task: —

Updated 08-22-2026

D-066 — Tier ii′ sub-stage ii′-3 design: Lagarias (4.10) via contour moments + coefficient split

Date: 2026-08-21 | Session: 019 | Task: 5.1 tier ii′ sub-stage 3 (design) Status: design COMPLETE — route decided (β4 below, replacing D-064's β1/β2 sketch); dependency resequencing identified (R-bound shared with ii′-5).

0. What ii′-3 must prove

The a-form of Lagarias's (4.10) (derived from D-064's τ-form with τ_{j−1} = (−1)^j a_j; conventions: D-037/D-064, LiSwaps.lean):

(4.10-a) for all k ≥ 1: lcoeff (k−1) = (−1)^k · (lagariasA k + sigmaP k) + (−1)^{k−1}

i.e. c_{k−1} = (−1)^k(a_k + σ_k) + (−1)^{k−1}, where

Together with ii′-2's two swaps and ii′-1b(i)'s ResW1_eq_sum, this gives the crux Sf(n) = ResW1 n for n ≥ 1 (the bookkeeping verified numerically in D-064 §3: exact to 2e-21 at n = 2, 3).

1. Route decision: β4 (contour moments + coefficient split)

D-064 scoped two routes: β1 (Hadamard product of ξ) and β2 (reuse Zeta23's proved EF_lit_zeta). Session-019 inventory results:

2. The factorization of (4.10-a)

Let xiL := (s(s−1)/2)·completedRiemannZeta (the entire ξ; Mathlib's completedRiemannZeta is Λ = ΓR·ζ with poles at 0,1; xiL removes them; completedRiemannZeta_one_sub (Mathlib) gives xiL(1−s) = xiL(s); Mathlib's completedRiemannZeta₀ is the WRONG object — its zeros are shifted, §4 note). g := logDeriv xiL. Then (4.10-a) ⟺ (M) + (A) + (B):

Assembly algebra (verified twice, once numerically): g(1+s) = 1/(1+s) + [1/s + ζ′/ζ(1+s)] + ΓR′/ΓR(1+s) has s^{k−1}-coefficient (−1)^{k−1} − c_{k−1} + τ_{k−1}; the FE gives g^{(k−1)}(0) = (−1)^k g^{(k−1)}(1); (M) says σ_k = −g^{(k−1)}(0)/(k−1)!. Chaining: σ_k = (−1)^{k+1}[(−1)^{k−1} − c_{k−1} + τ_{k−1}] = 1 + (−1)^k c_{k−1} + (−1)^{k+1}τ_{k−1}, solve for c_{k−1}, insert (A): c_{k−1} = (−1)^k(a_k + σ_k) + (−1)^{k−1}. ∎

Sanity gates: k = 1 with c₀ = −γ, a₁ = (log4π+γ)/2 gives σ₁ = 1 + γ/2 − ½log 4π — the Davenport value, verified to 15 digits (session 014, D-064 §3).

3. Piece (M): the moment identities by contour (ii′-3b)

For k ≥ 2, integrate w^{−k}·g(w) on the rectangle [−A, 3]×[−T, T], T zero-avoiding (perimeter N(T) + pigeonhole — ii′-4's L3):

(1/2πi)∮ = Σ_{|γ|<T} mult·ρ^{−k} + Res_{w=0}[w^{−k}g], Res_{w=0} = g^{(k−1)}(0)/(k−1)!.

4. Piece (A): the archimedean coefficients (ii′-3a, no contour deps)

τ_j = (1/j!)·iteratedDeriv j (fun s => logDeriv Gammaℝ (1+s)) 0 = (−1)^{j+1} a_{j+1}.

5. Sequencing (supersedes D-064's ii′-3 position)

The R-bound ((M)'s horizontal decay) is ii′-5/R3's content and is ALSO needed by ii′-6's side estimates — build it ONCE, before the moments:

6. Mathlib inventory used (all verified to exist, session 019)

TendstoLocallyUniformlyOn.differentiableOn (Weierstrass convergence); Complex.digamma_one_half, digamma_one, digamma_apply_add_one, meromorphic_digamma; Gammaℝ_def, Gammaℝ_one, Gammaℝ_ne_zero_of_re_pos, Gammaℝ_eq_zero_iff (zeros of ΓR = {−2n} — also the future trivial-zero simplicity input); completedRiemannZeta_one_sub, completedRiemannZeta_residue_one; ArithmeticFunction.LSeries_vonMangoldt_eq_deriv_riemannZeta_div (−ζ′/ζ Dirichlet series, re > 1); BohrMollerup.tendsto_log_gamma + logGammaSeq; Zeta23: completedRiemannZeta s = 0 ↔ IsNontrivialZero s (CountByIntegral.lean), seam mult_reflect, WeilEF.zero_sum_inv_sq. NOT in Mathlib (relevant gaps): Weierstrass/Hadamard products, polygamma, digamma partial fractions (built in ii′-3a), riemannZeta_conj (conj-invariance of ζ — to check/derive via the LSeries/integral definition), trivial-zero simplicity deriv ζ(−2) ≠ 0 (deferred from ii′-1b(iii); route: FE + Gammaℝ_eq_zero_iff + ζ(3) ≠ 0).

7. Risks