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.AbelianModuli.HilbertConstruction.Truncated.SingleDegreeGeneration |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Truncated.ProjectiveFamily |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Truncated.QuotientBaseChange |
| 4 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Finite.DegreeFlatness |
| 5 | |
| 6 | /-! # Finite Persistence -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Truncated |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! |
| 13 | A bound depending only on the number of variables and the generating degree |
| 14 | makes the finite generation conditions sufficient for flatness in every degree. |
| 15 | This uses the constructive uniform syzygy bound, without assuming persistence. |
| 16 | -/ |
| 17 | |
| 18 | open _root_.AlgebraicGeometry |
| 19 | open OAI.AlgebraicGeometry.HilbertScheme.Presentations.Finite.DegreeFlatness.GradedHilbert |
| 20 | |
| 21 | universe u |
| 22 | |
| 23 | def FinitePersistence.truncatedFlatnessBound (n N : ℕ) : ℕ := |
| 24 | N + HilbertScheme.Presentations.Coordinate.SyzygyBound.GradedHilbert.homogeneousSyzygyDegreeBound n (Fintype.card (Homogeneous.Coordinates.HomogeneousMonomials (Fin (n + 1)) N)) N |
| 25 | |
| 26 | variable {R : Type u} [CommRing R] {n B : ℕ} {r : ℕ → ℕ} |
| 27 | variable (D : GradedClassification.TruncatedGradedQuotientData R (Fin (n + 1)) B r) (N : ℕ) |
| 28 | |
| 29 | theorem GradedClassification.TruncatedGradedQuotientData.degreeQuotient_flat_of_generatedFromDegree |
| 30 | (hB : FinitePersistence.truncatedFlatnessBound n N ≤ B) (hgen : D.GeneratedFromDegree N) (d : ℕ) : |
| 31 | Module.Flat R (HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.DegreeQuotient D.generatedIdeal.toIdeal d) := by |
| 32 | have hN : N ≤ B := (Nat.le_add_right N _).trans hB |
| 33 | by_cases hd : d < N |
| 34 | · have := D.retainedDegreeQuotient_projective ⟨d, by omega⟩ |
| 35 | exact Module.Flat.of_projective |
| 36 | let g : Homogeneous.Coordinates.HomogeneousMonomials (Fin (n + 1)) N → HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.CoordinateRing R n := |
| 37 | fun i => (D.degreeGenerators ⟨N, Nat.lt_succ_of_le hN⟩ i).val |
| 38 | have hg : ∀ i, (g i).IsHomogeneous N := fun i => |
| 39 | (D.degreeGenerators ⟨N, Nat.lt_succ_of_le hN⟩ i).property |
| 40 | have hI : D.generatedIdeal = HilbertScheme.Presentations.Homogeneous.RelationPresentation.GradedHilbert.homogeneousGeneratorsIdeal g N hg := |
| 41 | HomogeneousIdeal.ext (D.generatedIdeal_span_generators N hN hgen) |
| 42 | have hflat : ∀ e ≤ HilbertScheme.Presentations.Coordinate.SyzygyBound.GradedHilbert.homogeneousSyzygyDegreeBound n |
| 43 | (Fintype.card (Homogeneous.Coordinates.HomogeneousMonomials (Fin (n + 1)) N)) N, |
| 44 | Module.Flat R (HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.DegreeQuotient (HilbertScheme.Presentations.Homogeneous.RelationPresentation.GradedHilbert.homogeneousGeneratorsIdeal g N hg).toIdeal (e + N)) := by |
| 45 | intro e he |
| 46 | rw [← hI] |
| 47 | have hb : e + N < B + 1 := by |
| 48 | change N + HilbertScheme.Presentations.Coordinate.SyzygyBound.GradedHilbert.homogeneousSyzygyDegreeBound n |
| 49 | (Fintype.card (Homogeneous.Coordinates.HomogeneousMonomials (Fin (n + 1)) N)) N ≤ B at hB |
| 50 | omega |
| 51 | have := D.retainedDegreeQuotient_projective ⟨e + N, hb⟩ |
| 52 | exact Module.Flat.of_projective |
| 53 | rw [hI, ← Nat.sub_add_cancel (show N ≤ d by omega)] |
| 54 | exact HilbertScheme.Presentations.Finite.DegreeFlatness.GradedHilbert.homogeneous_quotients_flat_of_finite_flat_degrees g N hg hflat (d - N) |
| 55 | |
| 56 | theorem GradedClassification.TruncatedGradedQuotientData.projectiveFamily_flat_of_generatedFromDegree |
| 57 | (hB : FinitePersistence.truncatedFlatnessBound n N ≤ B) (hgen : D.GeneratedFromDegree N) : |
| 58 | Flat D.projectiveFamily.hom := |
| 59 | D.projectiveFamily_flat 0 (fun d _ => D.degreeQuotient_flat_of_generatedFromDegree N hB hgen d) |
| 60 | |
| 61 | def GradedClassification.TruncatedGradedQuotientData.generatedFlatClosedFamily |
| 62 | (hB : FinitePersistence.truncatedFlatnessBound n N ≤ B) (hgen : D.GeneratedFromDegree N) : |
| 63 | Closed.Families.FlatClosedFamily (Projective.ProjectivePresentations.affineProjectiveSpace R n) := |
| 64 | D.flatClosedFamily 0 (fun d _ => D.degreeQuotient_flat_of_generatedFromDegree N hB hgen d) |
| 65 | |
| 66 | end |
| 67 | |
| 68 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Truncated |