Criteria for CM fields
Lib.General.NumberTheory.CMFields.lean
Reading
Upstream documentation written by Claude
This file gives two ways to show that a number field is CM. The first asks that the field contain a totally complex field, and that complex conjugation be induced, in all embeddings at once, by a map of the field to itself. The second shows that adjoining to a CM field a root of a suitable polynomial gives a CM field, whose finite adeles it also describes.
Copyright 2026 Anthropic, PBC. Apache License 2.0 · Upstream notice.
Rest of upstream introduction
We write 𝔸f K for the ring of finite adeles of a number field K. For an extension L / K of
number fields, 𝔸f L is an algebra over 𝔸f K, and complex conjugation star of a CM field
extends to its finite adeles.
Main definitions and results
New.isCMField_of_forall_exists_conj: a number field is CM if it contains a totally complex field and complex conjugation is induced, in all embeddings at once, by a map of the field to itself.New.isCMField_adjoinRoot_of_forall_root_mul_star_eq: letEbe a CM field andPan irreducible polynomial overE. If all complex roots ofPhave the same rational square absolute valueν, thenL = E[X]/(P)is again CM.New.aeval_root_finAdele_surjective,New.aeval_root_finAdele_eq_zero_iff: for monicP, the finite adeles𝔸f Lare obtained from𝔸f Eby adjoining a root ofP.New.IsFinAdelePresentation: a map from polynomials over𝔸f Epresents𝔸f Las the quotient byP, compatibly withE[X] → Land with complex conjugation.New.adjoinRoot_cm_presentation: these facts aboutLand𝔸f Lin one statement.
Declarations
lemma adjoinRoot_cm_presentation (hP : P.Monic) {ν : ℚ} (hν : ∀ σ : E →+* ℂ, ∀ r ∈ (P.map σ).roots, r * star r = (ν : ℂ)) : ∃ _ : IsCMField (AdjoinRoot P), root P * star (root P) = ν ∧ IsFinAdelePresentation P (aeval (root P : 𝔸f (AdjoinRoot P)))
Import route to Main
Lib.General.NumberTheory.CMFields → Lib.Adelic.TraceFormula.ChangingSigns (pinned import) → Lib.Adelic.TraceFormula.OrbitalUnfolding (pinned import) → New.Determinant.AuxiliaryForms.DeepLevelVanishing (pinned import) → New.Determinant.AuxiliaryForms.FirstPath (pinned import) → New.Determinant.AuxiliaryForms.SpanningForms (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)