RiemannA guide by Principia Superintelligence

Part I, chapter 3

Mellin, Laplace and Landau

The transform of GG turns each zero of ζ\zeta into a pole. Landau's theorem says the transform of a one-signed function cannot be analytic past its first real singularity, which is why an upper bound on GG is enough.

draft, under review12 minfirst published in v0.1.0, 2026-11-22

The transform and its poles

Chapter 2 ended with an identity. For Re⁡s>1\operatorname{Re} s > 1,

F(s)=∫1∞G(x) x−s−1 dx=−ζ′(s)ζ(s)⋅1s(s−1)−1(s−1)2+1+γs−1.F(s) = \int_{1}^{\infty} G(x)\, x^{-s-1}\, dx = -\frac{\zeta'(s)}{\zeta(s)}\cdot\frac{1}{s(s-1)} - \frac{1}{(s-1)^{2}} + \frac{1+\gamma}{s-1}.

It comes from two facts, both of which the archive proves by direct computation: the Mellin transform of the ramp (x/n−1)+(x/n-1)_+ is n−s/(s(s−1))n^{-s}/(s(s-1)), and summing Λ(n)n−s\Lambda(n) n^{-s} over nn gives −ζ′(s)/ζ(s)-\zeta'(s)/\zeta(s).

Formalism.MellinSdefFormalism/ZetaRealNonvanish.lean:29The transform of the ramp sum SS equals the LL-series of its coefficients divided by s(s−1)s(s-1), with the measurability and integrability needed to say so.
def MellinS : Prop

The transform of the ramp sum SS equals the LL-series of its coefficients divided by s(s−1)s(s-1), with the measurability and integrability needed to say so.

Full declaration with proof
def MellinS : Prop :=
  ∀ (N : ℕ) (χ : DirichletCharacter ℂ N),
    Measurable (S χ) ∧
    (∀ σ : ℝ, 1 < σ → IntegrableOn (fun x : ℝ => |S χ x| * x ^ (-σ - 1)) (Ioi 1)) ∧
    ∀ s : ℂ, 1 < s.re →
      ∫ x in Ioi (1:ℝ), (S χ x : ℂ) * (x : ℂ) ^ (-s - 1) =
        LSeries (fun n => (LamF χ n : ℂ)) s / (s * (s - 1))
Formalism.LSeriesLamFdefFormalism/ZetaRealNonvanish.lean:37For a real character, the LL-series of Λ(n)(1+Re⁡χ(n))\Lambda(n)(1+\operatorname{Re}\chi(n)) is −ζ′/ζ−L′/L-\zeta'/\zeta - L'/L; the trivial character gives the identity for ζ\zeta alone.
def LSeriesLamF : Prop

For a real character, the LL-series of Λ(n)(1+Re⁡χ(n))\Lambda(n)(1+\operatorname{Re}\chi(n)) is −ζ′/ζ−L′/L-\zeta'/\zeta - L'/L; the trivial character gives the identity for ζ\zeta alone.

Full declaration with proof
def LSeriesLamF : Prop :=
  ∀ (N : ℕ) [NeZero N] (χ : DirichletCharacter ℂ N), (∀ n : ℕ, (χ n).im = 0) →
    ∀ s : ℂ, 1 < s.re →
      LSeries (fun n => (LamF χ n : ℂ)) s =
        -deriv riemannZeta s / riemannZeta s -
          deriv (DirichletCharacter.LFunction χ) s / DirichletCharacter.LFunction χ s

Read the right-hand side as a map of singularities. The function ζ′/ζ\zeta'/\zeta has a simple pole at every zero of ζ\zeta and at the pole s=1s=1. The last two terms are chosen so that the two pieces of the principal part at s=1s = 1 cancel; that is what the main term xlog⁡x−(1+γ)xx\log x - (1+\gamma)x in the definition of GG was for. What remains:

  • at every non-trivial zero ρ\rho of multiplicity ν\nu, a simple pole of FF with residue −ν/(ρ(ρ−1))-\nu/(\rho(\rho-1));
  • a pole at s=0s = 0 and poles at the trivial zeros −2,−4,…-2, -4, \dots, all to the left of the strip and harmless below;
  • nothing on the real segment 0<s<10 < s < 1: the alternating series for ζ\zeta shows ζ(σ)<0\zeta(\sigma) < 0 there, so there is no real zero and no real pole.

Shifting the contour in the inverse transform is what produced the explicit formula of chapter 2. The poles are the waves.

Landau’s theorem: one sign is enough

The hypothesis says every zero has real part one half. Equivalently, FF is analytic on Re⁡s>1/2\operatorname{Re} s > 1/2. The proof wants to show that from an inequality on GG, and the inequality it can reach is one-sided: an upper bound G(x)≤xθG(x) \le x^{\theta}, nothing about how negative GG gets. Why should an upper bound control the poles of FF?

The answer is a theorem of Landau from 1905. If H(x)≥0H(x) \ge 0 for all large xx, and Φ(s)=∫1∞H(x) x−s−1 dx\Phi(s) = \int_1^\infty H(x)\,x^{-s-1}\,dx converges for Re⁡s>b\operatorname{Re} s > b, then Φ\Phi has a singularity at the real point s=bs = b of its abscissa of convergence. A transform of a one-signed function cannot continue analytically along the real axis past the first place where the integral stops converging. The proof is short: at a real point just to the right of bb, expand Φ\Phi in a Taylor series; because H≥0H \ge 0 every term is a positive integral, so the series converges wherever the integral does, and a continuation past bb would force the integral to converge past bb too.

Formalism.LandauLemmadefFormalism/ZetaRealNonvanish.lean:20Landau's theorem as the archive states it: if the transform of a non-negative HH converges for Re⁡s>b\operatorname{Re} s > b and continues analytically along the real axis down to aa, then the integral converges for every real σ>a\sigma > a and still represents Φ\Phi there.
def LandauLemma : Prop

Landau's theorem as the archive states it: if the transform of a non-negative HH converges for Re⁡s>b\operatorname{Re} s > b and continues analytically along the real axis down to aa, then the integral converges for every real σ>a\sigma > a and still represents Φ\Phi there.

Full declaration with proof
def LandauLemma : Prop :=
  ∀ (H : ℝ → ℝ) (a b : ℝ), a < b → AEStronglyMeasurable H (volume.restrict (Ioi 1)) →
    (∀ x : ℝ, 1 < x → 0 ≤ H x) →
    (∀ σ : ℝ, b < σ → IntegrableOn (fun x : ℝ => H x * x ^ (-σ - 1)) (Ioi 1)) →
    ∀ Φ : ℂ → ℂ, (∀ s : ℂ, b < s.re → AnalyticAt ℂ Φ s) →
    (∀ σ : ℝ, a < σ → σ ≤ b → AnalyticAt ℂ Φ σ) →
    (∀ s : ℂ, b < s.re → Φ s = ∫ x in Ioi (1:ℝ), (H x : ℂ) * (x : ℂ) ^ (-s - 1)) →
    ∀ σ : ℝ, a < σ → IntegrableOn (fun x : ℝ => H x * x ^ (-σ - 1)) (Ioi 1)

Apply it to H(x)=xθ−G(x)H(x) = x^{\theta} - G(x), which is non-negative for large xx if G(x)≤xθG(x) \le x^\theta. Its transform is 1/(s−θ)−F(s)1/(s-\theta) - F(s). This is analytic at every real s>θs > \theta, because the only real singularities FF could have in s>0s > 0 would come from real zeros of ζ\zeta in (0,1)(0,1), and there are none. So the abscissa of convergence is at most θ\theta, the integral converges on Re⁡s>θ\operatorname{Re} s > \theta, and FF is analytic there. A zero of ζ\zeta in that half-plane would be a pole of FF. There is none.

A transform of a positive function: shrinking Re⁡s\operatorname{Re} s towards the first real singularity. The integral keeps converging until a pole on the real axis is hit; poles off the axis cannot stop it.

That is the one-sided criterion: if G(x)≤xθG(x) \le x^\theta for all large xx, then ζ\zeta has no zero with real part greater than θ\theta. With θ\theta as close to one half as we like, and the mirror of chapter 5 for the other side, it would prove the hypothesis.

Why the proof cannot use it as it stands

The arithmetic of the later chapters does not deliver G(x)≤xθG(x) \le x^\theta for all large xx. It delivers the bound on windows [Y,Y3/2][Y, Y^{3/2}] for arbitrarily large YY, with gaps in between where nothing is known. Landau’s theorem needs the sign of HH everywhere beyond some point; one bad gap breaks it. The next chapter replaces Landau’s theorem by an argument that looks at one window at a time, through high derivatives of FF. Everything it needs about FF is packed into one structure, which this chapter closes with.

What the Lean keeps about the transform

The Lean proof does not carry the formula for FF around. It carries a list of properties, a record called PoleData, and proves the window lemma from the record alone. The variable is changed to u=log⁡xu = \log x first, so the Mellin transform becomes a Laplace transform of g(u)=G(eu)g(u) = G(e^{u}).

Deduction.PoleDatastructureDedekindLFunctions/LandauZeroFreeCriterion.lean:15The record: gg is measurable and grows at most like e2ue^{2u}; for Re⁡s>2\operatorname{Re} s > 2 the function Φ\Phi is the Laplace transform of gg; every pole in the set ZZ has positive real part; Φ\Phi is analytic on the right half-plane away from ZZ; poles are isolated; and at each pole the principal part is c/(s−ρ)c/(s-\rho) with c≠0c \ne 0, where a real pole has a positive real residue.
structure PoleData (g : ℝ → ℝ) (Φ : ℂ → ℂ) (Z : Set ℂ) : Prop

The record: gg is measurable and grows at most like e2ue^{2u}; for Re⁡s>2\operatorname{Re} s > 2 the function Φ\Phi is the Laplace transform of gg; every pole in the set ZZ has positive real part; Φ\Phi is analytic on the right half-plane away from ZZ; poles are isolated; and at each pole the principal part is c/(s−ρ)c/(s-\rho) with c≠0c \ne 0, where a real pole has a positive real residue.

Full declaration with proof
structure PoleData (g : ℝ → ℝ) (Φ : ℂ → ℂ) (Z : Set ℂ) : Prop where
  meas : Measurable g
  growth : ∃ C : ℝ, ∀ u : ℝ, 0 ≤ u → |g u| ≤ C * Real.exp (2 * u)
  laplace : ∀ s : ℂ, 2 < s.re → Φ s = ∫ u in Ioi (0 : ℝ), (g u : ℂ) * cexp (-s * u)
  pos : ∀ ρ ∈ Z, 0 < ρ.re
  diff : DifferentiableOn ℂ Φ ({s : ℂ | 0 < s.re} \ Z)
  iso : ∀ z : ℂ, 0 < z.re → ∀ᶠ w in 𝓝[≠] z, w ∉ Z
  pole : ∀ ρ ∈ Z, ∃ c : ℂ, c ≠ 0 ∧ (ρ.im = 0 → 0 < c.re ∧ c.im = 0) ∧
    ∃ h : ℂ → ℂ, AnalyticAt ℂ h ρ ∧ ∀ᶠ s in 𝓝[≠] ρ, Φ s = c / (s - ρ) + h s

Each field earns its place in the next chapter. The growth bound makes the derivatives of Φ\Phi computable as integrals. Isolation of poles lets one find a point on a vertical line with a unique nearest pole. The last clause, the sign of the residue at a real pole, is the one addition that Dirichlet LL-functions force: ζ\zeta has no real zeros in the strip, but an LL-function might, and a real zero β\beta gives a real pole whose residue is a positive multiple of 1/(β(1−β))1/(\beta(1-\beta)). The window lemma handles that case by a separate branch.

Deduction.poleData_abstracttheoremLandauTheorems/poleData.lean:22From any entire gg with g(1)≠0g(1) \ne 0: the corrected transform of −g′/g-g'/g has simple poles exactly at the zeros of gg, each with residue m⋅(−1/(ρ(ρ−1)))m\cdot(-1/(\rho(\rho-1))) for the multiplicity mm, and no other singularities away from 00.
theorem poleData_abstract (g : ℂ → ℂ) (hg : Differentiable ℂ g) (h1 : g 1 ≠ 0) (k : ℂ) :
    ∃ Φ : ℂ → ℂ,
      (∀ s, s ≠ 1 → Φ s =
        -(deriv g s / g s - s * (deriv g 1 / g 1) + k * (1 - s)) / (s * (s - 1))) ∧
      (∀ ρ, ρ ≠ 0 → g ρ ≠ 0 → AnalyticAt ℂ Φ ρ) ∧
      (∀ ρ, ρ ≠ 0 → ∃ m : ℕ, (m = 0 ↔ g ρ ≠ 0) ∧ ∃ h : ℂ → ℂ, AnalyticAt ℂ h ρ ∧
        ∀ᶠ s in 𝓝[≠] ρ, Φ s = (m : ℂ) * (-1 / (ρ * (ρ - 1))) / (s - ρ) + h s) ∧
      (∀ z, ∀ᶠ w in 𝓝[≠] z, g w ≠ 0)

From any entire gg with g(1)≠0g(1) \ne 0: the corrected transform of −g′/g-g'/g has simple poles exactly at the zeros of gg, each with residue m⋅(−1/(ρ(ρ−1)))m\cdot(-1/(\rho(\rho-1))) for the multiplicity mm, and no other singularities away from 00.

Excerpt: the first 60 of 68 lines
theorem poleData_abstract (g : ℂ → ℂ) (hg : Differentiable ℂ g) (h1 : g 1 ≠ 0) (k : ℂ) :
    ∃ Φ : ℂ → ℂ,
      (∀ s, s ≠ 1 → Φ s =
        -(deriv g s / g s - s * (deriv g 1 / g 1) + k * (1 - s)) / (s * (s - 1))) ∧
      (∀ ρ, ρ ≠ 0 → g ρ ≠ 0 → AnalyticAt ℂ Φ ρ) ∧
      (∀ ρ, ρ ≠ 0 → ∃ m : ℕ, (m = 0 ↔ g ρ ≠ 0) ∧ ∃ h : ℂ → ℂ, AnalyticAt ℂ h ρ ∧
        ∀ᶠ s in 𝓝[≠] ρ, Φ s = (m : ℂ) * (-1 / (ρ * (ρ - 1))) / (s - ρ) + h s) ∧
      (∀ z, ∀ᶠ w in 𝓝[≠] z, g w ≠ 0) := by
  have hA : ∀ z, AnalyticAt ℂ g z := fun z => hg.analyticAt z
  have hnz : ∀ z, ¬ ∀ᶠ w in 𝓝 z, g w = 0 := by
    intro z hz
    have hon : AnalyticOnNhd ℂ g Set.univ := fun w _ => hA w
    have hzero := hon.eqOn_zero_of_preconnected_of_eventuallyEq_zero isPreconnected_univ
      (Set.mem_univ z) hz
    exact h1 (hzero (Set.mem_univ 1))
  obtain ⟨c, hc⟩ : ∃ c : ℂ, c = deriv g 1 / g 1 := ⟨_, rfl⟩
  obtain ⟨N, hN⟩ : ∃ N : ℂ → ℂ, N = fun s => deriv g s / g s - s * c + k * (1 - s) := ⟨_, rfl⟩
  have hNs : ∀ s, N s = deriv g s / g s - s * c + k * (1 - s) := fun s => by rw [hN]
  have hN1 : N 1 = 0 := by rw [hNs, hc]; ring
  have hUo : IsOpen {s | g s ≠ 0} := isOpen_ne_fun hg.continuous continuous_const
  have hNd : DifferentiableOn ℂ N {s | g s ≠ 0} := by
    intro s hs
    have hd : DifferentiableAt ℂ (deriv g) s := (hA s).deriv.differentiableAt
    have hd2 : DifferentiableAt ℂ (fun s => deriv g s / g s - s * c + k * (1 - s)) s :=
      ((hd.div (hA s).differentiableAt hs).sub (differentiableAt_id.mul (differentiableAt_const c))).add
        ((differentiableAt_const k).mul ((differentiableAt_const 1).sub differentiableAt_id))
    rw [hN]
    exact hd2.differentiableWithinAt
  have hDd : DifferentiableOn ℂ (dslope N 1) {s | g s ≠ 0} :=
    (differentiableOn_dslope (hUo.mem_nhds h1)).mpr hNd
  have hPhi : ∀ s, s ≠ 1 → -(dslope N 1 s) / s =
      -(deriv g s / g s - s * (deriv g 1 / g 1) + k * (1 - s)) / (s * (s - 1)) := by
    intro s hs
    rw [dslope_of_ne _ hs, slope_def_field, hN1, hNs, ← hc]
    simp only [div_eq_mul_inv, mul_inv]
    ring
  have hPan : ∀ ρ, ρ ≠ 0 → g ρ ≠ 0 → AnalyticAt ℂ (fun s => -(dslope N 1 s) / s) ρ := by
    intro ρ hρ hgρ
    exact (hDd.analyticAt (hUo.mem_nhds hgρ)).neg.div analyticAt_id hρ
  refine ⟨fun s => -(dslope N 1 s) / s, hPhi, hPan, ?_, ?_⟩
  · intro ρ hρ
    by_cases hgρ : g ρ = 0
    · have hρ1 : ρ ≠ 1 := fun h => h1 (h ▸ hgρ)
      obtain ⟨m, hm0, -, h0, hh0, hev⟩ := logDeriv_local (hA ρ) (hnz ρ)
      have hr : AnalyticAt ℂ (fun s : ℂ => 1 / (s * (s - 1))) ρ :=
        analyticAt_const.div (analyticAt_id.mul (analyticAt_id.sub analyticAt_const))
          (mul_ne_zero hρ (sub_ne_zero.mpr hρ1))
      have hq := poleData_dslope hr
      refine ⟨m, hm0, fun s => -((m : ℂ) * dslope (fun s : ℂ => 1 / (s * (s - 1))) ρ s)
          - (h0 s - s * c + k * (1 - s)) * (1 / (s * (s - 1))), ?_, ?_⟩
      · exact ((analyticAt_const.mul hq).neg).sub
          (((hh0.sub (analyticAt_id.mul analyticAt_const)).add
            (analyticAt_const.mul (analyticAt_const.sub analyticAt_id))).mul hr)
      · have hne0 : ∀ᶠ s in 𝓝[≠] ρ, s ≠ 0 :=
          nhdsWithin_le_nhds (isOpen_ne.mem_nhds hρ)
        have hne1 : ∀ᶠ s in 𝓝[≠] ρ, s ≠ 1 :=
          nhdsWithin_le_nhds (isOpen_ne.mem_nhds hρ1)
        have hneρ : ∀ᶠ s in 𝓝[≠] ρ, s ≠ ρ := self_mem_nhdsWithin
        filter_upwards [hev, hne0, hne1, hneρ] with s hs hs0 hs1 hsρ
        rw [hPhi s hs1, hs, dslope_of_ne _ hsρ, slope_def_field, ← hc]
  …

The complete declaration runs to line 89 of Development/AutomorphicArithmetic/DedekindLFunctions/LandauTheorems/poleData.lean in the archive; the statement above is its full header.

Deduction.poleData_chartheoremLandauTheorems/poleData.lean:137The same for one Dirichlet LL-function, with the Laplace representation of GχG_\chi for Re⁡s>2\operatorname{Re} s > 2.
theorem poleData_char {N : ℕ} [NeZero N] (χ : DirichletCharacter ℂ N) (adm : N = 1 ∨ χ ≠ 1) :
    ∃ Φ : ℂ → ℂ,
      (∀ s : ℂ, 2 < s.re → Φ s = ∫ u in Ioi (0 : ℝ), Gchi χ (Real.exp u) * cexp (-s * u)) ∧
      (∀ ρ, ρ ≠ 0 → DirichletCharacter.LFunction χ ρ ≠ 0 → AnalyticAt ℂ Φ ρ) ∧
      (∀ ρ, ρ ≠ 0 → ∃ m : ℕ, (m = 0 ↔ DirichletCharacter.LFunction χ ρ ≠ 0) ∧
        ∃ h : ℂ → ℂ, AnalyticAt ℂ h ρ ∧
        ∀ᶠ s in 𝓝[≠] ρ, Φ s = (m : ℂ) * (-1 / (ρ * (ρ - 1))) / (s - ρ) + h s) ∧
      (∀ z, ∀ᶠ w in 𝓝[≠] z, DirichletCharacter.LFunction χ w ≠ 0)

The same for one Dirichlet LL-function, with the Laplace representation of GχG_\chi for Re⁡s>2\operatorname{Re} s > 2.

Excerpt: the first 60 of 103 lines
theorem poleData_char {N : ℕ} [NeZero N] (χ : DirichletCharacter ℂ N) (adm : N = 1 ∨ χ ≠ 1) :
    ∃ Φ : ℂ → ℂ,
      (∀ s : ℂ, 2 < s.re → Φ s = ∫ u in Ioi (0 : ℝ), Gchi χ (Real.exp u) * cexp (-s * u)) ∧
      (∀ ρ, ρ ≠ 0 → DirichletCharacter.LFunction χ ρ ≠ 0 → AnalyticAt ℂ Φ ρ) ∧
      (∀ ρ, ρ ≠ 0 → ∃ m : ℕ, (m = 0 ↔ DirichletCharacter.LFunction χ ρ ≠ 0) ∧
        ∃ h : ℂ → ℂ, AnalyticAt ℂ h ρ ∧
        ∀ᶠ s in 𝓝[≠] ρ, Φ s = (m : ℂ) * (-1 / (ρ * (ρ - 1))) / (s - ρ) + h s) ∧
      (∀ z, ∀ᶠ w in 𝓝[≠] z, DirichletCharacter.LFunction χ w ≠ 0) := by
  by_cases hχ : χ = 1
  · have hN : N = 1 := adm.resolve_right (fun h => h hχ)
    subst hN
    simp only [DirichletCharacter.LFunction_modOne_eq]
    set g : ℂ → ℂ := Function.update (fun s => (s - 1) * riemannZeta s) 1 1 with hg_def
    have hg_ne : ∀ w : ℂ, w ≠ 1 → g w = (w - 1) * riemannZeta w := by
      intro w hw
      simp [g, Function.update_apply, hw]
    have hg1 : g 1 = 1 := by simp [g]
    have hg : Differentiable ℂ g := by
      rw [← differentiableOn_univ,
        ← differentiableOn_compl_singleton_and_continuousAt_iff (c := 1) Filter.univ_mem]
      refine ⟨?_, ?_⟩
      · intro z hz
        have hz1 : z ≠ 1 := by simpa using hz
        apply DifferentiableAt.differentiableWithinAt
        have hev : g =ᶠ[𝓝 z] fun s => (s - 1) * riemannZeta s := by
          filter_upwards [isOpen_compl_singleton.mem_nhds hz1] with w hw
          exact hg_ne w hw
        have hd : DifferentiableAt ℂ (fun s => (s - 1) * riemannZeta s) z :=
          DifferentiableAt.mul (by fun_prop) (differentiableAt_riemannZeta hz1)
        exact hd.congr_of_eventuallyEq hev
      · simpa only [g, continuousAt_update_same] using riemannZeta_residue_one
    have hderiv1 : deriv g 1 = Real.eulerMascheroniConstant := by
      have hd : HasDerivAt g (deriv g 1) 1 := (hg 1).hasDerivAt
      rw [hasDerivAt_iff_tendsto_slope] at hd
      refine tendsto_nhds_unique hd (tendsto_riemannZeta_sub_one_div.congr' ?_)
      filter_upwards [self_mem_nhdsWithin] with s hs
      have hs1 : s ≠ 1 := hs
      have hs1' : s - 1 ≠ 0 := sub_ne_zero.mpr hs1
      rw [slope_def_field, hg_ne s hs1, hg1]
      field_simp
    have hderiv : ∀ s : ℂ, s ≠ 1 →
        deriv g s = riemannZeta s + (s - 1) * deriv riemannZeta s := by
      intro s hs1
      have hev : g =ᶠ[𝓝 s] fun s => (s - 1) * riemannZeta s := by
        filter_upwards [isOpen_compl_singleton.mem_nhds hs1] with w hw
        exact hg_ne w hw
      rw [hev.deriv_eq]
      have h1 : HasDerivAt (fun s : ℂ => s - 1) 1 s := (hasDerivAt_id s).sub_const 1
      have h2 : HasDerivAt riemannZeta (deriv riemannZeta s) s :=
        (differentiableAt_riemannZeta hs1).hasDerivAt
      have h3 : HasDerivAt (fun s : ℂ => (s - 1) * riemannZeta s)
          (1 * riemannZeta s + (s - 1) * deriv riemannZeta s) s := h1.mul h2
      rw [h3.deriv]
      ring
    have hgz : ∀ w : ℂ, g w ≠ 0 ↔ riemannZeta w ≠ 0 := by
      intro w
      by_cases hw : w = 1
      · subst hw
        rw [hg1]
        exact ⟨fun _ => riemannZeta_one_ne_zero, fun _ => one_ne_zero⟩
  …

The complete declaration runs to line 239 of Development/AutomorphicArithmetic/DedekindLFunctions/LandauTheorems/poleData.lean in the archive; the statement above is its full header.

Deduction.poleDatatheoremLandauTheorems/poleData.lean:248For a whole weighted family of characters, a single record whose pole set is the union of the zeros of all members and of their conjugates.
theorem poleData (F : CharFamily) : ∃ Φ : ℂ → ℂ, PoleData (gm F) Φ (zeroSet F)

For a whole weighted family of characters, a single record whose pole set is the union of the zeros of all members and of their conjugates.

Excerpt: the first 60 of 153 lines
theorem poleData (F : CharFamily) : ∃ Φ : ℂ → ℂ, PoleData (gm F) Φ (zeroSet F) := by
  classical
  have adm' : ∀ i, F.N i = 1 ∨ (F.χ i)⁻¹ ≠ 1 := fun i => (F.adm i).imp id (fun h => inv_ne_one.mpr h)
  choose Φ1 hΦ1int hΦ1an hΦ1pol hΦ1iso using fun i => poleData_char (F.χ i) (F.adm i)
  choose Φ2 hΦ2int hΦ2an hΦ2pol hΦ2iso using fun i => poleData_char (F.χ i)⁻¹ (adm' i)
  choose C hC using fun i => Gchi_growth (F.χ i)
  have hZ : ∀ ρ, ρ ∈ zeroSet F ↔ 0 < ρ.re ∧ ∃ i, DirichletCharacter.LFunction (F.χ i) ρ = 0 ∨
      DirichletCharacter.LFunction (F.χ i) ((starRingEnd ℂ) ρ) = 0 := by
    intro ρ
    rw [zeroSet.eq_1]
    rfl
  have hconj : ∀ i (w : ℂ), DirichletCharacter.LFunction (F.χ i) ((starRingEnd ℂ) w) = 0 ↔
      DirichletCharacter.LFunction (F.χ i)⁻¹ w = 0 := fun i w => (poleData_inv_zero (F.χ i) w).symm
  refine ⟨fun s => ∑ i, (F.a i : ℂ) / 2 * (Φ1 i s + Φ2 i s), ?_⟩
  refine PoleData.mk ?_ ?_ ?_ ?_ ?_ ?_ ?_
  · have hg : gm F = fun u => ∑ i, F.a i * (Gchi (F.χ i) (Real.exp u)).re := by
      funext u
      rw [gm.eq_1, Gm.eq_1]
    rw [hg]
    exact Finset.measurable_sum _ fun i _ => measurable_const.mul
      (Complex.measurable_re.comp ((measurable_Gchi (F.χ i)).comp Real.measurable_exp))
  · refine ⟨∑ i, F.a i * C i, fun u hu => ?_⟩
    rw [gm.eq_1, Gm.eq_1]
    have hy : 1 ≤ Real.exp u := Real.one_le_exp hu
    have he : Real.exp u ^ 2 = Real.exp (2 * u) := by
      rw [sq, ← Real.exp_add, two_mul]
    calc |∑ i, F.a i * (Gchi (F.χ i) (Real.exp u)).re|
        ≤ ∑ i, |F.a i * (Gchi (F.χ i) (Real.exp u)).re| := Finset.abs_sum_le_sum_abs _ _
      _ ≤ ∑ i, F.a i * (C i * Real.exp (2 * u)) := by
        apply Finset.sum_le_sum
        intro i _
        rw [abs_mul, abs_of_pos (F.a_pos i)]
        apply mul_le_mul_of_nonneg_left _ (F.a_pos i).le
        calc |(Gchi (F.χ i) (Real.exp u)).re| ≤ ‖Gchi (F.χ i) (Real.exp u)‖ := Complex.abs_re_le_norm _
          _ ≤ C i * Real.exp u ^ 2 := hC i _ hy
          _ = C i * Real.exp (2 * u) := by rw [he]
      _ = (∑ i, F.a i * C i) * Real.exp (2 * u) := by
        rw [Finset.sum_mul]
        refine Finset.sum_congr rfl fun i _ => ?_
        ring
  · intro s hs
    have hpt : ∀ u : ℝ, ((gm F u : ℝ) : ℂ) * cexp (-s * u) = ∑ i, (F.a i : ℂ) / 2 *
        (Gchi (F.χ i) (Real.exp u) * cexp (-s * u) + Gchi (F.χ i)⁻¹ (Real.exp u) * cexp (-s * u)) := by
      intro u
      rw [gm.eq_1, Gm.eq_1]
      push_cast
      rw [Finset.sum_mul]
      refine Finset.sum_congr rfl fun i _ => ?_
      rw [Complex.re_eq_add_conj, Gchi_conj]
      ring
    simp_rw [hpt]
    rw [integral_finsetSum]
    · refine Finset.sum_congr rfl fun i _ => ?_
      rw [integral_const_mul, integral_add (poleData_integrable _ s hs) (poleData_integrable _ s hs),
        hΦ1int i s hs, hΦ2int i s hs]
    · intro i _
      exact ((poleData_integrable _ s hs).add (poleData_integrable _ s hs)).const_mul _
  · intro ρ hρ
    exact ((hZ ρ).1 hρ).1
  · intro s hs
  …

The complete declaration runs to line 400 of Development/AutomorphicArithmetic/DedekindLFunctions/LandauTheorems/poleData.lean in the archive; the statement above is its full header.

Why the conjugate characters appear in the pole set

The statistic for a non-real character χ\chi is complex; the proof uses its real part, which is half of Gχ+GχˉG_\chi + G_{\bar\chi}. The transform of the real part therefore has poles at the zeros of L(χ,s)L(\chi,s) and at the zeros of L(χˉ,s)L(\bar\chi, s), and the zeros of χˉ\bar\chi are the complex conjugates of the zeros of χ\chi. The record for a family lists both, which is why its pole set is built from each character and its inverse.

Where this is in the exposition and the archive

The identity for FF and Landau’s criterion are §I.1 of the exposition; the remark that the poles in the strip are not real is at the start of Part II §1. The Lean lives in DedekindLFunctions/LandauTheorems/poleData.lean and LandauZeroFreeCriterion.lean, with the earlier formulation of Landau’s theorem in Formalism/ZetaRealNonvanish.lean.