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.AbelianModuli.HilbertConstruction.Picard.BaseChange |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Homogeneous.Picard |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Level.BaseChange |
| 4 | |
| 5 | /-! # Translation Base Change -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Translation and its compatibility with the fiber-product comparison. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.CategoryTheory.Limits |
| 14 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 15 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 16 | |
| 17 | universe u |
| 18 | |
| 19 | variable {g : ℕ} {S S' : Scheme.{u}} |
| 20 | |
| 21 | /-- The total-family comparison is an isomorphism over the original base. -/ |
| 22 | def TranslationBaseChange.familyBaseChangeOverIso (X : Over S) (f : S' ⟶ S) (T : Over S') : |
| 23 | (Over.map f).obj (T ⊗ (Over.pullback f).obj X) ≅ (Over.map f).obj T ⊗ X := |
| 24 | Over.isoMk (Picard.BaseChange.familyBaseChangeIso X f T) (by |
| 25 | change (Picard.BaseChange.familyBaseChangeIso X f T).hom ≫ |
| 26 | (pullback.fst (T.hom ≫ f) X.hom ≫ (T.hom ≫ f)) = |
| 27 | (pullback.fst T.hom (pullback.snd X.hom f) ≫ T.hom) ≫ f |
| 28 | rw [Picard.BaseChange.familyBaseChangeIso_hom_fst_assoc, Category.assoc]) |
| 29 | |
| 30 | @[reassoc (attr := simp)] |
| 31 | theorem TranslationBaseChange.familyBaseChangeOverIso_hom_fst (X : Over S) (f : S' ⟶ S) (T : Over S') : |
| 32 | (TranslationBaseChange.familyBaseChangeOverIso X f T).hom ≫ fst ((Over.map f).obj T) X = |
| 33 | (Over.map f).map (fst T ((Over.pullback f).obj X)) := by |
| 34 | apply Over.OverMorphism.ext |
| 35 | exact Picard.BaseChange.familyBaseChangeIso_hom_fst X f T |
| 36 | |
| 37 | /-- The total-family comparison with the bundled abelian pullback as source. -/ |
| 38 | def Abelian.Schemes.AbelianScheme.baseChangeFamilyIso (A : Abelian.Schemes.AbelianScheme g S) (f : S' ⟶ S) (T : Over S') : |
| 39 | (Over.map f).obj (T ⊗ (A.pullback f).scheme) ≅ (Over.map f).obj T ⊗ A.scheme := |
| 40 | TranslationBaseChange.familyBaseChangeOverIso A.scheme f T |
| 41 | |
| 42 | @[reassoc (attr := simp)] |
| 43 | theorem Abelian.Schemes.AbelianScheme.baseChangeFamilyIso_hom_fst (A : Abelian.Schemes.AbelianScheme g S) (f : S' ⟶ S) (T : Over S') : |
| 44 | (A.baseChangeFamilyIso f T).hom ≫ fst ((Over.map f).obj T) A.scheme = |
| 45 | (Over.map f).map (fst T (A.pullback f).scheme) := |
| 46 | TranslationBaseChange.familyBaseChangeOverIso_hom_fst A.scheme f T |
| 47 | |
| 48 | /-- Translating successively is translation by the product of the two points. -/ |
| 49 | theorem Abelian.Schemes.AbelianScheme.translation_comp (A : Abelian.Schemes.AbelianScheme g S) {T : Over S} |
| 50 | (a b : T ⟶ A.scheme) : A.translation a ≫ A.translation b = A.translation (a * b) := by |
| 51 | apply CartesianMonoidalCategory.hom_ext |
| 52 | · simp |
| 53 | · simp only [Category.assoc, Abelian.Schemes.AbelianScheme.translation_snd, MonObj.comp_mul] |
| 54 | rw [← Category.assoc, Abelian.Schemes.AbelianScheme.translation_fst] |
| 55 | simp only [mul_left_comm, mul_assoc] |
| 56 | |
| 57 | /-- Every translation is an isomorphism, with inverse given by the inverse point. -/ |
| 58 | def Abelian.Schemes.AbelianScheme.translationIso (A : Abelian.Schemes.AbelianScheme g S) {T : Over S} (a : T ⟶ A.scheme) : |
| 59 | T ⊗ A.scheme ≅ T ⊗ A.scheme where |
| 60 | hom := A.translation a |
| 61 | inv := A.translation a⁻¹ |
| 62 | hom_inv_id := by rw [Abelian.Schemes.AbelianScheme.translation_comp, mul_inv_cancel, Abelian.Schemes.AbelianScheme.translation_one] |
| 63 | inv_hom_id := by rw [Abelian.Schemes.AbelianScheme.translation_comp, inv_mul_cancel, Abelian.Schemes.AbelianScheme.translation_one] |
| 64 | |
| 65 | /-- Naturality of the base-change point equivalence in a test-scheme map. -/ |
| 66 | theorem Abelian.Schemes.AbelianScheme.baseChangePointsEquiv_precomp (A : Abelian.Schemes.AbelianScheme g S) (f : S' ⟶ S) |
| 67 | {T U : Over S'} (a : T ⟶ U) (x : (A.pullback f).Points U) : |
| 68 | A.baseChangePointsEquiv f T (a ≫ x) = |
| 69 | (Over.map f).map a ≫ A.baseChangePointsEquiv f U x := by |
| 70 | apply Over.OverMorphism.ext |
| 71 | exact Category.assoc _ _ _ |
| 72 | |
| 73 | @[reassoc (attr := simp)] |
| 74 | theorem Abelian.Schemes.AbelianScheme.baseChangeFamilyIso_hom_snd (A : Abelian.Schemes.AbelianScheme g S) (f : S' ⟶ S) |
| 75 | (T : Over S') : |
| 76 | (A.baseChangeFamilyIso f T).hom ≫ snd ((Over.map f).obj T) A.scheme = |
| 77 | A.baseChangePointsEquiv f (T ⊗ (A.pullback f).scheme) (snd T (A.pullback f).scheme) := by |
| 78 | apply Over.OverMorphism.ext |
| 79 | exact Picard.BaseChange.familyBaseChangeIso_hom_snd A.scheme f T |
| 80 | |
| 81 | /-- The fiber-product comparison intertwines translation before and after |
| 82 | changing the base. -/ |
| 83 | theorem Abelian.Schemes.AbelianScheme.translation_baseChange (A : Abelian.Schemes.AbelianScheme g S) (f : S' ⟶ S) (T : Over S') |
| 84 | (a : T ⟶ (A.pullback f).scheme) : |
| 85 | (Over.map f).map ((A.pullback f).translation a) ≫ |
| 86 | (A.baseChangeFamilyIso f T).hom = |
| 87 | (A.baseChangeFamilyIso f T).hom ≫ |
| 88 | A.translation (A.baseChangePointsEquiv f T a) := by |
| 89 | apply CartesianMonoidalCategory.hom_ext |
| 90 | · simp only [Category.assoc, Abelian.Schemes.AbelianScheme.baseChangeFamilyIso_hom_fst, Abelian.Schemes.AbelianScheme.translation_fst, |
| 91 | ← Functor.map_comp] |
| 92 | · calc |
| 93 | _ = A.baseChangePointsEquiv f (T ⊗ (A.pullback f).scheme) |
| 94 | ((A.pullback f).translation a ≫ snd T (A.pullback f).scheme) := by |
| 95 | rw [Category.assoc, Abelian.Schemes.AbelianScheme.baseChangeFamilyIso_hom_snd, |
| 96 | ← Abelian.Schemes.AbelianScheme.baseChangePointsEquiv_precomp] |
| 97 | _ = A.baseChangePointsEquiv f (T ⊗ (A.pullback f).scheme) |
| 98 | ((fst T (A.pullback f).scheme ≫ a) * snd T (A.pullback f).scheme) := by |
| 99 | rw [Abelian.Schemes.AbelianScheme.translation_snd] |
| 100 | _ = A.baseChangePointsEquiv f (T ⊗ (A.pullback f).scheme) |
| 101 | (fst T (A.pullback f).scheme ≫ a) * |
| 102 | A.baseChangePointsEquiv f (T ⊗ (A.pullback f).scheme) |
| 103 | (snd T (A.pullback f).scheme) := |
| 104 | (A.baseChangePointsMulEquiv f _).map_mul _ _ |
| 105 | _ = _ := by |
| 106 | rw [Abelian.Schemes.AbelianScheme.baseChangePointsEquiv_precomp] |
| 107 | simp only [Category.assoc, Abelian.Schemes.AbelianScheme.translation_snd, MonObj.comp_mul, |
| 108 | Abelian.Schemes.AbelianScheme.baseChangeFamilyIso_hom_fst_assoc, Abelian.Schemes.AbelianScheme.baseChangeFamilyIso_hom_snd] |
| 109 | |
| 110 | /-- The same compatibility on underlying total schemes. -/ |
| 111 | theorem Abelian.Schemes.AbelianScheme.translation_baseChange_left (A : Abelian.Schemes.AbelianScheme g S) (f : S' ⟶ S) (T : Over S') |
| 112 | (a : T ⟶ (A.pullback f).scheme) : |
| 113 | ((A.pullback f).translation a).left ≫ (Picard.BaseChange.familyBaseChangeIso A.scheme f T).hom = |
| 114 | (Picard.BaseChange.familyBaseChangeIso A.scheme f T).hom ≫ |
| 115 | (A.translation (A.baseChangePointsEquiv f T a)).left := |
| 116 | congrArg (fun h => h.left) (A.translation_baseChange f T a) |
| 117 | |
| 118 | end |
| 119 | |
| 120 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |