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.ReferenceFamily.Polarized.TotalMaps |
| 2 | |
| 3 | /-! # Total Group Maps -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Dual.TotalGroupMaps |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | section |
| 10 | |
| 11 | /-! Actual total-space maps on the dual family induced by polarized |
| 12 | comparisons. Identity and composition use the original full polarized |
| 13 | comparisons, so no marking or polarization on the dual is assumed. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 16 | |
| 17 | variable {S T U : Scheme.{0}} {g N : ℕ} {δ : Fin g → ℕ} |
| 18 | (A : HilbertConstruction.PolarizationData.PolarizedAbelianWithFullLevel g δ N S) |
| 19 | (B : HilbertConstruction.PolarizationData.PolarizedAbelianWithFullLevel g δ N T) |
| 20 | (f : T ⟶ S) (e : HilbertConstruction.Moduli.Isomorphisms.LevelPreservingIso B (A.pullback f)) |
| 21 | |
| 22 | def dualTotalMap : B.dual.abelian.scheme.left ⟶ A.dual.abelian.scheme.left := |
| 23 | e.dual.hom.left ≫ pullback.fst A.dual.abelian.scheme.hom f |
| 24 | |
| 25 | theorem dualTotalMap_base : |
| 26 | dualTotalMap A B f e ≫ A.dual.abelian.scheme.hom = B.dual.abelian.scheme.hom ≫ f := by |
| 27 | change (e.dual.hom.left ≫ pullback.fst A.dual.abelian.scheme.hom f) ≫ A.dual.abelian.scheme.hom = _ |
| 28 | exact (Category.assoc e.dual.hom.left (pullback.fst A.dual.abelian.scheme.hom f) |
| 29 | A.dual.abelian.scheme.hom).trans |
| 30 | ((congrArg (fun q => e.dual.hom.left ≫ q) (pullback.condition (f := A.dual.abelian.scheme.hom) |
| 31 | (g := f))).trans |
| 32 | ((Category.assoc e.dual.hom.left (pullback.snd A.dual.abelian.scheme.hom f) f).symm.trans |
| 33 | (congrArg (fun q => q ≫ f) e.dual.hom.w))) |
| 34 | |
| 35 | theorem dualTotalMap_isPullback : |
| 36 | IsPullback (dualTotalMap A B f e) B.dual.abelian.scheme.hom A.dual.abelian.scheme.hom f := |
| 37 | IsPullback.of_iso_pullback ⟨dualTotalMap_base A B f e⟩ |
| 38 | ((Over.forget T).mapIso e.dual) rfl e.dual.hom.w |
| 39 | |
| 40 | theorem dualTotalMap_id : |
| 41 | dualTotalMap A A (𝟙 S) (HilbertConstruction.Moduli.Isomorphisms.LevelPreservingIso.pullbackId A).symm = |
| 42 | 𝟙 A.dual.abelian.scheme.left := by |
| 43 | change A.dual.abelian.pullbackIdIso.inv.left ≫ pullback.fst A.dual.abelian.scheme.hom (𝟙 S) = _ |
| 44 | rw [← A.dual.abelian.pullbackIdIso_hom_left] |
| 45 | exact ((Over.forget S).mapIso A.dual.abelian.pullbackIdIso).inv_hom_id |
| 46 | |
| 47 | theorem dualTotalMap_eq_of_base_eq {f' : T ⟶ S} (h : f = f') |
| 48 | (d : HilbertConstruction.Moduli.Isomorphisms.LevelPreservingIso B (A.pullback f')) |
| 49 | [Subsingleton (HilbertConstruction.Moduli.Isomorphisms.LevelPreservingIso B (A.pullback f))] : |
| 50 | dualTotalMap A B f e = dualTotalMap A B f' d := by |
| 51 | cases h |
| 52 | exact congrArg (dualTotalMap A B f) (Subsingleton.elim e d) |
| 53 | |
| 54 | theorem dualTotalMap_comp |
| 55 | (C : HilbertConstruction.PolarizationData.PolarizedAbelianWithFullLevel g δ N U) |
| 56 | (h : U ⟶ T) (d : HilbertConstruction.Moduli.Isomorphisms.LevelPreservingIso C (B.pullback h)) : |
| 57 | dualTotalMap A C (h ≫ f) |
| 58 | (d.trans ((e.pullback h).trans (HilbertConstruction.Moduli.Isomorphisms.LevelPreservingIso.pullbackComp A f h))) = |
| 59 | dualTotalMap B C h d ≫ dualTotalMap A B f e := by |
| 60 | change (d.dual.hom.left ≫ ((Over.pullback h).map e.dual.hom).left ≫ |
| 61 | (A.dual.abelian.pullbackCompIso f h).inv.left) ≫ pullback.fst A.dual.abelian.scheme.hom (h ≫ f) = |
| 62 | (d.dual.hom.left ≫ pullback.fst B.dual.abelian.scheme.hom h) ≫ |
| 63 | (e.dual.hom.left ≫ pullback.fst A.dual.abelian.scheme.hom f) |
| 64 | exact Polarized.TotalMaps.totalMap_comparison_composition d.dual.hom.left |
| 65 | ((Over.pullback h).map e.dual.hom).left (A.dual.abelian.pullbackCompIso f h).inv.left |
| 66 | (pullback.fst A.dual.abelian.scheme.hom (h ≫ f)) |
| 67 | (pullback.fst (A.dual.abelian.pullback f).scheme.hom h) (pullback.fst A.dual.abelian.scheme.hom f) |
| 68 | (pullback.fst B.dual.abelian.scheme.hom h) e.dual.hom.left |
| 69 | (A.dual.abelian.pullbackCompIso_inv_left_fst f h) (HilbertConstruction.Pullback.Comparisons.overPullback_map_left_fst e.dual.hom h) |
| 70 | |
| 71 | end |
| 72 | |
| 73 | /-! The dual parts of polarized comparisons preserve the actual |
| 74 | identity, inverse, and multiplication maps on total spaces. -/ |
| 75 | |
| 76 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 77 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 78 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 79 | |
| 80 | variable {S T : Scheme.{0}} {g N : ℕ} {δ : Fin g → ℕ} |
| 81 | (A : HilbertConstruction.PolarizationData.PolarizedAbelianWithFullLevel g δ N S) |
| 82 | (B : HilbertConstruction.PolarizationData.PolarizedAbelianWithFullLevel g δ N T) |
| 83 | (f : T ⟶ S) (e : HilbertConstruction.Moduli.Isomorphisms.LevelPreservingIso B (A.pullback f)) |
| 84 | |
| 85 | def dualTotalPoints (V : Over T) : |
| 86 | (V ⟶ B.dual.abelian.scheme) →* ((Over.map f).obj V ⟶ A.dual.abelian.scheme) := |
| 87 | (A.dual.abelian.baseChangePointsMulEquiv f V).toMonoidHom.comp |
| 88 | (IsMonHom.monoidHom e.dual.hom V) |
| 89 | |
| 90 | theorem dualTotalPoints_left (V : Over T) (x : V ⟶ B.dual.abelian.scheme) : |
| 91 | (dualTotalPoints A B f e V x).left = x.left ≫ dualTotalMap A B f e := |
| 92 | Category.assoc x.left e.dual.hom.left (pullback.fst A.dual.abelian.scheme.hom f) |
| 93 | |
| 94 | theorem dualTotalMap_zero : |
| 95 | η[B.dual.abelian.scheme].left ≫ dualTotalMap A B f e = f ≫ η[A.dual.abelian.scheme].left := by |
| 96 | have h := congrArg Over.Hom.left (map_one (dualTotalPoints A B f e (𝟙_ (Over T)))) |
| 97 | rw [dualTotalPoints_left] at h |
| 98 | simp only [Hom.one_def, Over.comp_left, Over.toUnit_left] at h |
| 99 | change ((𝟙 T ≫ η[B.dual.abelian.scheme].left) ≫ dualTotalMap A B f e) = |
| 100 | (𝟙 T ≫ f) ≫ η[A.dual.abelian.scheme].left at h |
| 101 | simpa only [Category.id_comp] using h |
| 102 | |
| 103 | theorem dualTotalMap_inv : |
| 104 | (GrpObj.inv : B.dual.abelian.scheme ⟶ B.dual.abelian.scheme).left ≫ dualTotalMap A B f e = |
| 105 | dualTotalMap A B f e ≫ (GrpObj.inv : A.dual.abelian.scheme ⟶ A.dual.abelian.scheme).left := by |
| 106 | have h := congrArg Over.Hom.left |
| 107 | (map_inv (dualTotalPoints A B f e B.dual.abelian.scheme) (𝟙 B.dual.abelian.scheme)) |
| 108 | rw [dualTotalPoints_left] at h |
| 109 | simpa only [Hom.inv_def, Over.comp_left, Over.id_left, Category.id_comp, |
| 110 | dualTotalPoints_left] using h |
| 111 | |
| 112 | def dualTotalPairMap : (B.dual.abelian.scheme ⊗ B.dual.abelian.scheme).left ⟶ |
| 113 | (A.dual.abelian.scheme ⊗ A.dual.abelian.scheme).left := |
| 114 | (lift (dualTotalPoints A B f e _ (fst B.dual.abelian.scheme B.dual.abelian.scheme)) |
| 115 | (dualTotalPoints A B f e _ (snd B.dual.abelian.scheme B.dual.abelian.scheme))).left |
| 116 | |
| 117 | theorem dualTotalMap_mul : |
| 118 | μ[B.dual.abelian.scheme].left ≫ dualTotalMap A B f e = |
| 119 | dualTotalPairMap A B f e ≫ μ[A.dual.abelian.scheme].left := by |
| 120 | have h := congrArg Over.Hom.left (map_mul (dualTotalPoints A B f e _) |
| 121 | (fst B.dual.abelian.scheme B.dual.abelian.scheme) (snd B.dual.abelian.scheme B.dual.abelian.scheme)) |
| 122 | rw [dualTotalPoints_left] at h |
| 123 | simp only [Hom.mul_def, lift_fst_snd, Category.id_comp, Over.comp_left] at h |
| 124 | exact h |
| 125 | |
| 126 | theorem dualTotalPairMap_fst : |
| 127 | dualTotalPairMap A B f e ≫ (fst A.dual.abelian.scheme A.dual.abelian.scheme).left = |
| 128 | (fst B.dual.abelian.scheme B.dual.abelian.scheme).left ≫ dualTotalMap A B f e := by |
| 129 | exact (congrArg Over.Hom.left (lift_fst _ _)).trans (dualTotalPoints_left A B f e _ _) |
| 130 | |
| 131 | theorem dualTotalPairMap_snd : |
| 132 | dualTotalPairMap A B f e ≫ (snd A.dual.abelian.scheme A.dual.abelian.scheme).left = |
| 133 | (snd B.dual.abelian.scheme B.dual.abelian.scheme).left ≫ dualTotalMap A B f e := by |
| 134 | exact (congrArg Over.Hom.left (lift_snd _ _)).trans (dualTotalPoints_left A B f e _ _) |
| 135 | |
| 136 | end |
| 137 | |
| 138 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Dual.TotalGroupMaps |