Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Quasi-characters of CFC_FCF​, Tamagawa measures on ideles, and the global zeta integral Z(f,c)Z(f,c)Z(f,c)

Definition
MasulloGRH_ZetaIntegrals

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

masullonumber-theorytate-thesiszeta-integrals

This file defines the measures and the Mellin transforms of Tate's thesis on the idele class group of a number field FFF.

  1. μ1(CF1)\mu_1(C_F^1)μ1​(CF1​) is the number
2r1(2π)r2hFRF∣dF∣1/2wF,\frac{2^{r_1}(2\pi)^{r_2}h_FR_F}{|d_F|^{1/2}w_F},∣dF​∣1/2wF​2r1​(2π)r2​hF​RF​​,

with r1,r2r_1,r_2r1​,r2​ the numbers of real and complex places, hFh_FhF​ the class number, RFR_FRF​ the regulator, dFd_FdF​ the discriminant and wFw_FwF​ the number of roots of unity of FFF. 2. The Tamagawa measure μˉ\bar\muμˉ​ on the idele class group CFC_FCF​ is the Haar measure that, together with dt/tdt/tdt/t on R>0≅CF/CF1\mathbb R_{>0}\cong C_F/C_F^1R>0​≅CF​/CF1​, gives CF1C_F^1CF1​ the volume μ1(CF1)\mu_1(C_F^1)μ1​(CF1​); equivalently μˉ({x∈CF:1≤∣x∣F<e})=μ1(CF1)\bar\mu(\{x\in C_F:1\le|x|_F<e\})=\mu_1(C_F^1)μˉ​({x∈CF​:1≤∣x∣F​<e})=μ1​(CF1​). 3. The Tamagawa measure μ\muμ on the idele group GL1(AF)\mathrm{GL}_1(\mathbb A_F)GL1​(AF​) is the Haar measure that induces μˉ\bar\muμˉ​ on CFC_FCF​ with the counting measure on F×F^\timesF×: a measurable set on which the projection to CFC_FCF​ is injective has the measure of its image. 4. A quasi-character of CFC_FCF​ is a continuous homomorphism c ⁣:GL1(AF)→C×c\colon\mathrm{GL}_1(\mathbb A_F)\to\mathbb C^\timesc:GL1​(AF​)→C× that is trivial on F×F^\timesF×. Its abscissa σ(c)\sigma(c)σ(c) is the real number with ∣c(g)∣=∣g∣Fσ(c)|c(g)|=|g|_F^{\sigma(c)}∣c(g)∣=∣g∣Fσ(c)​ for all ggg. 5. ∣⋅∣Fs|\cdot|_F^s∣⋅∣Fs​ is the quasi-character g↦∣g∣Fsg\mapsto|g|_F^sg↦∣g∣Fs​, the twist of ccc is c∣⋅∣Fsc|\cdot|_F^sc∣⋅∣Fs​, and the dual quasi-character is c^=∣⋅∣F c−1\widehat c=|\cdot|_F\,c^{-1}c=∣⋅∣F​c−1. 6. The global zeta integral, or Mellin transform, of a function fff on the adeles is

Z(f,c)=∫GL1(AF)f(g) c(g) dμ(g).Z(f,c)=\int_{\mathrm{GL}_1(\mathbb A_F)}f(g)\,c(g)\,d\mu(g).Z(f,c)=∫GL1​(AF​)​f(g)c(g)dμ(g).
  1. The Mellin transform of the θ\thetaθ-function of f∈S(AF)f\in\mathcal S(\mathbb A_F)f∈S(AF​) is
L(f,c)=∫CFΦF(f)(g) c(g) dμˉ(g).L(f,c)=\int_{C_F}\Phi_F(f)(g)\,c(g)\,d\bar\mu(g).L(f,c)=∫CF​​ΦF​(f)(g)c(g)dμˉ​(g).

The quasi-characters form the Riemann surface Ω(CF)\Omega(C_F)Ω(CF​); each connected component is {c0∣⋅∣Fs:s∈C}\{c_0|\cdot|_F^s:s\in\mathbb C\}{c0​∣⋅∣Fs​:s∈C}, and functions on Ω(CF)\Omega(C_F)Ω(CF​) are studied as functions of sss.

Formalization Note Quasi-characters are functions on the idele group. μ1(CF1)\mu_1(C_F^1)μ1​(CF1​) is Mathlib's dedekindZeta_residue, which is defined by the same formula. The two measures are selected by their characterizing properties. In item 7 the integrand is evaluated on a representative idele of each class.

Definition code
import Definitions.Def_MasulloGRH_AdelicTheta

/-!
# Quasi-characters of the idele class group, Tamagawa measures, global zeta integrals

Source: A. M. Masullo, *The Music of the Primes* (draft of 20 November 2026): §3.1.1 and
Definitions 3.1.1.1–3.1.1.2, eq. (3.1.1.4) (pp. 118–119); Definition A.3.2.1 and eq. (A.3.2.1)
(pp. 559–560); Theorem 3.2.2.1, eqs. (3.2.2.1) and (3.2.2.3) (p. 124); Definition 3.2.2.5 (p. 128).
-/

namespace MasulloGRH

open NumberField IsDedekindDomain MeasureTheory

noncomputable section

variable (F : Type*) [Field F] [NumberField F]

/-- The Borel σ-algebra of the idele group. -/
scoped instance ideleMeasurableSpace : MeasurableSpace (IdeleGroup F) := borel _

scoped instance ideleBorelSpace : BorelSpace (IdeleGroup F) := ⟨rfl⟩

