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.AbelianModuli.HilbertConstruction.Truncated.Fibers |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Truncated.GenerationBaseChange |
| 3 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.GeneratedPolynomialTest |
| 4 | |
| 5 | /-! # Polynomial Test -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Truncated |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Finitely many retained ranks determine the Hilbert polynomial on the generated locus. -/ |
| 12 | |
| 13 | open OAI.AlgebraicGeometry.HilbertScheme.Presentations.GeneratedPolynomialTest.GradedHilbert |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | def PolynomialTest.truncatedHilbertTestBound (n N : ℕ) : ℕ := HilbertScheme.Presentations.Bounded.GeneratorFunction.GradedHilbert.generatorHilbertFunctionBound n N + n |
| 18 | |
| 19 | variable {n B : ℕ} {r : ℕ → ℕ} |
| 20 | |
| 21 | theorem GradedClassification.TruncatedGradedQuotientData.generated_hilbertPolynomial_finite_test {K : Type u} [Field K] |
| 22 | (D : GradedClassification.TruncatedGradedQuotientData K (Fin (n + 1)) B r) (N : ℕ) |
| 23 | (hN : N ≤ B) (hgen : D.GeneratedFromDegree N) |
| 24 | (hB : PolynomialTest.truncatedHilbertTestBound n N ≤ B) (P : Polynomial ℚ) : |
| 25 | HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.HasHilbertPolynomial D.generatedIdeal.toIdeal P ↔ |
| 26 | P.natDegree ≤ n ∧ ∀ i : Fin (n + 1), |
| 27 | (r (HilbertScheme.Presentations.Bounded.GeneratorFunction.GradedHilbert.generatorHilbertFunctionBound n N + i.val) : ℚ) = |
| 28 | P.eval ((HilbertScheme.Presentations.Bounded.GeneratorFunction.GradedHilbert.generatorHilbertFunctionBound n N + i.val : ℕ) : ℚ) := by |
| 29 | let g : Homogeneous.Coordinates.HomogeneousMonomials (Fin (n + 1)) N → HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.CoordinateRing K n := |
| 30 | fun i => (D.degreeGenerators ⟨N, Nat.lt_succ_of_le hN⟩ i).val |
| 31 | have hg : ∀ i, (g i).IsHomogeneous N := fun i => |
| 32 | (D.degreeGenerators ⟨N, Nat.lt_succ_of_le hN⟩ i).property |
| 33 | have hI : D.generatedIdeal = HilbertScheme.Presentations.Homogeneous.RelationPresentation.GradedHilbert.homogeneousGeneratorsIdeal g N hg := |
| 34 | HomogeneousIdeal.ext (D.generatedIdeal_span_generators N hN hgen) |
| 35 | have ht := HilbertScheme.Presentations.GeneratedPolynomialTest.GradedHilbert.homogeneousGenerators_hilbertPolynomial_finite_test g N hg P |
| 36 | rw [← hI] at ht |
| 37 | refine ht.trans (and_congr_right fun _ => forall_congr' fun i => ?_) |
| 38 | have hd : HilbertScheme.Presentations.Bounded.GeneratorFunction.GradedHilbert.generatorHilbertFunctionBound n N + i.val < B + 1 := by |
| 39 | change HilbertScheme.Presentations.Bounded.GeneratorFunction.GradedHilbert.generatorHilbertFunctionBound n N + n ≤ B at hB |
| 40 | omega |
| 41 | rw [D.retained_hilbertFunction ⟨_, hd⟩] |
| 42 | |
| 43 | theorem GradedClassification.TruncatedGradedQuotientData.fieldFiber_hilbertPolynomial_finite_test {R : Type u} [CommRing R] |
| 44 | (D : GradedClassification.TruncatedGradedQuotientData R (Fin (n + 1)) B r) (N : ℕ) |
| 45 | (hN : N ≤ B) (hgen : D.GeneratedFromDegree N) |
| 46 | (hB : PolynomialTest.truncatedHilbertTestBound n N ≤ B) (P : Polynomial ℚ) |
| 47 | (K : Type u) [Field K] [Algebra R K] : |
| 48 | HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.HasHilbertPolynomial (HilbertScheme.Presentations.Graded.BaseChange.GradedHilbert.extendedHomogeneousIdeal (S := K) D.generatedIdeal).toIdeal P ↔ |
| 49 | P.natDegree ≤ n ∧ ∀ i : Fin (n + 1), |
| 50 | (r (HilbertScheme.Presentations.Bounded.GeneratorFunction.GradedHilbert.generatorHilbertFunctionBound n N + i.val) : ℚ) = |
| 51 | P.eval ((HilbertScheme.Presentations.Bounded.GeneratorFunction.GradedHilbert.generatorHilbertFunctionBound n N + i.val : ℕ) : ℚ) := by |
| 52 | rw [← D.baseChange_generatedIdeal K] |
| 53 | exact (D.baseChange K).generated_hilbertPolynomial_finite_test N hN |
| 54 | (D.generatedFromDegree_baseChange (R := CommRingCat.of R) (A := CommRingCat.of K) N hgen) hB P |
| 55 | |
| 56 | end |
| 57 | |
| 58 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Truncated |