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.Linear.CoordinateIdeals |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.SaturatedFlatIdeals |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Configuration.FrameRankInvariance |
| 4 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Uniform.FamilyCoordinates |
| 5 | |
| 6 | /-! # Saturated Coordinate Change -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Coordinate substitution preserves actual saturated flat |
| 13 | Hilbert ideals. Flatness is transported through the high-degree |
| 14 | quotient equivalences; residue Hilbert polynomials are transported |
| 15 | through their coefficient extensions. -/ |
| 16 | open _root_.AlgebraicGeometry |
| 17 | open OAI.AlgebraicGeometry.HilbertScheme.Presentations.Uniform.FamilyCoordinates.GradedHilbert |
| 18 | universe u v |
| 19 | variable {R : Type u} [CommRing R] [IsNoetherianRing R] {n : ℕ} {P : Polynomial ℚ} |
| 20 | variable (I : SaturatedFlatIdeals.SaturatedFlatHilbertIdeal R n P) |
| 21 | |
| 22 | def SaturatedFlatIdeals.SaturatedFlatHilbertIdeal.coordinateChange (e : (Fin (n + 1) →₀ R) ≃ₗ[R] (Fin (n + 1) →₀ R)) : |
| 23 | SaturatedFlatIdeals.SaturatedFlatHilbertIdeal R n P where |
| 24 | ideal := Linear.CoordinateIdeals.linearCoordinateIdeal e I.ideal |
| 25 | saturated := Linear.CoordinateIdeals.linearCoordinateIdeal_saturated e I.ideal I.saturated |
| 26 | flat := by |
| 27 | apply HilbertScheme.Presentations.Projective.Flatness.GradedHilbert.projectiveQuotient_flat_of_eventually_flat _ (HilbertScheme.Presentations.RegularCoordinateFlag.GradedHilbert.regularCoordinateFlagBound.{u} n P) |
| 28 | intro d hd |
| 29 | have : Module.Flat R (HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.DegreeQuotient I.ideal.toIdeal d) := |
| 30 | HilbertScheme.Presentations.Uniform.SaturatedCoordinates.GradedHilbert.uniform_saturated_coordinate_flat I.ideal I.saturated P I.hilbert d hd |
| 31 | exact Module.Flat.of_linearEquiv (Linear.CoordinateIdeals.linearCoordinateIdealDegreeQuotientEquiv e I.ideal d) |
| 32 | hilbert p := by |
| 33 | rw [HilbertScheme.Presentations.Saturation.Polynomial.GradedHilbert.projectiveSaturation_hasHilbertPolynomial_iff, |
| 34 | Linear.CoordinateIdeals.linearCoordinateIdealExtended_hilbertPolynomial_iff, |
| 35 | ← HilbertScheme.Presentations.Saturation.Polynomial.GradedHilbert.projectiveSaturation_hasHilbertPolynomial_iff] |
| 36 | exact I.hilbert p |
| 37 | |
| 38 | theorem SaturatedFlatIdeals.SaturatedFlatHilbertIdeal.coordinateChange_degreeRelations |
| 39 | (e : (Fin (n + 1) →₀ R) ≃ₗ[R] (Fin (n + 1) →₀ R)) (d : ℕ) : |
| 40 | HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.degreeRelations (I.coordinateChange e).ideal.toIdeal d = |
| 41 | (HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.degreeRelations I.ideal.toIdeal d).comap (HilbertConstruction.Polynomial.CoordinateChangeEvaluation.polynomialLinearDegreeEquiv e d).toLinearMap := |
| 42 | Linear.CoordinateIdeals.linearCoordinateIdeal_degreeRelations e I.ideal d |
| 43 | |
| 44 | theorem SaturatedFlatIdeals.SaturatedFlatHilbertIdeal.coordinateChange_configuration_kernel {ι : Type v} |
| 45 | (w : ι → Fin (n + 1) → R) (d : ℕ) |
| 46 | (T : (Fin (n + 1) → R) ≃ₗ[R] (Fin (n + 1) → R)) (s : ι → Rˣ) |
| 47 | (h : (Homogeneous.ConfigurationEvaluation.homogeneousConfigurationEvaluation w d).ker = HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.degreeRelations I.ideal.toIdeal d) : |
| 48 | (Homogeneous.ConfigurationEvaluation.homogeneousConfigurationEvaluation (fun c j => (s c : R) * T (w c) j) d).ker = |
| 49 | HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.degreeRelations (I.coordinateChange (Dual.CoordinateTransform.pointCoordinateCoefficientTransform T)).ideal.toIdeal d := by |
| 50 | rw [Configuration.FrameRankInvariance.homogeneousConfigurationEvaluation_kernel_frameChange, SaturatedFlatIdeals.SaturatedFlatHilbertIdeal.coordinateChange_degreeRelations, h] |
| 51 | rfl |
| 52 | |
| 53 | end |
| 54 | |
| 55 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |