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.DensePolynomialDescent |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Flat.ClosedFamilies |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.ClosedFamily.CoordinateBaseChange |
| 4 | |
| 5 | /-! # Family Descent -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Closed |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Injective coefficient recovery preserves the prescribed Hilbert polynomial of a noetherian flat closed model. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | theorem Families.FlatClosedFamily.hilbert_of_injective_coefficient_recovery |
| 18 | {C A : CommRingCat.{u}} [IsNoetherianRing C] (φ : C ⟶ A) |
| 19 | (hinj : Function.Injective φ.hom) {n : ℕ} {P : Polynomial ℚ} |
| 20 | (G : Families.FlatClosedFamily (Projective.ProjectivePresentations.affineProjectiveSpace C n)) (F : HilbertConstruction.Flat.ClosedFamilies.FlatClosedHilbertFamily A n P) |
| 21 | (hF : F.val = G.pullbackAlong (Projective.CoefficientFunctoriality.polynomialProjectiveMap φ n) (Spec.map φ) |
| 22 | (Projective.CoefficientFunctoriality.polynomialProjectiveMap_isPullback φ n)) : |
| 23 | ∀ p : PrimeSpectrum C, HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.HasHilbertPolynomial |
| 24 | (HilbertScheme.Presentations.Projective.Saturation.GradedHilbert.projectiveSaturation (HilbertScheme.Presentations.Graded.BaseChange.GradedHilbert.extendedHomogeneousIdeal (S := p.asIdeal.ResidueField) G.homogeneousIdeal)).toIdeal P := by |
| 25 | let : Algebra C A := φ.hom.toAlgebra |
| 26 | have : Flat (HilbertScheme.Presentations.Projective.Flatness.GradedHilbert.projectiveStructureMap (HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.quotientGrading G.homogeneousIdeal)) := G.homogeneousIdeal_flat |
| 27 | have he : F.val.homogeneousIdeal = HilbertScheme.Presentations.Projective.Saturation.GradedHilbert.projectiveSaturation (HilbertScheme.Presentations.Graded.BaseChange.GradedHilbert.extendedHomogeneousIdeal (S := A) G.homogeneousIdeal) := |
| 28 | (congrArg Families.FlatClosedFamily.homogeneousIdeal hF).trans (G.homogeneousIdeal_coefficientBaseChange φ) |
| 29 | apply DensePolynomialDescent.noetherianFlat_hilbertPolynomial_dense_descent hinj G.homogeneousIdeal P |
| 30 | intro q |
| 31 | have hp := F.property q |
| 32 | rw [he, Projective.SaturationBaseChange.projectiveSaturation_baseChange] at hp |
| 33 | exact hp |
| 34 | |
| 35 | end |
| 36 | |
| 37 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Closed |