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.Bounded.AffineProjectiveFlatness |
| 2 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Relative.PolynomialFamily |
| 3 | |
| 4 | /-! # Relative Projective Flatness -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Bounded.RelativeProjectiveFlatness.GradedHilbert |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The finite represented degree conditions make the actual relative |
| 11 | projective family flat over every test scheme, without noetherian hypotheses. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.MvPolynomial |
| 14 | |
| 15 | universe u |
| 16 | variable {S : Scheme.{u}} (M : Over S) {n : ℕ} {ι : Type u} [Fintype ι] [DecidableEq ι] |
| 17 | variable (g : ι → Hilbert.Polynomial.GradedHilbert.CoordinateRing Γ(M.left, ⊤) n) (N : ℕ) (hg : ∀ i, (g i).IsHomogeneous N) |
| 18 | |
| 19 | theorem bounded_degree_locus_relative_family_flat (q : ℕ → ℕ) {T : Over S} |
| 20 | (x : T ⟶ M) (hx : x ∈ (HomogeneousFlatLocus.GradedHilbert.boundedDegreeFlatRankSubfunctor M g N hg q).obj (.op T)) : |
| 21 | Flat (Relative.PolynomialFamily.GradedHilbert.relativePolynomialProjection M (Homogeneous.RelationPresentation.GradedHilbert.homogeneousGeneratorsIdeal g N hg) x) := by |
| 22 | apply Relative.PolynomialFamily.GradedHilbert.relativePolynomialProjection_flat_of_affine_tests M (Homogeneous.RelationPresentation.GradedHilbert.homogeneousGeneratorsIdeal g N hg) x |
| 23 | intro U hU a |
| 24 | apply Relative.PolynomialFamily.GradedHilbert.relativePolynomialProjection_flat_of_coefficients |
| 25 | let : Algebra Γ(M.left, ⊤) Γ(U.left, ⊤) := (a ≫ x).left.appTop.hom.toAlgebra |
| 26 | rw [Homogeneous.GeneratorsBaseChange.GradedHilbert.homogeneousGeneratorsIdeal_baseChange] |
| 27 | exact AffineProjectiveFlatness.GradedHilbert.bounded_degree_locus_affine_projective_flat M g N hg q (a ≫ x) |
| 28 | ((HomogeneousFlatLocus.GradedHilbert.boundedDegreeFlatRankSubfunctor M g N hg q).map a.op hx) |
| 29 | |
| 30 | /-- An actual parameter scheme and an actual flat universal projective family |
| 31 | for the bounded degree conditions. All representability is constructed. -/ |
| 32 | theorem bounded_flat_projective_parameter_scheme (q : ℕ → ℕ) : |
| 33 | ∃ (Z : Over S) (j : Z ⟶ M), IsImmersion j.left ∧ QuasiCompact j.left ∧ |
| 34 | ∃ e : yoneda.obj Z ≅ (HomogeneousFlatLocus.GradedHilbert.boundedDegreeFlatRankSubfunctor M g N hg q).toFunctor, |
| 35 | e.hom ≫ (HomogeneousFlatLocus.GradedHilbert.boundedDegreeFlatRankSubfunctor M g N hg q).ι = yoneda.map j ∧ |
| 36 | Flat (Relative.PolynomialFamily.GradedHilbert.relativePolynomialProjection M (Homogeneous.RelationPresentation.GradedHilbert.homogeneousGeneratorsIdeal g N hg) j) := by |
| 37 | obtain ⟨Z, j, hj, hqc, e, he⟩ := HomogeneousFlatLocus.GradedHilbert.bounded_homogeneous_flat_locus M g N hg q |
| 38 | have hmem : j ∈ (HomogeneousFlatLocus.GradedHilbert.boundedDegreeFlatRankSubfunctor M g N hg q).obj (.op Z) := |
| 39 | (SubfunctorRepresentations.represented_subfunctor_mem _ j e he Z j).mpr ⟨𝟙 Z, Category.id_comp j⟩ |
| 40 | exact ⟨Z, j, hj, hqc, e, he, bounded_degree_locus_relative_family_flat M g N hg q j hmem⟩ |
| 41 | |
| 42 | end |
| 43 | |
| 44 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Bounded.RelativeProjectiveFlatness.GradedHilbert |