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.Uniform.FamilyGeneration |
| 2 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.EventualSaturatedEquality |
| 3 | |
| 4 | /-! # Family Reconstruction -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Uniform.FamilyReconstruction.GradedHilbert |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The uniform single-degree Grassmannian coordinates determine actual saturated flat projective families, including over nonreduced noetherian rings. -/ |
| 11 | |
| 12 | open _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | variable {R : Type u} [CommRing R] [IsNoetherianRing R] {n : ℕ} |
| 17 | variable (I : HomogeneousIdeal (Hilbert.Polynomial.GradedHilbert.grading R n)) (hSat : Hilbert.Polynomial.GradedHilbert.IsSaturated I.toIdeal) |
| 18 | variable [Flat (Projective.Flatness.GradedHilbert.projectiveStructureMap (Graded.Quotient.GradedHilbert.quotientGrading I))] |
| 19 | variable (P : Polynomial ℚ) (hP : ∀ p : PrimeSpectrum R, |
| 20 | Hilbert.Polynomial.GradedHilbert.HasHilbertPolynomial |
| 21 | (Projective.Saturation.GradedHilbert.projectiveSaturation (Graded.BaseChange.GradedHilbert.extendedHomogeneousIdeal (S := p.asIdeal.ResidueField) I)).toIdeal P) |
| 22 | |
| 23 | include hSat hP in |
| 24 | theorem uniformFamily_reconstruction (N : ℕ) (hN : FamilyCoordinates.GradedHilbert.uniformHilbertFamilyDegree.{u} n P ≤ N) : |
| 25 | Projective.Saturation.GradedHilbert.projectiveSaturation (DegreeGeneratedIdeal.GradedHilbert.degreeGeneratedIdeal I N) = I := by |
| 26 | obtain ⟨B, hB⟩ := Projective.Saturation.GradedHilbert.projectiveSaturation_eventual_degreeRelations (DegreeGeneratedIdeal.GradedHilbert.degreeGeneratedIdeal I N) |
| 27 | apply EventualSaturatedEquality.GradedHilbert.saturated_eq_of_eventual_degreeRelations _ I |
| 28 | (Projective.Saturation.GradedHilbert.projectiveSaturation_isSaturated (DegreeGeneratedIdeal.GradedHilbert.degreeGeneratedIdeal I N)) hSat (max B N) |
| 29 | intro d hd |
| 30 | rw [hB d ((le_max_left _ _).trans hd)] |
| 31 | exact FamilyGeneration.GradedHilbert.uniformFamily_degreeGenerated_relations I hSat P hP N hN d ((le_max_right _ _).trans hd) |
| 32 | |
| 33 | variable (J : HomogeneousIdeal (Hilbert.Polynomial.GradedHilbert.grading R n)) (hSatJ : Hilbert.Polynomial.GradedHilbert.IsSaturated J.toIdeal) |
| 34 | variable [Flat (Projective.Flatness.GradedHilbert.projectiveStructureMap (Graded.Quotient.GradedHilbert.quotientGrading J))] |
| 35 | variable (hPJ : ∀ p : PrimeSpectrum R, |
| 36 | Hilbert.Polynomial.GradedHilbert.HasHilbertPolynomial |
| 37 | (Projective.Saturation.GradedHilbert.projectiveSaturation (Graded.BaseChange.GradedHilbert.extendedHomogeneousIdeal (S := p.asIdeal.ResidueField) J)).toIdeal P) |
| 38 | |
| 39 | include hSat hP hSatJ hPJ in |
| 40 | theorem uniformFamily_eq_of_degreeRelations_eq (N : ℕ) (hN : FamilyCoordinates.GradedHilbert.uniformHilbertFamilyDegree.{u} n P ≤ N) |
| 41 | (heq : Hilbert.Polynomial.GradedHilbert.degreeRelations I.toIdeal N = Hilbert.Polynomial.GradedHilbert.degreeRelations J.toIdeal N) : I = J := by |
| 42 | rw [← uniformFamily_reconstruction I hSat P hP N hN, |
| 43 | ← uniformFamily_reconstruction J hSatJ P hPJ N hN] |
| 44 | exact congrArg Projective.Saturation.GradedHilbert.projectiveSaturation (DegreeGeneratedIdeal.GradedHilbert.degreeGeneratedIdeal_eq_of_degreeRelations_eq I J N heq) |
| 45 | |
| 46 | include hSat hP hSatJ hPJ in |
| 47 | theorem uniformFamily_eq_of_grassmannian_eq (N : ℕ) (hN : FamilyCoordinates.GradedHilbert.uniformHilbertFamilyDegree.{u} n P ≤ N) |
| 48 | (heq : FamilyCoordinates.GradedHilbert.uniformFlatFamilyHilbertGrassmannian I hSat P hP N hN = |
| 49 | FamilyCoordinates.GradedHilbert.uniformFlatFamilyHilbertGrassmannian J hSatJ P hPJ N hN) : I = J := |
| 50 | uniformFamily_eq_of_degreeRelations_eq I hSat P hP J hSatJ hPJ N hN |
| 51 | (congrArg Module.Grassmannian.toSubmodule heq) |
| 52 | |
| 53 | end |
| 54 | |
| 55 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Uniform.FamilyReconstruction.GradedHilbert |