Finite ideles, principal ideles and the class group; finite index of open subgroups
Lib.ClassField.Places.Ideles.lean
Reading
Upstream documentation written by Claude
The finite ideles of a number field
Kare the units(𝔸f K)ˣof the finite adeles. They embed in the units of the adelesNew.𝔸 K, the pairs of a mapNumberField.InfinitePlace K → ℂand a finite adele, with component1at the infinite places.New.FinPlace Kis the set of finite places, andNew.LocField vis the completion atv. The file defines principal, local and S-unit ideles and proves their basic properties. It then relates the finite ideles to fractional ideals and the class group, and deduces that every open subgroup containing the totally positive elements ofKˣhas finite index.
Copyright 2026 Anthropic, PBC. Apache License 2.0 · Upstream notice.
Rest of upstream introduction
Main definitions and results
New.principalIdele,New.locIdele,New.ideleAt: the principal idele of an element ofKˣ, the idele with one given component and1elsewhere, and the component at a place.New.idelesUnitOff: the ideles that are units outsideS; open (New.isOpen_idelesUnitOff), and compact forS = ∅(New.isCompact_idelesUnitOff_empty).New.exists_idele_divisor_hom: the divisor map, with kernel the ideles that are units everywhere.New.exists_idele_classGroup_hom: a map to the class group whose kernel isKˣtimes these units.New.exists_sup_idelesUnitOff_eq_top: for a suitable finiteS, every idele is a principal idele times a unit outsideS.New.finiteIndex_idele_subgroup_of_isOpen: an open subgroup that contains the totally positive elements ofKˣhas finite index.
Notions from other files:
New.Ô K: the integral finite adeles, whose component at every place lies in its ring of integers;New.uniformizer wis a chosen uniformiser of the completion atw.S.unit K(Mathlib): theS-units, thexinKˣof valuation1at every finite place outsideS.
Relation to the literature
Known; see Lib.ClassField.Places.LocalFields for sources.
Declarations
lemma finiteIndex_idele_subgroup_of_isOpen (H : Subgroup (𝔸f K)ˣ) (h_open : H.IsOpen) (h_pos : ∀ x : Kˣ, IsTotallyPositive x.val → principalIdele x ∈ H) : H.FiniteIndex
Import route to Main
Lib.ClassField.Places.Ideles → Lib.ClassField.HeckeL.EulerProduct (pinned import) → Lib.CM.ChowlaSelberg (pinned import) → New.Derivatives.Vacuum.TightFrames (pinned import) → New.Derivatives.Vacuum.IntegralVacuum (pinned import) → New.Reduction.Data.AdmissibleData (pinned import) → New.Reduction.Data.Existence (pinned import) → New.Reduction.OneSidedBound (pinned import) → New.Main (pinned import) → Main (pinned import)