Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Idelic norm, characters trivial on CF1C_F^1CF1​, partial Hecke LLL-functions, upper density

Definition
MasulloGRH_IdeleNorm

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

hecke-l-functionidele-class-groupmasullonumber-theory

This file adds the idelic norm and the objects defined from it.

Let FFF be a number field, GL1(AF)\mathrm{GL}_1(\mathbb A_F)GL1​(AF​) its idele group and χ\chiχ a Hecke character.

  1. The idelic norm of an idele g=(gv)vg=(g_v)_vg=(gv​)v​ is
∣g∣F=∏v∣gv∣v,|g|_F=\prod_{v}|g_v|_v ,∣g∣F​=v∏​∣gv​∣v​,

the product over all places of the normalized absolute values: the usual absolute value at a real place, its square at a complex place, and at a finite place vvv the absolute value with ∣πv∣v=N(pv)−1|\pi_v|_v=N(\mathfrak p_v)^{-1}∣πv​∣v​=N(pv​)−1. All but finitely many factors are 111. 2. χ\chiχ is trivial on CF1C_F^1CF1​ if χ(g)=1\chi(g)=1χ(g)=1 for every idele ggg with ∣g∣F=1|g|_F=1∣g∣F​=1. 3. χ=∣⋅∣F−it0\chi=|\cdot|_F^{-it_0}χ=∣⋅∣F−it0​​, for a real number t0t_0t0​, means χ(g)=∣g∣F−it0\chi(g)=|g|_F^{-it_0}χ(g)=∣g∣F−it0​​ for every idele ggg. 4. N(pv)=qvN(\mathfrak p_v)=q_vN(pv​)=qv​ is the absolute norm of the prime ideal of a finite place vvv. 5. The reciprocal local Euler factor at a finite place vvv is

Lv(χv∣⋅∣vs)−1=1−χ(pv) N(pv)−s,L_v(\chi_v|\cdot|_v^s)^{-1}=1-\chi(\mathfrak p_v)\,N(\mathfrak p_v)^{-s},Lv​(χv​∣⋅∣vs​)−1=1−χ(pv​)N(pv​)−s,

which is 111 if χ\chiχ is ramified at vvv. 6. For a finite set SSS of places containing the Archimedean places, with finite part SfS_fSf​, the partial Hecke LLL-function is

LΣF−S(s,χ)=Lf(s,χ)∏v∈SfLv(χv∣⋅∣vs)−1,L_{\Sigma_F-S}(s,\chi)=L_f(s,\chi)\prod_{v\in S_f}L_v(\chi_v|\cdot|_v^s)^{-1},LΣF​−S​(s,χ)=Lf​(s,χ)v∈Sf​∏​Lv​(χv​∣⋅∣vs​)−1,

the finite Hecke LLL-function with the Euler factors at SfS_fSf​ removed. 7. The upper density of a set X⊂RX\subset\mathbb RX⊂R is

lim sup⁡T→+∞λ([−T,T]∩X)2T,\limsup_{T\to+\infty}\frac{\lambda([-T,T]\cap X)}{2T},T→+∞limsup​2Tλ([−T,T]∩X)​,

with λ\lambdaλ the Lebesgue measure.

A character is trivial on CF1C_F^1CF1​ exactly when it is of the form ∣⋅∣F−it0|\cdot|_F^{-it_0}∣⋅∣F−it0​​; in that case Lf(s,χ)L_f(s,\chi)Lf​(s,χ) has a pole at s=1+it0s=1+it_0s=1+it0​. The partial LLL-functions are the multipliers that relate statements for a finite set of places to global statements.

Formalization Note A set SSS of places containing all Archimedean places is represented by the finite set SfS_fSf​ of its finite places. In item 7 the outer Lebesgue measure is used, so XXX need not be measurable.

Definition code
import Definitions.Def_MasulloGRH_HeckeLFunction

/-!
# The idelic norm, characters trivial on `C_F^1`, partial Hecke L-functions, upper density

