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.HilbertScheme.Presentations.Projective.Point |
| 2 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Polynomial.ProjectiveFunctoriality |
| 3 | |
| 4 | /-! # Point Naturality -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Projective.PointNaturality |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Polynomial coordinates at ring-valued scheme points commute with |
| 11 | arbitrary coefficient homomorphisms. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 14 | |
| 15 | universe u |
| 16 | variable {S : Scheme.{u}} {R A : Type u} [CommRing R] [CommRing A] |
| 17 | variable (a : Spec (CommRingCat.of R) ⟶ S) (φ : R →+* A) |
| 18 | |
| 19 | theorem schemePointCoefficientMap_comp_spec : |
| 20 | PointCoefficients.schemePointCoefficientMap (Spec.map (CommRingCat.ofHom φ) ≫ a) = φ.comp (PointCoefficients.schemePointCoefficientMap a) := by |
| 21 | have h : CommRingCat.ofHom (PointCoefficients.schemePointCoefficientMap (Spec.map (CommRingCat.ofHom φ) ≫ a)) = |
| 22 | CommRingCat.ofHom (φ.comp (PointCoefficients.schemePointCoefficientMap a)) := by |
| 23 | apply Spec.map_injective |
| 24 | rw [Point.schemePointCoefficientMap_spec, CommRingCat.ofHom_comp, Spec.map_comp, |
| 25 | Point.schemePointCoefficientMap_spec, Category.assoc] |
| 26 | exact congrArg CommRingCat.Hom.hom h |
| 27 | |
| 28 | namespace GradedHilbert |
| 29 | |
| 30 | theorem projectiveSchemePointMap_naturality (n : ℕ) : |
| 31 | Point.GradedHilbert.projectiveSchemePointMap n (Spec.map (CommRingCat.ofHom φ) ≫ a) = |
| 32 | Polynomial.ProjectiveCoefficientMap.GradedHilbert.polynomialProjectiveCoefficientMap (n := n) φ ≫ Point.GradedHilbert.projectiveSchemePointMap n a := by |
| 33 | let : Algebra R A := φ.toAlgebra |
| 34 | apply pullback.hom_ext |
| 35 | · rw [Point.GradedHilbert.projectiveSchemePointMap_coefficient, Category.assoc, Point.GradedHilbert.projectiveSchemePointMap_coefficient, |
| 36 | schemePointCoefficientMap_comp_spec, Polynomial.ProjectiveFunctoriality.GradedHilbert.polynomialProjectiveCoefficientMap_comp] |
| 37 | · change _ ≫ (Intrinsic.PolynomialAmbient.GradedHilbert.relativeProjectiveOver S n).hom = (_ ≫ _) ≫ (Intrinsic.PolynomialAmbient.GradedHilbert.relativeProjectiveOver S n).hom |
| 38 | rw [Point.GradedHilbert.projectiveSchemePointMap_projection, Category.assoc, Point.GradedHilbert.projectiveSchemePointMap_projection] |
| 39 | have h : Polynomial.ProjectiveCoefficientMap.GradedHilbert.polynomialProjectiveCoefficientMap (n := n) φ ≫ Flatness.GradedHilbert.projectiveStructureMap (Hilbert.Polynomial.GradedHilbert.grading R n) = |
| 40 | Flatness.GradedHilbert.projectiveStructureMap (Hilbert.Polynomial.GradedHilbert.grading A n) ≫ Spec.map (CommRingCat.ofHom φ) := Polynomial.ProjectiveBaseChange.GradedHilbert.polynomialProjectiveCoefficientMap_over |
| 41 | simpa only [Category.assoc] using (congrArg (fun f => f ≫ a) h).symm |
| 42 | |
| 43 | end GradedHilbert |
| 44 | |
| 45 | end |
| 46 | |
| 47 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Projective.PointNaturality |