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.QuasiProjectiveProducts |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.QuasiProjectiveParameterCuts |
| 3 | |
| 4 | /-! # Quasi Projective Fiber Products -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.QuasiProjectiveFiberProducts |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Fiber products of actual quasi-projective presentations over a |
| 11 | separated parameter remain quasi-projective. The construction is the |
| 12 | closed equalizer inside the product of the given compactifications. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 15 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 16 | universe u v |
| 17 | |
| 18 | private def cartesianPullbackEqualizerIso |
| 19 | {C : Type u} [Category.{v} C] [CartesianMonoidalCategory C] |
| 20 | [HasPullbacks C] [HasEqualizers C] {X Y Z : C} (f : X ⟶ Z) (g : Y ⟶ Z) : |
| 21 | pullback f g ≅ equalizer (fst X Y ≫ f) (snd X Y ≫ g) where |
| 22 | hom := equalizer.lift (lift (pullback.fst f g) (pullback.snd f g)) (by |
| 23 | simpa only [lift_fst_assoc, lift_snd_assoc] using (pullback.condition (f := f) (g := g))) |
| 24 | inv := pullback.lift |
| 25 | (equalizer.ι (fst X Y ≫ f) (snd X Y ≫ g) ≫ fst X Y) |
| 26 | (equalizer.ι (fst X Y ≫ f) (snd X Y ≫ g) ≫ snd X Y) (by |
| 27 | simpa only [Category.assoc] using (equalizer.condition (fst X Y ≫ f) (snd X Y ≫ g))) |
| 28 | hom_inv_id := by |
| 29 | apply pullback.hom_ext <;> simp [Category.assoc, pullback.lift_fst, pullback.lift_snd] |
| 30 | inv_hom_id := by |
| 31 | apply (cancel_mono (equalizer.ι (fst X Y ≫ f) (snd X Y ≫ g))).mp |
| 32 | apply CartesianMonoidalCategory.hom_ext <;> |
| 33 | simp [Category.assoc, pullback.lift_fst, pullback.lift_snd] |
| 34 | |
| 35 | def _root_.OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Projective.ProjectivePresentations.QuasiProjectivePresentation.fiberProduct |
| 36 | {S : Scheme.{u}} [IsNoetherian S] {X Y Z : Over S} |
| 37 | (P : Projective.ProjectivePresentations.QuasiProjectivePresentation X) (Q : Projective.ProjectivePresentations.QuasiProjectivePresentation Y) |
| 38 | (f : X ⟶ Z) (g : Y ⟶ Z) [IsSeparated Z.hom] : |
| 39 | Projective.ProjectivePresentations.QuasiProjectivePresentation (pullback f g) := by |
| 40 | let e := cartesianPullbackEqualizerIso f g |
| 41 | letI : IsClosedImmersion e.hom.left := Grassmann.ProjectivePresentation.overIso_closedImmersion e |
| 42 | exact ((P.product Q).ofClosedImmersion |
| 43 | (equalizer.ι (fst X Y ≫ f) (snd X Y ≫ g))).ofClosedImmersion e.hom |
| 44 | |
| 45 | end |
| 46 | |
| 47 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.QuasiProjectiveFiberProducts |