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.CanonicalFiberPolynomial |
| 2 | import OAI.AlgebraicGeometry.SheafCohomology.Projective.CoordinateExtensions |
| 3 | |
| 4 | /-! # Cartesian Projective Comparisons -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.CartesianProjectiveComparisons |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Two arbitrary Cartesian projective coordinate comparisons differ |
| 11 | by an actual automorphism preserving the field base. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 14 | |
| 15 | open OAI.AlgebraicGeometry.HilbertScheme.Presentations.CanonicalFiberPolynomial.GradedHilbert |
| 16 | |
| 17 | universe u |
| 18 | variable {S : Scheme.{u}} {K : Type u} [Field K] {n : ℕ} |
| 19 | variable (a : Spec (.of K) ⟶ S) |
| 20 | variable (q r : Proj (Hilbert.Polynomial.GradedHilbert.grading K n) ⟶ Has.Core.projectiveSpace S n) |
| 21 | variable (hq : IsPullback q (Has.Core.projectiveSpaceMap K n) (Has.Core.projectiveSpaceProjection S n) a) |
| 22 | variable (hr : IsPullback r (Has.Core.projectiveSpaceMap K n) (Has.Core.projectiveSpaceProjection S n) a) |
| 23 | |
| 24 | def cartesianProjectiveComparisonIso : Proj (Hilbert.Polynomial.GradedHilbert.grading K n) ≅ Proj (Hilbert.Polynomial.GradedHilbert.grading K n) := |
| 25 | hq.isoIsPullback _ _ hr |
| 26 | |
| 27 | theorem cartesianProjectiveComparisonIso_ambient : |
| 28 | (cartesianProjectiveComparisonIso a q r hq hr).hom ≫ r = q := hq.isoIsPullback_hom_fst _ _ hr |
| 29 | |
| 30 | theorem cartesianProjectiveComparisonIso_base : |
| 31 | (cartesianProjectiveComparisonIso a q r hq hr).hom ≫ Has.Core.projectiveSpaceMap K n = |
| 32 | Has.Core.projectiveSpaceMap K n := hq.isoIsPullback_hom_snd _ _ hr |
| 33 | |
| 34 | theorem cartesianProjectiveComparisonIso_native_base : |
| 35 | (cartesianProjectiveComparisonIso a q r hq hr).hom ≫ SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ = |
| 36 | SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ := cartesianProjectiveComparisonIso_base a q r hq hr |
| 37 | |
| 38 | theorem cartesianProjectiveComparisonIso_embedding {Z : Scheme.{u}} |
| 39 | (f g : Z ⟶ Proj (Hilbert.Polynomial.GradedHilbert.grading K n)) (hqr : f ≫ q = g ≫ r) |
| 40 | (hb : f ≫ Has.Core.projectiveSpaceMap K n = g ≫ Has.Core.projectiveSpaceMap K n) : |
| 41 | f ≫ (cartesianProjectiveComparisonIso a q r hq hr).hom = g := by |
| 42 | apply hr.hom_ext |
| 43 | · rw [Category.assoc, cartesianProjectiveComparisonIso_ambient] |
| 44 | exact hqr |
| 45 | · rw [Category.assoc, cartesianProjectiveComparisonIso_base] |
| 46 | exact hb |
| 47 | |
| 48 | end |
| 49 | |
| 50 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.CartesianProjectiveComparisons |