module import Mathlib.LinearAlgebra.Matrix.FiniteDimensional import Mathlib.RingTheory.Etale.Weakly import Mathlib.RingTheory.Finiteness.ModuleFinitePresentation import Mathlib.RingTheory.TotallySplit public import Lib.GaloisRep.BaseChange.PrimeDegreeTransfer public import Lib.ClassField.Grunwald public import Lib.GaloisRep.Main.AttachedRepresentations import Lib.ClassField.Global.ArtinMap import Lib.ClassField.Global.Chebotarev import Lib.GaloisRep.Main.QuadraticStep import Lib.GaloisRep.Main.SplitCase import Lib.General.LinearAlgebra.Eigenvalues import Lib.General.NumberTheory.FrobeniusOrbits import Lib.PadicComparison.ToricTower /-! # Attached Galois representations in odd rank and their descent along weak base change This file proves that eigenforms on the definite space `New.stdSpace` of odd rank over stably unramified CM fields have attached Galois representations. It first proves a descent result along a step of weak base change. The general odd-rank case is then reduced to the split case of `Lib.GaloisRep.Main.SplitCase` by quadratic base changes, whose representations are glued on open subgroups of the Galois group. ## Main definitions and results * `New.IsWeakBaseChange.hasHeckePolyAt_of_decompGroup_le`: along a step of weak base change from f to f', at a split place off S and its conjugate whose decomposition group lies in the open subgroup N of the step, the Hecke polynomial of f passes to f'. * `New.IsWeakBaseChange.attached_comp_stepKerInclusion`: a representation r' attached to f', restricted to N (`New.QZChar.stepKer`), is attached to the polynomials of f. * `New.IsWeakBaseChange.descendsAt`: the local conditions on r' pass to every representation attached to f (`New.GaloisRep.DescendsAt`). * `New.GaloisRep.sphericalCompat_of_odd`: the statement `New.GaloisRep.SphericalCompat` (an eigenform has an attached Galois representation, and every attached representation is compatible at a spherical place w) for the definite space `New.stdSpace` of odd rank over a stably unramified CM field (`New.HasPrimitiveRoot5040`). The split case is applied to base changes of f along quadratic steps. The representations obtained on open subgroups are glued (`New.GaloisRep.exists_attached_of_open_subgroups`), and the local properties at w descend from one step (`New.IsWeakBaseChange.isCompatibleAt_of_attached`). Notions from other files: * `New.IsWeakBaseChange` μ Z f f': the set Z is finite and, for u above w ∉ Z ∪ Z̄, sphericity passes from f to f' at `New.IsStepUnramifiedAt` places, and Hecke polynomials pass from f to f' at `New.IsMatched` places. * `New.IsEigenform`: f ≠ 0, and almost all places w of prime norm are split and f has the Hecke polynomial P w at w. * `New.GaloisRep.Attached` P r i: r is continuous with non-degenerate trace form, i (by default the identity) is an open map to Gal(Ω/E), and at most Frobenius elements the characteristic polynomials of r are ℓ-adically close to those given by P. ## Relation to the literature Galois representations attached to forms on definite unitary groups. The form proved is for the standard definite unitary group of odd rank over a stably unramified CM field (`New.HasPrimitiveRoot5040`). At a place whose local compact group fixes the form, each attached ℓ-adic representation is unramified or crystalline with the Hodge–Tate jumps of the weight, and each Hecke polynomial there kills geometric Frobenius. Here "attached" asks, beyond continuity and a non-degenerate trace form, only that Hecke polynomials are ℓ-adically close to characteristic polynomials at most Frobenius elements. The construction uses ℓ-adic limits, and quadratic base changes whose representations are glued on open subgroups of the Galois group. Source: Chenevier, Harris, Construction of automorphic Galois representations II, Camb. J. Math. 1 (2013), Thm 3.2.3; with Labesse, Changement de base CM et séries discrètes (2011), Cor. 5.3, and Barnet-Lamb, Gee, Geraghty, Taylor, Potential automorphy and change of weight (2014), Thm 2.1.1. -/ @[expose] public section /-! ## Descent along a step of weak base change A continuous character χ of Gal(Ω/E) with values in ℚ/ℤ gives the field L = `New.QZChar.stepField` χ cut out by g ↦ χ g + χ (gᶜ), the idele character `New.QZChar.ideleChar` χ, and the open subgroup N = `New.QZChar.stepKer` χ = Gal(Ω/L) ∩ ker χ of Gal(Ω/E). Places of Ω are valuation subrings A (`New.IsPlaceOver`, decomposition group `New.decompGroup`). -/ namespace New open NumberField Subgroup GaloisRep QZChar variable {ℓ : ℕ} [ThePrime ℓ] [PadicIso ℓ] {E n M M' : Type} [Field E] [CMType E] [EmbeddedNumberField E] [Fintype n] [DecidableEq n] {χ : QZChar Gal(Ω/E)} {f : Gf E n → M → ℂ} {f' : Gf (stepField χ) n → M' → ℂ} {S : Set (FinPlace E)} {P : FinPlace E → Polynomial ℂ} {P' : FinPlace (stepField χ) → Polynomial ℂ} {r' : GalRep ℓ (stepField χ) n} /-- The subgroup Gal(Ω/L) ∩ ker χ of Gal(Ω/E), where L = `New.QZChar.stepField` χ: the elements killed by χ and by its symmetrisation. -/ noncomputable abbrev QZChar.stepKer (χ : QZChar Gal(Ω/E)) : Subgroup Gal(Ω/E) := ker (symmetrize χ) ⊓ ker χ lemma QZChar.isOpen_stepKer (χ : QZChar Gal(Ω/E)) : (stepKer χ).IsOpen := (isOpen_ker (symmetrize χ)).inter (isOpen_ker χ) lemma QZChar.stepKer_le_fixingSubgroup (χ : QZChar Gal(Ω/E)) : stepKer χ ≤ (stepField χ).fixingSubgroup := fun s hs x ↦ x.prop ⟨s, (mem_inf.1 hs).1⟩ /-- The inclusion of Gal(Ω/L) ∩ ker χ in Gal(Ω/L), where L = `New.QZChar.stepField` χ. -/ noncomputable def QZChar.stepKerInclusion (χ : QZChar Gal(Ω/E)) : stepKer χ →* Gal(Ω/stepField χ) := (stepField χ).fixingSubgroupEquiv.toMonoidHom.comp (inclusion (stepKer_le_fixingSubgroup χ)) /-- The local conditions at the valuation subring A of Ω pass from the representation r' of Gal(Ω/L), where L = `New.QZChar.stepField` χ, to the representation r of Gal(Ω/E). -/ structure GaloisRep.DescendsAt (χ : QZChar Gal(Ω/E)) (r' : GalRep ℓ (stepField χ) n) (r : GalRep ℓ E n) (A : ClosurePlace) : Prop where /-- If r' is of finite type at A, so is r. -/ isFiniteTypeAt (h : IsFiniteTypeAt r' A) : IsFiniteTypeAt r A /-- If r' has the jumps of the weight κ pulled back to L, in rank m, then r has those of κ. -/ hasJumpsAt {κ : Weight E} (m : ℕ) (h : HasJumpsAt r' A (jumps κ.baseChange m)) : HasJumpsAt r A (jumps κ m) /-- For s in Gal(Ω/L) ∩ ker χ, a polynomial that kills the image of s in Gal(Ω/L) for r' kills s for r. -/ polyKillsAt (s : stepKer χ) (Q : Polynomial (PadicAlgCl ℓ)) (h : PolyKillsAt r' A (stepKerInclusion χ s) Q) : PolyKillsAt r A s.val Q /-- If the decomposition group of a place `A` of the closure above `w` is killed by `χ` and by its symmetrisation, so that it fixes the field of the step, then `w` is matched: `ideleChar χ` is trivial on the local ideles at `w`, and `w` splits completely in the field of the step. -/ lemma IsPlaceOver.isMatched_of_decompGroup_le {A : ClosurePlace} {w : FinPlace E} (hA : IsPlaceOver A w) (h_dec : decompGroup Gal(Ω/E) A ≤ stepKer χ) : IsMatched (stepField χ) (ideleChar χ) w := by refine ⟨fun x ↦ ?_, hA.q_eq_and_comap_ne_self_of_decompGroup_le (h_dec.trans inf_le_left)⟩ change QZ.expUnit (abelianLift χ (artinMap Gal(Ω/E) (locIdele w x))) = 1 rw [artinMap_locIdele, (hA.artinAt_trivial_iff_decompGroup_le χ).2 (h_dec.trans inf_le_right) x, QZ.expUnit.map_one] /-- Let `f'` be a weak base change of `f` to the field `stepField χ`, off `S` and its conjugate. Let the place `A` of `Ω` lie over a split place `w` of `E` outside these sets, with decomposition group killed by `χ` and by its symmetrisation. If `f` has the Hecke polynomial `Q` at `w`, then every place `u` of `stepField χ` above `w` has the norm of `w` and is split, and `f'` has the Hecke polynomial `Q` at `u`. -/ lemma IsWeakBaseChange.hasHeckePolyAt_of_decompGroup_le (hs : IsWeakBaseChange (ideleChar χ) S f f') {w : FinPlace E} (h_off : w ∉ S.conjClosure) {A : ClosurePlace} (hA : IsPlaceOver A w) (h_dec : decompGroup Gal(Ω/E) A ≤ stepKer χ) {u : FinPlace (stepField χ)} (h_below : u.below E = w) {hw : w.IsSplit} {Q : Polynomial ℂ} (hQ : HasHeckePolyAt f w hw Q) : u.q = w.q ∧ ∃ hu : u.IsSplit, HasHeckePolyAt f' u hu Q := by have h_matched : IsMatched (stepField χ) (ideleChar χ) w := hA.isMatched_of_decompGroup_le h_dec exact ⟨(h_matched.2 u h_below).1, (hs.2 w h_off u h_below).2 h_matched hw Q hQ⟩ private lemma QZChar.isOpenEmbedding_restrictScalarsHom_stepField (χ : QZChar Gal(Ω/E)) : Topology.IsOpenEmbedding (AlgEquiv.restrictScalarsHom E : Gal(Ω/stepField χ) →* Gal(Ω/E)) := isOpenEmbedding_galois_restrict (AlgEquiv.restrictScalarsHom E) fun _ _ ↦ rfl /-- Let `χ` be a continuous `ℚ/ℤ`-valued character of Gal(Ω/E), and let `L = New.QZChar.stepField χ` be the fixed field of the kernel of `g ↦ χ g + χ (gᶜ)`. Let `f` and `f'` be eigenforms on the unitary groups over `E` and `L` with systems of polynomials `P` and `P'`, let `f'` be a weak base change of `f` off `S` relative to the idele character of `χ`, and let `r'` be attached to `P'`. Then the restriction of `r'` to the subgroup Gal(Ω/L) ∩ ker χ of Gal(Ω/E) is attached to `P` along the inclusion of this subgroup in Gal(Ω/E). -/ lemma IsWeakBaseChange.attached_comp_stepKerInclusion (hs : IsWeakBaseChange (ideleChar χ) S f f') (hr' : Attached P' r') (he' : IsEigenform f' P') (he : IsEigenform f P) : Attached P (r'.comp (stepKerInclusion χ)) (stepKer χ).subtype := by -- Almost all places with a Frobenius element in `stepKer χ` split in `L` with the same Hecke -- polynomial, so the estimate for `r'` above such a place is the estimate wanted. have h_res := isOpenEmbedding_restrictScalarsHom_stepField χ have h_cont : Continuous (stepKerInclusion χ) := h_res.continuous_iff.2 continuous_subtypeVal have h_normal : (stepKerInclusion χ).range.Normal := by rw [stepKerInclusion, MonoidHom.range_comp, inclusion_range] exact Normal.map inferInstance _ (stepField χ).fixingSubgroupEquiv.surjective refine ⟨hr'.continuous.comp h_cont, hr'.isTraceNondeg.comp (stepKerInclusion χ) h_normal, (isOpen_stepKer χ).isOpenMap_subtypeVal, fun η hη ↦ ?_⟩ -- At most Frobenius data of `L`, `f'` has the polynomial given by `P'`. have h_most' : ∀ᶠ y : FrobeniusDatum (stepField χ) in mostFrobenii (stepField χ), ∃ hy : y.place.IsSplit, HasHeckePolyAt f' y.place hy (P' y.place) := eventually_mostFrobenii he'.2 fun y hy ↦ hy y.prime_q -- At most Frobenius data `x` of `E`, `f` has the polynomial `P x.place`, inertia lies in -- `stepKer χ`, and neither `x.place` nor its conjugate is in `S`. have h_most : ∀ᶠ x : FrobeniusDatum E in mostFrobenii E, (∃ hx : x.place.IsSplit, HasHeckePolyAt f x.place hx (P x.place)) ∧ inertiaGroup Gal(Ω/E) x.valuationSubring ≤ stepKer χ ∧ x.place ∉ S.conjClosure := eventually_mostFrobenii (he.2.and ((finite_ramified (isOpen_stepKer χ)).and hs.1.conjClosure.compl_mem_cofinite)) fun x ⟨h_eigen, h_inertia, h_off⟩ ↦ ⟨h_eigen x.prime_q, h_inertia _ x.isPlaceOver, h_off⟩ filter_upwards [h_most, eventually_mostFrobenii_of_isOpenEmbedding h_res (FinPlace.below E) ((hr'.eventually_norm_coeff_le hη).and h_most')] rintro x ⟨⟨hx_split, h_hecke⟩, h_inertia, h_off⟩ h_above s (hs_eq : s.val = x.frob) obtain ⟨u, hu, h_below⟩ := x.isPlaceOver.exists_above (L := stepField χ) -- Inertia and the Frobenius element lie in `stepKer χ`, hence so does the decomposition group. -- So `x.place` is matched, and `f'` has the polynomial `P x.place` at `u`. have h_dec : decompGroup Gal(Ω/E) x.valuationSubring ≤ stepKer χ := x.isPlaceOver.decompGroup_le x.isFrob_inv (isOpen_stepKer χ) h_inertia (hs_eq ▸ (stepKer χ).inv_mem s.prop) obtain ⟨hq, hu_split, h_hecke_u⟩ := hs.hasHeckePolyAt_of_decompGroup_le h_off x.isPlaceOver h_dec h_below h_hecke -- The image of `s` is a geometric Frobenius element of `L` at `u`. have hu_prime : u.q.Prime := hq.symm ▸ x.prime_q have hu_frob : IsFrob x.valuationSubring u.q (stepKerInclusion χ s)⁻¹ := show IsFrob x.valuationSubring u.q s.val⁻¹ from hq ▸ hs_eq ▸ x.isFrob_inv obtain ⟨h_close, hu_split', h_hecke_u'⟩ := h_above ⟨u, x.valuationSubring, stepKerInclusion χ s, hu_prime, hu, hu_frob⟩ h_below hs_eq obtain ⟨-, t', hP', ht'⟩ := h_hecke_u' obtain ⟨-, t, hP, ht⟩ := h_hecke_u have hP_eq : P' u = P x.place := by rw [hP', hP, show t' = t from funext fun j ↦ smul_left_injective ℂ he'.1 ((ht' j).symm.trans (ht j))] exact hP_eq ▸ h_close (stepKerInclusion χ s) rfl /-- Let `χ` be a continuous `ℚ/ℤ`-valued character of `Gal(Ω/E)`, and let `L = New.QZChar.stepField χ` be the field cut out by `g ↦ χ g + χ (gᶜ)`. Let `f'` on `L` be a weak base change of `f` off the finite set `S` of places of `E`, relative to the idele character `exp(2πi χ ∘ Art)`, with both eigenforms for the systems `P'` and `P`. If `r'` is attached to `P'` and `r` to `P`, then the local conditions at every valuation subring `A` of `Ω` pass from `r'` to `r` (`New.GaloisRep.DescendsAt`). -/ lemma IsWeakBaseChange.descendsAt (hs : IsWeakBaseChange (ideleChar χ) S f f') (hr' : Attached P' r') (he' : IsEigenform f' P') (he : IsEigenform f P) {r : GalRep ℓ E n} (hr : Attached P r) (A : ClosurePlace) : DescendsAt χ r' r A := by -- On `stepKer χ`, both `r` and `r'` are attached to `P`. So they have the same trace and are -- conjugate there, and the local conditions pass. let L : IntermediateField E Ω := stepField χ let res : Gal(Ω/L) →* Gal(Ω/E) := AlgEquiv.restrictScalarsHom E have h_res : Topology.IsOpenEmbedding res := isOpenEmbedding_restrictScalarsHom_stepField χ have h_att : Attached P (r'.comp (stepKerInclusion χ)) (stepKer χ).subtype := hs.attached_comp_stepKerInclusion hr' he' he have h_trace (s : stepKer χ) : (r' (stepKerInclusion χ s)).val.trace = (r s).val.trace := h_att.trace_eq hr s rfl have h_normal : (stepKer χ).subtype.range.Normal := by rw [range_subtype] infer_instance obtain ⟨Z, hZ⟩ := h_att.isTraceNondeg.exists_conj_of_trace_eq _ (AlgHom.id (PadicAlgCl ℓ) _) (hr.isTraceNondeg.comp (stepKer χ).subtype h_normal).hasSemiprimeSpan h_trace -- `Z` intertwines `r ∘ res` with `r'` on the neighbourhood `res ⁻¹' stepKer χ` of `1`. have h_nhds : res ⁻¹' stepKer χ ∈ nhds 1 := ((isOpen_stepKer χ).preimage h_res.continuous).mem_nhds (stepKer χ).one_mem obtain ⟨h_finite, h_jumps, h_kills⟩ := local_clauses_of_retract (A := A) 1 (algebraMap E L) (fun _ ↦ rfl) (fun _ _ ↦ rfl) h_res h_nhds (fun g hg ↦ hZ ⟨res g, hg⟩) Z.inv_val refine ⟨h_finite, fun {κ} m hm ↦ h_jumps Z.val_inv (Eq.mp (congrArg (HasJumpsAt r' A) ?_) hm), fun s Q ↦ h_kills (stepKerInclusion χ s) s.prop⟩ -- `τ` lies in the CM type of `L` exactly when its restriction lies in that of `E`. classical funext τ exact congrArg (Multiset.map · _) <| funext fun j ↦ if_congr (CMTypeOver.eq_chosen_iff (K := E) τ) rfl rfl /-- Let `f'` be a weak base change of `f` to `stepField χ`, both eigenforms, with `r'` and `r` attached to their systems of polynomials. Let `A` lie over `w ∉ S ∪ S̄` and let `u` be a place of `stepField χ` above `w`. If `χ` and its symmetrisation kill inertia at `A`, and also decomposition when `w` is split, then compatibility of `r'` with `f'` at `u` (`New.GaloisRep.IsCompatibleAt`: good, with the jumps of the weight in rank `a`, and at a split place each Hecke polynomial kills geometric Frobenius) gives that of `r` with `f` at `w`. -/ lemma IsWeakBaseChange.isCompatibleAt_of_attached {κ : Weight E} {a : ℕ} {f : Gf E n → WeylIndex n κ.1 → ℂ} {f' : Gf (stepField χ) n → WeylIndex n κ.baseChange.1 → ℂ} (hs : IsWeakBaseChange (ideleChar χ) S f f') (hr' : Attached P' r') (he' : IsEigenform f' P') (he : IsEigenform f P) {r : GalRep ℓ E n} (hr : Attached P r) {w : FinPlace E} (h_off : w ∉ S.conjClosure) {A : ClosurePlace} (hA : IsPlaceOver A w) (h_ine : inertiaGroup Gal(Ω/E) A ≤ stepKer χ) (h_dec : w.IsSplit → decompGroup Gal(Ω/E) A ≤ stepKer χ) {u : FinPlace (stepField χ)} (h_below : u.below E = w) (h_compat : IsCompatibleAt f' a u r' A) : IsCompatibleAt f a w r A := by obtain ⟨h_fin, h_jump, h_poly⟩ := hs.descendsAt hr' he' he hr A obtain ⟨h_good, h_jump', h_poly'⟩ := h_compat refine ⟨?_, h_jump _ h_jump', fun hw Q hQ s hs_frob ↦ ?_⟩ · obtain ⟨h_fin', h_one⟩ := isGoodAt_iff.1 h_good exact isGoodAt_iff.2 ⟨h_fin h_fin', fun s s_mem ↦ h_poly ⟨s, h_ine s_mem⟩ _ (h_one _ s_mem)⟩ · -- The split place `w` is matched, so `f'` has the polynomial `Q` above `w`. obtain ⟨hq, hu_split, hQ'⟩ := hs.hasHeckePolyAt_of_decompGroup_le h_off hA (h_dec hw) h_below hQ exact h_poly ⟨s, inv_mem (h_dec hw hs_frob.1)⟩ _ (h_poly' hu_split Q hQ' _ (by rwa [hq])) end New /-! ## The general odd-rank case -/ section QuadraticDescent open NumberField Ideal Subgroup Module.End New.QZChar /-- Let `μ` be the character of a step `E' / E` (`New.IsStep`: a CM extension of prime degree with an idele character), with `E'` stably unramified (`New.HasPrimitiveRoot5040`), and `f` a nonzero form of weight `κ` over `E`. Some eigenform `F` over `E'`, of the pulled back weight, is a weak base change of `f` with empty exceptional set (`New.IsWeakBaseChange`). -/ lemma New.GaloisRep.exists_weak_baseChange {E E' n : Type} [Field E] [CMType E] [Field E'] [Algebra E E'] [CMTypeOver E E'] [Fintype n] [DecidableEq n] [HasPrimitiveRoot5040 E'] {μ : (𝔸f E)ˣ →* ℂˣ} (hμ : IsStep (E := E) E' μ) {κ : Weight E} {f : Gf E n → WeylIndex n κ.1 → ℂ} (hf : f ∈ (stdSpace E n).forms κ) (hf_ne : f ≠ 0) : ∃ (F : (stdSpace E' n).forms κ.baseChange) (P' : FinPlace E' → Polynomial ℂ), IsEigenform F.val P' ∧ IsWeakBaseChange μ ∅ f F.val := by -- This is the transfer for trivial local data, whose only operator is the identity; its trace -- on a space containing `f ≠ 0` is not zero. let π : Representation ℂ Unit ((stdSpace E n).forms κ) := localFormTranslation κ (1 : Unit →* Gf E n) have h_id : heckeFun π ⊤ 1 = 1 := by have := QuotientGroup.subsingleton_quotient_top (G := Unit) let : Unique (Unit ⧸ (⊤ : Subgroup Unit)) := .mk' _ rw [heckeFun, finsum_unique, Pi.one_apply, one_smul] exact π.map_one have h_trace : HasNonzeroTraceAround π (heckeFun π ⊤ 1) (heckeGenEigenspace π ⊤ ((1 : Unit → Unit → ℂ) ∘ ![]) 0) ⟨f, hf⟩ := by intro W hW _ refine trace_restrict_ne_zero one_ne_zero (fun h_bot ↦ hf_ne ?_) fun x _ ↦ ?_ · have h_mem : (⟨f, hf⟩ : (stdSpace E n).forms κ) ∈ heckeGenEigenspace π ⊤ ((1 : Unit → Unit → ℂ) ∘ ![]) 0 := mem_heckeGenEigenspace.2 ⟨fun _ ↦ by change π 1 ⟨f, hf⟩ = (1 : ℂ) • ⟨f, hf⟩ rw [π.map_one, one_apply_eq_self, one_smul], fun i ↦ i.elim0⟩ exact congrArg Subtype.val (h_bot.le ⟨h_mem, hW⟩) · exact eigenspace_le_maxGenEigenspace (Module.End.mem_eigenspace_iff.2 (by rw [h_id, one_apply_eq_self, one_smul])) obtain ⟨F, P', hF, h_bc, -⟩ := exists_isWeakBaseChange_of_matching (hμ := hμ) ⟨f, hf⟩ isLocalMatching_empty (o := ![]) (θ := 0) (j₀ := ()) (hj₀ := rfl) (h_comm := fun () () ↦ ⟨heckeCommute_self _ _ _, heckeCommute_self _ _ _⟩) (h_stable := nofun) (h_trace := h_trace) exact ⟨F, P', hF, h_bc⟩ /-- Let the step given by `χ` be an extension of prime degree with idele character (`New.IsStep`). If the decomposition group of `A` is killed by the symmetrisation of `χ`, so fixes the field of the step, and `χ` kills inertia, then the step is unramified at the place below `A` (`New.IsStepUnramifiedAt`: the extension and the character are unramified at each place above). -/ lemma New.GaloisRep.isStepUnramifiedAt_of_decompGroup_le {E : Type} [Field E] [EmbeddedNumberField E] [CMType E] {χ : QZChar Gal(Ω/E)} (h_step : IsStep (stepField χ) (ideleChar χ)) {x : FinPlace E} {A : ClosurePlace} (hA : IsPlaceOver A x) (h_dec : decompGroup Gal(Ω/E) A ≤ QZChar.ker (symmetrize χ)) (h_inertia : inertiaGroup Gal(Ω/E) A ≤ QZChar.ker χ) : IsStepUnramifiedAt (stepField χ) (ideleChar χ) x := by rintro v rfl -- No nontrivial automorphism of the field of the step fixes `v`, so none is in inertia at `v`. obtain ⟨-, comap_ne⟩ := hA.q_eq_and_comap_ne_self_of_decompGroup_le h_dec v rfl -- As `χ` kills inertia, it kills the Artin symbols of the local units below `v`. have h_units : ∀ z : (LocField (v.below E))ˣ, Valued.v z.val = 1 → abelianLift χ (artinAt Gal(Ω/E) (v.below E) z) = 1 := (hA.artinAt_units_trivial_iff_inertiaGroup_le χ).mpr fun _ h ↦ h_inertia h refine ⟨h_step.exists_gal_ne_one.imp fun σ hσ ↦ notMem_inertia_of_comap_ne (comap_ne σ hσ), fun y hy ↦ ?_⟩ have hv_norm : Valued.v (localNorm E v y).val = 1 := v_adeleNorm_eq_one (locIdele_mem_idelesUnitOff hy) (v.below E) change QZ.expUnit (abelianLift χ (artinMap Gal(Ω/E) (locIdele (v.below E) (localNorm E v y)))) = 1 rw [artinMap_locIdele, h_units _ hv_norm, QZ.expUnit.map_one] /-- Two representations on normal subgroups `N₀` and `N₁` of `Gal(Ω/E)` attached to the same system `P` are conjugate on `N₀ ⊓ N₁`. -/ private lemma New.GaloisRep.Attached.exists_conj_on_inf {ℓ : ℕ} [ThePrime ℓ] [PadicIso ℓ] {E n : Type} [Field E] [EmbeddedNumberField E] [Fintype n] [DecidableEq n] {P : FinPlace E → Polynomial ℂ} {N₀ N₁ : Subgroup Gal(Ω/E)} [N₀.Normal] [N₁.Normal] {ρ₀ : N₀ →* GL n (PadicAlgCl ℓ)} {ρ₁ : N₁ →* GL n (PadicAlgCl ℓ)} (hρ₀ : Attached P ρ₀ N₀.subtype) (hρ₁ : Attached P ρ₁ N₁.subtype) : ∃ Q : GL n (PadicAlgCl ℓ), ∀ g : ↥(N₀ ⊓ N₁), (ρ₀ (inclusion inf_le_left g)).val * Q.val = Q.val * (ρ₁ (inclusion inf_le_right g)).val := by have normal_range {M : Subgroup Gal(Ω/E)} (h_le : N₀ ⊓ N₁ ≤ M) : (inclusion h_le).range.Normal := by rw [inclusion_range] infer_instance have h_left : IsTraceNondeg (ρ₀.comp (inclusion (inf_le_left : N₀ ⊓ N₁ ≤ N₀))) := hρ₀.isTraceNondeg.comp _ (normal_range inf_le_left) have h_right : IsTraceNondeg (ρ₁.comp (inclusion (inf_le_right : N₀ ⊓ N₁ ≤ N₁))) := hρ₁.isTraceNondeg.comp _ (normal_range inf_le_right) have h_trace (g : ↥(N₀ ⊓ N₁)) : (ρ₀ (inclusion inf_le_left g)).val.trace = (ρ₁ (inclusion inf_le_right g)).val.trace := hρ₀.trace_eq hρ₁ _ rfl exact h_left.exists_conj_of_trace_eq _ (AlgHom.id (PadicAlgCl ℓ) _) h_right.hasSemiprimeSpan h_trace /-- A continuous, trace-nondegenerate representation `R` of `Gal(Ω/E)` that is conjugate on each open subgroup `N T` to a representation `ρ T` attached to `P` is itself attached to `P`, provided every prime-norm Frobenius element lies in some `N T`. -/ private lemma New.GaloisRep.attached_of_locally_conj {ℓ : ℕ} [ThePrime ℓ] [PadicIso ℓ] {E n : Type} [Field E] [EmbeddedNumberField E] [Fintype n] [DecidableEq n] {P : FinPlace E → Polynomial ℂ} {N : ℕ → Subgroup Gal(Ω/E)} (N_open : ∀ T : ℕ, (N T).IsOpen) {ρ : (T : ℕ) → N T →* GL n (PadicAlgCl ℓ)} (hρ : ∀ T : ℕ, Attached P (ρ T) (N T).subtype) {R : GalRep ℓ E n} (R_cont : Continuous R) (R_nondeg : IsTraceNondeg R) (Q : ℕ → GL n (PadicAlgCl ℓ)) (R_conj : ∀ (T : ℕ) (g : N T), R g = Q T * ρ T g * (Q T)⁻¹) (h_frob : ∀ (y : FinPlace E) (A : ClosurePlace) (s : Gal(Ω/E)), y.q.Prime → IsPlaceOver A y → IsFrob A y.q s → ∃ T : ℕ, s ∈ N T) : Attached P R := by refine ⟨R_cont, R_nondeg, .id, fun η hη V hV hV_ne ↦ ?_⟩ -- By Chebotarev `V` holds a Frobenius element at a place of prime norm, so `V` meets some -- `N T`. The estimate for `ρ T` on an open part `O` of `V ∩ N T` passes to its conjugate `R`. obtain ⟨y, -, hy, A, hA, s, s_mem_V, s_frob, -⟩ := chebotarev hV hV_ne Set.finite_empty obtain ⟨T, s_mem_N⟩ : ∃ T : ℕ, s ∈ N T := h_frob y A s hy hA s_frob obtain ⟨O, hO, O_open, O_nonempty, h_close⟩ := (hρ T).eventually_norm_coeff_le hη (V ∩ N T) (hV.inter (N_open T)) ⟨s, s_mem_V, s_mem_N⟩ refine ⟨O, hO.trans Set.inter_subset_left, O_open, O_nonempty, ?_⟩ filter_upwards [h_close] with v hv B g hv_prime hB g_frob hg have g_mem : g ∈ N T := Set.mem_of_mem_inter_right (hO hg) have h_charpoly : (R g).val.charpoly = (ρ T ⟨g, g_mem⟩).val.charpoly := by rw [R_conj T ⟨g, g_mem⟩, Units.val_mul, Units.val_mul, Matrix.coe_units_inv, Matrix.charpoly_units_conj] rintro x (rfl : x = g) i rw [h_charpoly] exact hv B x hv_prime hB g_frob hg ⟨x, g_mem⟩ rfl i /-- Let `σ` choose for each `g` an element `σ g` of a normal subgroup `K` with `g * σ g ∈ N₀`. A homomorphism `ρ₀` on `N₀` that is trivial on `K` extends to the homomorphism `g ↦ ρ₀ (g * σ g)` on `G`. -/ private lemma New.GaloisRep.exists_monoidHom_eq_of_mul_mem {G M : Type} [Group G] [Group M] {N₀ K : Subgroup G} [K.Normal] (ρ₀ : N₀ →* M) {σ : G → G} (σ_mem : ∀ g, σ g ∈ K) (mul_σ_mem : ∀ g, g * σ g ∈ N₀) (ρ₀_kills : ∀ y : N₀, y.val ∈ K → ρ₀ y = 1) : ∃ R : G →* M, (∀ g, R g = ρ₀ ⟨g * σ g, mul_σ_mem g⟩) ∧ ∀ x : N₀, ρ₀ x = R x := by have ρ₀_congr {x z : N₀} (h : (z.val : G ⧸ K) = x.val) : ρ₀ x = ρ₀ z := ρ₀.eq_iff.2 (ρ₀_kills (z⁻¹ * x) (QuotientGroup.eq.1 h)) have hq (a : G) : ((a * σ a : G) : G ⧸ K) = a := by rw [QuotientGroup.mk_mul, (QuotientGroup.eq_one_iff _).2 (σ_mem a), mul_one] have ρ₀_mul (g g' : G) : ρ₀ ⟨g * g' * σ (g * g'), mul_σ_mem (g * g')⟩ = ρ₀ ⟨g * σ g, mul_σ_mem g⟩ * ρ₀ ⟨g' * σ g', mul_σ_mem g'⟩ := by rw [← ρ₀.map_mul] exact ρ₀_congr (by rw [Subgroup.coe_mul, QuotientGroup.mk_mul, hq, hq, hq, QuotientGroup.mk_mul]) exact ⟨.mk' (fun g ↦ ρ₀ ⟨g * σ g, mul_σ_mem g⟩) ρ₀_mul, fun _ ↦ rfl, fun x ↦ ρ₀_congr (hq x.val)⟩ /-- Let `ρ₀` on a normal subgroup `N₀` of `Gal(Ω/E)` and the `ρ T` on open normal subgroups `N T` be attached to the same system `P` along the inclusions (`New.GaloisRep.Attached`: the representation is continuous with non-degenerate trace form, the inclusion is open, and the characteristic polynomials are `ℓ`-adically close to those of `P` at most Frobenius elements). Let `I` be a set such that every subgroup containing `I` meets every coset of `N₀`, and such that each conjugate of an element of `I` lies in every `N T` and is killed by `ρ T`. If every arithmetic Frobenius element at a place `A` of `Ω` over a place `y` of prime norm lies in some `N T`, then a representation of `Gal(Ω/E)` is attached to `P`. -/ lemma New.GaloisRep.exists_attached_of_open_subgroups {ℓ : ℕ} [ThePrime ℓ] [PadicIso ℓ] {E n : Type} [Field E] [EmbeddedNumberField E] [Fintype n] [DecidableEq n] {P : FinPlace E → Polynomial ℂ} {N₀ : Subgroup Gal(Ω/E)} [N₀.Normal] {ρ₀ : N₀ →* GL n (PadicAlgCl ℓ)} (hρ₀ : Attached P ρ₀ N₀.subtype) {N : ℕ → Subgroup Gal(Ω/E)} [∀ T : ℕ, (N T).Normal] (N_open : ∀ T : ℕ, (N T).IsOpen) {ρ : (T : ℕ) → N T →* GL n (PadicAlgCl ℓ)} (hρ : ∀ T : ℕ, Attached P (ρ T) (N T).subtype) {I : Set Gal(Ω/E)} (h_gen : ∀ H : Subgroup Gal(Ω/E), I ⊆ H → ∀ g : Gal(Ω/E), ∃ h ∈ H, g * h ∈ N₀) (h_kill : ∀ s ∈ I, ∀ (c : Gal(Ω/E)) (T : ℕ), ∃ h_mem : c * s * c⁻¹ ∈ N T, ρ T ⟨c * s * c⁻¹, h_mem⟩ = 1) (h_frob : ∀ (y : FinPlace E) (A : ClosurePlace) (s : Gal(Ω/E)), y.q.Prime → IsPlaceOver A y → IsFrob A y.q s → ∃ T : ℕ, s ∈ N T) : ∃ R : GalRep ℓ E n, Attached P R := by -- Extend `ρ₀` by `1` on the largest normal subgroup `K` inside the kernels of all the `ρ T`. let K : Subgroup Gal(Ω/E) := (⨅ T : ℕ, (ρ T).ker.map (N T).subtype).normalCore -- `ρ₀` and `ρ T` are attached to the same `P`, so they are conjugate on `N₀ ⊓ N T` by `Q T`, -- and `ρ T` is trivial on `K`. choose Q hQ using fun T ↦ hρ₀.exists_conj_on_inf (hρ T) have h_conj (T : ℕ) (g : N T) (y : Gal(Ω/E)) (hy : y ∈ K) (hgy : g.val * y ∈ N₀) : ρ₀ ⟨g.val * y, hgy⟩ = Q T * ρ T g * (Q T)⁻¹ := by obtain ⟨y, hy_ker, rfl⟩ := mem_iInf.1 (normalCore_le _ hy) T have h_mul : ρ T g = ρ T (g * y) := by rw [(ρ T).map_mul, MonoidHom.mem_ker.1 hy_ker, mul_one] rw [h_mul] exact eq_mul_inv_of_mul_eq (Units.ext (hQ T ⟨g.val * y, hgy, (g * y).prop⟩)) have I_subset : I ⊆ (K : Set Gal(Ω/E)) := by refine fun s hs c ↦ mem_iInf.2 fun T ↦ ?_ obtain ⟨h_mem, h_one⟩ := h_kill s hs c T exact ⟨⟨c * s * c⁻¹, h_mem⟩, h_one, rfl⟩ -- So for every `g` there is `σ g ∈ K` with `g * σ g ∈ N₀`. As `ρ₀` kills `K ⊓ N₀`, the map -- `R g = ρ₀ (g * σ g)` is a homomorphism that extends `ρ₀`. choose σ σ_mem mul_σ_mem using h_gen K I_subset have ρ₀_kills (y : N₀) (hy : y.val ∈ K) : ρ₀ y = 1 := by have h1y : (1 : N 0).val * y.val ∈ N₀ := by rw [OneMemClass.coe_one, one_mul]; exact y.prop have h := h_conj 0 1 y hy h1y have h_sub : (⟨(1 : N 0).val * y.val, h1y⟩ : N₀) = y := Subtype.ext (one_mul y.val) rw [h_sub, (ρ 0).map_one, mul_one, mul_inv_cancel] at h exact h obtain ⟨R, R_apply, R_eq⟩ := exists_monoidHom_eq_of_mul_mem ρ₀ σ_mem mul_σ_mem ρ₀_kills -- `R` agrees with `ρ₀` on the open subgroup `N₀`, and both have the same image. have R_cont : Continuous R := by have h_cont : Continuous fun x : N₀ ↦ R x := hρ₀.continuous.congr R_eq exact continuous_of_continuousAt_one R fun W hW ↦ hρ₀.isOpenMap.nhds_le 1 (h_cont.tendsto 1 hW) have R_nondeg : IsTraceNondeg R := by intro x hx h_zero have h_range : (Set.range fun g : Gal(Ω/E) ↦ (R g).val) ⊆ Set.range fun g : N₀ ↦ (ρ₀ g).val := by rintro _ ⟨g, rfl⟩ exact ⟨⟨g * σ g, mul_σ_mem g⟩, congrArg Units.val (R_apply g).symm⟩ exact hρ₀.isTraceNondeg x (Submodule.span_mono h_range hx) fun g ↦ by rw [R_eq, h_zero] have R_conj (T : ℕ) (g : N T) : R g = Q T * ρ T g * (Q T)⁻¹ := (R_apply g).trans (h_conj T g (σ g) (σ_mem g) (mul_σ_mem g)) exact ⟨R, attached_of_locally_conj N_open hρ R_cont R_nondeg Q R_conj h_frob⟩ /-- Along a quadratic step `h_quad` for a modulus `N` divisible by `ℓ`, the split case applies at every place `u` of `stepField χ` lying above a place `x` dividing `N`. -/ private lemma New.GaloisRep.IsQuadraticStep.sphericalCompat_above {ℓ : ℕ} [ThePrime ℓ] [PadicIso ℓ] {E : Type} [Field E] [EmbeddedNumberField E] [CMType E] [HasPrimitiveRoot5040 E] {a N : ℕ} {χ : QZChar Gal(Ω/E)} {D : ℕ} [HasQuadSubfield D (stepField χ)] (h_quad : IsQuadraticStep E N χ D) (ha : Odd a) (hℓN : ℓ ∣ N) {x : FinPlace E} (hx : ↑N ∈ x.asIdeal) {u : FinPlace (stepField χ)} (h_below : u.below E = x) : SphericalCompat (ℓ := ℓ) (stepField χ) (Fin a) a u := by refine sphericalCompat_of_split ha fun v hv ↦ h_quad.isSplitPrimeToDisc_below v ?_ obtain hℓ | rfl := hv · exact mem_of_dvd _ hℓN.natCast hℓ · rw [← h_below] at hx simpa using hx /-- For a nonzero modulus `N` divisible by `ℓ` and lying in `w.asIdeal`, an odd-rank eigenform `f` lifts along a quadratic step `χ` for `N` to an attached representation `ρ` on `stepKer χ` that is trivial on inertia at every place `x ∣ N` prime to `ℓ` where `f` is spherical, and whose base change transfers compatibility at `w` to every representation attached to `P`. -/ private lemma New.GaloisRep.exists_quadraticStep_rep {ℓ : ℕ} [ThePrime ℓ] [PadicIso ℓ] {E : Type} [Field E] [EmbeddedNumberField E] [CMType E] [HasPrimitiveRoot5040 E] {a N : ℕ} (ha : Odd a) (hN : N ≠ 0) (hℓN : ℓ ∣ N) {w : FinPlace E} (hwN : ↑N ∈ w.asIdeal) {P : FinPlace E → Polynomial ℂ} {κ : Weight E} {f : Gf E (Fin a) → WeylIndex (Fin a) κ.1 → ℂ} (hf : f ∈ (stdSpace E (Fin a)).forms κ) (he : IsEigenform f P) : ∃ (χ : QZChar Gal(Ω/E)) (D : ℕ) (_ : HasQuadSubfield D (stepField χ)) (h_quad : IsQuadraticStep E N χ D) (ρ : stepKer χ →* GL (Fin a) (PadicAlgCl ℓ)), Attached P ρ (stepKer χ).subtype ∧ (∀ {x : FinPlace E} {A : ClosurePlace} (hA : IsPlaceOver A x) (hx : ↑N ∈ x.asIdeal), ↑ℓ ∉ x.asIdeal → f ∈ sphericalAt (rightRegular ℂ (Gf E (Fin a)) (WeylIndex (Fin a) κ.1 → ℂ)) x → ∀ s (hs : s ∈ inertiaGroup Gal(Ω/E) A), ρ ⟨s, h_quad.inertiaGroup_le_ker_inf hA hx hs⟩ = 1) ∧ (∀ R' : GalRep ℓ E (Fin a), Attached P R' → f ∈ sphericalAt (rightRegular ℂ (Gf E (Fin a)) (WeylIndex (Fin a) κ.1 → ℂ)) w → ∀ A : ClosurePlace, IsPlaceOver A w → IsCompatibleAt f a w R' A) := by -- Step `stepField χ ⊇ ℚ(√-D)` is given by `exists_isQuadraticStep`; `F` is a weak base change of -- `f` over it, with polynomials `P'`. obtain ⟨χ, D, h_sub, h_quad⟩ := exists_isQuadraticStep E N hN obtain ⟨F, P', hF, h_bc⟩ := exists_weak_baseChange h_quad.isStep hf he.1 -- The split case at a place above `w` gives `r` attached to `P'`. obtain ⟨u_w, -, h_below_w⟩ := w.isPlaceOver_placeOver.exists_above (L := stepField χ) obtain ⟨r, hr⟩ : ∃ r : GalRep ℓ (stepField χ) (Fin a), Attached P' r := (h_quad.sphericalCompat_above ha hℓN hwN h_below_w).exists_attached F.prop hF -- The spherical clause for `r` above a place `x ∣ N` where `f` is spherical. have h_sph {x : FinPlace E} {A : ClosurePlace} (hA : IsPlaceOver A x) (hx : ↑N ∈ x.asIdeal) {u : FinPlace (stepField χ)} (hu : IsPlaceOver A u) (h_below : u.below E = x) (hfx : f ∈ sphericalAt (rightRegular ℂ (Gf E (Fin a)) (WeylIndex (Fin a) κ.1 → ℂ)) x) : IsCompatibleAt F.val a u r A := by -- The step is unramified at `x`, so `F` is spherical above `x`. have h_unram : IsStepUnramifiedAt (stepField χ) (ideleChar χ) x := isStepUnramifiedAt_of_decompGroup_le h_quad.isStep hA (h_quad.decompGroup_le_ker_symmetrise hA hx) ((h_quad.inertiaGroup_le_ker_inf hA hx).trans inf_le_right) exact (h_quad.sphericalCompat_above ha hℓN hx h_below).isCompatibleAt F.prop hF hr ((h_bc.2 x nofun _ h_below).1 h_unram hfx) hu -- The representation `ρ` is the restriction of `r` to `stepKer χ`, attached to `P`. refine ⟨χ, D, h_sub, h_quad, r.comp (stepKerInclusion χ), h_bc.attached_comp_stepKerInclusion hr hF he, ?_, ?_⟩ · intro x A hA hx hℓ hfx s hs obtain ⟨u, hu, h_below⟩ := hA.exists_above (L := stepField χ) exact (h_sph hA hx hu h_below hfx).isGoodAt.1 (hA.valuation_natCast_eq_one_iff.2 hℓ) _ hs · -- The clause at `w` descends from the step, where the decomposition group fixes the field. intro R' hR' f_sph_w A hA obtain ⟨u, hu, h_below⟩ := hA.exists_above (L := stepField χ) exact h_bc.isCompatibleAt_of_attached hr hF he hR' (by simp [Set.conjClosure]) hA (h_quad.inertiaGroup_le_ker_inf hA hwN) (h_quad.decompGroup_le_ker_inf_of_isSplit hA hwN) h_below (h_sph hA hwN hu h_below f_sph_w) open scoped Pointwise in /-- Let `a` be odd, `E` a CM field containing a primitive 5040th root of unity, and `w` any finite place. Then eigenforms of any weight on the standard definite unitary group of rank `a` satisfy `New.GaloisRep.SphericalCompat` at `w`: each has an attached representation. If the form is spherical at `w`, every representation attached to its Hecke polynomials satisfies the local conditions `IsCompatibleAt` at the places of `Ω` over `w`: it is good there, has the jumps of the weight, and at a split `w` the Hecke polynomial kills geometric Frobenius elements. -/ lemma New.GaloisRep.sphericalCompat_of_odd {ℓ : ℕ} [ThePrime ℓ] [PadicIso ℓ] {E : Type} [Field E] [EmbeddedNumberField E] [CMType E] [HasPrimitiveRoot5040 E] {a : ℕ} (ha : Odd a) (w : FinPlace E) : SphericalCompat (ℓ := ℓ) E (Fin a) a w := by -- For each `T` take a quadratic step in which the places dividing `n T` split, a base change -- `F T` of `f`, and a representation `ρ T` of an open subgroup attached to `P`. Extend `ρ 0` to -- `Gal(Ω/E)` with the help of the `ρ T` for large `T` (`exists_attached_of_open_subgroups`); the -- local clauses at `w` descend from step `0`. intro P κ f hf he -- `f` is fixed by the integral points that are trivial at a finite set `S` of places. obtain ⟨S, -, hS⟩ := exists_inf_trivialOn_le hf.1 have hf_level : f ∈ levelSpace (rightRegular ℂ (Gf E (Fin a)) (WeylIndex (Fin a) κ.1 → ℂ)) (stdLevel E (Fin a) ⊓ Gf.trivialOn (Fin a) S) := fun k ↦ (funext (hS k.prop)).trans (one_smul ℂ f).symm -- The modulus `n T` is divisible by `ℓ`, by `w`, by the places of `S` and by all places of norm -- at most `T`. let n (T : ℕ) : ℕ := ℓ * (T + w.q + S.sup FinPlace.q).factorial have n_mem (T : ℕ) (v : FinPlace E) (hv : v.q ≤ T + w.q + S.sup FinPlace.q) : ↑(n T) ∈ v.asIdeal := mem_of_dvd _ ((Nat.dvd_factorial v.one_lt_q.le hv).mul_left ℓ).natCast (absNorm_mem _) have n_mem_w (T : ℕ) : ↑(n T) ∈ w.asIdeal := n_mem T w (by omega) have not_mem_S (x : FinPlace E) (hx : ↑(n 0) ∉ x.asIdeal) : x ∉ S := fun hxS ↦ hx (n_mem 0 x (le_add_left (S.le_sup hxS))) choose χ D D_subfield h_quad ρ hρ h_inertia h_compat using fun T ↦ exists_quadraticStep_rep ha (NeZero.out : n T ≠ 0) (dvd_mul_right ℓ _) (n_mem_w T) hf he obtain ⟨m, h_gen₀⟩ := (h_quad 0).exists_mul_mem_of_inertiaAbove_subset refine ⟨?_, h_compat 0⟩ -- Glue the `ρ (T + m)` to `ρ 0`. refine exists_attached_of_open_subgroups (hρ 0) (fun T ↦ isOpen_stepKer (χ (T + m))) (fun T ↦ hρ (T + m)) h_gen₀ ?_ fun y A s hy hA h_frob ↦ ⟨y.q, ?_⟩ · -- A place `x ∤ n 0` of norm at most `m` and its conjugate are off `S`, `x` is prime to `ℓ` -- and divides `n (T + m)`, so `ρ (T + m)` is trivial on inertia at `x`. rintro s ⟨x, ⟨hx, hxm⟩, A, hA, hs⟩ c T have hA' : IsPlaceOver (c • A) x := hA.smul c have hs' := hs.conj c have hfx : f ∈ sphericalAt (rightRegular ℂ (Gf E (Fin a)) (WeylIndex (Fin a) κ.1 → ℂ)) x := levelSpace_le_sphericalAt (not_mem_S x hx) (not_mem_S (star x) fun h ↦ hx (by rwa [mem_star_place, star_natCast] at h)) hf_level have hℓ : ↑ℓ ∉ x.asIdeal := fun hℓ ↦ hx (mem_of_dvd _ (dvd_mul_right ℓ _).natCast hℓ) have hx_dvd : ↑(n (T + m)) ∈ x.asIdeal := n_mem (T + m) x (by omega) exact ⟨(h_quad (T + m)).inertiaGroup_le_ker_inf hA' hx_dvd hs', h_inertia (T + m) hA' hx_dvd hℓ hfx _ hs'⟩ · -- A place `y` of prime norm is split and divides `n (y.q + m)`. exact (h_quad (y.q + m)).decompGroup_le_ker_inf_of_isSplit hA (n_mem (y.q + m) y (by omega)) (isSplit_of_q_prime hy) h_frob.1 end QuadraticDescent