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.AbelianScheme.CartierDuality.SheafQuotients |
| 2 | import Mathlib.Algebra.Category.Grp.Abelian |
| 3 | import Mathlib.CategoryTheory.Preadditive.Transfer |
| 4 | import Mathlib.CategoryTheory.Abelian.Transfer |
| 5 | import Mathlib.CategoryTheory.Sites.Abelian |
| 6 | import Mathlib.Algebra.Homology.ShortComplex.Abelian |
| 7 | |
| 8 | /-! # Sheaf Exactness -/ |
| 9 | |
| 10 | namespace OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.SheafExactness |
| 11 | |
| 12 | noncomputable section |
| 13 | |
| 14 | /-! |
| 15 | # CartierDuality: exactness in commutative fppf sheaves in multiplicative notation |
| 16 | -/ |
| 17 | |
| 18 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 19 | |
| 20 | universe u |
| 21 | |
| 22 | namespace Construction.CommutativeSheaves |
| 23 | |
| 24 | /-- The additive notation for the group of homomorphisms, retaining |
| 25 | the concrete trivial homomorphism as zero. -/ |
| 26 | def commGrpHomEquiv (X Y : CommGrpCat.{u}) : (X ⟶ Y) ≃ Additive (X →* Y) where |
| 27 | toFun f := Additive.ofMul f.hom |
| 28 | invFun f := CommGrpCat.ofHom f.toMul |
| 29 | left_inv _ := rfl |
| 30 | right_inv _ := rfl |
| 31 | |
| 32 | /-- Homomorphisms of commutative groups add by pointwise multiplication. |
| 33 | The zero maps agree definitionally with the existing trivial maps. -/ |
| 34 | instance commGrpPreadditive : Preadditive CommGrpCat.{u} where |
| 35 | homGroup X Y := (commGrpHomEquiv X Y).addCommGroup |
| 36 | add_comp X Y Z f f' g := by |
| 37 | apply CommGrpCat.hom_ext |
| 38 | apply MonoidHom.ext |
| 39 | intro x |
| 40 | exact g.hom.map_mul (f x) (f' x) |
| 41 | comp_add X Y Z f g g' := by |
| 42 | apply CommGrpCat.hom_ext |
| 43 | apply MonoidHom.ext |
| 44 | intro x |
| 45 | rfl |
| 46 | |
| 47 | /-- Commutative groups form an abelian category in multiplicative notation. -/ |
| 48 | instance commGrpAbelian : Abelian CommGrpCat.{u} := |
| 49 | abelianOfEquivalence commGroupAddCommGroupEquivalence.functor |
| 50 | |
| 51 | end Construction.CommutativeSheaves |
| 52 | |
| 53 | namespace Construction.Schemes |
| 54 | |
| 55 | /-- The actual commutative fppf-sheaf category is abelian. -/ |
| 56 | instance fppfAbAbelian (S : Scheme.{u}) : Abelian (CommutativeSheavesAb.Construction.Schemes.FppfAb S) := inferInstance |
| 57 | |
| 58 | /-- Every sheaf epimorphism is normal for the concrete trivial zero maps. -/ |
| 59 | instance fppfAbNormalEpi (S : Scheme.{u}) : IsNormalEpiCategory (CommutativeSheavesAb.Construction.Schemes.FppfAb S) := |
| 60 | @Abelian.toIsNormalEpiCategory (CommutativeSheavesAb.Construction.Schemes.FppfAb S) inferInstance (fppfAbAbelian S) |
| 61 | |
| 62 | /-- Every sheaf monomorphism is normal for the concrete trivial zero maps. -/ |
| 63 | instance fppfAbNormalMono (S : Scheme.{u}) : IsNormalMonoCategory (CommutativeSheavesAb.Construction.Schemes.FppfAb S) := |
| 64 | @Abelian.toIsNormalMonoCategory (CommutativeSheavesAb.Construction.Schemes.FppfAb S) inferInstance (fppfAbAbelian S) |
| 65 | |
| 66 | /-- Short complexes of the actual commutative fppf sheaves have homology. -/ |
| 67 | instance fppfAbWithHomology (S : Scheme.{u}) : CategoryWithHomology (CommutativeSheavesAb.Construction.Schemes.FppfAb S) := |
| 68 | @categoryWithHomology_of_abelian (CommutativeSheavesAb.Construction.Schemes.FppfAb S) inferInstance (fppfAbAbelian S) |
| 69 | |
| 70 | end Construction.Schemes |
| 71 | |
| 72 | end |
| 73 | |
| 74 | end OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.SheafExactness |