Grunwald's theorem in prime degree and CM steps with prescribed local behaviour
Lib.ClassField.Grunwald.lean
Reading
Upstream documentation written by Claude
The file studies continuous characters
χ : Γ → ℚ/ℤof absolute Galois groupsΓ = Gal(Ω/E)(Ωthe algebraic closure;New.EmbeddedNumberField E: a number field with an embedding intoΩ) of CM fieldsEthat are killed by a primep, and the cyclic extensions of degreepthey cut out. Grunwald's theorem in prime degree produces such characters with prescribed local behaviour. IfEis stably unramified (here:New.HasPrimitiveRoot5040 E, a primitive 5040th root of unity lies inE) and the symmetrised character is nonzero and kills inertia abovep, the field cut out by the symmetrised character is a step of degreepoverE. Weil data lift to stably unramified CM extensionsLwhose CM type restricts to that ofEand whose relative different is prime to the places fixed by conjugation. Together these results give a step of prime degree with Weil data and a prescribed completion at a split place.
Copyright 2026 Anthropic, PBC. Apache License 2.0 · Upstream notice.
Rest of upstream introduction
Main definitions and results
New.grunwald: a character of the finite ideles of a totally complex field, killed byp, agrees with a Galois character killed bypat finitely many given places, and on the units at every place whose norm is not prime.New.QZChar.symmetrise,New.QZChar.abelianLift_symmetrise: for a CM field, the characterg ↦ χ g + χ (gᶜ); on the Artin symbol of an ideleait isχ a + χ (star a).New.QZChar.stepField: the fixed field of the kernel ofNew.QZChar.symmetrise χ. Instances show that it is CM, that a CM type ofEextends to it (New.CMTypeOver) and that it inheritsNew.HasPrimitiveRoot5040.New.isStep_stepField: it is a step of degreepoverEifNew.HasPrimitiveRoot5040 Eholds,χis killed by a primep, andNew.QZChar.symmetrise χis not zero and kills inertia abovep.New.nonempty_weilData_of_not_dvd_differentIdeal: ifLalso satisfiesNew.HasPrimitiveRoot5040, thenLhas Weil data; in the constructionjstays,υis composed with the norm, and a new idele absorbs the relative different, which is assumed prime to the places fixed by conjugation.New.GaloisRep.exists_isStepOfLocalChar,New.GaloisRep.exists_step_of_local_char: given a split placewbelowAand a nontrivial tame characterχofE_wˣkilled by a primep, a stepE' / Eof degreep, again with Weil data, cut out by the symmetrisation of a Galois characterνthat is trivial atwand has symmetrisationχthere; the only place ofE'abovewis split and lies underA.
Notions from other files:
New.locIdele: The homomorphism sending x ∈ K_v^× to the finite idele with component x at v and 1 elsewhere;New.ideleAt vtakes the component at v.New.CMTypeOver: a CM type of L that restricts to the given CM type of E; the embedding chosen at a place extends the one chosen at the place below.New.WeilData: Weil data on a stably unramified E. They consist of ȷ in E with ȷ = −ȷ̄, Im τȷ > 0 for every τ in the CM type and (1 − ȷ⁻¹)/2 integral; a finite idele α for which the completed integers Ô are self-dual under (z, u) ↦ ψ_f(ȷαᾱzu); and a splitting character υ equal to −1 at uniformisers of the places w with w = w̄.
Relation to the literature
Known result: Grunwald–Wang theorem in prime exponent. It is proved over a totally complex field, and the character also agrees with the given one on units at all primes of degree above one. It yields a CM extension of prime degree with prescribed tame completion at a split place. Source: Artin–Tate, Class Field Theory (1968), ch. X; S. Wang, Grunwald–Wang theorem, an effective version, arXiv 1401.0389 (2014).
See also Lib.Weil.MixedModel.ZeroTerm.
Declarations
lemma grunwald [IsTotallyComplex E] {p : ℕ} {S : Set (FinPlace E)} (hp : p.Prime) (hS : Set.Finite S) (ψ : (𝔸f E)ˣ →* Multiplicative QZ) (hψ_open : ψ.ker.IsOpen) (hψ_pow : ∀ a : (𝔸f E)ˣ, ψ a ^ p = 1) : ∃ χ : ↥(QZChar Gal(Ω/E)), -- (a) the Galois character `χ` is killed by `p` p • χ = 0 ∧ -- (b) `χ` agrees with `ψ` at places of `S` and on units at places of non-prime norm ∀ (u : FinPlace E) (x : (LocField u)ˣ), u ∈ S ∨ ¬u.q.Prime ∧ v x.val = 1 → abelianLift χ (artinMap Gal(Ω/E) (locIdele u x)) = ψ (locIdele u x)
Import route to Main
Lib.ClassField.Grunwald → Lib.GaloisRep.Main.QuadraticStep (pinned import) → Lib.Shimura.IntegralModel.PELDataExistence (pinned import) → Lib.GaloisRep.Main.SeedRepresentation (pinned import) → Lib.GaloisRep.Main.SplitCase (pinned import) → Lib.GaloisRep.Main.OddRank (pinned import) → Lib.ClassField.Avatar.LocalGlobalCompatibility (pinned import) → Lib.GaloisRep.Main.AllRanks (pinned import) → Lib.GaloisRep.TaylorWiles (pinned import) → New.Congruences.FirstOrder.TrianglePrimes (pinned import) → New.Congruences.FirstOrder.DenominatorBound (pinned import) → New.Congruences.FitTwistsExist (pinned import) → New.Determinant.Twist.LongForms (pinned import) → New.Reduction.MainInequality (pinned import) → New.Reduction.OneSidedBound (pinned import) → New.Main (pinned import) → Main (pinned import)