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.AbelianModuli.HilbertConstruction.Quotient.Charts |
| 2 | import Mathlib.RingTheory.Grassmannian |
| 3 | |
| 4 | /-! # Charts -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Quotient charts as actual Grassmannian points with finite projective quotients of fixed rank. -/ |
| 11 | |
| 12 | universe u v |
| 13 | |
| 14 | variable {R : Type u} [CommRing R] {V : Type v} [AddCommGroup V] [Module R V] {k : ℕ} |
| 15 | |
| 16 | /-- A quotient chart with a rank-`k` first summand is a Grassmannian point. -/ |
| 17 | def Quotient.Charts.QuotientChart.toGrassmannian (c : Quotient.Charts.QuotientChart R (Fin k → R) V) : |
| 18 | Module.Grassmannian R ((Fin k → R) × V) k where |
| 19 | toSubmodule := c.val |
| 20 | finite_quotient := Module.Finite.equiv c.frame |
| 21 | projective_quotient := Module.Projective.of_equiv c.frame |
| 22 | rankAtStalk_eq p := by |
| 23 | have : Nontrivial R := p.nontrivial |
| 24 | have he := congrFun (Module.rankAtStalk_eq_of_equiv c.frame.symm) p |
| 25 | exact he.trans (by simp) |
| 26 | |
| 27 | /-- The Grassmannian chart on which the first coordinate summand frames the quotient. -/ |
| 28 | def Grassmann.Charts.GrassmannChart (R : Type u) [CommRing R] (V : Type v) [AddCommGroup V] [Module R V] (k : ℕ) := |
| 29 | {N : Module.Grassmannian R ((Fin k → R) × V) k // |
| 30 | Function.Bijective (N.toSubmodule.mkQ.comp (LinearMap.inl R (Fin k → R) V))} |
| 31 | |
| 32 | /-- The underlying quotient already determines the rank and projectivity conditions on the chart. -/ |
| 33 | def Grassmann.Charts.grassmannQuotientChartEquiv : Grassmann.Charts.GrassmannChart R V k ≃ Quotient.Charts.QuotientChart R (Fin k → R) V where |
| 34 | toFun N := ⟨N.val.toSubmodule, N.property⟩ |
| 35 | invFun c := ⟨c.toGrassmannian, c.property⟩ |
| 36 | left_inv N := by |
| 37 | apply Subtype.ext |
| 38 | exact Module.Grassmannian.ext rfl |
| 39 | right_inv c := rfl |
| 40 | |
| 41 | /-- The chart of rank-`k` quotients is parametrized exactly by the corresponding linear maps. -/ |
| 42 | def Grassmann.Charts.grassmannChartCoordinates : Grassmann.Charts.GrassmannChart R V k ≃ (V →ₗ[R] (Fin k → R)) := |
| 43 | Grassmann.Charts.grassmannQuotientChartEquiv.trans Quotient.Charts.QuotientChart.coordinateEquiv |
| 44 | |
| 45 | end |
| 46 | |
| 47 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |