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.Models |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.LieBaseChange |
| 3 | |
| 4 | /-! # Reduction Lie -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.PELModuli.CMPoints |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The prescribed Lie ranks on the actual geometric reduction. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 13 | |
| 14 | variable {E K : Type} [Field E] [NumberField E] [Algebra ℚ E] |
| 15 | [NumberField.IsCMField E] [Field K] [NumberField K] |
| 16 | {M : Models.RankThreePELModel E K} {q : ℕ} [Fact q.Prime] |
| 17 | {j : M.QadicChoice q} (R : M.GoodIntegralReduction q j) |
| 18 | |
| 19 | theorem Models.RankThreePELModel.GoodIntegralReduction.geometricBase_factors : |
| 20 | R.geometricBase = |
| 21 | Spec.map (CommRingCat.ofHom (algebraMap (ZMod q) (AlgebraicClosure (ZMod q)))) ≫ |
| 22 | R.specialBase := by |
| 23 | dsimp only [Models.RankThreePELModel.GoodIntegralReduction.geometricBase, Models.RankThreePELModel.GoodIntegralReduction.specialBase] |
| 24 | rw [← Spec.map_comp] |
| 25 | rfl |
| 26 | |
| 27 | theorem Models.RankThreePELModel.GoodIntegralReduction.fiberScalar_spec (a : M.Family) (x : R.geom a) : |
| 28 | Spec.map (CommRingCat.ofHom (R.fiberScalar a x)) = |
| 29 | R.fiberMap a x ≫ (R.geometricFiber a).hom ≫ |
| 30 | Spec.map (CommRingCat.ofHom (algebraMap (ZMod q) (AlgebraicClosure (ZMod q)))) := |
| 31 | Spec.map_preimage _ |
| 32 | |
| 33 | theorem Models.RankThreePELModel.GoodIntegralReduction.fiberMap_arithmetic_square (a : M.Family) (x : R.geom a) : |
| 34 | (R.fiberMap a x ≫ R.projection a) ≫ (M.integral a).toOver.hom = |
| 35 | Spec.map (CommRingCat.ofHom ((R.fiberScalar a x).comp R.residue)) := by |
| 36 | have hp : R.projection a ≫ (M.integral a).toOver.hom = |
| 37 | (R.geometricFiber a).hom ≫ R.geometricBase := pullback.condition |
| 38 | calc |
| 39 | (R.fiberMap a x ≫ R.projection a) ≫ (M.integral a).toOver.hom = |
| 40 | R.fiberMap a x ≫ (R.geometricFiber a).hom ≫ R.geometricBase := by |
| 41 | rw [Category.assoc, hp] |
| 42 | _ = (R.fiberMap a x ≫ (R.geometricFiber a).hom ≫ |
| 43 | Spec.map (CommRingCat.ofHom (algebraMap (ZMod q) (AlgebraicClosure (ZMod q))))) ≫ |
| 44 | R.specialBase := by rw [R.geometricBase_factors]; simp only [Category.assoc] |
| 45 | _ = Spec.map (CommRingCat.ofHom (R.fiberScalar a x)) ≫ R.specialBase := by |
| 46 | rw [R.fiberScalar_spec] |
| 47 | _ = Spec.map (CommRingCat.ofHom ((R.fiberScalar a x).comp R.residue)) := by |
| 48 | dsimp only [Models.RankThreePELModel.GoodIntegralReduction.specialBase] |
| 49 | rw [← Spec.map_comp] |
| 50 | rfl |
| 51 | |
| 52 | theorem Models.RankThreePELModel.GoodIntegralReduction.lieCharacter_from_arithmetic (a : M.Family) (x : R.geom a) (τ : Gal(E/ℚ)) : |
| 53 | R.lieCharacter a x τ = |
| 54 | ((R.fiberScalar a x).comp R.residue).comp |
| 55 | ((M.arithmetic.integralEmbedding M.iota).comp |
| 56 | (NumberField.RingOfIntegers.mapRingHom τ.toRingHom)) := by |
| 57 | ext z |
| 58 | have h := congrArg (fun f : NumberField.RingOfIntegers M.arithmetic.extension.carrier →+* |
| 59 | ZMod q => f (NumberField.RingOfIntegers.mapRingHom |
| 60 | (M.extendedEmbedding.comp τ.toRingHom) z)) R.residue_compatibility |
| 61 | apply congrArg (R.fiberScalar a x) |
| 62 | change j.residue (NumberField.RingOfIntegers.mapRingHom |
| 63 | (M.extendedEmbedding.comp τ.toRingHom) z) = _ |
| 64 | rw [← h] |
| 65 | rfl |
| 66 | |
| 67 | /-- The geometric rank assertion follows from the integral PEL object's |
| 68 | Lie condition and the canonical comparison of iterated pullbacks. -/ |
| 69 | theorem Models.RankThreePELModel.GoodIntegralReduction.hasLieRank_prescribed (a : M.Family) (x : R.geom a) (τ : Gal(E/ℚ)) : |
| 70 | R.HasLieRank a x τ ((M.datum a).lieRank τ) := by |
| 71 | let U := (M.integral a).universal |
| 72 | have h := U.lieRanks (R.fiberField a x) |
| 73 | ((R.fiberScalar a x).comp R.residue) (R.fiberMap a x ≫ R.projection a) |
| 74 | (R.fiberMap_arithmetic_square a x) τ |
| 75 | have hh := AbelianModuli.ReferenceFamily.LieBaseChange.hasLieRank_pullbackComp U.data.polarized.abelian U.data.action |
| 76 | (R.projection a) (R.fiberMap a x) _ _ h |
| 77 | change AbelianModuli.ReferenceFamily.LieRanks.HasLieRank (R.fiberAbelian a x) (R.fiberAction a x) |
| 78 | (R.lieCharacter a x τ) ((M.datum a).lieRank τ) |
| 79 | rw [R.lieCharacter_from_arithmetic] |
| 80 | exact hh |
| 81 | |
| 82 | theorem Models.RankThreePELModel.GoodIntegralReduction.active_lieRank_one (hM : M.HasPrescribedBallPeriods) |
| 83 | (a : M.Family) (x : R.geom a) : R.HasLieRank a x (Arithmetic.rationalConjugation E) 1 := by |
| 84 | have h := R.hasLieRank_prescribed a x (Arithmetic.rationalConjugation E) |
| 85 | rw [Models.lieRank_conjugation (M.datum a) (hM.2.2 a).1] at h |
| 86 | exact h |
| 87 | |
| 88 | theorem Models.RankThreePELModel.GoodIntegralReduction.compact_lieRank_zero_or_three (hM : M.HasPrescribedBallPeriods) |
| 89 | (a : M.Family) (x : R.geom a) (τ : Gal(E/ℚ)) |
| 90 | (h1 : τ ≠ 1) (hc : τ ≠ Arithmetic.rationalConjugation E) : |
| 91 | R.HasLieRank a x τ 0 ∨ R.HasLieRank a x τ 3 := by |
| 92 | have h := R.hasLieRank_prescribed a x τ |
| 93 | rcases Models.lieRank_away_from_changing_pair (M.datum a) (hM.2.2 a).1 τ h1 hc with hr | hr |
| 94 | · rw [hr] at h |
| 95 | exact Or.inl h |
| 96 | · rw [hr] at h |
| 97 | exact Or.inr h |
| 98 | |
| 99 | /-- The complete Lie-rank clause, including a single choice of representatives |
| 100 | for every family and every geometric point. -/ |
| 101 | theorem Models.RankThreePELModel.GoodIntegralReduction.exists_representatives_with_lieRanks (hM : M.HasPrescribedBallPeriods) : |
| 102 | ∃ chosen : Set Gal(E/ℚ), Arithmetic.rationalConjugation E ∈ chosen ∧ |
| 103 | (∀ τ, τ ∈ chosen ↔ Arithmetic.rationalConjugation E * τ ∉ chosen) ∧ |
| 104 | ∀ (a : M.Family) (x : R.geom a), |
| 105 | R.HasLieRank a x (Arithmetic.rationalConjugation E) 1 ∧ |
| 106 | ∀ τ ∈ chosen, τ ≠ Arithmetic.rationalConjugation E → |
| 107 | R.HasLieRank a x τ 0 ∨ R.HasLieRank a x τ 3 := by |
| 108 | obtain ⟨chosen, hc, hp⟩ := Models.exists_conjugate_representatives (E := E) |
| 109 | refine ⟨chosen, hc, hp, fun a x => ⟨R.active_lieRank_one hM a x, ?_⟩⟩ |
| 110 | intro τ hτ hτc |
| 111 | apply R.compact_lieRank_zero_or_three hM a x τ _ hτc |
| 112 | intro h1 |
| 113 | subst τ |
| 114 | exact (hp 1).mp hτ (by simpa only [mul_one] using hc) |
| 115 | |
| 116 | end |
| 117 | |
| 118 | end OAI.AlgebraicGeometry.PELModuli.CMPoints |