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.HomogeneousCoordinateBaseChange |
| 2 | |
| 3 | /-! # Homogeneous Family Construction -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Intrinsic.HomogeneousFamilyConstruction.GradedHilbert |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Convert an actual flat finitely presented homogeneous projective |
| 10 | quotient to a native Hilbert family, with its exact canonical ideal. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u |
| 15 | variable {S : Scheme.{u}} {R : Type u} [CommRing R] (n : ℕ) |
| 16 | variable (a : Spec (CommRingCat.of R) ⟶ S) |
| 17 | |
| 18 | theorem affineNativeHomogeneousIdeal_injective : Function.Injective (Affine.IntrinsicHomogeneousCoordinates.GradedHilbert.affineNativeHomogeneousIdeal n a) := by |
| 19 | intro F G h |
| 20 | apply Subtype.ext |
| 21 | rw [← Affine.IntrinsicHomogeneousCoordinates.GradedHilbert.affineNativeHomogeneousIdeal_global_kernel n a F, |
| 22 | ← Affine.IntrinsicHomogeneousCoordinates.GradedHilbert.affineNativeHomogeneousIdeal_global_kernel n a G, h] |
| 23 | |
| 24 | variable (I : HomogeneousIdeal (Hilbert.Polynomial.GradedHilbert.grading R n)) |
| 25 | variable [Flat (Projective.Flatness.GradedHilbert.projectiveStructureMap (Graded.Quotient.GradedHilbert.quotientGrading I))] |
| 26 | variable [LocallyOfFinitePresentation (Projective.Flatness.GradedHilbert.projectiveStructureMap (Graded.Quotient.GradedHilbert.quotientGrading I))] |
| 27 | |
| 28 | def nativeFamilyOfHomogeneousIdeal : Hilbert.Functor.Family (PolynomialAmbient.GradedHilbert.relativeProjectiveOver S n) (Over.mk a) := by |
| 29 | let j : Over.mk (Projective.Flatness.GradedHilbert.projectiveStructureMap (Graded.Quotient.GradedHilbert.quotientGrading I)) ⟶ Over.mk (Projective.Flatness.GradedHilbert.projectiveStructureMap (Hilbert.Polynomial.GradedHilbert.grading R n)) := |
| 30 | Over.homMk (Projective.Quotient.GradedHilbert.projectiveQuotientInclusion I) (Projective.QuotientStructure.GradedHilbert.projectiveQuotientInclusion_structure I) |
| 31 | have : IsClosedImmersion j.left := inferInstanceAs (IsClosedImmersion (Projective.Quotient.GradedHilbert.projectiveQuotientInclusion I)) |
| 32 | have : Flat (Over.mk (Projective.Flatness.GradedHilbert.projectiveStructureMap (Graded.Quotient.GradedHilbert.quotientGrading I))).hom := |
| 33 | inferInstanceAs (Flat (Projective.Flatness.GradedHilbert.projectiveStructureMap (Graded.Quotient.GradedHilbert.quotientGrading I))) |
| 34 | have : LocallyOfFinitePresentation (Over.mk (Projective.Flatness.GradedHilbert.projectiveStructureMap (Graded.Quotient.GradedHilbert.quotientGrading I))).hom := |
| 35 | inferInstanceAs (LocallyOfFinitePresentation (Projective.Flatness.GradedHilbert.projectiveStructureMap (Graded.Quotient.GradedHilbert.quotientGrading I))) |
| 36 | exact Affine.IntrinsicPolynomialFamily.GradedHilbert.affinePolynomialToNative n a (AbelianModuli.HilbertConstruction.Closed.Families.FlatClosedFamily.ofEmbedding j) |
| 37 | |
| 38 | theorem nativeFamilyOfHomogeneousIdeal_val : |
| 39 | (nativeFamilyOfHomogeneousIdeal n a I).val = |
| 40 | (Projective.Quotient.GradedHilbert.projectiveQuotientInclusion I).ker.comap (Affine.ProjectiveAmbient.GradedHilbert.affineProjectiveAmbientIso n a).inv := |
| 41 | Affine.IntrinsicPolynomialFamily.GradedHilbert.affinePolynomialToNative_ideal n a _ |
| 42 | |
| 43 | theorem nativeFamilyOfHomogeneousIdeal_coordinates : |
| 44 | Affine.IntrinsicHomogeneousCoordinates.GradedHilbert.affineNativeHomogeneousIdeal n a (nativeFamilyOfHomogeneousIdeal n a I) = Projective.Saturation.GradedHilbert.projectiveSaturation I := by |
| 45 | change ChartHomogeneousIdeal.GradedHilbert.homogeneousIdealOfSheaf |
| 46 | ((nativeFamilyOfHomogeneousIdeal n a I).val.comap (Affine.ProjectiveAmbient.GradedHilbert.affineProjectiveAmbientIso n a).hom) = _ |
| 47 | rw [nativeFamilyOfHomogeneousIdeal_val, ← Scheme.IdealSheafData.comap_comp, |
| 48 | Iso.hom_inv_id, Scheme.IdealSheafData.comap_id] |
| 49 | rfl |
| 50 | |
| 51 | end |
| 52 | |
| 53 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Intrinsic.HomogeneousFamilyConstruction.GradedHilbert |