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.NumberTheory.PadicHodge.GeometricComparison.Affine.MapPairs |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.Affine.OpenProducts |
| 3 | import OAI.NumberTheory.PadicHodge.GeometricComparison.Section.GeometricRestriction |
| 4 | import OAI.NumberTheory.PadicHodge.GeometricComparison.IntegralFirst.ThreePullback |
| 5 | |
| 6 | /-! # Pair Section Algebra Pullback -/ |
| 7 | |
| 8 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.Affine.PairSectionAlgebraPullback.AffinePairSectionAlgebraPullback |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Actual geometric pullback of section algebras is natural on |
| 13 | compatible affine pairs over the original coefficient ring. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 16 | |
| 17 | variable (R : Type) [CommRing R] |
| 18 | {X Y : Over (Spec (CommRingCat.of R))} (f : X ⟶ Y) |
| 19 | |
| 20 | def transformation : (MapPairs.AffineMapPairs.target f.left).op ⋙ (OpenProducts.AffineOpenProducts.inclusion Y.left).op ⋙ |
| 21 | AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionAlgebras R Y ⟶ |
| 22 | (MapPairs.AffineMapPairs.source f.left).op ⋙ (OpenProducts.AffineOpenProducts.inclusion X.left).op ⋙ |
| 23 | AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionAlgebras R X where |
| 24 | app U := CommAlgCat.ofHom (OpenSectionPullback.DeRham.sectionPullbackLE f U.unop.val.2.val U.unop.val.1.val U.unop.property) |
| 25 | naturality U V a := by |
| 26 | apply CommAlgCat.hom_ext |
| 27 | apply AlgHom.ext |
| 28 | intro x |
| 29 | exact ConcreteCategory.congr_hom |
| 30 | (Section.GeometricRestriction.SectionGeometricRestriction.square f.left V.unop.val.2.val U.unop.val.2.val |
| 31 | V.unop.val.1.val U.unop.val.1.val |
| 32 | (leOfHom ((MapPairs.AffineMapPairs.target f.left).map a.unop)) |
| 33 | (leOfHom ((MapPairs.AffineMapPairs.source f.left).map a.unop)) |
| 34 | V.unop.property U.unop.property).symm x |
| 35 | |
| 36 | end |
| 37 | |
| 38 | end OAI.NumberTheory.PadicHodge.GeometricComparison.Affine.PairSectionAlgebraPullback.AffinePairSectionAlgebraPullback |