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 Mathlib.RingTheory.Smooth.Basic |
| 3 | import Mathlib.RingTheory.Flat.Stability |
| 4 | import Mathlib.RingTheory.Flat.TorsionFree |
| 5 | |
| 6 | /-! # Low Degree Flat -/ |
| 7 | |
| 8 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.Integral.LowDegreeFlat.IntegralLowDegreeFlat |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The first two native form modules are flat over a flat formally smooth base algebra. -/ |
| 13 | |
| 14 | open OAI.AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | variable (R A : Type u) [CommRing R] [CommRing A] [Algebra R A] |
| 19 | [Module.Flat R A] [Algebra.FormallySmooth R A] |
| 20 | |
| 21 | theorem flat (n : ℕ) (hn : n ≤ 1) : Module.Flat R (AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.Form R A n) := by |
| 22 | rcases Nat.le_one_iff_eq_zero_or_eq_one.mp hn with rfl | rfl |
| 23 | · exact Module.Flat.of_linearEquiv ((ZeroForms.IntegralZeroForms.equiv R A).restrictScalars R) |
| 24 | · let : Module.Flat R (KaehlerDifferential R A) := Module.Flat.trans R A _ |
| 25 | exact Module.Flat.of_linearEquiv ((OneForms.IntegralOneForms.equiv R A).restrictScalars R) |
| 26 | |
| 27 | theorem regular (n : ℕ) (hn : n ≤ 1) (r : R) (hr : IsRegular r) : |
| 28 | IsSMulRegular (AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.Form R A n) r := by |
| 29 | let := flat R A n hn |
| 30 | exact Module.Flat.isSMulRegular_of_isRegular hr |
| 31 | |
| 32 | end |
| 33 | |
| 34 | end OAI.NumberTheory.PadicHodge.GeometricComparison.Integral.LowDegreeFlat.IntegralLowDegreeFlat |