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.Grassmann.ChartMaps |
| 2 | import Mathlib.CategoryTheory.Yoneda |
| 3 | |
| 4 | /-! # Chart Representability -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Grassmann.ChartRepresentability |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Each finite-free quotient chart is corepresented by its polynomial coordinate algebra. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | variable (R : Type u) [CommRing R] (k l : ℕ) |
| 17 | |
| 18 | /-- The functor of quotient-chart points, with the scalar extension of their defining kernels. -/ |
| 19 | def grassmannChartFunctor : CommAlgCat.{u} R ⥤ Type u where |
| 20 | obj A := Charts.GrassmannChart A (Fin l → A) k |
| 21 | map f := TypeCat.ofHom (Charts.GrassmannChart.map f.hom.toRingHom) |
| 22 | map_id A := by |
| 23 | apply ConcreteCategory.hom_ext |
| 24 | intro c |
| 25 | exact Charts.GrassmannChart.map_id c |
| 26 | map_comp f g := by |
| 27 | apply ConcreteCategory.hom_ext |
| 28 | intro c |
| 29 | exact Charts.GrassmannChart.map_comp f.hom.toRingHom g.hom.toRingHom c |
| 30 | |
| 31 | /-- The chart coordinate algebra has one variable for each entry of the rectangular matrix. -/ |
| 32 | def grassmannChartCoordinateAlgebra : CommAlgCat.{u} R := |
| 33 | CommAlgCat.of R (MvPolynomial (Fin k × Fin l) R) |
| 34 | |
| 35 | /-- The precise universal property of the polynomial coordinate algebra of one chart. -/ |
| 36 | def grassmannChartCorepresentable : |
| 37 | (grassmannChartFunctor R k l).CorepresentableBy (grassmannChartCoordinateAlgebra R k l) where |
| 38 | homEquiv := |
| 39 | { toFun := fun f => PolynomialCoordinates.grassmannChartPolynomialEquiv f.hom |
| 40 | invFun := fun c => CommAlgCat.ofHom (PolynomialCoordinates.grassmannChartPolynomialEquiv.symm c) |
| 41 | left_inv := fun f => by |
| 42 | apply CommAlgCat.hom_ext |
| 43 | exact PolynomialCoordinates.grassmannChartPolynomialEquiv.symm_apply_apply f.hom |
| 44 | right_inv := fun c => PolynomialCoordinates.grassmannChartPolynomialEquiv.apply_symm_apply c } |
| 45 | homEquiv_comp g f := Charts.GrassmannChart.polynomialEquiv_naturality g.hom f.hom |
| 46 | |
| 47 | /-- Every chart point is obtained from a unique map out of the chart coordinate algebra. -/ |
| 48 | theorem grassmannChart_existsUnique_parameter (A : CommAlgCat.{u} R) |
| 49 | (c : Charts.GrassmannChart A (Fin l → A) k) : |
| 50 | ∃! f : grassmannChartCoordinateAlgebra R k l ⟶ A, |
| 51 | (grassmannChartCorepresentable R k l).homEquiv f = c := by |
| 52 | let e := (grassmannChartCorepresentable R k l).homEquiv (Y := A) |
| 53 | refine ⟨e.symm c, e.apply_symm_apply c, ?_⟩ |
| 54 | intro f hf |
| 55 | exact e.injective (hf.trans (e.apply_symm_apply c).symm) |
| 56 | |
| 57 | end |
| 58 | |
| 59 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Grassmann.ChartRepresentability |