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.Coordinate.IntegerQuotient |
| 2 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Projective.IdealEquivalence |
| 3 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.EventualIrrelevantTorsion |
| 4 | |
| 5 | /-! # Saturation -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Projective.Saturation.GradedHilbert |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Saturation by the projective ideal sheaf preserves all sufficiently high coordinate degrees. -/ |
| 12 | |
| 13 | open _root_.MvPolynomial _root_.AlgebraicGeometry |
| 14 | |
| 15 | open OAI.AlgebraicGeometry.HilbertScheme.Presentations.EventualIrrelevantTorsion.ProjectiveCech |
| 16 | |
| 17 | universe u |
| 18 | |
| 19 | variable {R : Type u} [CommRing R] {n : ℕ} |
| 20 | |
| 21 | def projectiveSaturation (I : HomogeneousIdeal (Hilbert.Polynomial.GradedHilbert.grading R n)) : HomogeneousIdeal (Hilbert.Polynomial.GradedHilbert.grading R n) := |
| 22 | ChartHomogeneousIdeal.GradedHilbert.homogeneousIdealOfSheaf (Projective.Quotient.GradedHilbert.projectiveQuotientInclusion I).ker |
| 23 | |
| 24 | theorem projectiveSaturation_isSaturated (I : HomogeneousIdeal (Hilbert.Polynomial.GradedHilbert.grading R n)) : |
| 25 | Hilbert.Polynomial.GradedHilbert.IsSaturated (projectiveSaturation I).toIdeal := ChartHomogeneousIdeal.GradedHilbert.homogeneousIdealOfSheaf_saturated _ |
| 26 | |
| 27 | theorem mem_projectiveSaturation_iff (I : HomogeneousIdeal (Hilbert.Polynomial.GradedHilbert.grading R n)) |
| 28 | {f : Hilbert.Polynomial.GradedHilbert.CoordinateRing R n} {d : ℕ} (hf : f.IsHomogeneous d) : |
| 29 | f ∈ (projectiveSaturation I).toIdeal ↔ |
| 30 | ∀ i : Fin (n + 1), ∃ k : ℕ, X i ^ k * f ∈ I.toIdeal := by |
| 31 | change f ∈ (ChartHomogeneousIdeal.GradedHilbert.chartHomogeneousIdeal _).toIdeal ↔ _ |
| 32 | rw [ChartHomogeneousIdeal.GradedHilbert.mem_chartHomogeneousIdeal _ hf] |
| 33 | apply forall_congr' |
| 34 | intro i |
| 35 | rw [ChartHomogeneousIdeal.GradedHilbert.projectiveChartIdeal, ← IdealRecovery.GradedHilbert.projective_chart_kernel_eq I Nat.zero_lt_one (X i) |
| 36 | (isHomogeneous_X R i), Dehomogenization.GradedHilbert.dehomogenize_homogeneous i hf] |
| 37 | exact IdealRecovery.GradedHilbert.quotient_coordinateFraction_eq_zero_iff I i d ⟨f, hf⟩ |
| 38 | |
| 39 | theorem le_projectiveSaturation (I : HomogeneousIdeal (Hilbert.Polynomial.GradedHilbert.grading R n)) : |
| 40 | I ≤ projectiveSaturation I := by |
| 41 | intro f hf |
| 42 | apply (Ideal.IsHomogeneous.mem_iff (Hilbert.Polynomial.GradedHilbert.grading R n) (projectiveSaturation I).isHomogeneous).mpr |
| 43 | intro d |
| 44 | have hI := (Ideal.IsHomogeneous.mem_iff (Hilbert.Polynomial.GradedHilbert.grading R n) I.isHomogeneous).mp hf d |
| 45 | exact (mem_projectiveSaturation_iff I (DirectSum.decompose (Hilbert.Polynomial.GradedHilbert.grading R n) f d).property).mpr |
| 46 | (fun _ => ⟨0, by simpa only [pow_zero, one_mul] using hI⟩) |
| 47 | |
| 48 | theorem projectiveSaturation_idealSheaf (I : HomogeneousIdeal (Hilbert.Polynomial.GradedHilbert.grading R n)) : |
| 49 | (Projective.Quotient.GradedHilbert.projectiveQuotientInclusion (projectiveSaturation I)).ker = |
| 50 | (Projective.Quotient.GradedHilbert.projectiveQuotientInclusion I).ker := IdealEquivalence.GradedHilbert.projectiveQuotient_homogeneousIdealOfSheaf _ |
| 51 | |
| 52 | theorem projectiveSaturation_eq_of_saturated (I : HomogeneousIdeal (Hilbert.Polynomial.GradedHilbert.grading R n)) |
| 53 | (hI : Hilbert.Polynomial.GradedHilbert.IsSaturated I.toIdeal) : projectiveSaturation I = I := |
| 54 | ChartHomogeneousIdeal.GradedHilbert.homogeneousIdealOfSheaf_projectiveQuotient I hI |
| 55 | |
| 56 | theorem projectiveSaturation_idempotent (I : HomogeneousIdeal (Hilbert.Polynomial.GradedHilbert.grading R n)) : |
| 57 | projectiveSaturation (projectiveSaturation I) = projectiveSaturation I := |
| 58 | projectiveSaturation_eq_of_saturated _ (projectiveSaturation_isSaturated I) |
| 59 | |
| 60 | theorem projectiveSaturation_eventual_degreeRelations [IsNoetherianRing R] |
| 61 | (I : HomogeneousIdeal (Hilbert.Polynomial.GradedHilbert.grading R n)) : |
| 62 | ∃ N : ℕ, ∀ d ≥ N, |
| 63 | Hilbert.Polynomial.GradedHilbert.degreeRelations (projectiveSaturation I).toIdeal d = Hilbert.Polynomial.GradedHilbert.degreeRelations I.toIdeal d := by |
| 64 | obtain ⟨N, hN⟩ := EventualIrrelevantTorsion.ProjectiveCech.eventual_no_irrelevant_torsion (σ := Fin (n + 1)) |
| 65 | R (Hilbert.Polynomial.GradedHilbert.CoordinateRing R n ⧸ I.toIdeal) (Coordinate.IntegerQuotient.GradedHilbert.integerQuotientGrading I) |
| 66 | refine ⟨N, fun d hd => ?_⟩ |
| 67 | apply le_antisymm |
| 68 | · intro f hf |
| 69 | change f.val ∈ I.toIdeal |
| 70 | apply Ideal.Quotient.eq_zero_iff_mem.mp |
| 71 | apply hN (d : ℤ) (by exact_mod_cast hd) (Ideal.Quotient.mk I.toIdeal f.val) |
| 72 | · rw [Coordinate.IntegerQuotient.GradedHilbert.integerQuotientGrading_nat] |
| 73 | exact ⟨f.val, f.property, rfl⟩ |
| 74 | · intro i |
| 75 | obtain ⟨k, hk⟩ := (mem_projectiveSaturation_iff I f.property).mp hf i |
| 76 | refine ⟨k, ?_⟩ |
| 77 | change Ideal.Quotient.mk I.toIdeal (X i ^ k * f.val) = 0 |
| 78 | exact Ideal.Quotient.eq_zero_iff_mem.mpr hk |
| 79 | · intro f hf |
| 80 | exact (le_projectiveSaturation I) hf |
| 81 | |
| 82 | end |
| 83 | |
| 84 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Projective.Saturation.GradedHilbert |