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.Flat.ProjectiveCoordinatePieces |
| 2 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Relative.Coordinates |
| 3 | |
| 4 | /-! # Flat Base Change -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Coordinate.FlatBaseChange.GradedHilbert |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The bound for flat coordinate pieces persists under arbitrary coefficient-ring base change. -/ |
| 11 | |
| 12 | open _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | variable {R S : Type u} [CommRing R] [CommRing S] [Algebra R S] {n : ℕ} |
| 17 | |
| 18 | theorem degreeQuotient_flat_baseChange (I : HomogeneousIdeal (Hilbert.Polynomial.GradedHilbert.grading R n)) |
| 19 | (d : ℕ) [Module.Flat R (Hilbert.Polynomial.GradedHilbert.DegreeQuotient I.toIdeal d)] : |
| 20 | Module.Flat S (Hilbert.Polynomial.GradedHilbert.DegreeQuotient (Graded.BaseChange.GradedHilbert.extendedHomogeneousIdeal (S := S) I).toIdeal d) := |
| 21 | Module.Flat.of_linearEquiv (Graded.BaseChange.GradedHilbert.degreeQuotientBaseChangeEquiv (S := S) I d).symm |
| 22 | |
| 23 | theorem degreeQuotient_projective_baseChange (I : HomogeneousIdeal (Hilbert.Polynomial.GradedHilbert.grading R n)) |
| 24 | (d : ℕ) [Module.Projective R (Hilbert.Polynomial.GradedHilbert.DegreeQuotient I.toIdeal d)] : |
| 25 | Module.Projective S (Hilbert.Polynomial.GradedHilbert.DegreeQuotient (Graded.BaseChange.GradedHilbert.extendedHomogeneousIdeal (S := S) I).toIdeal d) := |
| 26 | Module.Projective.of_equiv (Graded.BaseChange.GradedHilbert.degreeQuotientBaseChangeEquiv (S := S) I d) |
| 27 | |
| 28 | theorem projectiveQuotient_eventual_flat_all_baseChanges [IsNoetherianRing R] |
| 29 | (I : HomogeneousIdeal (Hilbert.Polynomial.GradedHilbert.grading R n)) [Flat (Presentations.Projective.Flatness.GradedHilbert.projectiveStructureMap (Graded.Quotient.GradedHilbert.quotientGrading I))] : |
| 30 | ∃ N : ℕ, ∀ (S : Type u) [CommRing S] [Algebra R S], ∀ d ≥ N, |
| 31 | Module.Flat S (Hilbert.Polynomial.GradedHilbert.DegreeQuotient (Graded.BaseChange.GradedHilbert.extendedHomogeneousIdeal (S := S) I).toIdeal d) := by |
| 32 | obtain ⟨N, hN⟩ := Presentations.Flat.ProjectiveCoordinatePieces.GradedHilbert.eventual_coordinatePieces_flat_of_projective_flat I |
| 33 | refine ⟨N, fun S _ _ d hd => ?_⟩ |
| 34 | let : Module.Flat R (Hilbert.Polynomial.GradedHilbert.DegreeQuotient I.toIdeal d) := hN d hd |
| 35 | exact degreeQuotient_flat_baseChange I d |
| 36 | |
| 37 | theorem projectiveQuotient_eventual_projective_all_baseChanges [IsNoetherianRing R] |
| 38 | (I : HomogeneousIdeal (Hilbert.Polynomial.GradedHilbert.grading R n)) [Flat (Presentations.Projective.Flatness.GradedHilbert.projectiveStructureMap (Graded.Quotient.GradedHilbert.quotientGrading I))] : |
| 39 | ∃ N : ℕ, ∀ (S : Type u) [CommRing S] [Algebra R S], ∀ d ≥ N, |
| 40 | Module.Projective S (Hilbert.Polynomial.GradedHilbert.DegreeQuotient (Graded.BaseChange.GradedHilbert.extendedHomogeneousIdeal (S := S) I).toIdeal d) := by |
| 41 | obtain ⟨N, hN⟩ := Presentations.Flat.ProjectiveCoordinatePieces.GradedHilbert.eventual_coordinatePieces_flat_of_projective_flat I |
| 42 | refine ⟨N, fun S _ _ d hd => ?_⟩ |
| 43 | let : Module.Flat R (Hilbert.Polynomial.GradedHilbert.DegreeQuotient I.toIdeal d) := hN d hd |
| 44 | let : Module.Projective R (Hilbert.Polynomial.GradedHilbert.DegreeQuotient I.toIdeal d) := Relative.Coordinates.GradedHilbert.degreeQuotient_projective_of_flat I d |
| 45 | exact degreeQuotient_projective_baseChange I d |
| 46 | |
| 47 | end |
| 48 | |
| 49 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Coordinate.FlatBaseChange.GradedHilbert |