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.Noetherian.IntrinsicFiberPolynomial |
| 2 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Saturation.CoefficientComposition |
| 3 | |
| 4 | /-! # Intrinsic Coefficient Base Change -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Noetherian.IntrinsicCoefficientBaseChange.GradedHilbert |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The canonical residue-polynomial condition of a native family over a |
| 11 | noetherian affine ring persists under arbitrary coefficient-ring base change. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | |
| 15 | universe u |
| 16 | variable {R A : Type u} [CommRing R] [IsNoetherianRing R] [CommRing A] |
| 17 | variable {S : Scheme.{u}} {n : ℕ} |
| 18 | |
| 19 | theorem noetherian_canonical_residue_polynomial_baseChange |
| 20 | (f : Spec (.of R) ⟶ S) (F : Hilbert.Functor.Family (Intrinsic.PolynomialAmbient.GradedHilbert.relativeProjectiveOver S n) (Over.mk f)) |
| 21 | (P : Polynomial ℚ) (hP : ∀ p : PrimeSpectrum R, Hilbert.Polynomial.GradedHilbert.HasHilbertPolynomial |
| 22 | (Projective.Saturation.GradedHilbert.projectiveSaturation (Graded.BaseChange.GradedHilbert.extendedHomogeneousIdeal (S := p.asIdeal.ResidueField) |
| 23 | (Affine.IntrinsicHomogeneousCoordinates.GradedHilbert.affineNativeHomogeneousIdeal n f F))).toIdeal P) |
| 24 | (φ : R →+* A) (p : PrimeSpectrum A) : |
| 25 | Hilbert.Polynomial.GradedHilbert.HasHilbertPolynomial (Projective.Saturation.GradedHilbert.projectiveSaturation (Graded.BaseChange.GradedHilbert.extendedHomogeneousIdeal (S := p.asIdeal.ResidueField) |
| 26 | (Affine.IntrinsicHomogeneousCoordinates.GradedHilbert.affineNativeHomogeneousIdeal n (Spec.map (CommRingCat.ofHom φ) ≫ f) |
| 27 | (Hilbert.Functor.pullbackFamily (Intrinsic.PolynomialAmbient.GradedHilbert.relativeProjectiveOver S n) (Affine.ProjectiveAmbientNaturality.GradedHilbert.affineTestMap f φ) F)))).toIdeal P := by |
| 28 | let I := Affine.IntrinsicHomogeneousCoordinates.GradedHilbert.affineNativeHomogeneousIdeal n f F |
| 29 | let : Flat (Projective.Flatness.GradedHilbert.projectiveStructureMap (Graded.Quotient.GradedHilbert.quotientGrading I)) := Affine.IntrinsicHomogeneousCoordinates.GradedHilbert.affineNativeHomogeneousIdeal_flat n f F |
| 30 | let ψ : A →+* p.asIdeal.ResidueField := algebraMap A p.asIdeal.ResidueField |
| 31 | let : Algebra R p.asIdeal.ResidueField := (ψ.comp φ).toAlgebra |
| 32 | rw [Affine.HomogeneousCoordinateBaseChange.GradedHilbert.affineNativeHomogeneousIdeal_baseChange] |
| 33 | change Hilbert.Polynomial.GradedHilbert.HasHilbertPolynomial (Projective.Saturation.GradedHilbert.projectiveSaturation |
| 34 | ((Projective.Saturation.GradedHilbert.projectiveSaturation (I.map (Graded.BaseChange.GradedHilbert.gradedCoefficientMap φ))).map (Graded.BaseChange.GradedHilbert.gradedCoefficientMap ψ))).toIdeal P |
| 35 | rw [Saturation.CoefficientComposition.GradedHilbert.projectiveSaturation_coefficient_comp] |
| 36 | exact Uniform.NoetherianFieldPolynomial.GradedHilbert.uniformFamily_field_hasHilbertPolynomial I (Affine.IntrinsicHomogeneousCoordinates.GradedHilbert.affineNativeHomogeneousIdeal_saturated n f F) |
| 37 | P hP p.asIdeal.ResidueField |
| 38 | |
| 39 | end |
| 40 | |
| 41 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Noetherian.IntrinsicCoefficientBaseChange.GradedHilbert |