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.CartesianProjectiveComparisons |
| 2 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Projective.AutomorphismPolynomial |
| 3 | |
| 4 | /-! # Exact Canonical Fiber Polynomial -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.ExactCanonicalFiberPolynomial.GradedHilbert |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The exact statement predicate, allowing any Cartesian projective |
| 11 | coordinate comparison, is equivalent to the canonical fiber polynomial. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 14 | |
| 15 | universe u |
| 16 | variable {S : Scheme.{u}} {n : ℕ} {T : Over S} |
| 17 | |
| 18 | theorem canonicalFiberHilbertPolynomial_of_hasFiberHilbertPolynomial |
| 19 | (F : Hilbert.Functor.Family (Intrinsic.PolynomialAmbient.GradedHilbert.relativeProjectiveOver S n) T) (P : Polynomial ℚ) |
| 20 | (hP : Has.Core.HasFiberHilbertPolynomial (Intrinsic.ProjectivePresentation.GradedHilbert.canonicalProjectivePresentation S n) F P) : |
| 21 | CanonicalFiberPolynomial.GradedHilbert.CanonicalFiberHilbertPolynomial F P := by |
| 22 | intro K _ a |
| 23 | let b : Over.mk (a ≫ T.hom) ⟶ T := Over.homMk a rfl |
| 24 | let G := Hilbert.Functor.pullbackFamily (Intrinsic.PolynomialAmbient.GradedHilbert.relativeProjectiveOver S n) b F |
| 25 | have hp := hP K a |
| 26 | dsimp only [Intrinsic.ProjectivePresentation.GradedHilbert.canonicalProjectivePresentation] at hp |
| 27 | obtain ⟨q, f, hq, hf, hinc, hproj, hpoly⟩ := hp |
| 28 | let q₀ := Projective.Point.GradedHilbert.projectiveSchemePointMap n (a ≫ T.hom) |
| 29 | let f₀ := Affine.IntrinsicProjectiveEmbedding.GradedHilbert.affineNativeProjectiveEmbedding n (a ≫ T.hom) G |
| 30 | have hq₀ := Projective.Point.GradedHilbert.projectiveSchemePointMap_isPullback n (a ≫ T.hom) |
| 31 | let e := CartesianProjectiveComparisons.cartesianProjectiveComparisonIso (a ≫ T.hom) q₀ q hq₀ hq |
| 32 | have hi : f₀ ≫ q₀ = f ≫ q := by |
| 33 | erw [Category.comp_id] at hinc |
| 34 | exact (Affine.IntrinsicProjectiveEmbedding.GradedHilbert.affineNativeProjectiveEmbedding_ambient n (a ≫ T.hom) G).trans hinc.symm |
| 35 | have hb : f₀ ≫ Has.Core.projectiveSpaceMap K n = f ≫ Has.Core.projectiveSpaceMap K n := |
| 36 | (Affine.IntrinsicProjectiveEmbedding.GradedHilbert.affineNativeProjectiveEmbedding_projection n (a ≫ T.hom) G).trans hproj.symm |
| 37 | have he : f₀ ≫ e.hom = f := |
| 38 | CartesianProjectiveComparisons.cartesianProjectiveComparisonIso_embedding (a ≫ T.hom) q₀ q hq₀ hq f₀ f hi hb |
| 39 | have hpoly₀ : Hilbert.Polynomial.GradedHilbert.HasHilbertPolynomial (ChartHomogeneousIdeal.GradedHilbert.homogeneousIdealOfSheaf (f₀ ≫ e.hom).ker).toIdeal P := by |
| 40 | rw [he] |
| 41 | exact hpoly |
| 42 | have h := (Projective.AutomorphismPolynomial.projectiveAutomorphism_hilbertPolynomial_iff K e |
| 43 | (CartesianProjectiveComparisons.cartesianProjectiveComparisonIso_native_base (a ≫ T.hom) q₀ q hq₀ hq) f₀ P).mp hpoly₀ |
| 44 | rwa [Affine.IntrinsicProjectiveEmbedding.GradedHilbert.affineNativeProjectiveEmbedding_coordinates] at h |
| 45 | |
| 46 | theorem hasFiberHilbertPolynomial_iff_canonical |
| 47 | (F : Hilbert.Functor.Family (Intrinsic.PolynomialAmbient.GradedHilbert.relativeProjectiveOver S n) T) (P : Polynomial ℚ) : |
| 48 | Has.Core.HasFiberHilbertPolynomial (Intrinsic.ProjectivePresentation.GradedHilbert.canonicalProjectivePresentation S n) F P ↔ |
| 49 | CanonicalFiberPolynomial.GradedHilbert.CanonicalFiberHilbertPolynomial F P := |
| 50 | ⟨canonicalFiberHilbertPolynomial_of_hasFiberHilbertPolynomial F P, |
| 51 | CanonicalFiberPolynomial.GradedHilbert.CanonicalFiberHilbertPolynomial.hasFiberHilbertPolynomial⟩ |
| 52 | |
| 53 | end |
| 54 | |
| 55 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.ExactCanonicalFiberPolynomial.GradedHilbert |