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.Intrinsic.PolynomialAmbient |
| 2 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Closed.ImmersionFamily |
| 3 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Bounded.RelativeProjectiveFlatness |
| 4 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Relative.PolynomialFinitePresentation |
| 5 | |
| 6 | /-! # Polynomial Family -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Intrinsic.PolynomialFamily.GradedHilbert |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Bounded polynomial parameters define actual ideal-sheaf points of the |
| 13 | native Hilbert-family functor, on arbitrary test schemes. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.MvPolynomial |
| 16 | |
| 17 | universe u |
| 18 | variable {S : Scheme.{u}} (M : Over S) {n : ℕ} |
| 19 | variable (I : HomogeneousIdeal (Hilbert.Polynomial.GradedHilbert.grading Γ(M.left, ⊤) n)) |
| 20 | |
| 21 | theorem nativePolynomial_isFamily {T : Over S} (x : T ⟶ M) |
| 22 | [Flat (Relative.PolynomialFamily.GradedHilbert.relativePolynomialProjection M I x)] |
| 23 | [LocallyOfFinitePresentation (Relative.PolynomialFamily.GradedHilbert.relativePolynomialProjection M I x)] : |
| 24 | Hilbert.Functor.IsFamily (PolynomialAmbient.GradedHilbert.relativeProjectiveOver M.left n) (PolynomialAmbient.GradedHilbert.nativePolynomialInclusion M I x).ker := by |
| 25 | have : Flat (PolynomialAmbient.GradedHilbert.nativePolynomialInclusion M I x ≫ |
| 26 | Hilbert.Functor.ambientProjection (PolynomialAmbient.GradedHilbert.relativeProjectiveOver M.left n) (Over.mk x.left)) := by |
| 27 | rw [PolynomialAmbient.GradedHilbert.nativePolynomialInclusion_projection] |
| 28 | infer_instance |
| 29 | have : IsProper (PolynomialAmbient.GradedHilbert.nativePolynomialInclusion M I x ≫ |
| 30 | Hilbert.Functor.ambientProjection (PolynomialAmbient.GradedHilbert.relativeProjectiveOver M.left n) (Over.mk x.left)) := by |
| 31 | rw [PolynomialAmbient.GradedHilbert.nativePolynomialInclusion_projection] |
| 32 | infer_instance |
| 33 | have : LocallyOfFinitePresentation (PolynomialAmbient.GradedHilbert.nativePolynomialInclusion M I x ≫ |
| 34 | Hilbert.Functor.ambientProjection (PolynomialAmbient.GradedHilbert.relativeProjectiveOver M.left n) (Over.mk x.left)) := by |
| 35 | rw [PolynomialAmbient.GradedHilbert.nativePolynomialInclusion_projection] |
| 36 | infer_instance |
| 37 | exact Closed.ImmersionFamily.Hilbert.closedImmersion_isFamily (PolynomialAmbient.GradedHilbert.relativeProjectiveOver M.left n) (PolynomialAmbient.GradedHilbert.nativePolynomialInclusion M I x) |
| 38 | |
| 39 | def nativePolynomialFamily {T : Over S} (x : T ⟶ M) |
| 40 | [Flat (Relative.PolynomialFamily.GradedHilbert.relativePolynomialProjection M I x)] |
| 41 | [LocallyOfFinitePresentation (Relative.PolynomialFamily.GradedHilbert.relativePolynomialProjection M I x)] : |
| 42 | Hilbert.Functor.Family (PolynomialAmbient.GradedHilbert.relativeProjectiveOver M.left n) (Over.mk x.left) := |
| 43 | ⟨(PolynomialAmbient.GradedHilbert.nativePolynomialInclusion M I x).ker, nativePolynomial_isFamily M I x⟩ |
| 44 | |
| 45 | variable {ι : Type u} [Fintype ι] [DecidableEq ι] |
| 46 | variable (g : ι → Hilbert.Polynomial.GradedHilbert.CoordinateRing Γ(M.left, ⊤) n) (N : ℕ) (hg : ∀ i, (g i).IsHomogeneous N) |
| 47 | |
| 48 | def boundedNativePolynomialFamily [IsLocallyNoetherian M.left] (q : ℕ → ℕ) |
| 49 | {T : Over S} (x : T ⟶ M) (hx : x ∈ (Bounded.HomogeneousFlatLocus.GradedHilbert.boundedDegreeFlatRankSubfunctor M g N hg q).obj (.op T)) : |
| 50 | Hilbert.Functor.Family (PolynomialAmbient.GradedHilbert.relativeProjectiveOver M.left n) (Over.mk x.left) := by |
| 51 | let : Flat (Relative.PolynomialFamily.GradedHilbert.relativePolynomialProjection M (Homogeneous.RelationPresentation.GradedHilbert.homogeneousGeneratorsIdeal g N hg) x) := |
| 52 | Bounded.RelativeProjectiveFlatness.GradedHilbert.bounded_degree_locus_relative_family_flat M g N hg q x hx |
| 53 | exact nativePolynomialFamily M (Homogeneous.RelationPresentation.GradedHilbert.homogeneousGeneratorsIdeal g N hg) x |
| 54 | |
| 55 | theorem boundedNativePolynomialFamily_val [IsLocallyNoetherian M.left] (q : ℕ → ℕ) |
| 56 | {T : Over S} (x : T ⟶ M) (hx : x ∈ (Bounded.HomogeneousFlatLocus.GradedHilbert.boundedDegreeFlatRankSubfunctor M g N hg q).obj (.op T)) : |
| 57 | (boundedNativePolynomialFamily M g N hg q x hx).val = |
| 58 | (PolynomialAmbient.GradedHilbert.nativePolynomialInclusion M (Homogeneous.RelationPresentation.GradedHilbert.homogeneousGeneratorsIdeal g N hg) x).ker := rfl |
| 59 | |
| 60 | end |
| 61 | |
| 62 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Intrinsic.PolynomialFamily.GradedHilbert |