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.OpenSectionGeometricPullback |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.Affine.OpenProducts |
| 3 | import OAI.AlgebraicGeometry.Crystalline.Cohomology.Affine.MorphismPairs |
| 4 | |
| 5 | /-! # Algebra Pullback -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Affine.AlgebraPullback |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Actual section algebras pull back on compatible affine chart pairs |
| 12 | over an arbitrary commutative base ring. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 15 | |
| 16 | universe u |
| 17 | variable (R : Type u) [CommRing R] |
| 18 | {X Y : Over (Spec (CommRingCat.of R))} (f : X ⟶ Y) |
| 19 | |
| 20 | def diagram (X : Over (Spec (CommRingCat.of R))) := |
| 21 | (GeometricComparison.Affine.OpenProducts.AffineOpenProducts.inclusion X.left).op ⋙ AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionAlgebras R X |
| 22 | |
| 23 | def transformation : (AlgebraicGeometry.Crystalline.Cohomology.Affine.MorphismPairs.AffineMorphismPairs.target f.left).op ⋙ diagram R Y ⟶ |
| 24 | (AlgebraicGeometry.Crystalline.Cohomology.Affine.MorphismPairs.AffineMorphismPairs.source f.left).op ⋙ diagram R X where |
| 25 | app U := CommAlgCat.ofHom |
| 26 | (AlgebraicGeometry.Crystalline.Cohomology.OpenSectionGeometricPullback.DeRhamPullback.sectionPullbackLE f U.unop.val.2.val U.unop.val.1.val U.unop.property) |
| 27 | naturality U V a := by |
| 28 | apply CommAlgCat.hom_ext |
| 29 | apply AlgHom.ext |
| 30 | intro x |
| 31 | have hs := f.left.appLE_map U.unop.property (homOfLE (leOfHom a.unop).1).op |
| 32 | have ht := f.left.map_appLE V.unop.property (homOfLE (leOfHom a.unop).2).op |
| 33 | exact (ConcreteCategory.congr_hom (hs.trans ht.symm) x).symm |
| 34 | |
| 35 | end |
| 36 | |
| 37 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Affine.AlgebraPullback |