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 | |
| 3 | /-! # Intrinsic Projective Embedding -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Affine.IntrinsicProjectiveEmbedding.GradedHilbert |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! An affine native Hilbert family has an actual closed embedding in |
| 10 | polynomial projective space, with its canonical homogeneous ideal. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _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 | variable (F : Hilbert.Functor.Family (Intrinsic.PolynomialAmbient.GradedHilbert.relativeProjectiveOver S n) (Over.mk a)) |
| 18 | |
| 19 | def affineNativeProjectiveEmbedding : F.val.subscheme ⟶ Proj (Hilbert.Polynomial.GradedHilbert.grading R n) := |
| 20 | F.val.subschemeι ≫ (ProjectiveAmbient.GradedHilbert.affineProjectiveAmbientIso n a).inv |
| 21 | |
| 22 | instance affineNativeProjectiveEmbedding_closed : IsClosedImmersion (affineNativeProjectiveEmbedding n a F) := |
| 23 | inferInstanceAs (IsClosedImmersion (F.val.subschemeι ≫ (ProjectiveAmbient.GradedHilbert.affineProjectiveAmbientIso n a).inv)) |
| 24 | |
| 25 | theorem affineNativeProjectiveEmbedding_projection : |
| 26 | affineNativeProjectiveEmbedding n a F ≫ Projective.Flatness.GradedHilbert.projectiveStructureMap (Hilbert.Polynomial.GradedHilbert.grading R n) = |
| 27 | Hilbert.Functor.familyProjection (Intrinsic.PolynomialAmbient.GradedHilbert.relativeProjectiveOver S n) F.val := by |
| 28 | rw [affineNativeProjectiveEmbedding, Category.assoc, ProjectiveAmbient.GradedHilbert.affineProjectiveAmbientIso_inv_projection] |
| 29 | rfl |
| 30 | |
| 31 | theorem affineNativeProjectiveEmbedding_ambient : |
| 32 | affineNativeProjectiveEmbedding n a F ≫ Projective.Point.GradedHilbert.projectiveSchemePointMap n a = |
| 33 | F.val.subschemeι ≫ (prod.snd : Over.mk a ⨯ Intrinsic.PolynomialAmbient.GradedHilbert.relativeProjectiveOver S n ⟶ Intrinsic.PolynomialAmbient.GradedHilbert.relativeProjectiveOver S n).left := by |
| 34 | rw [← ProjectiveAmbient.GradedHilbert.affineProjectiveAmbientIso_projective, affineNativeProjectiveEmbedding, Category.assoc, |
| 35 | Iso.inv_hom_id_assoc] |
| 36 | |
| 37 | theorem affineNativeProjectiveEmbedding_coordinates : |
| 38 | ChartHomogeneousIdeal.GradedHilbert.homogeneousIdealOfSheaf (affineNativeProjectiveEmbedding n a F).ker = IntrinsicHomogeneousCoordinates.GradedHilbert.affineNativeHomogeneousIdeal n a F := by |
| 39 | have h : (affineNativeProjectiveEmbedding n a F).ker = F.val.comap (ProjectiveAmbient.GradedHilbert.affineProjectiveAmbientIso n a).hom := |
| 40 | (Global.PolynomialInclusion.closedImmersion_comp_iso_ker F.val.subschemeι (ProjectiveAmbient.GradedHilbert.affineProjectiveAmbientIso n a).symm).trans |
| 41 | (congrArg (fun J => J.comap (ProjectiveAmbient.GradedHilbert.affineProjectiveAmbientIso n a).hom) F.val.ker_subschemeι) |
| 42 | exact congrArg ChartHomogeneousIdeal.GradedHilbert.homogeneousIdealOfSheaf h |
| 43 | |
| 44 | end |
| 45 | |
| 46 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Affine.IntrinsicProjectiveEmbedding.GradedHilbert |