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.Crystalline.Cohomology.ZariskiOpenModules |
| 2 | import OAI.AlgebraicGeometry.Crystalline.Cohomology.CoefficientResolution |
| 3 | import OAI.AlgebraicGeometry.Crystalline.Cohomology.ExactInjective |
| 4 | import OAI.AlgebraicGeometry.Crystalline.Cohomology.Cech.Cover |
| 5 | |
| 6 | /-! # Restricted Coefficient -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.Crystalline.Cohomology.RestrictedCoefficient.RestrictedCoefficientResolution |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! # Exact sections of the original injective resolution after restriction to an acyclic open -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Abelian _root_.AlgebraicGeometry |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | variable (R : Type u) [CommRing R] {X Y : Scheme.{u}} (f : Y ⟶ X) [IsOpenImmersion f] |
| 19 | |
| 20 | local instance restrictionInjectives : |
| 21 | (Cech.Cover.CechRestriction.sheafRestrictionFunctor R f).PreservesInjectiveObjects := |
| 22 | ZariskiOpenModules.ZariskiOpenInjectives.restriction_preservesInjectives R f |
| 23 | |
| 24 | local instance coefficientExt : HasExt.{u + 1} |
| 25 | (Sheaf (Opens.grothendieckTopology Y) (ModuleCat.{u} R)) := HasExt.standard _ |
| 26 | |
| 27 | theorem exactAt {F : Sheaf (Opens.grothendieckTopology X) (ModuleCat.{u} R)} |
| 28 | (I : InjectiveResolution F) (n : ℕ) |
| 29 | [Subsingleton (Ext.{u + 1} (ConstantSheaf.ConstantSheafSections.coefficient R (TopCat.of Y)) |
| 30 | ((Cech.Cover.CechRestriction.sheafRestrictionFunctor R f).obj F) (n + 1))] : |
| 31 | ((((Cech.Cover.CechRestriction.sheafRestrictionFunctor R f) ⋙ |
| 32 | CoefficientResolution.CoefficientResolutionExactness.sections R (TopCat.of Y)).mapHomologicalComplex (.up ℕ)).obj |
| 33 | I.cocomplex).ExactAt (n + 1) := |
| 34 | CoefficientResolution.CoefficientResolutionExactness.exactAt R (TopCat.of Y) |
| 35 | (ExactInjective.ExactInjectiveResolution.map (Cech.Cover.CechRestriction.sheafRestrictionFunctor R f) I) n |
| 36 | |
| 37 | end |
| 38 | |
| 39 | end OAI.AlgebraicGeometry.Crystalline.Cohomology.RestrictedCoefficient.RestrictedCoefficientResolution |