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.ChartRepresentability |
| 2 | import Mathlib.AlgebraicGeometry.Group.Affine |
| 3 | import Mathlib.AlgebraicGeometry.Morphisms.Smooth |
| 4 | |
| 5 | /-! # Affine Charts -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Grassmann.AffineCharts |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The actual affine schemes parametrizing finite-free Grassmannian quotient charts. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | variable (R : Type u) [CommRing R] (k l : ℕ) |
| 18 | |
| 19 | /-- The affine scheme of matrix coordinates for one Grassmannian chart. -/ |
| 20 | def grassmannAffineChart : Over (Spec (CommRingCat.of R)) := |
| 21 | (algSpec (CommRingCat.of R)).obj (Opposite.op (ChartRepresentability.grassmannChartCoordinateAlgebra R k l)) |
| 22 | |
| 23 | instance grassmannAffineChart_isAffine : IsAffine (grassmannAffineChart R k l).left := |
| 24 | inferInstanceAs (IsAffine (Spec (CommRingCat.of (MvPolynomial (Fin k × Fin l) R)))) |
| 25 | |
| 26 | /-- The chart is smooth over its coefficient ring. -/ |
| 27 | theorem grassmannAffineChart_smooth : Smooth (grassmannAffineChart R k l).hom := by |
| 28 | change Smooth (Spec.map (CommRingCat.ofHom |
| 29 | (algebraMap R (MvPolynomial (Fin k × Fin l) R)))) |
| 30 | rw [HasRingHomProperty.Spec_iff (P := @Smooth)] |
| 31 | exact RingHom.smooth_algebraMap.mpr |
| 32 | (show Algebra.Smooth R (MvPolynomial (Fin k × Fin l) R) from ⟨inferInstance, inferInstance⟩) |
| 33 | |
| 34 | /-- Maps of affine test schemes into the chart classify precisely the quotient-chart points. -/ |
| 35 | def grassmannAffineChartHomEquiv (A : CommAlgCat.{u} R) : |
| 36 | ((algSpec (CommRingCat.of R)).obj (Opposite.op A) ⟶ grassmannAffineChart R k l) ≃ |
| 37 | Charts.GrassmannChart A (Fin l → A) k := |
| 38 | (algSpec.fullyFaithful (R := CommRingCat.of R)).homEquiv.symm.trans |
| 39 | ((opEquiv _ _).trans (ChartRepresentability.grassmannChartCorepresentable R k l).homEquiv) |
| 40 | |
| 41 | /-- A prescribed quotient in the chart determines a unique map to the actual affine chart scheme. -/ |
| 42 | theorem grassmannAffineChart_existsUnique_map (A : CommAlgCat.{u} R) |
| 43 | (c : Charts.GrassmannChart A (Fin l → A) k) : |
| 44 | ∃! f : (algSpec (CommRingCat.of R)).obj (Opposite.op A) ⟶ grassmannAffineChart R k l, |
| 45 | grassmannAffineChartHomEquiv R k l A f = c := by |
| 46 | let e := grassmannAffineChartHomEquiv R k l A |
| 47 | refine ⟨e.symm c, e.apply_symm_apply c, ?_⟩ |
| 48 | intro f hf |
| 49 | exact e.injective (hf.trans (e.apply_symm_apply c).symm) |
| 50 | |
| 51 | end |
| 52 | |
| 53 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Grassmann.AffineCharts |