/-- The Borel σ-algebra of the idele class group. -/
scoped instance ideleClassMeasurableSpace : MeasurableSpace (IdeleClassGroup F) := borel _

scoped instance ideleClassBorelSpace : BorelSpace (IdeleClassGroup F) := ⟨rfl⟩

/-- The volume `μ₁(C_F^1) = 2^{r₁} (2π)^{r₂} h_F R_F / (|d_F|^{1/2} w_F)` of (A.3.2.1). -/
def tamagawaClassVolume : ℝ := dedekindZeta_residue F

open Classical in
/-- The Tamagawa measure `\bar μ` on the idele class group `C_F` (Definition A.3.2.1): the Haar
measure which, together with `dt/t` on `ℝ_{>0} ≅ C_F / C_F^1`, induces on `C_F^1` a measure of
total mass `μ₁(C_F^1)`; equivalently the set of classes of norm in `[1, e)` has measure
`μ₁(C_F^1)`. -/
def tamagawaIdeleClass : Measure (IdeleClassGroup F) :=
  if h : ∃ μ : Measure (IdeleClassGroup F), μ.IsHaarMeasure ∧
      μ ((QuotientGroup.mk : IdeleGroup F → IdeleClassGroup F) ''
        {g | 1 ≤ ideleNorm g ∧ ideleNorm g < Real.exp 1}) =
        ENNReal.ofReal (tamagawaClassVolume F) then
    h.choose
  else 0

open Classical in
/-- The Tamagawa measure `μ` on the idele group `GL₁(𝔸_F)` (Definition A.3.2.1): the Haar measure
which, with the counting measure on `Fˣ`, induces the Tamagawa measure on `C_F`; a measurable set
on which the projection to `C_F` is injective has the measure of its image. -/
def tamagawaIdele : Measure (IdeleGroup F) :=
  if h : ∃ μ : Measure (IdeleGroup F), μ.IsHaarMeasure ∧
      ∀ D : Set (IdeleGroup F), MeasurableSet D →
        Set.InjOn (QuotientGroup.mk : IdeleGroup F → IdeleClassGroup F) D →
        μ D = tamagawaIdeleClass F ((QuotientGroup.mk : IdeleGroup F → IdeleClassGroup F) '' D) then
    h.choose
  else 0

variable {F}

/-- A quasi-character of the idele class group `C_F` (§3.1.1), as a function on the idele group:
a continuous homomorphism `GL₁(𝔸_F) → ℂˣ` that is trivial on `Fˣ`. -/
def IsQuasiCharacter (c : IdeleGroup F → ℂ) : Prop :=
  Continuous c ∧ (∀ g h : IdeleGroup F, c (g * h) = c g * c h) ∧ (∀ g : IdeleGroup F, c g ≠ 0) ∧
    ∀ ξ : Fˣ, c (principalIdele F ξ) = 1

open Classical in
/-- The abscissa `σ(c)` of a quasi-character (Definition 3.1.1.1): the real number `σ` with
`|c(g)| = |g|_F^σ` for all `g`. -/
def quasiAbscissa (c : IdeleGroup F → ℂ) : ℝ :=
  if h : ∃ σ : ℝ, ∀ g : IdeleGroup F, ‖c g‖ = ideleNorm g ^ σ then h.choose else 0

/-- The quasi-character `|·|_F^s`. -/
def normQuasiChar (s : ℂ) : IdeleGroup F → ℂ := fun g => ((ideleNorm g : ℝ) : ℂ) ^ s

/-- The twist `c |·|_F^s` of a quasi-character `c`. -/
def quasiTwist (c : IdeleGroup F → ℂ) (s : ℂ) : IdeleGroup F → ℂ := fun g => c g * normQuasiChar s g

/-- The dual quasi-character `\hat c = |·|_F c⁻¹` (3.1.1.4). -/
def quasiDual (c : IdeleGroup F → ℂ) : IdeleGroup F → ℂ :=
  fun g => ((ideleNorm g : ℝ) : ℂ) * (c g)⁻¹

/-- The global zeta integral `Z(φ, c) = ∫_{GL₁(𝔸_F)} φ(g) c(g) dμ(g)` (3.2.2.1) of a function `φ`
on the adeles. -/
def zetaIntegralFun (φ : AdeleRing (𝓞 F) F → ℂ) (c : IdeleGroup F → ℂ) : ℂ :=
  ∫ g : IdeleGroup F, φ (g : AdeleRing (𝓞 F) F) * c g ∂(tamagawaIdele F)

/-- The global zeta integral `Z(f, c)` of `f ∈ S(𝔸_F)` (3.2.2.1), the Mellin transform of `f`. -/
def zetaIntegral (f : AdelicSchwartz F) (c : IdeleGroup F → ℂ) : ℂ := zetaIntegralFun f.eval c

/-- The Mellin transform `L(f, c) = ∫_{C_F} Φ_F(f)(g) c(g) d\bar μ(g)` of the adelic θ-function
of `f` (3.2.2.3). -/
def thetaMellin (f : AdelicSchwartz F) (c : IdeleGroup F → ℂ) : ℂ :=
  ∫ x : IdeleClassGroup F, adelicTheta f x.out * c x.out ∂(tamagawaIdeleClass F)

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, §3.1.1, Definitions 3.1.1.1–3.1.1.2, eq. (3.1.1.4) (pp. 118–119); Definition A.3.2.1, eq. (A.3.2.1) (pp. 559–560); Theorem 3.2.2.1, eqs. (3.2.2.1), (3.2.2.3) (p. 124); Definition 3.2.2.5 (p. 128)

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