Source: A. M. Masullo, *The Music of the Primes* (draft of 20 November 2026),
"Notation and terminology" (p. 7), Proposition 3.2.1.3(2) (p. 123), §1.4.7 (p. 30),
Definition B.5.3.1(1) (p. 632).
-/

namespace MasulloGRH

open NumberField IsDedekindDomain

noncomputable section

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

/-- The idelic norm `|g|_F = ∏_v |g_v|_v`, the product over all places of `F` of the normalized
absolute values: at an infinite place the usual absolute value, squared at a complex place; at a
finite place `v` the absolute value with `|π_v|_v = N(𝔭_v)⁻¹`. -/
def ideleNorm (g : IdeleGroup F) : ℝ :=
  (∏ w : InfinitePlace F, ‖(g : AdeleRing (𝓞 F) F).1 w‖ ^ w.mult) *
    ∏ᶠ v : HeightOneSpectrum (𝓞 F), ‖(g : AdeleRing (𝓞 F) F).2 v‖

/-- `χ|_{C_F^1} = 1`: the Hecke character `χ` is trivial on the classes of the ideles of
idelic norm `1`. -/
def HeckeCharacter.IsTrivialOnNormOne (χ : HeckeCharacter F) : Prop :=
  ∀ g : IdeleGroup F, ideleNorm g = 1 → χ (QuotientGroup.mk g) = 1

/-- `χ = |·|_F^{-i t₀}`: for every idele `g`, `χ(g) = |g|_F^{-i t₀}`. -/
def HeckeCharacter.IsNormPower (χ : HeckeCharacter F) (t₀ : ℝ) : Prop :=
  ∀ g : IdeleGroup F,
    ((χ (QuotientGroup.mk g) : Circle) : ℂ) = ((ideleNorm g : ℝ) : ℂ) ^ (-(t₀ * Complex.I))

/-- The norm `N(𝔭_v) = q_v` of the prime ideal of a finite place, as a complex number. -/
def primeNorm (v : HeightOneSpectrum (𝓞 F)) : ℂ := ((Ideal.absNorm v.asIdeal : ℕ) : ℂ)

/-- The reciprocal `L_v(χ_v|·|_v^s)⁻¹ = 1 - χ(𝔭_v) N(𝔭_v)^{-s}` of the local Euler factor of
`χ` at the finite place `v` (equal to `1` if `χ` is ramified at `v`). -/
def eulerFactorInv (χ : HeckeCharacter F) (v : HeightOneSpectrum (𝓞 F)) (s : ℂ) : ℂ :=
  1 - χ.primeValue v * primeNorm v ^ (-s)

/-- The partial Hecke L-function `L_{Σ_F - S}(s, χ) = L_f(s, χ) · ∏_{v ∈ S_f} L_v(χ_v|·|_v^s)⁻¹`,
with the Euler factors at the finite places in `S` removed.  A finite set `S` of places containing
all Archimedean places is represented by the finite set `Sf` of its finite places. -/
def partialHeckeLFunction (χ : HeckeCharacter F) (Sf : Finset (HeightOneSpectrum (𝓞 F)))
    (s : ℂ) : ℂ :=
  heckeLFunction χ s * ∏ v ∈ Sf, eulerFactorInv χ v s

/-- The upper density `limsup_{T → +∞} λ([-T, T] ∩ X) / (2T)` of a subset `X` of `ℝ`
(Definition B.5.3.1(1)), with `λ` the Lebesgue measure. -/
def upperDensity (X : Set ℝ) : ℝ :=
  Filter.limsup
    (fun T : ℝ => (MeasureTheory.volume (Set.Icc (-T) T ∩ X)).toReal / (2 * T)) Filter.atTop

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, Notation and terminology (p. 7); Proposition 3.2.1.3(2) (p. 123); §1.4.7 (p. 30); Definition B.5.3.1(1) (p. 632)

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