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.Homogeneous.PicardMonoid |
| 2 | |
| 3 | /-! # Picard Sections -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Multiplicative sections of the homogeneous Picard sheaf and the map from actual homogeneous line bundles. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 12 | |
| 13 | universe u |
| 14 | |
| 15 | variable {g : ℕ} {S : Scheme.{u}} |
| 16 | |
| 17 | abbrev Abelian.Schemes.AbelianScheme.HomogeneousPicardSections (A : Abelian.Schemes.AbelianScheme g S) (T : Over S) := |
| 18 | A.homogeneousPicardSheaf.obj.obj (.op T) |
| 19 | |
| 20 | instance Abelian.Schemes.AbelianScheme.homogeneousPicardSectionsCommMonoid (A : Abelian.Schemes.AbelianScheme g S) (T : Over S) : |
| 21 | CommMonoid (A.HomogeneousPicardSections T) := |
| 22 | PresheafMonoidSections.presheafSectionsCommMonoid A.homogeneousPicardSheaf.obj (.op T) |
| 23 | |
| 24 | def Abelian.Schemes.AbelianScheme.homogeneousPicardSectionRestriction (A : Abelian.Schemes.AbelianScheme g S) {T U : Over S} (f : U ⟶ T) : |
| 25 | A.HomogeneousPicardSections T →* A.HomogeneousPicardSections U where |
| 26 | toFun := A.homogeneousPicardSheaf.obj.map f.op |
| 27 | map_one' := PresheafMonoidSections.presheafSections_map_one A.homogeneousPicardSheaf.obj f.op |
| 28 | map_mul' := PresheafMonoidSections.presheafSections_map_mul A.homogeneousPicardSheaf.obj f.op |
| 29 | |
| 30 | def Abelian.Schemes.AbelianScheme.homogeneousPicardCommMonFunctor (A : Abelian.Schemes.AbelianScheme g S) : (Over S)ᵒᵖ ⥤ CommMonCat.{u + 1} where |
| 31 | obj T := CommMonCat.of (A.HomogeneousPicardSections T.unop) |
| 32 | map f := CommMonCat.ofHom (A.homogeneousPicardSectionRestriction f.unop) |
| 33 | map_id T := by |
| 34 | apply CommMonCat.hom_ext |
| 35 | ext q |
| 36 | exact A.homogeneousPicardSheaf.obj.map_id_apply T q |
| 37 | map_comp f h := by |
| 38 | apply CommMonCat.hom_ext |
| 39 | ext q |
| 40 | exact A.homogeneousPicardSheaf.obj.map_comp_apply f h q |
| 41 | |
| 42 | def Abelian.Schemes.AbelianScheme.toHomogeneousPicard (A : Abelian.Schemes.AbelianScheme g S) : |
| 43 | A.homogeneousPicardPresheaf ⟶ A.homogeneousPicardSheaf.obj := |
| 44 | toSheafify (Scheme.fppfTopology.over S) A.homogeneousPicardPresheaf |
| 45 | |
| 46 | instance Abelian.Schemes.AbelianScheme.toHomogeneousPicardIsMonHom (A : Abelian.Schemes.AbelianScheme g S) : IsMonHom A.toHomogeneousPicard := |
| 47 | SheafificationMonoids.toSheafifyIsMonHom (Scheme.fppfTopology.over S) A.homogeneousPicardPresheaf |
| 48 | |
| 49 | theorem Abelian.Schemes.AbelianScheme.toHomogeneousPicard_mul (A : Abelian.Schemes.AbelianScheme g S) (T : Over S) |
| 50 | (q r : A.homogeneousPicardPresheaf.obj (.op T)) : |
| 51 | A.toHomogeneousPicard.app (.op T) (q * r) = |
| 52 | (A.toHomogeneousPicard.app (.op T) q : |
| 53 | A.HomogeneousPicardSections T) * |
| 54 | A.toHomogeneousPicard.app (.op T) r := |
| 55 | ConcreteCategory.congr_hom (CC := fun X : Type (u + 1) => X) |
| 56 | (congr_app (IsMonHom.mul_hom A.toHomogeneousPicard) |
| 57 | (.op T)) (q, r) |
| 58 | |
| 59 | @[simp] |
| 60 | theorem Abelian.Schemes.AbelianScheme.trivialHomogeneousPicardClass_eq_one (A : Abelian.Schemes.AbelianScheme g S) (T : Over S) : |
| 61 | A.trivialHomogeneousPicardClass T = 1 := |
| 62 | ConcreteCategory.congr_hom (CC := fun X : Type (u + 1) => X) |
| 63 | (congr_app (IsMonHom.one_hom A.toHomogeneousPicard) |
| 64 | (.op T)) PUnit.unit |
| 65 | |
| 66 | def Abelian.Schemes.AbelianScheme.homogeneousPicardSectionInclusion (A : Abelian.Schemes.AbelianScheme g S) (T : Over S) : |
| 67 | A.HomogeneousPicardSections T →* Picard.PicardSheaf.PicardSections A.scheme T where |
| 68 | toFun := A.homogeneousPicardSheafInclusion.hom.app (.op T) |
| 69 | map_one' := ConcreteCategory.congr_hom (CC := fun X : Type (u + 1) => X) |
| 70 | (congr_app (IsMonHom.one_hom A.homogeneousPicardSheafInclusion.hom) (.op T)) PUnit.unit |
| 71 | map_mul' q r := ConcreteCategory.congr_hom (CC := fun X : Type (u + 1) => X) |
| 72 | (congr_app (IsMonHom.mul_hom A.homogeneousPicardSheafInclusion.hom) (.op T)) (q, r) |
| 73 | |
| 74 | end |
| 75 | |
| 76 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |