Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

The objects of the Trace Formula: test functions on CFC_FCF​, local terms, zeros of LLL on Ω(CF)\Omega(C_F)Ω(CF​)

Definition
MasulloGRH_TraceFormula

by Shuze Chen · Nov 20, 2026 · Mathlib 0df444a (Lean v4.33.1)

hecke-l-functionidele-class-groupmasullonumber-theorytrace-formula

This file defines the terms that appear in the Trace Formula on the idele class group CFC_FCF​ of a number field FFF.

  1. A test function on CFC_FCF​, φ∈D(CF)=Cc∞(CF)\varphi\in\mathcal D(C_F)=C_c^\infty(C_F)φ∈D(CF​)=Cc∞​(CF​), is a Schwartz–Bruhat function on CFC_FCF​ with compact support.
  2. The Mellin transform of a function φ\varphiφ on CFC_FCF​ at a quasi-character ccc is
M(φ)(c)=∫CFφ(g) c(g) dμˉ(g),M(\varphi)(c)=\int_{C_F}\varphi(g)\,c(g)\,d\bar\mu(g),M(φ)(c)=∫CF​​φ(g)c(g)dμˉ​(g),

with μˉ\bar\muμˉ​ the Tamagawa measure on CFC_FCF​. 3. For a place vvv, φ(gv)\varphi(g_v)φ(gv​) denotes the value of φ\varphiφ on the class of the idele with coordinate gv∈Fv×g_v\in F_v^\timesgv​∈Fv×​ at vvv and 111 elsewhere. 4. The local term at an Archimedean place vvv is

