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.ProjectiveAugmentation |
| 2 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.SaturatedCechAugmentation |
| 3 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Relative.Coordinates |
| 4 | |
| 5 | /-! # Saturated Coordinates -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Uniform.SaturatedCoordinates.GradedHilbert |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! A dimension-and-Hilbert-polynomial bound gives finite projective coordinate quotients for every saturated flat projective family over a noetherian ring. -/ |
| 12 | |
| 13 | open _root_.AlgebraicGeometry |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | variable {R : Type u} [CommRing R] [IsNoetherianRing R] {n : ℕ} |
| 18 | variable (I : HomogeneousIdeal (Hilbert.Polynomial.GradedHilbert.grading R n)) (hSat : Hilbert.Polynomial.GradedHilbert.IsSaturated I.toIdeal) |
| 19 | variable [Flat (Presentations.Projective.Flatness.GradedHilbert.projectiveStructureMap (Graded.Quotient.GradedHilbert.quotientGrading I))] |
| 20 | variable (P : Polynomial ℚ) (hP : ∀ p : PrimeSpectrum R, |
| 21 | Hilbert.Polynomial.GradedHilbert.HasHilbertPolynomial |
| 22 | (Presentations.Projective.Saturation.GradedHilbert.projectiveSaturation (Graded.BaseChange.GradedHilbert.extendedHomogeneousIdeal (S := p.asIdeal.ResidueField) I)).toIdeal P) |
| 23 | |
| 24 | include hSat hP in |
| 25 | theorem uniform_saturated_coordinate_flat (d : ℕ) (hd : RegularCoordinateFlag.GradedHilbert.regularCoordinateFlagBound.{u} n P ≤ d) : |
| 26 | Module.Flat R (Hilbert.Polynomial.GradedHilbert.DegreeQuotient I.toIdeal d) := by |
| 27 | have hd' : (RegularCoordinateFlag.GradedHilbert.regularCoordinateFlagBound.{u} n P : ℤ) ≤ (d : ℤ) := by exact_mod_cast hd |
| 28 | let : Module.Flat R (ModuleCech.Terms.ProjectiveCech.moduleCechTerm (σ := Fin (n + 1)) R |
| 29 | (Hilbert.Polynomial.GradedHilbert.CoordinateRing R n ⧸ I.toIdeal) (Coordinate.IntegerQuotient.GradedHilbert.integerQuotientGrading I) (d : ℤ) 0) := |
| 30 | Cech.FlatAugmentation.ProjectiveCech.moduleCech_augmentation_flat R (Hilbert.Polynomial.GradedHilbert.CoordinateRing R n ⧸ I.toIdeal) (Coordinate.IntegerQuotient.GradedHilbert.integerQuotientGrading I) (d : ℤ) |
| 31 | (ProjectiveAugmentation.GradedHilbert.uniform_projective_cech_exact I P hP (d : ℤ) hd') (by |
| 32 | intro f hf hfc hfd |
| 33 | have hz : ModuleCech.Terms.ProjectiveCech.moduleCechTermDifferential (σ := Fin (n + 1)) R |
| 34 | (Hilbert.Polynomial.GradedHilbert.CoordinateRing R n ⧸ I.toIdeal) (Coordinate.IntegerQuotient.GradedHilbert.integerQuotientGrading I) (d : ℤ) 0 ⟨f, hf, hfc⟩ = |
| 35 | ModuleCech.Terms.ProjectiveCech.moduleCechTermDifferential (σ := Fin (n + 1)) R |
| 36 | (Hilbert.Polynomial.GradedHilbert.CoordinateRing R n ⧸ I.toIdeal) (Coordinate.IntegerQuotient.GradedHilbert.integerQuotientGrading I) (d : ℤ) 0 0 := by |
| 37 | rw [LinearMap.map_zero] |
| 38 | exact Subtype.ext hfd |
| 39 | exact congrArg Subtype.val (SaturatedCechAugmentation.GradedHilbert.saturatedCechAugmentation_injective I hSat d hz)) (fun s hs => by |
| 40 | let : Module.Flat R (Graded.ModuleRestriction.ProjectiveCech.moduleChartDegree R (Hilbert.Polynomial.GradedHilbert.CoordinateRing R n ⧸ I.toIdeal) |
| 41 | (Coordinate.IntegerQuotient.GradedHilbert.integerQuotientGrading I) s 0) := Presentations.Flat.ProjectiveCoordinatePieces.GradedHilbert.coordinateChartDegreeZero_flat I s hs |
| 42 | exact EventualDegreeFlatness.ProjectiveCech.moduleChartDegree_flat_of_zero R (Hilbert.Polynomial.GradedHilbert.CoordinateRing R n ⧸ I.toIdeal) |
| 43 | (Coordinate.IntegerQuotient.GradedHilbert.integerQuotientGrading I) s hs (d : ℤ) (Int.natCast_nonneg d)) |
| 44 | let : Module.Flat R (Coordinate.IntegerQuotient.GradedHilbert.integerQuotientGrading I (d : ℤ)) := Module.Flat.of_linearEquiv |
| 45 | (Cech.AugmentationDegree.ProjectiveCech.moduleCechAugmentationEquiv (σ := Fin (n + 1)) R |
| 46 | (Hilbert.Polynomial.GradedHilbert.CoordinateRing R n ⧸ I.toIdeal) (Coordinate.IntegerQuotient.GradedHilbert.integerQuotientGrading I) (d : ℤ)).symm |
| 47 | exact Module.Flat.of_linearEquiv (Coordinate.IntegerQuotient.GradedHilbert.integerDegreeQuotientEquiv I d) |
| 48 | |
| 49 | include hSat hP in |
| 50 | theorem uniform_saturated_coordinate_projective (d : ℕ) (hd : RegularCoordinateFlag.GradedHilbert.regularCoordinateFlagBound.{u} n P ≤ d) : |
| 51 | Module.Projective R (Hilbert.Polynomial.GradedHilbert.DegreeQuotient I.toIdeal d) := by |
| 52 | let : Module.Flat R (Hilbert.Polynomial.GradedHilbert.DegreeQuotient I.toIdeal d) := uniform_saturated_coordinate_flat I hSat P hP d hd |
| 53 | exact Relative.Coordinates.GradedHilbert.degreeQuotient_projective_of_flat I d |
| 54 | |
| 55 | end |
| 56 | |
| 57 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Uniform.SaturatedCoordinates.GradedHilbert |