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.Homogeneous.GeneratorsBaseChange |
| 2 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Finite.PolynomialTest |
| 3 | |
| 4 | /-! # Generated Polynomial Test -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.GeneratedPolynomialTest.GradedHilbert |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The finite Hilbert-polynomial test for a homogeneous generating family, allowing zero equations after specialization. -/ |
| 11 | |
| 12 | open _root_.MvPolynomial |
| 13 | |
| 14 | universe u z |
| 15 | |
| 16 | variable {K : Type u} [Field K] {n : ℕ} {ι : Type z} [Fintype ι] |
| 17 | |
| 18 | theorem homogeneousGenerators_hilbertPolynomial_finite_test |
| 19 | (g : ι → Hilbert.Polynomial.GradedHilbert.CoordinateRing K n) (N : ℕ) (hg : ∀ i, (g i).IsHomogeneous N) (P : Polynomial ℚ) : |
| 20 | Hilbert.Polynomial.GradedHilbert.HasHilbertPolynomial (Homogeneous.RelationPresentation.GradedHilbert.homogeneousGeneratorsIdeal g N hg).toIdeal P ↔ |
| 21 | P.natDegree ≤ n ∧ ∀ i : Fin (n + 1), |
| 22 | (Hilbert.Polynomial.GradedHilbert.hilbertFunction (Homogeneous.RelationPresentation.GradedHilbert.homogeneousGeneratorsIdeal g N hg).toIdeal |
| 23 | (Bounded.GeneratorFunction.GradedHilbert.generatorHilbertFunctionBound n N + i.val) : ℚ) = |
| 24 | P.eval ((Bounded.GeneratorFunction.GradedHilbert.generatorHilbertFunctionBound n N + i.val : ℕ) : ℚ) := by |
| 25 | classical |
| 26 | let B := (Finset.univ.image g).erase 0 |
| 27 | have hB : (Homogeneous.RelationPresentation.GradedHilbert.homogeneousGeneratorsIdeal g N hg).toIdeal = Ideal.span (B : Set (Hilbert.Polynomial.GradedHilbert.CoordinateRing K n)) := by |
| 28 | apply le_antisymm |
| 29 | · apply Ideal.span_le.mpr |
| 30 | rintro f ⟨i, rfl⟩ |
| 31 | by_cases hi : g i = 0 |
| 32 | · simpa only [hi, SetLike.mem_coe] using (Ideal.zero_mem (Ideal.span (B : Set (Hilbert.Polynomial.GradedHilbert.CoordinateRing K n)))) |
| 33 | · exact Ideal.subset_span (Finset.mem_erase.mpr ⟨hi, Finset.mem_image.mpr ⟨i, Finset.mem_univ i, rfl⟩⟩) |
| 34 | · apply Ideal.span_le.mpr |
| 35 | intro f hf |
| 36 | obtain ⟨i, _, rfl⟩ := Finset.mem_image.mp (Finset.mem_erase.mp hf).2 |
| 37 | exact Ideal.subset_span (Set.mem_range_self i) |
| 38 | apply Finite.PolynomialTest.GradedHilbert.bounded_generators_hilbertPolynomial_finite_test _ B hB N _ P |
| 39 | intro f hf |
| 40 | obtain ⟨hf0, hfg⟩ := Finset.mem_erase.mp hf |
| 41 | obtain ⟨i, _, rfl⟩ := Finset.mem_image.mp hfg |
| 42 | exact ⟨hf0, N, le_rfl, hg i⟩ |
| 43 | |
| 44 | end |
| 45 | |
| 46 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.GeneratedPolynomialTest.GradedHilbert |