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.Affine.IntrinsicHomogeneousCoordinates |
| 2 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Affine.IntrinsicFamilyNaturality |
| 3 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Saturation.Polynomial |
| 4 | |
| 5 | /-! # Homogeneous Coordinate Base Change -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Affine.HomogeneousCoordinateBaseChange.GradedHilbert |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Canonical homogeneous coordinates of arbitrary native affine families |
| 12 | commute with coefficient extension followed by projective saturation. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | |
| 16 | universe u |
| 17 | variable {R A : Type u} [CommRing R] [CommRing A] {n : ℕ} (φ : R →+* A) |
| 18 | |
| 19 | theorem projectiveQuotientInclusion_coefficient_ker (I : HomogeneousIdeal (Hilbert.Polynomial.GradedHilbert.grading R n)) : |
| 20 | (Projective.Quotient.GradedHilbert.projectiveQuotientInclusion (I.map (Graded.BaseChange.GradedHilbert.gradedCoefficientMap φ))).ker = |
| 21 | (Projective.Quotient.GradedHilbert.projectiveQuotientInclusion I).ker.comap (Polynomial.ProjectiveCoefficientMap.GradedHilbert.polynomialProjectiveCoefficientMap φ) := by |
| 22 | let : Algebra R A := φ.toAlgebra |
| 23 | let h := Polynomial.ProjectiveBaseChange.GradedHilbert.projectiveQuotientCoefficientInclusion_isPullback (S := A) I |
| 24 | change (Projective.Quotient.GradedHilbert.projectiveQuotientInclusion (Graded.BaseChange.GradedHilbert.extendedHomogeneousIdeal (S := A) I)).ker = _ |
| 25 | rw [← h.isoPullback_hom_fst, Scheme.Hom.ker_comp_of_isIso, |
| 26 | Scheme.IdealSheafData.ker_fst_of_isClosedImmersion] |
| 27 | rfl |
| 28 | |
| 29 | variable {S : Scheme.{u}} (n : ℕ) (a : Spec (CommRingCat.of R) ⟶ S) |
| 30 | |
| 31 | theorem affineNativeHomogeneousIdeal_baseChange |
| 32 | (F : Hilbert.Functor.Family (Intrinsic.PolynomialAmbient.GradedHilbert.relativeProjectiveOver S n) (Over.mk a)) : |
| 33 | IntrinsicHomogeneousCoordinates.GradedHilbert.affineNativeHomogeneousIdeal n (Spec.map (CommRingCat.ofHom φ) ≫ a) |
| 34 | (Hilbert.Functor.pullbackFamily (Intrinsic.PolynomialAmbient.GradedHilbert.relativeProjectiveOver S n) (ProjectiveAmbientNaturality.GradedHilbert.affineTestMap a φ) F) = |
| 35 | Projective.Saturation.GradedHilbert.projectiveSaturation ((IntrinsicHomogeneousCoordinates.GradedHilbert.affineNativeHomogeneousIdeal n a F).map (Graded.BaseChange.GradedHilbert.gradedCoefficientMap φ)) := by |
| 36 | let I := IntrinsicHomogeneousCoordinates.GradedHilbert.affineNativeHomogeneousIdeal n a F |
| 37 | have hi : (Projective.Quotient.GradedHilbert.projectiveQuotientInclusion I).ker = (IntrinsicPolynomialFamily.GradedHilbert.affineNativeToPolynomial n a F).ideal := |
| 38 | Projective.IdealEquivalence.GradedHilbert.projectiveQuotient_homogeneousIdealOfSheaf _ |
| 39 | have he : (Projective.Quotient.GradedHilbert.projectiveQuotientInclusion (I.map (Graded.BaseChange.GradedHilbert.gradedCoefficientMap φ))).ker = |
| 40 | (IntrinsicPolynomialFamily.GradedHilbert.affineNativeToPolynomial n a F).ideal.comap (Polynomial.ProjectiveCoefficientMap.GradedHilbert.polynomialProjectiveCoefficientMap φ) := |
| 41 | (projectiveQuotientInclusion_coefficient_ker φ I).trans |
| 42 | (congrArg (fun J => J.comap (Polynomial.ProjectiveCoefficientMap.GradedHilbert.polynomialProjectiveCoefficientMap φ)) hi) |
| 43 | dsimp only [IntrinsicHomogeneousCoordinates.GradedHilbert.affineNativeHomogeneousIdeal] |
| 44 | rw [IntrinsicFamilyNaturality.GradedHilbert.affineNativeToPolynomial_baseChange] |
| 45 | exact congrArg ChartHomogeneousIdeal.GradedHilbert.homogeneousIdealOfSheaf he.symm |
| 46 | |
| 47 | end |
| 48 | |
| 49 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Affine.HomogeneousCoordinateBaseChange.GradedHilbert |