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.Uniform.GeneratedCoordinates |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Truncated.PolynomialTest |
| 3 | |
| 4 | /-! # Rank Tests -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A finite numerical condition on the prescribed Hilbert polynomial gives the field Hilbert polynomial of every generated parameter point. -/ |
| 11 | |
| 12 | universe u |
| 13 | |
| 14 | theorem Generated.RankTests.generatedHilbertTestDegree_ge (n N : ℕ) : N ≤ HilbertScheme.Presentations.Bounded.GeneratorFunction.GradedHilbert.generatorHilbertFunctionBound n N := by |
| 15 | unfold HilbertScheme.Presentations.Bounded.GeneratorFunction.GradedHilbert.generatorHilbertFunctionBound HilbertScheme.Presentations.Uniform.GroebnerCompletion.GradedHilbert.homogeneousGroebnerDegreeBound |
| 16 | have hp : 1 ≤ 2 ^ HilbertScheme.Presentations.ControlledCompletionCertificates.GradedHilbert.polynomialCompletionHorizon n N := Nat.one_le_two_pow |
| 17 | have hN : N ≤ N * 2 ^ HilbertScheme.Presentations.ControlledCompletionCertificates.GradedHilbert.polynomialCompletionHorizon n N := by |
| 18 | simpa only [Nat.mul_one] using Nat.mul_le_mul_left N hp |
| 19 | exact hN.trans (by |
| 20 | simpa only [Nat.one_mul] using Nat.mul_le_mul_right |
| 21 | (N * 2 ^ HilbertScheme.Presentations.ControlledCompletionCertificates.GradedHilbert.polynomialCompletionHorizon n N) (Nat.succ_le_succ (Nat.zero_le n))) |
| 22 | |
| 23 | def Generated.RankTests.GeneratedHilbertRankTest (n : ℕ) (P : Polynomial ℚ) (N : ℕ) : Prop := |
| 24 | P.natDegree ≤ n ∧ ∀ i : Fin (n + 1), |
| 25 | (((P.eval ((HilbertScheme.Presentations.Bounded.GeneratorFunction.GradedHilbert.generatorHilbertFunctionBound n N + i.val : ℕ) : ℚ)).num.toNat : ℕ) : ℚ) = |
| 26 | P.eval ((HilbertScheme.Presentations.Bounded.GeneratorFunction.GradedHilbert.generatorHilbertFunctionBound n N + i.val : ℕ) : ℚ) |
| 27 | |
| 28 | theorem Generated.RankTests.generatedHilbertRanks_finite_test {n N : ℕ} {P : Polynomial ℚ} |
| 29 | (h : Generated.RankTests.GeneratedHilbertRankTest n P N) (i : Fin (n + 1)) : |
| 30 | (Uniform.GeneratedCoordinates.generatedHilbertRanks n P N (HilbertScheme.Presentations.Bounded.GeneratorFunction.GradedHilbert.generatorHilbertFunctionBound n N + i.val) : ℚ) = |
| 31 | P.eval ((HilbertScheme.Presentations.Bounded.GeneratorFunction.GradedHilbert.generatorHilbertFunctionBound n N + i.val : ℕ) : ℚ) := by |
| 32 | rw [Uniform.GeneratedCoordinates.generatedHilbertRanks, ite_eq_right (Nat.not_lt.mpr |
| 33 | ((Generated.RankTests.generatedHilbertTestDegree_ge n N).trans (Nat.le_add_right _ _)))] |
| 34 | exact h.2 i |
| 35 | |
| 36 | variable {R : Type u} [CommRing R] {n B N : ℕ} {P : Polynomial ℚ} |
| 37 | variable (D : Truncated.GradedClassification.TruncatedGradedQuotientData R (Fin (n + 1)) B (Uniform.GeneratedCoordinates.generatedHilbertRanks n P N)) |
| 38 | |
| 39 | theorem Truncated.GradedClassification.TruncatedGradedQuotientData.generated_fieldHilbertPolynomial (hgen : D.GeneratedFromDegree N) |
| 40 | (hN : N ≤ B) (hB : Truncated.PolynomialTest.truncatedHilbertTestBound n N ≤ B) (hr : Generated.RankTests.GeneratedHilbertRankTest n P N) |
| 41 | (K : Type u) [Field K] [Algebra R K] : |
| 42 | HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.HasHilbertPolynomial (HilbertScheme.Presentations.Graded.BaseChange.GradedHilbert.extendedHomogeneousIdeal (S := K) D.generatedIdeal).toIdeal P := |
| 43 | (D.fieldFiber_hilbertPolynomial_finite_test N hN hgen hB P K).mpr |
| 44 | ⟨hr.1, Generated.RankTests.generatedHilbertRanks_finite_test hr⟩ |
| 45 | |
| 46 | end |
| 47 | |
| 48 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |