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.HyperplanePolynomial |
| 2 | |
| 3 | /-! # Hyperplane Saturation Bound -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.HyperplaneSaturationBound.GradedHilbert |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! A bound depending only on the Hilbert polynomial for saturation of a regular coordinate hyperplane section. -/ |
| 10 | |
| 11 | open _root_.MvPolynomial |
| 12 | |
| 13 | universe u |
| 14 | |
| 15 | def hyperplaneSaturationBound (n : ℕ) (P : Polynomial ℚ) : ℕ := |
| 16 | max (Hilbert.Truncation.GradedHilbert.hilbertParameterDegree.{u} (n + 1) P + 1) (Hilbert.Truncation.GradedHilbert.hilbertParameterDegree.{u} n (HyperplanePolynomial.GradedHilbert.hilbertDifference P)) |
| 17 | |
| 18 | theorem coordinateHyperplane_uniform_hilbertFunction {K : Type u} [Field K] {n : ℕ} |
| 19 | (I : HomogeneousIdeal (Hilbert.Polynomial.GradedHilbert.grading K (n + 1))) (hSat : Hilbert.Polynomial.GradedHilbert.IsSaturated I.toIdeal) |
| 20 | (hreg : ∀ f : Hilbert.Polynomial.GradedHilbert.CoordinateRing K (n + 1), X 0 * f ∈ I.toIdeal → f ∈ I.toIdeal) |
| 21 | (P : Polynomial ℚ) (hP : Hilbert.Polynomial.GradedHilbert.HasHilbertPolynomial I.toIdeal P) |
| 22 | (d : ℕ) (hd : Hilbert.Truncation.GradedHilbert.hilbertParameterDegree.{u} (n + 1) P + 1 ≤ d) : |
| 23 | (Hilbert.Polynomial.GradedHilbert.hilbertFunction (Coordinate.Hyperplane.GradedHilbert.coordinateHyperplaneIdeal I).toIdeal d : ℚ) = (HyperplanePolynomial.GradedHilbert.hilbertDifference P).eval (d : ℚ) := by |
| 24 | have hd0 : 1 ≤ d := by omega |
| 25 | have h := Linear.FormFunction.GradedHilbert.linearForm_hilbertFunction I (X 0) (isHomogeneous_X K 0) hreg (d - 1) |
| 26 | rw [Nat.sub_add_cancel hd0, HyperplaneDegreeEquivalence.GradedHilbert.coordinateHyperplane_hilbertFunction] at h |
| 27 | have h' : (Hilbert.Polynomial.GradedHilbert.hilbertFunction I.toIdeal (d - 1) : ℚ) + |
| 28 | (Hilbert.Polynomial.GradedHilbert.hilbertFunction (Coordinate.Hyperplane.GradedHilbert.coordinateHyperplaneIdeal I).toIdeal d : ℚ) = |
| 29 | (Hilbert.Polynomial.GradedHilbert.hilbertFunction I.toIdeal d : ℚ) := by exact_mod_cast h |
| 30 | have hp := (Hilbert.Truncation.GradedHilbert.hilbertParameterDegree_spec (n + 1) P K I hSat hP).2 |
| 31 | rw [hp (d - 1) (by omega), hp d (by omega), Nat.cast_sub hd0, Nat.cast_one] at h' |
| 32 | rw [HyperplanePolynomial.GradedHilbert.hilbertDifference_eval] |
| 33 | linarith |
| 34 | |
| 35 | theorem coordinateHyperplane_uniform_saturation {K : Type u} [Field K] {n : ℕ} |
| 36 | (I : HomogeneousIdeal (Hilbert.Polynomial.GradedHilbert.grading K (n + 1))) (hSat : Hilbert.Polynomial.GradedHilbert.IsSaturated I.toIdeal) |
| 37 | (hreg : ∀ f : Hilbert.Polynomial.GradedHilbert.CoordinateRing K (n + 1), X 0 * f ∈ I.toIdeal → f ∈ I.toIdeal) |
| 38 | (P : Polynomial ℚ) (hP : Hilbert.Polynomial.GradedHilbert.HasHilbertPolynomial I.toIdeal P) |
| 39 | (d : ℕ) (hd : hyperplaneSaturationBound.{u} n P ≤ d) : |
| 40 | Hilbert.Polynomial.GradedHilbert.degreeRelations (Projective.Saturation.GradedHilbert.projectiveSaturation (Coordinate.Hyperplane.GradedHilbert.coordinateHyperplaneIdeal I)).toIdeal d = |
| 41 | Hilbert.Polynomial.GradedHilbert.degreeRelations (Coordinate.Hyperplane.GradedHilbert.coordinateHyperplaneIdeal I).toIdeal d := by |
| 42 | have hraw := coordinateHyperplane_uniform_hilbertFunction I hSat hreg P hP d ((le_max_left _ _).trans hd) |
| 43 | have hsat := (Hilbert.Truncation.GradedHilbert.hilbertParameterDegree_spec n (HyperplanePolynomial.GradedHilbert.hilbertDifference P) K |
| 44 | (Projective.Saturation.GradedHilbert.projectiveSaturation (Coordinate.Hyperplane.GradedHilbert.coordinateHyperplaneIdeal I)) (Projective.Saturation.GradedHilbert.projectiveSaturation_isSaturated _) |
| 45 | (HyperplanePolynomial.GradedHilbert.saturated_coordinateHyperplane_hasHilbertPolynomial I hreg P hP)).2 d ((le_max_right _ _).trans hd) |
| 46 | have he : Hilbert.Polynomial.GradedHilbert.hilbertFunction (Coordinate.Hyperplane.GradedHilbert.coordinateHyperplaneIdeal I).toIdeal d = |
| 47 | Hilbert.Polynomial.GradedHilbert.hilbertFunction (Projective.Saturation.GradedHilbert.projectiveSaturation (Coordinate.Hyperplane.GradedHilbert.coordinateHyperplaneIdeal I)).toIdeal d := by |
| 48 | exact_mod_cast hraw.trans hsat.symm |
| 49 | exact (Hilbert.Polynomial.GradedHilbert.degreeRelations_eq_of_le_of_hilbertFunction_eq (Projective.Saturation.GradedHilbert.le_projectiveSaturation _) d he).symm |
| 50 | |
| 51 | end |
| 52 | |
| 53 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.HyperplaneSaturationBound.GradedHilbert |