EMZetaComplex certificate definitions
DefinitionArdaRH65K_Turing121_EMZetaComplexarda-rh65k-transfernumber-theoryriemann-zeta
This bundle defines the Euler–Maclaurin remainder and closed expression for complex zeta. Let be the set of declarations it provides. Among its named definitions are
The accompanying theorems establish the mathematical properties of these definitions.
Definition code
import Definitions.Def_ArdaRH65K_Turing121_EMZeta
import Mathlib.Analysis.Analytic.Uniqueness
import Mathlib.Analysis.SpecialFunctions.ImproperIntegrals
import Mathlib.Analysis.SpecialFunctions.Pow.Deriv
import Mathlib.MeasureTheory.Function.Floor
import Mathlib.MeasureTheory.Integral.IntegralEqImproper
import Mathlib.MeasureTheory.Integral.IntervalIntegral.IntegrationByParts
import Mathlib.NumberTheory.LSeries.RiemannZeta
import Mathlib.NumberTheory.ZetaValues
/- EMZetaComplex.lean -- A2 Theorem 1, E-track: the COMPLEX Euler-Maclaurin representation of ζ
and its K=1 analytic continuation into the critical strip.
Builds on `EMZeta.lean` (real-s EM chain, Parts A-D', kernel-clean). This file is the
complex lift and the analytic continuation:
E1. `em_unit_step_cpow` -- one-step EM over [m,m+1] for a ℂ-valued C¹ function.
`em_cpow_partial` -- finite-N EM for `f x = (x:ℂ)^(-s)`, s : ℂ, on [1,N].
E2. `em_zeta_cpow` -- N→∞ complex representation, valid Re s > 1, tied to riemannZeta.
E3. `em_zeta_strip` -- K=1 analytic continuation to 0 < Re s (s ≠ 1) with explicit
remainder bound (THE PRIZE — covers the critical strip).
E4. `em_zeta_strip_enclosure` -- evaluator-facing finite-sum + explicit-tail enclosure shape.
Only fully-proven, sorry-free lemmas live here. General-K (K ≥ 2) stays in EMZetaWip.lean.
conjecture1_proved = False. This is a classical analysis lemma (Euler-Maclaurin + identity
theorem), NOT a proof of RH.
-/
open MeasureTheory intervalIntegral Set Filter Topology Complex
open scoped Real
namespace ZetaReflection
/-! ## E1a. One-step Euler-Maclaurin over a unit cell, ℂ-valued integrand.
Direct lift of `em_unit_step`: the saw antiderivative `w x = x - m - 1/2` is real, cast to ℂ,
and the IBP `intervalIntegral.integral_deriv_mul_eq_sub` runs in the `NormedRing ℂ`. -/
/-! ## E1b. Summed complex EM over an integer window, and the partial-ζ identity.
Lift of `euler_maclaurin_one_window` to ℂ-valued `f`. The telescoping and per-cell
integrability arguments are identical to the real proof; the trapezoid bookkeeping is over ℂ. -/
/-! ## E2. The `N → ∞` complex representation for `Re s > 1`, tied to `riemannZeta`.
Lift of `em_zeta_real` (Part D'). The three limits: partial sum → tsum (`summable_one_div_
nat_cpow`), the two finite integrals → improper (`intervalIntegral_tendsto_integral_Ioi`),
endpoint `N^{-s} → 0` (norm → 0). Then `zeta_eq_tsum_one_div_nat_cpow` ties it to `ζ`. -/
/-! ## E3. K=1 analytic continuation into the critical strip (THE PRIZE).
Define the EM closed form on `{Re s > 0}`:
emZetaRemainder s := ∫_1^∞ (sawBernoulli 1 x)·(−s·x^{−s−1}) -- converges for Re s > 0
emZetaClosed s := 1/(s−1) + 1/2 + emZetaRemainder s
For `Re s > 1`, `∫_1^∞ x^{−s} = 1/(s−1)` and `1^{−s} = 1`, so `emZetaClosed s = riemannZeta s`
(from `em_zeta_cpow_riemannZeta`). Both `riemannZeta` and `emZetaClosed` are analytic on
`{Re s > 0} \ {1}`, agree on the open set `{Re s > 1}` (which has accumulation points in the
larger strip), so by the identity theorem they agree on all of `{Re s > 0} \ {1}`. That is
`em_zeta_strip`, which covers the whole critical strip. -/
/-- The EM remainder integral `R(s) = ∫_1^∞ (sawBernoulli 1 x)·(−s·x^{−s−1})`. Converges
absolutely for `Re s > 0` (integrand norm ≤ `(‖s‖/2)·x^{−Re s−1}`). -/
noncomputable def emZetaRemainder (s : ℂ) : ℂ :=
∫ x in Ioi (1 : ℝ), (sawBernoulli 1 x : ℂ) * (-s * (x : ℂ) ^ (-s - 1))
/-- The EM closed form `1/(s−1) + 1/2 + R(s)` — analytic on `{Re s > 0} \ {1}`, agreeing with
`riemannZeta` there. For `Re s > 1` the `1/(s−1)` is exactly `∫_1^∞ x^{−s}` and `1/2` is
`1^{−s}/2`. -/
noncomputable def emZetaClosed (s : ℂ) : ℂ :=
1 / (s - 1) + 1 / 2 + emZetaRemainder s
/-! ### E3 helpers for the analytic continuation. -/
/-! ### The critical-strip half-plane, slit at `1`, is preconnected. -/
/-- The open right half-plane `{Re s > 0}`. -/
def rightHalfPlane : Set ℂ := {s : ℂ | 0 < s.re}
/-! ### E3 capstone: the identity theorem transfer. -/
/-! ## E4. Evaluator-facing enclosure (the A4 `checkBand` consumer shape).
The A4 interval evaluator needs: an EXPLICIT finite part it can box with `DIntv` arithmetic,
plus a RATIONAL error envelope on the (unevaluated) remainder. `em_zeta_strip` already
delivers exactly this at `K = 1`: the finite part is the elementary closed form
`1/(s−1) + 1/2` (a reciprocal + a constant — directly boxable), and the remainder envelope is
`‖s‖/(2·Re s)`. We package it as a single norm enclosure, and give the `σ = 1/2 + it`
critical-line specialization (the band the evaluator sweeps).
Interface for A4 (`DIntvDef.DIntv.memR`): supplied dyadic-interval enclosures of `Re(1/(s−1))`,
`Im(1/(s−1))`, the constant `1/2`, and the scalar envelope `‖s‖/(2·Re s)`, the evaluator boxes
`Re(ζ s)` and `Im(ζ s)` within
[Re(finite) − env, Re(finite) + env] × [Im(finite) − env, Im(finite) + env].
(`stirlingFinite`-style, mirroring `StirlingBinet.logDeriv_gammaR_enclosure`.) -/
end ZetaReflection
def ArdaRH65K_Turing121_EMZetaComplex : Nat := 0
Source