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.BaseAffine.OrdinaryFormGlobal |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Etale.CoordinateFormBasis |
| 3 | import Mathlib.RingTheory.Flat.Stability |
| 4 | import Mathlib.RingTheory.Flat.TorsionFree |
| 5 | |
| 6 | /-! # Etale Ordinary Form Regularity -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.Crystalline.Cohomology.Base.EtaleOrdinaryFormRegularity.BaseEtaleOrdinaryFormRegularity |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! # Scalar regularity of actual ordinary forms and affine sheaf sections -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | variable (R A σ : Type u) [CommRing R] [CommRing A] [Algebra R A] |
| 19 | [LinearOrder σ] [Algebra (MvPolynomial σ R) A] |
| 20 | [IsScalarTower R (MvPolynomial σ R) A] [Algebra.Etale (MvPolynomial σ R) A] |
| 21 | |
| 22 | include σ in |
| 23 | theorem flat (n : ℕ) : Module.Flat R (DeRhamPresentationTo.DeRhamPresentation.Form R A n) := by |
| 24 | let : Module.Flat R A := Module.Flat.trans R (MvPolynomial σ R) A |
| 25 | let : Module.Free A (DeRhamPresentationTo.DeRhamPresentation.Form R A n) := |
| 26 | Module.Free.of_basis (NumberTheory.PadicHodge.IntegralComparison.Etale.CoordinateFormBasis.basis R A σ n) |
| 27 | exact Module.Flat.trans R A (DeRhamPresentationTo.DeRhamPresentation.Form R A n) |
| 28 | |
| 29 | include σ in |
| 30 | theorem forms (n : ℕ) (r : R) (hr : r ∈ nonZeroDivisors R) : |
| 31 | IsSMulRegular (DeRhamPresentationTo.DeRhamPresentation.Form R A n) r := by |
| 32 | let : Module.Flat R (DeRhamPresentationTo.DeRhamPresentation.Form R A n) := flat R A σ n |
| 33 | exact Module.Flat.isSMulRegular_of_nonZeroDivisors hr |
| 34 | |
| 35 | include σ in |
| 36 | theorem global (n : ℕ) (r : R) (hr : r ∈ nonZeroDivisors R) : |
| 37 | IsSMulRegular |
| 38 | (((DeRhamGlobalId.DeRhamGlobal.sheafComplex R (BaseAffine.SectionTowers.BaseAffineSectionTowers.affineScheme R A)).X n).obj.obj (op ⊤)) r := by |
| 39 | let e := (BaseAffine.OrdinaryFormGlobal.BaseAffineOrdinaryFormGlobal.globalIso R A σ n).toLinearEquiv |
| 40 | intro x y h |
| 41 | apply e.injective |
| 42 | apply forms R A σ n r hr |
| 43 | exact ((e.map_smul r x).symm.trans (congrArg e h)).trans (e.map_smul r y) |
| 44 | |
| 45 | end |
| 46 | |
| 47 | end OAI.AlgebraicGeometry.Crystalline.Cohomology.Base.EtaleOrdinaryFormRegularity.BaseEtaleOrdinaryFormRegularity |