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.Dual.Data |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Homogeneous.BaseChange |
| 3 | |
| 4 | /-! # Base Change -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Dual |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The dual abelian scheme represents the homogeneous Picard sheaf after base change. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 14 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | variable {g : ℕ} {S S' : Scheme.{u}} {A : Abelian.Schemes.AbelianScheme g S} |
| 19 | |
| 20 | /-- Restriction of the represented presheaf is represented by the base change. -/ |
| 21 | def Data.DualAbelianData.restrictedRepresentable (D : Data.DualAbelianData A) (f : S' ⟶ S) : |
| 22 | ((Over.map f).op ⋙ A.homogeneousPicardSheaf.obj).RepresentableBy |
| 23 | (D.abelian.pullback f).scheme where |
| 24 | homEquiv {T} := (D.abelian.baseChangePointsEquiv f T).trans |
| 25 | D.representable.homEquiv |
| 26 | homEquiv_comp {T U} h a := by |
| 27 | exact (congrArg D.representable.homEquiv |
| 28 | (D.abelian.baseChangePointsEquiv_precomp f h a)).trans |
| 29 | (D.representable.homEquiv_comp ((Over.map f).map h) |
| 30 | (D.abelian.baseChangePointsEquiv f U a)) |
| 31 | |
| 32 | /-- The base change of the dual represents the homogeneous Picard sheaf |
| 33 | of the base-changed abelian scheme. -/ |
| 34 | def Data.DualAbelianData.pullbackRepresentable (D : Data.DualAbelianData A) (f : S' ⟶ S) : |
| 35 | (A.pullback f).homogeneousPicardSheaf.obj.RepresentableBy (D.abelian.pullback f).scheme := |
| 36 | (D.restrictedRepresentable f).ofIso |
| 37 | (((sheafToPresheaf (Scheme.fppfTopology.over S') (Type (u + 1))).mapIso |
| 38 | (A.homogeneousPicardSheafBaseChangeIso f)).symm) |
| 39 | |
| 40 | /-- The representing equivalence after base change preserves the origin. -/ |
| 41 | theorem Data.DualAbelianData.pullbackRepresentable_origin (D : Data.DualAbelianData A) (f : S' ⟶ S) (T : Over S') : |
| 42 | (D.pullbackRepresentable f).homEquiv (1 : T ⟶ (D.abelian.pullback f).scheme) = |
| 43 | (A.pullback f).trivialHomogeneousPicardClass T := by |
| 44 | apply (A.homogeneousPicardBaseChangeEquiv f T).injective |
| 45 | change A.homogeneousPicardBaseChangeEquiv f T |
| 46 | ((A.homogeneousPicardBaseChangeEquiv f T).symm |
| 47 | (D.representable.homEquiv (D.abelian.baseChangePointsEquiv f T 1))) = _ |
| 48 | rw [Equiv.apply_symm_apply, A.trivialHomogeneousPicardClass_baseChange] |
| 49 | exact (congrArg D.representable.homEquiv |
| 50 | (D.abelian.baseChangePointsMulEquiv f T).map_one).trans |
| 51 | (D.origin ((Over.map f).obj T)) |
| 52 | |
| 53 | /-- The projection from a base change, viewed over the original base. -/ |
| 54 | def Data.DualAbelianData.baseChangeProjection (B : Abelian.Schemes.AbelianScheme g S) (f : S' ⟶ S) : |
| 55 | (Over.map f).obj (B.pullback f).scheme ⟶ B.scheme := |
| 56 | B.baseChangePointsEquiv f (B.pullback f).scheme (𝟙 _) |
| 57 | |
| 58 | /-- The map from the product of the two changed abelian schemes to the old product. -/ |
| 59 | def Data.DualAbelianData.poincarePullbackOverMap (D : Data.DualAbelianData A) (f : S' ⟶ S) : |
| 60 | (Over.map f).obj ((D.abelian.pullback f).scheme ⊗ (A.pullback f).scheme) ⟶ |
| 61 | D.abelian.scheme ⊗ A.scheme := |
| 62 | (A.baseChangeFamilyIso f (D.abelian.pullback f).scheme).hom ≫ |
| 63 | (Data.DualAbelianData.baseChangeProjection D.abelian f ▷ A.scheme) |
| 64 | |
| 65 | @[reassoc (attr := simp)] |
| 66 | theorem Data.DualAbelianData.poincarePullbackOverMap_fst (D : Data.DualAbelianData A) (f : S' ⟶ S) : |
| 67 | D.poincarePullbackOverMap f ≫ fst D.abelian.scheme A.scheme = |
| 68 | (Over.map f).map (fst (D.abelian.pullback f).scheme (A.pullback f).scheme) ≫ |
| 69 | Data.DualAbelianData.baseChangeProjection D.abelian f := by |
| 70 | rw [Data.DualAbelianData.poincarePullbackOverMap, Category.assoc, whiskerRight_fst, |
| 71 | A.baseChangeFamilyIso_hom_fst_assoc] |
| 72 | |
| 73 | @[reassoc (attr := simp)] |
| 74 | theorem Data.DualAbelianData.poincarePullbackOverMap_snd (D : Data.DualAbelianData A) (f : S' ⟶ S) : |
| 75 | D.poincarePullbackOverMap f ≫ snd D.abelian.scheme A.scheme = |
| 76 | A.baseChangePointsEquiv f ((D.abelian.pullback f).scheme ⊗ (A.pullback f).scheme) |
| 77 | (snd (D.abelian.pullback f).scheme (A.pullback f).scheme) := by |
| 78 | rw [Data.DualAbelianData.poincarePullbackOverMap, Category.assoc, whiskerRight_snd, |
| 79 | A.baseChangeFamilyIso_hom_snd] |
| 80 | |
| 81 | @[simp] |
| 82 | theorem Data.DualAbelianData.baseChangeProjection_comp (B : Abelian.Schemes.AbelianScheme g S) (f : S' ⟶ S) |
| 83 | {T : Over S'} (a : T ⟶ (B.pullback f).scheme) : |
| 84 | (Over.map f).map a ≫ Data.DualAbelianData.baseChangeProjection B f = B.baseChangePointsEquiv f T a := |
| 85 | (B.baseChangePointsEquiv_precomp f a (𝟙 _)).symm.trans |
| 86 | (congrArg (B.baseChangePointsEquiv f T) (Category.comp_id a)) |
| 87 | |
| 88 | @[simp] |
| 89 | theorem Data.DualAbelianData.baseChangePointsEquiv_one (B : Abelian.Schemes.AbelianScheme g S) (f : S' ⟶ S) (T : Over S') : |
| 90 | B.baseChangePointsEquiv f T 1 = 1 := |
| 91 | (B.baseChangePointsMulEquiv f T).map_one |
| 92 | |
| 93 | /-- The Poincare product map respects the zero section in the abelian factor. -/ |
| 94 | theorem Data.DualAbelianData.poincarePullbackOverMap_abelianZero (D : Data.DualAbelianData A) (f : S' ⟶ S) : |
| 95 | (Over.map f).map |
| 96 | (lift (𝟙 (D.abelian.pullback f).scheme) |
| 97 | (1 : (D.abelian.pullback f).scheme ⟶ (A.pullback f).scheme)) ≫ |
| 98 | D.poincarePullbackOverMap f = |
| 99 | Data.DualAbelianData.baseChangeProjection D.abelian f ≫ |
| 100 | lift (𝟙 D.abelian.scheme) (1 : D.abelian.scheme ⟶ A.scheme) := by |
| 101 | apply CartesianMonoidalCategory.hom_ext |
| 102 | · simp [Category.assoc, ← Abelian.Schemes.AbelianScheme.baseChangePointsEquiv_precomp, Data.DualAbelianData.baseChangeProjection] |
| 103 | · simp [Category.assoc, ← Abelian.Schemes.AbelianScheme.baseChangePointsEquiv_precomp] |
| 104 | |
| 105 | /-- The Poincare product map respects the zero section in the dual factor. -/ |
| 106 | theorem Data.DualAbelianData.poincarePullbackOverMap_dualZero (D : Data.DualAbelianData A) (f : S' ⟶ S) : |
| 107 | (Over.map f).map |
| 108 | (lift (1 : (A.pullback f).scheme ⟶ (D.abelian.pullback f).scheme) |
| 109 | (𝟙 (A.pullback f).scheme)) ≫ D.poincarePullbackOverMap f = |
| 110 | Data.DualAbelianData.baseChangeProjection A f ≫ |
| 111 | lift (1 : A.scheme ⟶ D.abelian.scheme) (𝟙 A.scheme) := by |
| 112 | apply CartesianMonoidalCategory.hom_ext |
| 113 | · simp [Category.assoc, ← Abelian.Schemes.AbelianScheme.baseChangePointsEquiv_precomp] |
| 114 | · simp [Category.assoc, ← Abelian.Schemes.AbelianScheme.baseChangePointsEquiv_precomp, Data.DualAbelianData.baseChangeProjection] |
| 115 | |
| 116 | /-- The actual Poincare line bundle after change of base. -/ |
| 117 | def Data.DualAbelianData.poincarePullback (D : Data.DualAbelianData A) (f : S' ⟶ S) : |
| 118 | Line.Bundles.LineBundle ((D.abelian.pullback f).scheme ⊗ (A.pullback f).scheme).left := |
| 119 | Line.Bundles.LineBundle.pullback (D.poincarePullbackOverMap f).left D.poincare |
| 120 | |
| 121 | /-- The pulled-back Poincare class is the restriction of the old universal class. -/ |
| 122 | theorem Data.DualAbelianData.poincarePullback_comparison (D : Data.DualAbelianData A) (f : S' ⟶ S) : |
| 123 | (Picard.BaseChange.relativePicardPresheafBaseChangeIso A.scheme f).hom.app |
| 124 | (.op (D.abelian.pullback f).scheme) (Line.Bundles.LineBundle.classOf (D.poincarePullback f)) = |
| 125 | (Picard.PicardSheaf.relativePicardPresheaf A.scheme).map (Data.DualAbelianData.baseChangeProjection D.abelian f).op |
| 126 | (Line.Bundles.LineBundle.classOf D.poincare) := by |
| 127 | let e := Picard.BaseChange.familyBaseChangeIso A.scheme f (D.abelian.pullback f).scheme |
| 128 | let c := Data.DualAbelianData.baseChangeProjection D.abelian f ▷ A.scheme |
| 129 | exact (congrArg (Line.Bundles.LineBundle.pullbackClass e.inv) |
| 130 | (Line.Bundles.LineBundle.pullbackClass_comp e.hom c.left (Line.Bundles.LineBundle.classOf D.poincare))).trans |
| 131 | ((Line.Bundles.LineBundle.pullbackIso e).left_inv |
| 132 | (Line.Bundles.LineBundle.pullbackClass c.left (Line.Bundles.LineBundle.classOf D.poincare))) |
| 133 | |
| 134 | /-- The pulled-back Poincare bundle is homogeneous. -/ |
| 135 | theorem Data.DualAbelianData.poincarePullback_homogeneous (D : Data.DualAbelianData A) (f : S' ⟶ S) : |
| 136 | (A.pullback f).IsHomogeneousPicardClass (D.abelian.pullback f).scheme |
| 137 | (Line.Bundles.LineBundle.classOf (D.poincarePullback f)) := by |
| 138 | apply (A.isHomogeneousPicardClass_baseChange_iff f (D.abelian.pullback f).scheme _).mpr |
| 139 | exact (congrArg (A.IsHomogeneousPicardClass ((Over.map f).obj (D.abelian.pullback f).scheme)) |
| 140 | (D.poincarePullback_comparison f)).mpr |
| 141 | (D.poincareHomogeneous.pullback A (Data.DualAbelianData.baseChangeProjection D.abelian f)) |
| 142 | |
| 143 | /-- The homogeneous presheaf class of the original Poincare bundle. -/ |
| 144 | def Data.DualAbelianData.poincareRawClass (D : Data.DualAbelianData A) : |
| 145 | A.homogeneousPicardPresheaf.obj (.op D.abelian.scheme) := |
| 146 | ⟨Line.Bundles.LineBundle.classOf D.poincare, D.poincareHomogeneous⟩ |
| 147 | |
| 148 | /-- The homogeneous presheaf class of the pulled-back Poincare bundle. -/ |
| 149 | def Data.DualAbelianData.poincarePullbackRawClass (D : Data.DualAbelianData A) (f : S' ⟶ S) : |
| 150 | (A.pullback f).homogeneousPicardPresheaf.obj (.op (D.abelian.pullback f).scheme) := |
| 151 | ⟨Line.Bundles.LineBundle.classOf (D.poincarePullback f), D.poincarePullback_homogeneous f⟩ |
| 152 | |
| 153 | /-- Comparison of the Poincare classes in the homogeneous presheaves. -/ |
| 154 | theorem Data.DualAbelianData.poincarePullbackRawClass_comparison (D : Data.DualAbelianData A) (f : S' ⟶ S) : |
| 155 | (A.homogeneousPicardPresheafBaseChangeIso f).hom.app (.op (D.abelian.pullback f).scheme) |
| 156 | (D.poincarePullbackRawClass f) = |
| 157 | A.homogeneousPicardPresheaf.map (Data.DualAbelianData.baseChangeProjection D.abelian f).op D.poincareRawClass := |
| 158 | Subtype.ext (D.poincarePullback_comparison f) |
| 159 | |
| 160 | /-- Compatibility of the representing bijection with the sheaf comparison. -/ |
| 161 | theorem Data.DualAbelianData.pullbackRepresentable_comparison (D : Data.DualAbelianData A) (f : S' ⟶ S) (T : Over S') |
| 162 | (a : T ⟶ (D.abelian.pullback f).scheme) : |
| 163 | A.homogeneousPicardBaseChangeEquiv f T ((D.pullbackRepresentable f).homEquiv a) = |
| 164 | D.representable.homEquiv (D.abelian.baseChangePointsEquiv f T a) := |
| 165 | (A.homogeneousPicardBaseChangeEquiv f T).apply_symm_apply _ |
| 166 | |
| 167 | /-- The Poincare class remains the universal element after base change. -/ |
| 168 | theorem Data.DualAbelianData.poincarePullback_universalClass (D : Data.DualAbelianData A) (f : S' ⟶ S) : |
| 169 | (D.pullbackRepresentable f).homEquiv (𝟙 (D.abelian.pullback f).scheme) = |
| 170 | (toSheafify (Scheme.fppfTopology.over S') (A.pullback f).homogeneousPicardPresheaf).app |
| 171 | (.op (D.abelian.pullback f).scheme) (D.poincarePullbackRawClass f) := by |
| 172 | let c := Data.DualAbelianData.baseChangeProjection D.abelian f |
| 173 | let unitMap := toSheafify (Scheme.fppfTopology.over S) A.homogeneousPicardPresheaf |
| 174 | apply (A.homogeneousPicardBaseChangeEquiv f (D.abelian.pullback f).scheme).injective |
| 175 | exact (D.pullbackRepresentable_comparison f _ (𝟙 _)).trans |
| 176 | ((D.representable.homEquiv_eq c).trans |
| 177 | ((congrArg (A.homogeneousPicardSheaf.obj.map c.op) D.universalClass).trans |
| 178 | ((unitMap.naturality_apply c.op D.poincareRawClass).symm.trans |
| 179 | ((congrArg (fun z => unitMap.app (.op ((Over.map f).obj (D.abelian.pullback f).scheme)) z) |
| 180 | (D.poincarePullbackRawClass_comparison f).symm).trans |
| 181 | (A.toHomogeneousPicard_baseChange_apply f _ (D.poincarePullbackRawClass f)).symm)))) |
| 182 | |
| 183 | /-- Normalization at the abelian zero section is preserved by base change. -/ |
| 184 | theorem Data.DualAbelianData.poincarePullback_normalizedAtAbelianZero (D : Data.DualAbelianData A) (f : S' ⟶ S) : |
| 185 | Nonempty ((Line.Bundles.LineBundle.pullback |
| 186 | (lift (𝟙 (D.abelian.pullback f).scheme) |
| 187 | (1 : (D.abelian.pullback f).scheme ⟶ (A.pullback f).scheme)).left |
| 188 | (D.poincarePullback f)).sheaf ≅ Line.Bundles.structureModule (D.abelian.pullback f).scheme.left) := by |
| 189 | obtain ⟨e⟩ := D.normalizedAtAbelianZero |
| 190 | let i := lift (𝟙 (D.abelian.pullback f).scheme) |
| 191 | (1 : (D.abelian.pullback f).scheme ⟶ (A.pullback f).scheme) |
| 192 | let j := lift (𝟙 D.abelian.scheme) (1 : D.abelian.scheme ⟶ A.scheme) |
| 193 | let c := Data.DualAbelianData.baseChangeProjection D.abelian f |
| 194 | let p := D.poincarePullbackOverMap f |
| 195 | have h : i.left ≫ p.left = c.left ≫ j.left := |
| 196 | congrArg (fun z : (Over.map f).obj (D.abelian.pullback f).scheme ⟶ |
| 197 | D.abelian.scheme ⊗ A.scheme => z.left) (D.poincarePullbackOverMap_abelianZero f) |
| 198 | exact ⟨(Scheme.Modules.pullbackComp i.left p.left).app D.poincare.sheaf ≪≫ |
| 199 | (Scheme.Modules.pullbackCongr h).app D.poincare.sheaf ≪≫ |
| 200 | (Scheme.Modules.pullbackComp c.left j.left).symm.app D.poincare.sheaf ≪≫ |
| 201 | (Scheme.Modules.pullback c.left).mapIso e ≪≫ Line.Bundles.structureModulePullbackIso c.left⟩ |
| 202 | |
| 203 | /-- Normalization at the dual zero section is preserved by base change. -/ |
| 204 | theorem Data.DualAbelianData.poincarePullback_normalizedAtDualZero (D : Data.DualAbelianData A) (f : S' ⟶ S) : |
| 205 | Nonempty ((Line.Bundles.LineBundle.pullback |
| 206 | (lift (1 : (A.pullback f).scheme ⟶ (D.abelian.pullback f).scheme) |
| 207 | (𝟙 (A.pullback f).scheme)).left |
| 208 | (D.poincarePullback f)).sheaf ≅ Line.Bundles.structureModule (A.pullback f).scheme.left) := by |
| 209 | obtain ⟨e⟩ := D.normalizedAtDualZero |
| 210 | let i := lift (1 : (A.pullback f).scheme ⟶ (D.abelian.pullback f).scheme) |
| 211 | (𝟙 (A.pullback f).scheme) |
| 212 | let j := lift (1 : A.scheme ⟶ D.abelian.scheme) (𝟙 A.scheme) |
| 213 | let c := Data.DualAbelianData.baseChangeProjection A f |
| 214 | let p := D.poincarePullbackOverMap f |
| 215 | have h : i.left ≫ p.left = c.left ≫ j.left := |
| 216 | congrArg (fun z : (Over.map f).obj (A.pullback f).scheme ⟶ |
| 217 | D.abelian.scheme ⊗ A.scheme => z.left) (D.poincarePullbackOverMap_dualZero f) |
| 218 | exact ⟨(Scheme.Modules.pullbackComp i.left p.left).app D.poincare.sheaf ≪≫ |
| 219 | (Scheme.Modules.pullbackCongr h).app D.poincare.sheaf ≪≫ |
| 220 | (Scheme.Modules.pullbackComp c.left j.left).symm.app D.poincare.sheaf ≪≫ |
| 221 | (Scheme.Modules.pullback c.left).mapIso e ≪≫ Line.Bundles.structureModulePullbackIso c.left⟩ |
| 222 | |
| 223 | /-- Base change of all the dual abelian data, including the representing |
| 224 | property and the normalized universal Poincare bundle. -/ |
| 225 | def Data.DualAbelianData.pullback (D : Data.DualAbelianData A) (f : S' ⟶ S) : Data.DualAbelianData (A.pullback f) where |
| 226 | abelian := D.abelian.pullback f |
| 227 | representable := D.pullbackRepresentable f |
| 228 | origin := D.pullbackRepresentable_origin f |
| 229 | poincare := D.poincarePullback f |
| 230 | poincareHomogeneous := D.poincarePullback_homogeneous f |
| 231 | universalClass := D.poincarePullback_universalClass f |
| 232 | normalizedAtAbelianZero := D.poincarePullback_normalizedAtAbelianZero f |
| 233 | normalizedAtDualZero := D.poincarePullback_normalizedAtDualZero f |
| 234 | |
| 235 | end |
| 236 | |
| 237 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Dual |