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.Integral.ZeroForms |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.Integral.TwoForms |
| 3 | import OAI.NumberTheory.PadicHodge.GeometricComparison.ProjectiveExterior |
| 4 | import Mathlib.RingTheory.Smooth.Basic |
| 5 | import Mathlib.RingTheory.Flat.Stability |
| 6 | import Mathlib.RingTheory.Flat.TorsionFree |
| 7 | |
| 8 | /-! # Three Flat -/ |
| 9 | |
| 10 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.IntegralFirst.ThreeFlat.IntegralFirstThreeFlat |
| 11 | |
| 12 | noncomputable section |
| 13 | |
| 14 | /-! The first three native form modules are flat over a flat formally smooth base algebra. -/ |
| 15 | |
| 16 | open OAI.AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation |
| 17 | |
| 18 | universe u |
| 19 | |
| 20 | variable (R A : Type u) [CommRing R] [CommRing A] [Algebra R A] |
| 21 | [Module.Flat R A] [Algebra.FormallySmooth R A] |
| 22 | |
| 23 | theorem flat (n : ℕ) (hn : n ≤ 2) : Module.Flat R (AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.Form R A n) := by |
| 24 | rcases n with _ | (_ | (_ | n)) |
| 25 | · exact Module.Flat.of_linearEquiv ((Integral.ZeroForms.IntegralZeroForms.equiv R A).restrictScalars R) |
| 26 | · let : Module.Flat R (KaehlerDifferential R A) := Module.Flat.trans R A _ |
| 27 | exact Module.Flat.of_linearEquiv ((Integral.OneForms.IntegralOneForms.equiv R A).restrictScalars R) |
| 28 | · let : Module.Projective A (⋀[A]^2 (KaehlerDifferential R A)) := |
| 29 | ProjectiveExterior.ProjectiveExteriorPower.projective A (KaehlerDifferential R A) 2 |
| 30 | let : Module.Flat R (⋀[A]^2 (KaehlerDifferential R A)) := Module.Flat.trans R A _ |
| 31 | exact Module.Flat.of_linearEquiv ((Integral.TwoForms.IntegralTwoForms.equiv R A).restrictScalars R) |
| 32 | · omega |
| 33 | |
| 34 | theorem regular (n : ℕ) (hn : n ≤ 2) (r : R) (hr : IsRegular r) : |
| 35 | IsSMulRegular (AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.Form R A n) r := by |
| 36 | let := flat R A n hn |
| 37 | exact Module.Flat.isSMulRegular_of_isRegular hr |
| 38 | |
| 39 | end |
| 40 | |
| 41 | end OAI.NumberTheory.PadicHodge.GeometricComparison.IntegralFirst.ThreeFlat.IntegralFirstThreeFlat |