Hodge conjecture: the CM case in Lean, read and discussed
OpenAI's Lean proof of the Hodge conjecture for CM abelian varieties: rerun it, read its statement, and keep the open questions with their sources. The conjecture is open

| 1 | import OAI.AlgebraicGeometry.PELModuli.CMPoints.Arithmetic |
| 2 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.PEL.Has |
| 3 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.Components |
| 4 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.ComponentUniformization |
| 5 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Polarization.BaseChange |
| 6 | |
| 7 | /-! # Models -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicGeometry.PELModuli.CMPoints.Models |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | section |
| 14 | |
| 15 | /-! |
| 16 | Concrete arithmetic PEL families for CMPoints. A finite collection may have |
| 17 | different moduli bases; all are defined over the same arithmetic base. |
| 18 | Each geometric fiber and its abelian family is constructed by pullback. |
| 19 | The supplied integral models are exactly the objects produced by IntegralModel. |
| 20 | CM points, ordinarity, torsion heights and duality are not model fields. |
| 21 | -/ |
| 22 | |
| 23 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 24 | open scoped _root_.CategoryTheory.MonObj |
| 25 | |
| 26 | /-- The geometric point above x, exactly as in Openness. -/ |
| 27 | def geometricPoint (S : Scheme) (x : S) : Over S := |
| 28 | Over.mk (Spec.map (CommRingCat.ofHom |
| 29 | (algebraMap (S.residueField x) (AlgebraicClosure (S.residueField x)))) ≫ |
| 30 | S.fromSpecResidueField x) |
| 31 | |
| 32 | /-- The source's ordinary condition, including the actual fiber dimension. -/ |
| 33 | def IsOrdinaryAt (q : ℕ) {S : Scheme} (A : Over S) [GrpObj A] (x : S) : Prop := |
| 34 | ∃ g : ℕ, |
| 35 | topologicalKrullDim (A.hom.fiber x) = (g : WithBot ℕ∞) ∧ |
| 36 | Nat.card {z : geometricPoint S x ⟶ A // z ^ q = 1} = q ^ g |
| 37 | |
| 38 | variable (E K : Type) [Field E] [NumberField E] [Algebra ℚ E] |
| 39 | [NumberField.IsCMField E] [IsGalois ℚ E] [Field K] [NumberField K] |
| 40 | |
| 41 | /-- A finite collection of the actual integral universal families of IntegralModel. |
| 42 | All geometric and moduli conditions are in the separate predicate below. -/ |
| 43 | structure RankThreePELModel where |
| 44 | s : ℕ |
| 45 | familyCount : ℕ |
| 46 | iota : E →+* K |
| 47 | complexEmbedding : K →+* ℂ |
| 48 | arithmetic : IntegralModel.Base.ArithmeticBaseExtension K complexEmbedding |
| 49 | datum : Fin familyCount → AbelianModuli.ReferenceFamily.Datum.RankThreePELDatum E s |
| 50 | level : Fin familyCount → ℕ |
| 51 | moduli : ∀ a, AbelianModuli.ReferenceFamily.Models.FinePELModel (datum a) iota (level a) |
| 52 | integral : ∀ a, IntegralModel.PEL.Has.IntegralPELSpread (datum a) iota complexEmbedding |
| 53 | (level a) (moduli a).space (moduli a).universal arithmetic |
| 54 | componentCount : Fin familyCount → ℕ |
| 55 | components : ∀ a, IntegralModel.Components.ComponentAlbaneseData (integral a).toOver (componentCount a) |
| 56 | decomposition : ∀ a, (∐ (components a).S) ≅ (integral a).toOver |
| 57 | |
| 58 | namespace RankThreePELModel |
| 59 | |
| 60 | variable {E K} (M : RankThreePELModel E K) |
| 61 | |
| 62 | abbrev Family := Fin M.familyCount |
| 63 | |
| 64 | /-- The prior complex period and integral-model conditions. In particular |
| 65 | there is no ordinary point or ordinary-locus condition here. -/ |
| 66 | def HasPrescribedBallPeriods : Prop := |
| 67 | 0 < M.s ∧ Module.finrank ℚ E = 2 * M.s ∧ |
| 68 | ∀ a : M.Family, |
| 69 | (M.datum a).IsAdmissible ∧ |
| 70 | M.complexEmbedding.comp M.iota = (M.datum a).μ ∧ |
| 71 | IntegralModel.PEL.Has.IsSufficientlyDeepFullLevel (M.datum a) (M.level a) ∧ |
| 72 | (M.moduli a).IsFine ∧ |
| 73 | (M.moduli a).HasProjectiveBallComponents M.complexEmbedding ∧ |
| 74 | IntegralModel.PEL.Has.IntegralPELSpread.IsReducedPELModuli (M.datum a) (M.integral a) ∧ |
| 75 | Smooth (M.integral a).toOver.hom ∧ |
| 76 | IsProper (M.integral a).toOver.hom ∧ |
| 77 | IntegralModel.Components.RelativelyProjective (M.integral a).toOver ∧ |
| 78 | ∀ t : Fin (M.componentCount a), |
| 79 | Smooth ((M.components a).S t).hom ∧ |
| 80 | IsProper ((M.components a).S t).hom ∧ |
| 81 | IntegralModel.Components.RelativelyProjective ((M.components a).S t) ∧ |
| 82 | GeometricallyConnected ((M.components a).S t).hom |
| 83 | |
| 84 | /-- Direct adapter for one of IntegralModel's integral universal families. The |
| 85 | adapter contains only the actual objects in IntegralModel's conclusion. -/ |
| 86 | def ofSingleIntegralFamily |
| 87 | {s N : ℕ} (P : AbelianModuli.ReferenceFamily.Datum.RankThreePELDatum E s) |
| 88 | (iota : E →+* K) (κ : K →+* ℂ) |
| 89 | (F : AbelianModuli.ReferenceFamily.Models.FinePELModel P iota N) |
| 90 | (B : IntegralModel.Base.ArithmeticBaseExtension K κ) |
| 91 | (T : IntegralModel.PEL.Has.IntegralPELSpread P iota κ N F.space F.universal B) |
| 92 | (r : ℕ) (D : IntegralModel.Components.ComponentAlbaneseData T.toOver r) |
| 93 | (e : (∐ D.S) ≅ T.toOver) : RankThreePELModel E K where |
| 94 | s := s |
| 95 | familyCount := 1 |
| 96 | iota := iota |
| 97 | complexEmbedding := κ |
| 98 | arithmetic := B |
| 99 | datum _ := P |
| 100 | level _ := N |
| 101 | moduli _ := F |
| 102 | integral _ := T |
| 103 | componentCount _ := r |
| 104 | components _ := D |
| 105 | decomposition _ := e |
| 106 | |
| 107 | omit [IsGalois ℚ E] in |
| 108 | /-- IntegralModel's geometric clauses and the prior ball description give exactly |
| 109 | the repaired model predicate; no ordinary-specialization premise is added. -/ |
| 110 | theorem ofSingleIntegralFamily_hasPeriods |
| 111 | {s N : ℕ} (P : AbelianModuli.ReferenceFamily.Datum.RankThreePELDatum E s) |
| 112 | (iota : E →+* K) (κ : K →+* ℂ) |
| 113 | (F : AbelianModuli.ReferenceFamily.Models.FinePELModel P iota N) |
| 114 | (B : IntegralModel.Base.ArithmeticBaseExtension K κ) |
| 115 | (T : IntegralModel.PEL.Has.IntegralPELSpread P iota κ N F.space F.universal B) |
| 116 | (r : ℕ) (D : IntegralModel.Components.ComponentAlbaneseData T.toOver r) |
| 117 | (e : (∐ D.S) ≅ T.toOver) |
| 118 | (hs : 0 < s) (hdegree : Module.finrank ℚ E = 2 * s) |
| 119 | (hP : P.IsAdmissible) (hiota : κ.comp iota = P.μ) |
| 120 | (hN : IntegralModel.PEL.Has.IsSufficientlyDeepFullLevel P N) |
| 121 | (hF : F.IsFine) (hball : F.HasProjectiveBallComponents κ) |
| 122 | (hT : IntegralModel.PEL.Has.IntegralPELSpread.IsReducedPELModuli P T ∧ |
| 123 | Smooth T.toOver.hom ∧ IsProper T.toOver.hom ∧ IntegralModel.Components.RelativelyProjective T.toOver) |
| 124 | (hD : ∀ t : Fin r, |
| 125 | Smooth (D.S t).hom ∧ IsProper (D.S t).hom ∧ |
| 126 | IntegralModel.Components.RelativelyProjective (D.S t) ∧ GeometricallyConnected (D.S t).hom) : |
| 127 | (ofSingleIntegralFamily P iota κ F B T r D e).HasPrescribedBallPeriods := by |
| 128 | exact ⟨hs, hdegree, fun _ => |
| 129 | ⟨hP, hiota, hN, hF, hball, hT.1, hT.2.1, hT.2.2.1, hT.2.2.2, hD⟩⟩ |
| 130 | |
| 131 | abbrev QadicChoice (q : ℕ) [Fact q.Prime] := |
| 132 | Arithmetic.QadicChoice M.arithmetic.extension.carrier M.arithmetic.embedding q |
| 133 | |
| 134 | def extendedEmbedding : E →+* M.arithmetic.extension.carrier := |
| 135 | (algebraMap K M.arithmetic.extension.carrier).comp M.iota |
| 136 | |
| 137 | /-- A residue map for the literal localization of the ring of integers, |
| 138 | compatible with the chosen q-adic embedding. Goodness excludes the actual |
| 139 | level and polarization denominators. Existence is a conclusion of CMPoints. -/ |
| 140 | structure GoodIntegralReduction (q : ℕ) [Fact q.Prime] (j : M.QadicChoice q) where |
| 141 | residue : M.arithmetic.R →+* ZMod q |
| 142 | residue_compatibility : |
| 143 | residue.comp (algebraMap (NumberField.RingOfIntegers M.arithmetic.extension.carrier) |
| 144 | M.arithmetic.R) = j.residue |
| 145 | levelPrimeToQ : ∀ a : M.Family, Nat.Coprime q (M.level a) |
| 146 | polarizationPrimeToQ : ∀ a : M.Family, |
| 147 | Nat.Coprime q ((∏ i, (M.datum a).polarizationType i) ^ 2) |
| 148 | |
| 149 | namespace GoodIntegralReduction |
| 150 | |
| 151 | variable {M} {q : ℕ} [Fact q.Prime] {j : M.QadicChoice q} |
| 152 | (R : M.GoodIntegralReduction q j) |
| 153 | |
| 154 | def specialBase : Spec (.of (ZMod q)) ⟶ M.arithmetic.base := |
| 155 | Spec.map (CommRingCat.ofHom R.residue) |
| 156 | |
| 157 | def geometricBase : Spec (.of (AlgebraicClosure (ZMod q))) ⟶ M.arithmetic.base := |
| 158 | Spec.map (CommRingCat.ofHom |
| 159 | ((algebraMap (ZMod q) (AlgebraicClosure (ZMod q))).comp R.residue)) |
| 160 | |
| 161 | def specialFiber (a : M.Family) : Over (Spec (.of (ZMod q))) := |
| 162 | (Over.pullback R.specialBase).obj (M.integral a).toOver |
| 163 | |
| 164 | def geometricFiber (a : M.Family) : Over (Spec (.of (AlgebraicClosure (ZMod q)))) := |
| 165 | (Over.pullback R.geometricBase).obj (M.integral a).toOver |
| 166 | |
| 167 | abbrev geom (a : M.Family) : Scheme := (R.geometricFiber a).left |
| 168 | |
| 169 | def geometricFiberOverPrimeField (a : M.Family) : Over (Spec (.of (ZMod q))) := |
| 170 | Over.mk ((R.geometricFiber a).hom ≫ Spec.map (CommRingCat.ofHom |
| 171 | (algebraMap (ZMod q) (AlgebraicClosure (ZMod q))))) |
| 172 | |
| 173 | def projection (a : M.Family) : R.geom a ⟶ (M.integral a).toOver.left := |
| 174 | pullback.fst (M.integral a).toOver.hom R.geometricBase |
| 175 | |
| 176 | def polarized (a : M.Family) : |
| 177 | AbelianModuli.HilbertConstruction.PolarizationData.PolarizedAbelianWithFullLevel (3 * M.s) (M.datum a).polarizationType |
| 178 | (M.level a) (R.geom a) := |
| 179 | (M.integral a).universal.data.polarized.pullback (R.projection a) |
| 180 | |
| 181 | abbrev abelian (a : M.Family) := (R.polarized a).abelian |
| 182 | |
| 183 | def action (a : M.Family) : |
| 184 | AbelianModuli.ReferenceFamily.ActionData.IntegralAction (NumberField.RingOfIntegers E) (R.abelian a) := |
| 185 | (M.integral a).universal.data.action.pullback (R.projection a) |
| 186 | |
| 187 | abbrev fiberField (a : M.Family) (x : R.geom a) := |
| 188 | AlgebraicClosure ((R.geom a).residueField x) |
| 189 | |
| 190 | /-- The actual geometric point above a scheme point. -/ |
| 191 | def fiberMap (a : M.Family) (x : R.geom a) : Spec (.of (R.fiberField a x)) ⟶ R.geom a := |
| 192 | Spec.map (CommRingCat.ofHom |
| 193 | (algebraMap ((R.geom a).residueField x) (R.fiberField a x))) ≫ |
| 194 | (R.geom a).fromSpecResidueField x |
| 195 | |
| 196 | def fiberPolarized (a : M.Family) (x : R.geom a) := |
| 197 | (R.polarized a).pullback (R.fiberMap a x) |
| 198 | |
| 199 | abbrev fiberAbelian (a : M.Family) (x : R.geom a) := |
| 200 | (R.fiberPolarized a x).abelian |
| 201 | |
| 202 | def fiberAction (a : M.Family) (x : R.geom a) : |
| 203 | AbelianModuli.ReferenceFamily.ActionData.IntegralAction (NumberField.RingOfIntegers E) (R.fiberAbelian a x) := |
| 204 | (R.action a).pullback (R.fiberMap a x) |
| 205 | |
| 206 | /-- The scalar map comes from the geometric fiber's structure morphism. -/ |
| 207 | def fiberScalar (a : M.Family) (x : R.geom a) : ZMod q →+* R.fiberField a x := |
| 208 | (Spec.preimage (R.fiberMap a x ≫ (R.geometricFiber a).hom ≫ |
| 209 | Spec.map (CommRingCat.ofHom |
| 210 | (algebraMap (ZMod q) (AlgebraicClosure (ZMod q)))))).hom |
| 211 | |
| 212 | def lieCharacter (a : M.Family) (x : R.geom a) (τ : Gal(E/ℚ)) : |
| 213 | NumberField.RingOfIntegers E →+* R.fiberField a x := |
| 214 | (R.fiberScalar a x).comp |
| 215 | (PadicInt.toZMod.comp (j.localCharacter M.extendedEmbedding τ)) |
| 216 | |
| 217 | /-- Actual dual-number Lie eigenspaces, as in the PEL moduli problem. -/ |
| 218 | def HasLieRank (a : M.Family) (x : R.geom a) (τ : Gal(E/ℚ)) (r : ℕ) : Prop := |
| 219 | AbelianModuli.ReferenceFamily.LieRanks.HasLieRank (R.fiberAbelian a x) (R.fiberAction a x) (R.lieCharacter a x τ) r |
| 220 | |
| 221 | /-- The same geometric p-torsion count used in the Openness specification. -/ |
| 222 | def IsOrdinary (a : M.Family) (x : R.geom a) : Prop := |
| 223 | IsOrdinaryAt q (R.abelian a).scheme x |
| 224 | |
| 225 | def ordinaryLocus (a : M.Family) : Set (R.geom a) := {x | R.IsOrdinary a x} |
| 226 | |
| 227 | omit [IsGalois ℚ E] in |
| 228 | theorem geometricFiber_smooth (a : M.Family) |
| 229 | [Smooth (M.integral a).toOver.hom] : Smooth (R.geometricFiber a).hom := |
| 230 | inferInstanceAs (Smooth (pullback.snd (M.integral a).toOver.hom R.geometricBase)) |
| 231 | |
| 232 | omit [IsGalois ℚ E] in |
| 233 | theorem geometricFiber_proper (a : M.Family) |
| 234 | [IsProper (M.integral a).toOver.hom] : IsProper (R.geometricFiber a).hom := |
| 235 | inferInstanceAs (IsProper (pullback.snd (M.integral a).toOver.hom R.geometricBase)) |
| 236 | |
| 237 | end GoodIntegralReduction |
| 238 | end RankThreePELModel |
| 239 | |
| 240 | end |
| 241 | |
| 242 | /-! Signature calculations for the actual PEL datum in CMPoints. -/ |
| 243 | |
| 244 | open scoped Classical |
| 245 | |
| 246 | variable {E : Type} [Field E] [NumberField E] [Algebra ℚ E] |
| 247 | [NumberField.IsCMField E] {s : ℕ} |
| 248 | |
| 249 | def pairedEmbedding (P : AbelianModuli.ReferenceFamily.Datum.RankThreePELDatum E s) (p : Fin s × Bool) : E →+* ℂ := |
| 250 | if p.2 then (ComplexMultiplication.EmbeddingHodgeType.CM.conjugateEmbedding (P.embeddings p.1)).toRingHom |
| 251 | else (P.embeddings p.1).toRingHom |
| 252 | |
| 253 | theorem pairedEmbedding_injective (P : AbelianModuli.ReferenceFamily.Datum.RankThreePELDatum E s) |
| 254 | (hP : P.IsAdmissible) : Function.Injective (pairedEmbedding P) := by |
| 255 | intro a b h |
| 256 | apply hP.1.1 |
| 257 | ext x |
| 258 | have hh := congrArg (fun f : E →+* ℂ => f x) h |
| 259 | cases ha : a.2 <;> cases hb : b.2 <;> |
| 260 | simpa [pairedEmbedding, ha, hb] using hh |
| 261 | |
| 262 | theorem rationalConjugation_mul_self : |
| 263 | Arithmetic.rationalConjugation E * Arithmetic.rationalConjugation E = 1 := by |
| 264 | ext x |
| 265 | exact NumberField.IsCMField.complexConj_apply_apply E x |
| 266 | |
| 267 | theorem rationalConjugation_ne_one : Arithmetic.rationalConjugation E ≠ 1 := by |
| 268 | intro h |
| 269 | apply NumberField.IsCMField.complexConj_ne_one E |
| 270 | ext x |
| 271 | exact congrArg (fun g : Gal(E/ℚ) => g x) h |
| 272 | |
| 273 | /-- Choose one element of every conjugate pair, with conjugation itself chosen. -/ |
| 274 | theorem exists_conjugate_representatives : |
| 275 | ∃ chosen : Set Gal(E/ℚ), Arithmetic.rationalConjugation E ∈ chosen ∧ |
| 276 | ∀ τ, τ ∈ chosen ↔ Arithmetic.rationalConjugation E * τ ∉ chosen := by |
| 277 | classical |
| 278 | let : Fintype Gal(E/ℚ) := Fintype.ofFinite _ |
| 279 | let e := Fintype.equivFin Gal(E/ℚ) |
| 280 | let c := Arithmetic.rationalConjugation E |
| 281 | have hcc : c * c = 1 := rationalConjugation_mul_self |
| 282 | have hne (τ : Gal(E/ℚ)) : e τ ≠ e (c * τ) := by |
| 283 | intro h |
| 284 | have hh : 1 * τ = c * τ := by simpa using e.injective h |
| 285 | exact rationalConjugation_ne_one (mul_right_cancel hh).symm |
| 286 | have hinv (τ : Gal(E/ℚ)) : c * (c * τ) = τ := by rw [← mul_assoc, hcc, one_mul] |
| 287 | by_cases hc : e c < e 1 |
| 288 | · refine ⟨{τ | e τ < e (c * τ)}, ?_, ?_⟩ |
| 289 | · change e c < e (c * c) |
| 290 | rwa [hcc] |
| 291 | · intro τ |
| 292 | change e τ < e (c * τ) ↔ ¬e (c * τ) < e (c * (c * τ)) |
| 293 | rw [hinv] |
| 294 | exact ⟨not_lt_of_gt, fun h => lt_of_le_of_ne (le_of_not_gt h) (hne τ)⟩ |
| 295 | · refine ⟨{τ | e (c * τ) < e τ}, ?_, ?_⟩ |
| 296 | · change e (c * c) < e c |
| 297 | rw [hcc] |
| 298 | exact lt_of_le_of_ne (le_of_not_gt hc) (by |
| 299 | intro h |
| 300 | exact rationalConjugation_ne_one (e.injective h).symm) |
| 301 | · intro τ |
| 302 | change e (c * τ) < e τ ↔ ¬e (c * (c * τ)) < e (c * τ) |
| 303 | rw [hinv] |
| 304 | exact ⟨not_lt_of_gt, fun h => lt_of_le_of_ne (le_of_not_gt h) (hne τ).symm⟩ |
| 305 | |
| 306 | theorem embedding_conjugation (P : AbelianModuli.ReferenceFamily.Datum.RankThreePELDatum E s) : |
| 307 | P.μ.comp (Arithmetic.rationalConjugation E).toRingHom = |
| 308 | pairedEmbedding P (P.distinguished, true) := by |
| 309 | ext x |
| 310 | exact NumberField.IsCMField.complexEmbedding_complexConj E P.μ x |
| 311 | |
| 312 | theorem lieRank_of_label (P : AbelianModuli.ReferenceFamily.Datum.RankThreePELDatum E s) |
| 313 | (hP : P.IsAdmissible) (τ : Gal(E/ℚ)) (i : Fin s) (b : Bool) |
| 314 | (hτ : P.μ.comp τ.toRingHom = pairedEmbedding P (i, b)) : |
| 315 | P.lieRank τ = if b then 3 - P.firstLieRank i else P.firstLieRank i := by |
| 316 | classical |
| 317 | have hinj := pairedEmbedding_injective P hP |
| 318 | have heq (j : Fin s) (d : Bool) : |
| 319 | P.μ.comp τ.toRingHom = pairedEmbedding P (j, d) ↔ (i, b) = (j, d) := by |
| 320 | rw [hτ] |
| 321 | exact hinj.eq_iff |
| 322 | unfold AbelianModuli.ReferenceFamily.Datum.RankThreePELDatum.lieRank |
| 323 | have hf (j : Fin s) : |
| 324 | P.μ.comp τ.toRingHom = (P.embeddings j).toRingHom ↔ (i, b) = (j, false) := |
| 325 | heq j false |
| 326 | have ht (j : Fin s) : |
| 327 | P.μ.comp τ.toRingHom = (ComplexMultiplication.EmbeddingHodgeType.CM.conjugateEmbedding (P.embeddings j)).toRingHom ↔ |
| 328 | (i, b) = (j, true) := heq j true |
| 329 | simp_rw [hf, ht] |
| 330 | cases b <;> simp |
| 331 | |
| 332 | theorem lieRank_identity (P : AbelianModuli.ReferenceFamily.Datum.RankThreePELDatum E s) (hP : P.IsAdmissible) : |
| 333 | P.lieRank 1 = 2 := by |
| 334 | have h := lieRank_of_label P hP 1 P.distinguished false (by |
| 335 | ext x |
| 336 | rfl) |
| 337 | simpa [AbelianModuli.ReferenceFamily.Datum.RankThreePELDatum.firstLieRank] using h |
| 338 | |
| 339 | theorem lieRank_conjugation (P : AbelianModuli.ReferenceFamily.Datum.RankThreePELDatum E s) (hP : P.IsAdmissible) : |
| 340 | P.lieRank (Arithmetic.rationalConjugation E) = 1 := by |
| 341 | have h := lieRank_of_label P hP (Arithmetic.rationalConjugation E) P.distinguished true |
| 342 | (embedding_conjugation P) |
| 343 | simpa [AbelianModuli.ReferenceFamily.Datum.RankThreePELDatum.firstLieRank] using h |
| 344 | |
| 345 | theorem embedding_label_exists (P : AbelianModuli.ReferenceFamily.Datum.RankThreePELDatum E s) |
| 346 | (hP : P.IsAdmissible) (τ : Gal(E/ℚ)) : |
| 347 | ∃ p : Fin s × Bool, P.μ.comp τ.toRingHom = pairedEmbedding P p := by |
| 348 | obtain ⟨p, hp⟩ := hP.1.2 ((P.embeddings P.distinguished).comp τ.toAlgHom) |
| 349 | refine ⟨p, ?_⟩ |
| 350 | ext x |
| 351 | have he := congrArg (fun f : E →ₐ[ℚ] ℂ => f x) hp |
| 352 | cases hb : p.2 <;> |
| 353 | simpa [pairedEmbedding, hb, AbelianModuli.ReferenceFamily.Datum.RankThreePELDatum.μ] using he.symm |
| 354 | |
| 355 | theorem lieRank_away_from_changing_pair (P : AbelianModuli.ReferenceFamily.Datum.RankThreePELDatum E s) |
| 356 | (hP : P.IsAdmissible) (τ : Gal(E/ℚ)) |
| 357 | (h1 : τ ≠ 1) (hc : τ ≠ Arithmetic.rationalConjugation E) : |
| 358 | P.lieRank τ = 0 ∨ P.lieRank τ = 3 := by |
| 359 | obtain ⟨⟨i, b⟩, hτ⟩ := embedding_label_exists P hP τ |
| 360 | have hi : i ≠ P.distinguished := by |
| 361 | intro hi |
| 362 | subst i |
| 363 | cases b with |
| 364 | | false => |
| 365 | apply h1 |
| 366 | ext x |
| 367 | apply P.μ.injective |
| 368 | exact congrArg (fun f : E →+* ℂ => f x) hτ |
| 369 | | true => |
| 370 | apply hc |
| 371 | ext x |
| 372 | apply P.μ.injective |
| 373 | exact congrArg (fun f : E →+* ℂ => f x) (hτ.trans (embedding_conjugation P).symm) |
| 374 | rw [lieRank_of_label P hP τ i b hτ] |
| 375 | cases b <;> cases hs : P.compactSigns i <;> |
| 376 | simp [AbelianModuli.ReferenceFamily.Datum.RankThreePELDatum.firstLieRank, hi, hs] |
| 377 | |
| 378 | end |
| 379 | |
| 380 | end OAI.AlgebraicGeometry.PELModuli.CMPoints.Models |