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.Localized.TensorSubmoduleDetection |
| 2 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.RelationsBaseChangeMap |
| 3 | |
| 4 | /-! # Ideal Localization Detection -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Homogeneous.IdealLocalizationDetection.GradedHilbert |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Homogeneous ideals are detected after coefficient localization at all |
| 11 | maximal ideals of the base ring, without noetherianity. -/ |
| 12 | |
| 13 | universe u |
| 14 | variable {R : Type u} [CommRing R] {n : ℕ} |
| 15 | |
| 16 | theorem homogeneousIdeal_eq_of_coefficient_localizations |
| 17 | (I J : HomogeneousIdeal (Hilbert.Polynomial.GradedHilbert.grading R n)) |
| 18 | (h : ∀ p : Ideal R, ∀ _ : p.IsMaximal, |
| 19 | Graded.BaseChange.GradedHilbert.extendedHomogeneousIdeal (S := Localization.AtPrime p) I = |
| 20 | Graded.BaseChange.GradedHilbert.extendedHomogeneousIdeal (S := Localization.AtPrime p) J) : I = J := by |
| 21 | have hd (d : ℕ) : Hilbert.Polynomial.GradedHilbert.degreeRelations I.toIdeal d = Hilbert.Polynomial.GradedHilbert.degreeRelations J.toIdeal d := by |
| 22 | apply Localized.TensorSubmoduleDetection.submodule_eq_of_localized_tensor |
| 23 | intro p hp |
| 24 | apply Submodule.map_injective_of_injective |
| 25 | (CoefficientBaseChange.GradedHilbert.homogeneousPieceBaseChangeEquiv (R := R) (S := Localization.AtPrime p) (n := n) d).injective |
| 26 | rw [RelationsBaseChangeMap.GradedHilbert.degreeRelations_baseChange_map, RelationsBaseChangeMap.GradedHilbert.degreeRelations_baseChange_map, h p hp] |
| 27 | apply HomogeneousIdeal.ext' |
| 28 | intro d f hf |
| 29 | change (⟨f, hf⟩ : Hilbert.Polynomial.GradedHilbert.grading R n d) ∈ Hilbert.Polynomial.GradedHilbert.degreeRelations I.toIdeal d ↔ |
| 30 | (⟨f, hf⟩ : Hilbert.Polynomial.GradedHilbert.grading R n d) ∈ Hilbert.Polynomial.GradedHilbert.degreeRelations J.toIdeal d |
| 31 | rw [hd] |
| 32 | |
| 33 | end |
| 34 | |
| 35 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Homogeneous.IdealLocalizationDetection.GradedHilbert |