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.ConstantScheme.Iff |
| 2 | import Mathlib.CategoryTheory.Monoidal.Cartesian.Over |
| 3 | |
| 4 | /-! # Morphisms -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.ConstantScheme.Morphisms |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A morphism from a constant scheme is exactly one section for each label. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 13 | open _root_.CategoryTheory.MonoidalCategory |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | variable (S : Scheme.{u}) (I : Type u) |
| 18 | |
| 19 | def constantSchemeLabelPoint (i : I) : 𝟙_ (Over S) ⟶ Iff.constantScheme S I := |
| 20 | Over.homMk (Sigma.ι (fun _ : I => S) i) (Iff.constantScheme_ι_hom i) |
| 21 | |
| 22 | def constantSchemeMorphismEquiv (Y : Over S) : |
| 23 | (Iff.constantScheme S I ⟶ Y) ≃ (I → (𝟙_ (Over S) ⟶ Y)) where |
| 24 | toFun f i := constantSchemeLabelPoint S I i ≫ f |
| 25 | invFun p := Over.homMk (Sigma.desc (fun i => (p i).left)) (by |
| 26 | apply Sigma.hom_ext |
| 27 | intro i |
| 28 | exact (Category.assoc _ _ _).symm.trans |
| 29 | ((congrArg (fun a : S ⟶ Y.left => a ≫ Y.hom) (Sigma.ι_comp_desc (fun i => (p i).left) i)).trans |
| 30 | ((p i).w.trans (Iff.constantScheme_ι_hom i).symm))) |
| 31 | left_inv f := by |
| 32 | apply Over.OverMorphism.ext |
| 33 | apply Sigma.hom_ext |
| 34 | intro i |
| 35 | exact Sigma.ι_comp_desc _ _ |
| 36 | right_inv p := by |
| 37 | funext i |
| 38 | apply Over.OverMorphism.ext |
| 39 | exact Sigma.ι_comp_desc _ _ |
| 40 | |
| 41 | theorem constantSchemeMorphismEquiv_postcomp {Y Z : Over S} |
| 42 | (f : Iff.constantScheme S I ⟶ Y) (g : Y ⟶ Z) (i : I) : |
| 43 | constantSchemeMorphismEquiv S I Z (f ≫ g) i = constantSchemeMorphismEquiv S I Y f i ≫ g := |
| 44 | (Category.assoc (constantSchemeLabelPoint S I i) f g).symm |
| 45 | |
| 46 | end |
| 47 | |
| 48 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.ConstantScheme.Morphisms |