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.Polynomial.IdealPrimeDescent |
| 2 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Projective.Saturation |
| 3 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Homogeneous.GeneratorsBaseChange |
| 4 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Projective.SaturationOrder |
| 5 | |
| 6 | /-! # Prime Descent -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Saturation.PrimeDescent.GradedHilbert |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Finitely many homogeneous saturation memberships spread from a |
| 13 | prime localization to a principal neighborhood, without Noetherianity. -/ |
| 14 | |
| 15 | open _root_.MvPolynomial |
| 16 | |
| 17 | universe u v |
| 18 | variable {A : Type u} [CommRing A] {n : ℕ} |
| 19 | |
| 20 | theorem finite_saturation_membership_prime_descent |
| 21 | (p : Ideal A) [p.IsPrime] {κ : Type v} [Fintype κ] |
| 22 | (I : κ → HomogeneousIdeal (Hilbert.Polynomial.GradedHilbert.grading A n)) (g : κ → Hilbert.Polynomial.GradedHilbert.CoordinateRing A n) |
| 23 | (d : κ → ℕ) (hg : ∀ i, (g i).IsHomogeneous (d i)) |
| 24 | (hmem : ∀ i, MvPolynomial.map (algebraMap A (Localization.AtPrime p)) (g i) ∈ |
| 25 | (Projective.Saturation.GradedHilbert.projectiveSaturation (Graded.BaseChange.GradedHilbert.extendedHomogeneousIdeal (S := Localization.AtPrime p) (I i))).toIdeal) : |
| 26 | ∃ s : A, s ∉ p ∧ ∀ i, MvPolynomial.map (algebraMap A (Localization.Away s)) (g i) ∈ |
| 27 | (Projective.Saturation.GradedHilbert.projectiveSaturation (Graded.BaseChange.GradedHilbert.extendedHomogeneousIdeal (S := Localization.Away s) (I i))).toIdeal := by |
| 28 | classical |
| 29 | have hpowers (q : κ × Fin (n + 1)) : ∃ k : ℕ, |
| 30 | X q.2 ^ k * MvPolynomial.map (algebraMap A (Localization.AtPrime p)) (g q.1) ∈ |
| 31 | (Graded.BaseChange.GradedHilbert.extendedHomogeneousIdeal (S := Localization.AtPrime p) (I q.1)).toIdeal := |
| 32 | (Projective.Saturation.GradedHilbert.mem_projectiveSaturation_iff _ ((hg q.1).map _)).mp (hmem q.1) q.2 |
| 33 | choose k hk using hpowers |
| 34 | have hm (q : κ × Fin (n + 1)) : |
| 35 | MvPolynomial.map (algebraMap A (Localization.AtPrime p)) (X q.2 ^ k q * g q.1) ∈ |
| 36 | (I q.1).toIdeal.map (MvPolynomial.map (algebraMap A (Localization.AtPrime p))) := by |
| 37 | simpa only [map_mul, map_pow, MvPolynomial.map_X] using! hk q |
| 38 | obtain ⟨s, hs, hsm⟩ := Polynomial.IdealPrimeDescent.finite_polynomialIdeal_membership_descent p |
| 39 | (fun q : κ × Fin (n + 1) => (I q.1).toIdeal) (fun q => X q.2 ^ k q * g q.1) hm |
| 40 | refine ⟨s, hs, fun i => ?_⟩ |
| 41 | apply (Projective.Saturation.GradedHilbert.mem_projectiveSaturation_iff _ ((hg i).map _)).mpr |
| 42 | intro j |
| 43 | refine ⟨k (i, j), ?_⟩ |
| 44 | simpa only [map_mul, map_pow, MvPolynomial.map_X] using! hsm (i, j) |
| 45 | |
| 46 | theorem generatedIdeal_le_saturation_of_mapped_generators |
| 47 | (T : Type v) [CommRing T] [Algebra A T] |
| 48 | {κ : Type*} (g : κ → Hilbert.Polynomial.GradedHilbert.CoordinateRing A n) (N : ℕ) (hg : ∀ i, (g i).IsHomogeneous N) |
| 49 | (I : HomogeneousIdeal (Hilbert.Polynomial.GradedHilbert.grading A n)) |
| 50 | (hmem : ∀ i, MvPolynomial.map (algebraMap A T) (g i) ∈ |
| 51 | (Projective.Saturation.GradedHilbert.projectiveSaturation (Graded.BaseChange.GradedHilbert.extendedHomogeneousIdeal (S := T) I)).toIdeal) : |
| 52 | Projective.Saturation.GradedHilbert.projectiveSaturation (Graded.BaseChange.GradedHilbert.extendedHomogeneousIdeal (S := T) (Homogeneous.RelationPresentation.GradedHilbert.homogeneousGeneratorsIdeal g N hg)) ≤ |
| 53 | Projective.Saturation.GradedHilbert.projectiveSaturation (Graded.BaseChange.GradedHilbert.extendedHomogeneousIdeal (S := T) I) := by |
| 54 | apply (Projective.SaturationOrder.GradedHilbert.projectiveSaturation_le_iff _ _ (Projective.Saturation.GradedHilbert.projectiveSaturation_isSaturated _)).mpr |
| 55 | change (Ideal.span (Set.range g)).map (MvPolynomial.map (algebraMap A T)) ≤ _ |
| 56 | rw [Ideal.map_span] |
| 57 | apply Ideal.span_le.mpr |
| 58 | rintro _ ⟨_, ⟨i, rfl⟩, rfl⟩ |
| 59 | exact hmem i |
| 60 | |
| 61 | end |
| 62 | |
| 63 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Saturation.PrimeDescent.GradedHilbert |