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.Base.ProperOrdinaryFormCharts |
| 2 | |
| 3 | /-! # Etale Subchart Coordinates -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Crystalline.Cohomology.Base.EtaleSubchartCoordinates.BaseEtaleSubchartCoordinates |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Every affine subchart of the actual finite coordinate cover inherits its etale polynomial coordinates over the original base. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 12 | |
| 13 | universe u |
| 14 | |
| 15 | variable (R : Type u) [CommRing R] |
| 16 | (X : Over (Spec (CommRingCat.of R))) [IsProper X.hom] [Smooth X.hom] |
| 17 | (I : X.left.affineOpens) (i : SmoothProperEtaleCover.BaseSmoothProperEtaleCover.Index R X) |
| 18 | (hi : I.val ≤ ProperOrdinaryFormCharts.BaseSmoothProperOrdinaryFormCharts.opens R X i) |
| 19 | |
| 20 | abbrev sourceRing : Type u := Γ(X.left, I.val) |
| 21 | |
| 22 | local notation "A" => OAI.AlgebraicGeometry.Crystalline.Cohomology.Base.EtaleSubchartCoordinates.BaseEtaleSubchartCoordinates.sourceRing R X I |
| 23 | local notation "σ" => OAI.AlgebraicGeometry.Crystalline.Cohomology.Base.SmoothProperEtaleCover.BaseSmoothProperEtaleCover.coordinateIndex R X i |
| 24 | local instance sourceAlgebra : Algebra R A := AlgebraicForms.AlgebraicDeRham.sectionAlgebra R X I.val |
| 25 | |
| 26 | @[instance_reducible] def polynomialAlgebra : Algebra (MvPolynomial σ R) A := |
| 27 | @NumberTheory.PadicHodge.IntegralComparison.AffineOpen.EtaleCoordinates.polynomialAlgebra R inferInstance X I.val I.property |
| 28 | (SmoothProperEtaleCover.BaseSmoothProperEtaleCover.coordinateRing R X i) inferInstance |
| 29 | (SmoothProperEtaleCover.BaseSmoothProperEtaleCover.chartMap R X i) (SmoothProperEtaleCover.BaseSmoothProperEtaleCover.chartMap_open R X i) hi |
| 30 | σ (SmoothProperEtaleCover.BaseSmoothProperEtaleCover.polynomialAlgebra R X i) |
| 31 | |
| 32 | theorem etale : letI := polynomialAlgebra R X I i hi |
| 33 | Algebra.Etale (MvPolynomial σ R) A := |
| 34 | @NumberTheory.PadicHodge.IntegralComparison.AffineOpen.EtaleCoordinates.etale R inferInstance X I.val I.property |
| 35 | (SmoothProperEtaleCover.BaseSmoothProperEtaleCover.coordinateRing R X i) inferInstance |
| 36 | (SmoothProperEtaleCover.BaseSmoothProperEtaleCover.chartMap R X i) (SmoothProperEtaleCover.BaseSmoothProperEtaleCover.chartMap_open R X i) hi |
| 37 | σ (SmoothProperEtaleCover.BaseSmoothProperEtaleCover.polynomialAlgebra R X i) (SmoothProperEtaleCover.BaseSmoothProperEtaleCover.coordinateEtale R X i) |
| 38 | |
| 39 | theorem tower : letI := polynomialAlgebra R X I i hi |
| 40 | IsScalarTower R (MvPolynomial σ R) A := |
| 41 | @NumberTheory.PadicHodge.IntegralComparison.AffineOpen.EtaleCoordinates.tower R inferInstance X I.val I.property |
| 42 | (SmoothProperEtaleCover.BaseSmoothProperEtaleCover.coordinateRing R X i) inferInstance |
| 43 | (SmoothProperEtaleCover.BaseSmoothProperEtaleCover.chartMap R X i) (SmoothProperEtaleCover.BaseSmoothProperEtaleCover.chartMap_open R X i) hi |
| 44 | σ (SmoothProperEtaleCover.BaseSmoothProperEtaleCover.polynomialAlgebra R X i) |
| 45 | (SmoothProperEtaleCover.BaseSmoothProperEtaleCover.coordinateAlgebra R X i) (SmoothProperEtaleCover.BaseSmoothProperEtaleCover.coordinateTower R X i) |
| 46 | (SmoothProperEtaleCover.BaseSmoothProperEtaleCover.chartMap_over R X i) |
| 47 | |
| 48 | end |
| 49 | |
| 50 | end OAI.AlgebraicGeometry.Crystalline.Cohomology.Base.EtaleSubchartCoordinates.BaseEtaleSubchartCoordinates |