1Mv∫Fv×φ(gv) ∣gv∣v1/2∣1−gv∣v dμv(gv),Mv={2v real,2πv complex,\frac{1}{M_v}\int_{F_v^\times}\frac{\varphi(g_v)\,|g_v|_v^{1/2}}{|1-g_v|_v}\,d\mu_v(g_v),\qquad M_v=\begin{cases}2&v\text{ real},\\2\pi&v\text{ complex},\end{cases}Mv​1​∫Fv×​​∣1−gv​∣v​φ(gv​)∣gv​∣v1/2​​dμv​(gv​),Mv​={22π​v real,v complex,​

with μv=∣⋅∣v−1νv\mu_v=|\cdot|_v^{-1}\nu_vμv​=∣⋅∣v−1​νv​ the local multiplicative Tamagawa measure, νv=dx\nu_v=dxνv​=dx for vvv real and νv=∣dz∧dzˉ∣\nu_v=|dz\wedge d\bar z|νv​=∣dz∧dzˉ∣ for vvv complex. 5. The local term at a finite place vvv is

log⁡qvμv(OFv×)∫Fv×φ(gv) ∣gv∣v1/2∣1−gv∣v dμv(gv),\frac{\log q_v}{\mu_v(\mathcal O_{F_v}^\times)}\int_{F_v^\times}\frac{\varphi(g_v)\,|g_v|_v^{1/2}}{|1-g_v|_v}\,d\mu_v(g_v),μv​(OFv​×​)logqv​​∫Fv×​​∣1−gv​∣v​φ(gv​)∣gv​∣v1/2​​dμv​(gv​),

with qvq_vqv​ the cardinality of the residue field and μv\mu_vμv​ a Haar measure on Fv×F_v^\timesFv×​. 6. For a quasi-character ccc of CFC_FCF​, write c=χ∣⋅∣Fσc=\chi|\cdot|_F^{\sigma}c=χ∣⋅∣Fσ​ with χ=c/∣c∣\chi=c/|c|χ=c/∣c∣ unitary and σ=σ(c)\sigma=\sigma(c)σ=σ(c) the abscissa. The order of the Hecke LLL-function at ccc is the order of the completed Hecke LLL-function s↦L(s,χ)s\mapsto L(s,\chi)s↦L(s,χ) at s=σs=\sigmas=σ; ccc is a zero if this order is positive, and the order is then its multiplicity N(c)N(c)N(c). 7. For α>0\alpha>0α>0, the zeros in the strip are the zeros ccc with ∣σ(c)−12∣<α|\sigma(c)-\tfrac12|<\alpha∣σ(c)−21​∣<α, i.e. the zeros in the interior of the relative vertical strip Ω(CF)1/2+I\Omega(C_F)_{1/2+I}Ω(CF​)1/2+I​, I=[−α,α]I=[-\alpha,\alpha]I=[−α,α].

Formalization Note In items 4 and 5 the integrals are ordinary integrals. They are used for test functions that vanish on CF1C_F^1CF1​; for such functions the integrand vanishes where ∣gv∣v=1|g_v|_v=1∣gv​∣v​=1, and the Connes–Weil principal values of Definition B.4.4.1 coincide with these integrals (Lemma B.4.4.3 at the finite places). The term of item 4 is written as ν(B)−1∫φ(x)∣x∣v1/2/(∣1−x∣v∣x∣v) dν(x)\nu(B)^{-1}\int\varphi(x)|x|_v^{1/2}/(|1-x|_v|x|_v)\,d\nu(x)ν(B)−1∫φ(x)∣x∣v1/2​/(∣1−x∣v​∣x∣v​)dν(x) with ν\nuν any Haar measure on FvF_vFv​ and BBB the unit ball, since νv(B)=Mv\nu_v(B)=M_vνv​(B)=Mv​; the term of item 5 does not depend on the normalization of μv\mu_vμv​. The Haar measures are selected by choice.

Definition code
import Definitions.Def_MasulloGRH_CompletedL

/-!
# The objects of the Trace Formula on the idele class group

Source: A. M. Masullo, *The Music of the Primes* (draft of 20 November 2026): Theorem 12.5.1.1,
eqs. (12.5.1.1)–(12.5.1.3) (pp. 519–520); Theorem B.4.4.7 and the description of `D(C_F)` after
it (p. 623); Definition A.3.2.2 (p. 560); Remark B.4.4.2 (p. 620); Lemma B.4.4.3 (p. 620).
-/

namespace MasulloGRH

open NumberField IsDedekindDomain MeasureTheory

noncomputable section

variable {F : Type*} [Field F] [NumberField F]

/-! ### Test functions on `C_F` -/

/-- `φ ∈ D(C_F) = C_c^∞(C_F)`: `φ` is a test function on the idele class group, i.e. a
Schwartz–Bruhat function on `C_F` with compact support. -/
def IsTestFunction (φ : IdeleClassGroup F → ℂ) : Prop :=
  φ ∈ schwartzBruhatSubmodule (IdeleClassGroup F) ∧ HasCompactSupport φ

/-- The Mellin transform `M(φ)(c) = ∫_{C_F} φ(g) c(g) d\bar μ(g)` of a function on `C_F`, with the
Tamagawa measure `\bar μ` on `C_F`; `c` is a quasi-character, given as a function on the ideles. -/
def classMellin (φ : IdeleClassGroup F → ℂ) (c : IdeleGroup F → ℂ) : ℂ :=
  ∫ x : IdeleClassGroup F, φ x * c x.out ∂(tamagawaIdeleClass F)

/-! ### Local terms -/

/-- The Borel σ-algebra of the completion at an infinite place. -/
scoped instance infiniteCompletionMeasurableSpace (w : InfinitePlace F) :
    MeasurableSpace w.Completion := borel _

scoped instance infiniteCompletionBorelSpace (w : InfinitePlace F) : BorelSpace w.Completion :=
  ⟨rfl⟩

/-- The Borel σ-algebra of the multiplicative group of the completion at a finite place. -/
scoped instance finiteCompletionUnitsMeasurableSpace (v : HeightOneSpectrum (𝓞 F)) :
    MeasurableSpace (v.adicCompletion F)ˣ := borel _

scoped instance finiteCompletionUnitsBorelSpace (v : HeightOneSpectrum (𝓞 F)) :
    BorelSpace (v.adicCompletion F)ˣ := ⟨rfl⟩

open Classical in
/-- A Haar measure on the additive group of the completion `F_w` at an infinite place. -/
def archAddHaar (w : InfinitePlace F) : Measure w.Completion :=
  if h : ∃ ν : Measure w.Completion, ν.IsAddHaarMeasure then h.choose else 0

open Classical in
/-- A Haar measure on the multiplicative group `F_vˣ` at a finite place. -/
def finiteMulHaar (v : HeightOneSpectrum (𝓞 F)) : Measure (v.adicCompletion F)ˣ :=
  if h : ∃ μ : Measure (v.adicCompletion F)ˣ, μ.IsHaarMeasure then h.choose else 0

open Classical in
/-- The restriction of a function `φ` on `C_F` to `F_wˣ`, for an infinite place `w`, extended by
`0` at `0`: `x ↦ φ(j_w(x))`. -/
def archRestrict (φ : IdeleClassGroup F → ℂ) (w : InfinitePlace F) (x : w.Completion) : ℂ :=
  if hx : x ≠ 0 then φ (QuotientGroup.mk (ideleSingleInfinite w (Units.mk0 x hx))) else 0

/-- The term of an infinite place `w` in the Trace Formula (12.5.1.1):
`(1/M_w) ∫_{F_wˣ} φ(g) |g|_w^{1/2} / |1 - g|_w dμ_w(g)` with `M_w = 2` for `w` real, `M_w = 2π` for
`w` complex, and `μ_w = |·|_w⁻¹ ν_w` the local multiplicative Tamagawa measure
(Definition A.3.2.2), `ν_w` being `dx`, respectively `|dz ∧ d\bar z|`.  Since `ν_w` gives the
unit ball `{|x| ≤ 1}` the volume `M_w`, the term is
`ν(ball)⁻¹ ∫ φ(x) |x|_w^{1/2} / (|1 - x|_w |x|_w) dν(x)` for any Haar measure `ν` on `F_w`. -/
def archLocalTerm (φ : IdeleClassGroup F → ℂ) (w : InfinitePlace F) : ℂ :=
  ((archAddHaar w {x : w.Completion | ‖x‖ ≤ 1}).toReal : ℂ)⁻¹ *
    ∫ x : w.Completion,
      archRestrict φ w x *
        (((‖x‖ ^ w.mult) ^ (1 / 2 : ℝ) / (‖1 - x‖ ^ w.mult * ‖x‖ ^ w.mult) : ℝ) : ℂ)
      ∂(archAddHaar w)

/-- The term of a finite place `v` in the Trace Formula (12.5.1.2):
`(log q_v / μ_v(𝒪_{F_v}ˣ)) ∫_{F_vˣ} φ(g) |g|_v^{1/2} / |1 - g|_v dμ_v(g)`, which does not depend on
the normalization of the Haar measure `μ_v` on `F_vˣ`. -/
def finiteLocalTerm (φ : IdeleClassGroup F → ℂ) (v : HeightOneSpectrum (𝓞 F)) : ℂ :=
  (Real.log (Ideal.absNorm v.asIdeal) : ℂ) *
    ((finiteMulHaar v {x : (v.adicCompletion F)ˣ |
        Valued.v (x : v.adicCompletion F) = 1}).toReal : ℂ)⁻¹ *
    ∫ x : (v.adicCompletion F)ˣ,
      φ (QuotientGroup.mk (ideleSingle v x)) *
        ((‖(x : v.adicCompletion F)‖ ^ (1 / 2 : ℝ) / ‖1 - (x : v.adicCompletion F)‖ : ℝ) : ℂ)
      ∂(finiteMulHaar v)

/-! ### Zeros of the Hecke L-function on the surface of quasi-characters -/

open Classical in
/-- The unitary part `c / |c|` of a quasi-character `c` of `C_F`, as a Hecke character. -/
def quasiUnitaryPart (c : IdeleGroup F → ℂ) : HeckeCharacter F :=
  if h : ∃ χ : HeckeCharacter F, ∀ g : IdeleGroup F,
      ((χ (QuotientGroup.mk g) : Circle) : ℂ) = c g / ‖c g‖ then
    h.choose
  else 1

/-- The order of the Hecke L-function `c ↦ L(c)` at the quasi-character `c`: writing
`c = χ |·|_F^σ` with `χ` unitary and `σ = σ(c)` real, it is the order of the completed Hecke
L-function `s ↦ L(s, χ)` at `s = σ`. -/
def quasiLOrder (c : IdeleGroup F → ℂ) : WithTop ℤ :=
  meromorphicOrderAt (completedHeckeLFunction (quasiUnitaryPart c)) (quasiAbscissa c)

/-- The multiplicity `N(c)` of `c` as a zero of the Hecke L-function (`0` if `c` is not a
zero). -/
def quasiZeroMultiplicity (c : IdeleGroup F → ℂ) : ℕ := (quasiLOrder c).untop₀.toNat

variable (F)

/-- The set of zeros `c ∈ Ω(C_F)` of the Hecke L-function `c ↦ L(c)` in the interior of the
relative vertical strip `Ω(C_F)_{1/2 + I}`, `I = [-α, α]`: the quasi-characters `c` with
`|σ(c) - 1/2| < α` at which `L` vanishes. -/
def heckeZerosInStrip (α : ℝ) : Set (IdeleGroup F → ℂ) :=
  {c | IsQuasiCharacter c ∧ |quasiAbscissa c - 1 / 2| < α ∧ 0 < quasiLOrder c}

end

end MasulloGRH
Source
A. M. Masullo, The Music of the Primes, draft of 20 November 2026, https://math216.wordpress.com/wp-content/uploads/2026/11/the-music-of-the-primes.pdf, Theorem 12.5.1.1, eqs. (12.5.1.1)–(12.5.1.3) (pp. 519–520); Theorem B.4.4.7 and the description of D(C_F) after it (p. 623); Definition A.3.2.2 (p. 560); Remark B.4.4.2 and Lemma B.4.4.3 (p. 620)

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me