Current task: —

← Session 24 — ii′-2…4: swaps, (4.10) design, contour + website roadmap fixes

#1226 assistant 2026-08-22 16:39:26.675 UTC · 5643→2432 tok open ⤢
thinking (6081 chars)
The available ζ-bounds in Zeta23 are all in σ ≥ 1−A/log|t| (or σ > 1). Nothing in the left strip. So the |ζ| polynomial bound for σ ∈ [−4, 1/2] does NOT exist off-the-shelf — it must be built. Let me now think carefully about what the minimal-cost build is. This is the key design decision of ii′-5. Options: **Option 1: Build complex Stirling for |Γ| (vertical-decay upper bound).** |Γ(a+ib)| ≤ C·|b|^{a−1/2}·e^{−π|b|/2} for a in compact, |b| ≥ 1. From Zeta23's `inv_gamma_eq_prod` (Weierstrass): 1/Γ(z) = z·e^{γz}·∏(1+z/n)e^{−z/n}. Then |1/Γ(z)| = |z|e^{γa}∏|1+z/n|e^{−a/n}... hmm the product ∏(1+z/n)e^{−z/n}: log|...| = Σ(log|1+z/n| − a/n). For z = a+ib, |b| large: Σ log|1+z/n| = ½Σ log((1+a/n)² + b²/n²)... the standard estimate gives log|1/Γ(a+ib)| ≤ −π|b|/2 + ... — this is a substantial real-analysis build (term splitting at n ~ |b|, comparisons with integrals). Maybe 300-600 lines. Hmm. Wait — actually, hold on. Do we need the e^{−π|b|/2} decay explicitly, or can the χ-bound be derived as a BLACK BOX from things that exist? Alternative: **bound |χ₀(s)| directly via the Λ-FE**: ζ(s) = [ΓR(1−s)/ΓR(s)]ζ(1−s). For σ ∈ [−4, 0]: 1−s ∈ [1, 5]-re: |ζ(1−s)| ≤ ζ(1) + pole... hmm re(1−s) ≥ 1: |ζ(1−s)| ≤ Σn^{−1}?? diverges — re(1−s) = 1 exactly at σ = 0 — bad edge; use σ ≤ −1/4 say: re(1−s) ≥ 5/4: |ζ(1−s)| ≤ ζ(5/4) ✓ finite. So need |ΓR(1−s)/ΓR(s)| = π^{1/2−σ}·|Γ((1−s)/2)|/|Γ(s/2)| ≤ C(1+|t|)^{1/2−σ}. With |Γ((1−s)/2)| ≤ Γ((1−σ)/2) (Zeta23 ✓) — bounded by 2; and 1/|Γ(s/2)|: s/2 = σ/2 + it/2 with σ/2 ∈ [−2, 0]: via reflection Γ(s/2) = π/(sin(πs/2)Γ(1−s/2)): 1/|Γ(s/2)| = |sin(πs/2)|·|Γ(1−s/2)|/π ≤ (cosh-ish e^{π|t|/4})·Γ(1−σ/2)/π ≤ C·e^{π|t|/4}. So the ratio ≤ 2·C·e^{π|t|/4}·π^{1/2−σ} — EXPONENTIAL e^{π|t|/4}. And no sin term to cancel (using the symmetric FE, the sin is hidden in the Γ ratio). Dead end confirmed — the Γ vertical decay is unavoidable for the left-strip ζ bound. Hmm hold on, wait. Let me reconsider. Is there any OTHER polynomial bound for ζ in the left strip available WITHOUT Γ? **Option 2: Euler–Maclaurin/integral representation.** ζ(s) for σ > −k via repeated integration by parts: ζ(s) = 1/(s−1) + 1/2 + ... + (−1)^{k}·s(s+1)...(s+k)·∫₁^∞ B̃_{k+1}(x)·x^{−s−k−1}/(k+1)! dx-ish. Each term polynomial in |s|; the integral converges absolutely for σ > −k with bound O(1). So |ζ(s)| ≤ C_k·(1+|s|)^{k+1} for σ ≥ −k+δ. This is FULLY Γ-free! Does Zeta23's EulerMaclaurin.lean contain such a representation? FromPNTPlus has EulerMaclaurin.lean — let me check what's in it. If it has the extended representation or the pieces (Bernoulli periodic functions, the integration-by-parts chain), this route is feasible. Mathlib: does Mathlib have `riemannZeta` extension by parts? Mathlib has the Hurwitz zeta `hurwitzZetaEven` machinery (used for the FE proof)... Mathlib's `riemannZeta` for 0 < re < 1: there's the "zeta continutation" via `Complex.riemannZeta` def... Mathlib has `riemannZeta_neg_nat_eq_bernoulli` (values at negative integers!) — via HurwitzZetaValues — those proofs use the integral representations! Let me look at what HurwitzZetaValues.lean has — it computed ζ(−k) VALUES, which requires evaluating the analytic continuation — the representation might be reusable. Hmm, actually — Mathlib has `LSeries` machinery with `LSeries.eq_riemannZeta`... and the Hurwitz zeta: `hurwitzZetaEven`, and there might be a polynomial-growth statement somewhere for the PNT... Let me grep Mathlib for polynomial bounds on hurwitzZetaEven or the "trivial" bound. **Option 3 (the pragmatic dark horse): RESTRICT the R-bound theorem's σ-range to [1/2, 3]... ** — wait, does the assembly actually NEED σ down to −5/2? The R-bound in ii′-6 is used for: (a) the horizontal segments σ ∈ [−5/2, 2√n] at height ±T; (b) the left vertical σ = −5/2. Hmm — the D-036 rectangle is [−5/2, 2√n]×[−T, T]. Could the rectangle be NARROWER — left edge at σ₀ = +1/2?? The left vertical at σ = 1/2: then trivial zero −2 is OUTSIDE the rectangle — no trivial-zero contribution at all, and no need for zeroMult(−2)! But wait — the LEFT side integral then must be bounded: on σ = 1/2, |ζ′/ζ| has no good direct bound (critical strip interior!) — the R-bound is EXACTLY what controls it. So moving the left edge to 1/2 still needs the R-bound at σ = 1/2 — and the disc argument at σ = 1/2 needs the outer disc dipping to σ = 2−(3/2+δ)... ~0 — still left edge! The issue: ANY R-bound at σ < 1 needs |ζ| control dipping left of σ = 0. Hmm — well: disc centered 2+it covering σ = 1/2 needs inner radius 3/2, outer R = 3/2+2δ — dipping to σ = 1/2−δ < 1/2... if δ < 1/2 the disc stays in σ > 0! Disc B(2+it, R) with R = 3/2 + 2δ: leftmost σ = 2 − R = 1/2 − 2δ. For δ = 1/4: leftmost σ = 0. So the disc stays in σ > 0!! And then |ζ| on the outer circle: σ ∈ (0, 7/2+...]: hmm — but ZetaUpperBnd only covers σ ≥ 1−A/log|t| — σ ∈ (0, 1−A/log|t|) still UNCOVERED. The critical-strip-interior bound (σ ∈ (0, 1−c/log t)) is EXACTLY the hard part of ζ-size theory (convexity/AFE). Hmm OK so: with the disc fully in σ > 0 we still need |ζ| bounds on σ ∈ (0, 1−A/log|t|). What bounds |ζ| there? The classic: |ζ(σ+it)| ≤ C t^{(1−σ)/2} log t (from the approximate functional equation or van der Corput...). Not in Mathlib/Zeta23 (they only needed σ ≥ 1−c/log t for PNT). Damn. So whichever way, a new ζ-size input must be built. Let me compare: - Left-strip (σ ∈ [−4, 0]) via FE: needs Γ vertical-decay (Stirling) — hard build. - Left-strip via Euler–Maclaurin extension: Γ-free! Needs the IBP chain or a reusable Mathlib/Zeta23 representation. - Critical-strip interior (σ ∈ (0, 1)) via convexity: needs bounds on BOTH sides: σ ≥ 3/2 trivial ✓, and σ ≤ 0 needs the left-strip bound anyway. So no matter what, the left-strip bound is the foundation. **So the foundation piece is: |ζ(σ+it)| ≤ C(1+|t|)^A for σ ∈ [−4, 0], |t| ≥ 10.** Via Euler–Maclaurin (Γ-free) — check Mathlib/Zeta23 for reusable pieces. Let me check what Mathlib has for Hurwitz zeta estimates / Bernoulli integrals: grep for "hurwitzZetaEven" bounds or "polynomial". Also Zeta23's EulerMaclaurin.lean contents.
No left-strip ‖ζ‖ bound exists anywhere — it must be built, and the Γ-vertical-decay route is heavy. The Γ-free alternative is Euler–Maclaurin (IBP extension). Checking what FromPNTPlus/EulerMaclaurin.lean and Mathlib offer.
tool: Bash
input
{
  "command": "cd D:/Python/Quantum/zeta-23-lean && grep -n \"theorem\\|lemma\\|def \" Zeta23/FromPNTPlus/EulerMaclaurin.lean | head -20; grep -rn \"theorem\\|lemma\" Zeta23/FromPNTPlus/ZetaBounds.lean | grep -i \"aux1\\|hasSum\\|series\\|integral\" | head -10",
  "description": "Inventory EulerMaclaurin and ZetaBounds series lemmas"
}
raw content_json (database row)
[{"type":"thinking","thinking":"The available ζ-bounds in Zeta23 are all in σ ≥ 1−A/log|t| (or σ > 1). Nothing in the left strip. So the |ζ| polynomial bound for σ ∈ [−4, 1/2] does NOT exist off-the-shelf — it must be built.\n\nLet me now think carefully about what the minimal-cost build is. This is the key design decision of ii′-5. Options:\n\n**Option 1: Build complex Stirling for |Γ| (vertical-decay upper bound).**\n|Γ(a+ib)| ≤ C·|b|^{a−1/2}·e^{−π|b|/2} for a in compact, |b| ≥ 1. From Zeta23's `inv_gamma_eq_prod` (Weierstrass): 1/Γ(z) = z·e^{γz}·∏(1+z/n)e^{−z/n}. Then |1/Γ(z)| = |z|e^{γa}∏|1+z/n|e^{−a/n}... hmm the product ∏(1+z/n)e^{−z/n}: log|...| = Σ(log|1+z/n| − a/n). For z = a+ib, |b| large: Σ log|1+z/n| = ½Σ log((1+a/n)² + b²/n²)... the standard estimate gives log|1/Γ(a+ib)| ≤ −π|b|/2 + ... — this is a substantial real-analysis build (term splitting at n ~ |b|, comparisons with integrals). Maybe 300-600 lines. Hmm.\n\nWait — actually, hold on. Do we need the e^{−π|b|/2} decay explicitly, or can the χ-bound be derived as a BLACK BOX from things that exist? Alternative: **bound |χ₀(s)| directly via the Λ-FE**: ζ(s) = [ΓR(1−s)/ΓR(s)]ζ(1−s). For σ ∈ [−4, 0]: 1−s ∈ [1, 5]-re: |ζ(1−s)| ≤ ζ(1) + pole... hmm re(1−s) ≥ 1: |ζ(1−s)| ≤ Σn^{−1}?? diverges — re(1−s) = 1 exactly at σ = 0 — bad edge; use σ ≤ −1/4 say: re(1−s) ≥ 5/4: |ζ(1−s)| ≤ ζ(5/4) ✓ finite. So need |ΓR(1−s)/ΓR(s)| = π^{1/2−σ}·|Γ((1−s)/2)|/|Γ(s/2)| ≤ C(1+|t|)^{1/2−σ}. With |Γ((1−s)/2)| ≤ Γ((1−σ)/2) (Zeta23 ✓) — bounded by 2; and 1/|Γ(s/2)|: s/2 = σ/2 + it/2 with σ/2 ∈ [−2, 0]: via reflection Γ(s/2) = π/(sin(πs/2)Γ(1−s/2)): 1/|Γ(s/2)| = |sin(πs/2)|·|Γ(1−s/2)|/π ≤ (cosh-ish e^{π|t|/4})·Γ(1−σ/2)/π ≤ C·e^{π|t|/4}. So the ratio ≤ 2·C·e^{π|t|/4}·π^{1/2−σ} — EXPONENTIAL e^{π|t|/4}. And no sin term to cancel (using the symmetric FE, the sin is hidden in the Γ ratio). Dead end confirmed — the Γ vertical decay is unavoidable for the left-strip ζ bound.\n\nHmm hold on, wait. Let me reconsider. Is there any OTHER polynomial bound for ζ in the left strip available WITHOUT Γ? \n\n**Option 2: Euler–Maclaurin/integral representation.** ζ(s) for σ > −k via repeated integration by parts:\nζ(s) = 1/(s−1) + 1/2 + ... + (−1)^{k}·s(s+1)...(s+k)·∫₁^∞ B̃_{k+1}(x)·x^{−s−k−1}/(k+1)! dx-ish. Each term polynomial in |s|; the integral converges absolutely for σ > −k with bound O(1). So |ζ(s)| ≤ C_k·(1+|s|)^{k+1} for σ ≥ −k+δ. This is FULLY Γ-free! Does Zeta23's EulerMaclaurin.lean contain such a representation? FromPNTPlus has EulerMaclaurin.lean — let me check what's in it. If it has the extended representation or the pieces (Bernoulli periodic functions, the integration-by-parts chain), this route is feasible. Mathlib: does Mathlib have `riemannZeta` extension by parts? Mathlib has the Hurwitz zeta `hurwitzZetaEven` machinery (used for the FE proof)... Mathlib's `riemannZeta` for 0 < re < 1: there's the \"zeta continutation\" via `Complex.riemannZeta` def... Mathlib has `riemannZeta_neg_nat_eq_bernoulli` (values at negative integers!) — via HurwitzZetaValues — those proofs use the integral representations! Let me look at what HurwitzZetaValues.lean has — it computed ζ(−k) VALUES, which requires evaluating the analytic continuation — the representation might be reusable.\n\nHmm, actually — Mathlib has `LSeries` machinery with `LSeries.eq_riemannZeta`... and the Hurwitz zeta: `hurwitzZetaEven`, and there might be a polynomial-growth statement somewhere for the PNT... Let me grep Mathlib for polynomial bounds on hurwitzZetaEven or the \"trivial\" bound.\n\n**Option 3 (the pragmatic dark horse): RESTRICT the R-bound theorem's σ-range to [1/2, 3]... ** — wait, does the assembly actually NEED σ down to −5/2? The R-bound in ii′-6 is used for: (a) the horizontal segments σ ∈ [−5/2, 2√n] at height ±T; (b) the left vertical σ = −5/2. Hmm — the D-036 rectangle is [−5/2, 2√n]×[−T, T]. Could the rectangle be NARROWER — left edge at σ₀ = +1/2?? The left vertical at σ = 1/2: then trivial zero −2 is OUTSIDE the rectangle — no trivial-zero contribution at all, and no need for zeroMult(−2)! But wait — the LEFT side integral then must be bounded: on σ = 1/2, |ζ′/ζ| has no good direct bound (critical strip interior!) — the R-bound is EXACTLY what controls it. So moving the left edge to 1/2 still needs the R-bound at σ = 1/2 — and the disc argument at σ = 1/2 needs the outer disc dipping to σ = 2−(3/2+δ)... ~0 — still left edge! The issue: ANY R-bound at σ < 1 needs |ζ| control dipping left of σ = 0. Hmm — well: disc centered 2+it covering σ = 1/2 needs inner radius 3/2, outer R = 3/2+2δ — dipping to σ = 1/2−δ < 1/2... if δ < 1/2 the disc stays in σ > 0! Disc B(2+it, R) with R = 3/2 + 2δ: leftmost σ = 2 − R = 1/2 − 2δ. For δ = 1/4: leftmost σ = 0. So the disc stays in σ > 0!! And then |ζ| on the outer circle: σ ∈ (0, 7/2+...]: hmm — but ZetaUpperBnd only covers σ ≥ 1−A/log|t| — σ ∈ (0, 1−A/log|t|) still UNCOVERED. The critical-strip-interior bound (σ ∈ (0, 1−c/log t)) is EXACTLY the hard part of ζ-size theory (convexity/AFE).\n\nHmm OK so: with the disc fully in σ > 0 we still need |ζ| bounds on σ ∈ (0, 1−A/log|t|). What bounds |ζ| there? The classic: |ζ(σ+it)| ≤ C t^{(1−σ)/2} log t (from the approximate functional equation or van der Corput...). Not in Mathlib/Zeta23 (they only needed σ ≥ 1−c/log t for PNT).\n\nDamn. So whichever way, a new ζ-size input must be built. Let me compare:\n- Left-strip (σ ∈ [−4, 0]) via FE: needs Γ vertical-decay (Stirling) — hard build.\n- Left-strip via Euler–Maclaurin extension: Γ-free! Needs the IBP chain or a reusable Mathlib/Zeta23 representation.\n- Critical-strip interior (σ ∈ (0, 1)) via convexity: needs bounds on BOTH sides: σ ≥ 3/2 trivial ✓, and σ ≤ 0 needs the left-strip bound anyway. So no matter what, the left-strip bound is the foundation.\n\n**So the foundation piece is: |ζ(σ+it)| ≤ C(1+|t|)^A for σ ∈ [−4, 0], |t| ≥ 10.** Via Euler–Maclaurin (Γ-free) — check Mathlib/Zeta23 for reusable pieces.\n\nLet me check what Mathlib has for Hurwitz zeta estimates / Bernoulli integrals: grep for \"hurwitzZetaEven\" bounds or \"polynomial\". Also Zeta23's EulerMaclaurin.lean contents.","signature":""},{"type":"text","text":"No left-strip ‖ζ‖ bound exists anywhere — it must be built, and the Γ-vertical-decay route is heavy. The Γ-free alternative is Euler–Maclaurin (IBP extension). Checking what FromPNTPlus/EulerMaclaurin.lean and Mathlib offer."},{"type":"tool_use","id":"Bash_166","name":"Bash","input":{"command":"cd D:/Python/Quantum/zeta-23-lean && grep -n \"theorem\\|lemma\\|def \" Zeta23/FromPNTPlus/EulerMaclaurin.lean | head -20; grep -rn \"theorem\\|lemma\" Zeta23/FromPNTPlus/ZetaBounds.lean | grep -i \"aux1\\|hasSum\\|series\\|integral\" | head -10","description":"Inventory EulerMaclaurin and ZetaBounds series lemmas"},"extra_content":null}]