Idelic generators of ideals, semilocal fields and tame local characters
Lib.Adelic.Adeles.LocalFactors.lean
Reading
Upstream documentation written by Claude
The file collects local and idelic facts about number fields. For a CM field
Eit computes values of the splitting characterυ, and withNew.HasPrimitiveRoot5040 Eit shows thatNew.Ô Ein the finite adeles forms an adelic pair. It defines Schwartz–Bruhat functions, semilocal fields and tame local characters, and shows that a finite product of completions is a semilocal field. An auxiliary fact gives the valuation of natural numbers prime to one of valuation less than 1.
Copyright 2026 Anthropic, PBC. Apache License 2.0 · Upstream notice.
Rest of upstream introduction
Main definitions and results
New.exists_reduction_and_idele_generator: a nonzero idealIof𝓞 Ehas an idelic generatortin the integral finite adelesNew.Ô, andÔ / t Ô = 𝓞 / I.New.upsilon_toAdele: the splitting characterυ(New.SplittingChar) is trivial on the principal ideles.New.upsilon_eq_prod_mul_of_v_eq,New.upsilon_eq_atUniformizer_zpow,New.upsilon_atUniformizer_mul_star: values ofυ, which is unramified at all finite places, computed from the valuations of the finite part and the values at the chosen uniformisers.New.schwartzBruhat: locally constant, compactly supported complex functions that vanish outside a set.New.schwartzBruhat.comp,New.schwartzBruhat.isLocallyConstant_curryandNew.integral_mem_of_isLocallyConstantare tools for substituting and averaging.New.SemilocalField: conditions on a topological ringFthat a finite product of non-archimedean local fields meets, with ring of integersOand uniformiserϖ.New.invOnUnits,New.TameLocalChar:χ⁻¹cut off to the units ofO, and the data showing that it comes from a primitive character (New.Exchange.IsPrimitiveMulChar) of the finite ringO / ϖ.
Notions from other files:
New.IsAdelic: The properties of the pair Ô ⊂ 𝔸_f abstracted to R ⊂ A: R is open, compact and stable under conjugation, locally a valuation ring, contains a skew element i with −i·i = 1 and an element of trace 1, and −1 is a norm from R.New.HasPrimitiveRoot5040:Econtains a primitive root of unity of order7! = 5040.New.SplittingChar: a unitary Hecke characterυofEthat complex conjugation inverts and whose value at an idelexwith unit finite part is∏ x_τ / |x_τ|over the infinite placesτ;υ.atUniformizer wis its value at the chosen uniformiser at the finite placew.
Relation to the literature
Known; see Lib.ClassField.Global.CMSplittingCharacters and Lib.Weil.TameGaussSum for sources.
Declarations
lemma integral_mem_of_isLocallyConstant [MeasurableSpace Y] [BorelSpace Y] [CompactSpace Y] (μ : Measure Y) [IsFiniteMeasure μ] {f : Y → Z → ℂ} (hf : IsLocallyConstant f) {P : Submodule ℂ (Z → ℂ)} (h_mem : ∀ g : Y, f g ∈ P) : (fun z : Z ↦ ∫ g : Y, f g z ∂μ) ∈ P
Import route to Main
Lib.Adelic.Adeles.LocalFactors → Lib.Adelic.TraceFormula.TestFunction (pinned import) → Lib.Adelic.TraceFormula.CuspidalType (pinned import) → New.Spanning.Multiplicities.EqualMultiplicities (pinned import) → New.Spanning.SecondMoment.SpanningTheorem (pinned import) → New.Reduction.ShortAndEnough (pinned import) → New.Reduction.MainInequality (pinned import) → New.Reduction.OneSidedBound (pinned import) → New.Main (pinned import) → Main (pinned import)