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.RepresentationTheory.Theta.Geometric.CotangentRelationBound |
| 2 | import Mathlib.RingTheory.Smooth.Flat |
| 3 | import Mathlib.RingTheory.Etale.Basic |
| 4 | |
| 5 | /-! # Unramified Equation Flatness -/ |
| 6 | |
| 7 | namespace OAI.RepresentationTheory.Theta.Geometric.UnramifiedEquationFlatness |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! A sufficiently small system of equations in a smooth ambient |
| 12 | presentation gives a formally etale quotient. Over a Noetherian flat |
| 13 | ambient algebra the same quotient is flat. -/ |
| 14 | |
| 15 | open KaehlerDifferential |
| 16 | |
| 17 | variable {R S : Type*} [CommRing R] [CommRing S] [Algebra R S] |
| 18 | [IsLocalRing S] (P : Algebra.Extension R S) |
| 19 | [Algebra.FormallySmooth R P.Ring] |
| 20 | [Module.Free P.Ring Ω[P.Ring⁄R]] [Module.Finite P.Ring Ω[P.Ring⁄R]] |
| 21 | [Algebra.FormallyUnramified R S] |
| 22 | |
| 23 | include P in |
| 24 | theorem formallyEtale_of_unramified_ambient_rank {n : ℕ} (r : Fin n → P.Ring) |
| 25 | (hr : Ideal.span (Set.range r) = P.ker) |
| 26 | (hn : n ≤ Module.finrank P.Ring Ω[P.Ring⁄R]) : Algebra.FormallyEtale R S := by |
| 27 | have : Algebra.FormallySmooth R S := CotangentRelationBound.formallySmooth_of_unramified_ambient_rank P r hr hn |
| 28 | exact Algebra.FormallyEtale.of_formallyUnramified_and_formallySmooth |
| 29 | |
| 30 | include P in |
| 31 | theorem flat_of_unramified_ambient_rank [Module.Flat R P.Ring] [IsNoetherianRing P.Ring] |
| 32 | {n : ℕ} (r : Fin n → P.Ring) (hr : Ideal.span (Set.range r) = P.ker) |
| 33 | (hn : n ≤ Module.finrank P.Ring Ω[P.Ring⁄R]) : Module.Flat R S := by |
| 34 | have : Algebra.FormallySmooth R S := CotangentRelationBound.formallySmooth_of_unramified_ambient_rank P r hr hn |
| 35 | exact Algebra.FormallySmooth.flat_of_algHom_of_isNoetherianRing |
| 36 | (IsScalarTower.toAlgHom R P.Ring S) P.algebraMap_surjective |
| 37 | |
| 38 | end |
| 39 | |
| 40 | end OAI.RepresentationTheory.Theta.Geometric.UnramifiedEquationFlatness |