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.Projective.Point |
| 2 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Hilbert.Functor |
| 3 | |
| 4 | /-! # Projective Ambient -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Affine.ProjectiveAmbient.GradedHilbert |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! On an affine spectrum test, the native relative projective ambient is |
| 11 | canonically the polynomial projective space over its coefficient ring. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 14 | |
| 15 | universe u |
| 16 | variable {S : Scheme.{u}} (n : ℕ) {R : Type u} [CommRing R] |
| 17 | variable (a : Spec (CommRingCat.of R) ⟶ S) |
| 18 | |
| 19 | def affineProjectiveAmbientIso : Proj (Hilbert.Polynomial.GradedHilbert.grading R n) ≅ |
| 20 | Hilbert.Functor.ambient (Intrinsic.PolynomialAmbient.GradedHilbert.relativeProjectiveOver S n) (Over.mk a) := |
| 21 | (Projective.Point.GradedHilbert.projectiveSchemePointMap_isPullback n a).isoIsPullback (Intrinsic.PolynomialAmbient.GradedHilbert.relativeProjectiveOver S n).left (Spec (CommRingCat.of R)) |
| 22 | (Over.isPullback_of_binaryFan_isLimit _ (prodIsProd (Over.mk a) (Intrinsic.PolynomialAmbient.GradedHilbert.relativeProjectiveOver S n))).flip |
| 23 | |
| 24 | theorem affineProjectiveAmbientIso_projection : |
| 25 | (affineProjectiveAmbientIso n a).hom ≫ Hilbert.Functor.ambientProjection (Intrinsic.PolynomialAmbient.GradedHilbert.relativeProjectiveOver S n) (Over.mk a) = |
| 26 | Projective.Flatness.GradedHilbert.projectiveStructureMap (Hilbert.Polynomial.GradedHilbert.grading R n) := |
| 27 | (Projective.Point.GradedHilbert.projectiveSchemePointMap_isPullback n a).isoIsPullback_hom_snd _ _ _ |
| 28 | |
| 29 | theorem affineProjectiveAmbientIso_projective : |
| 30 | (affineProjectiveAmbientIso n a).hom ≫ |
| 31 | (prod.snd : Over.mk a ⨯ Intrinsic.PolynomialAmbient.GradedHilbert.relativeProjectiveOver S n ⟶ Intrinsic.PolynomialAmbient.GradedHilbert.relativeProjectiveOver S n).left = |
| 32 | Projective.Point.GradedHilbert.projectiveSchemePointMap n a := |
| 33 | (Projective.Point.GradedHilbert.projectiveSchemePointMap_isPullback n a).isoIsPullback_hom_fst _ _ _ |
| 34 | |
| 35 | theorem affineProjectiveAmbientIso_inv_projection : |
| 36 | (affineProjectiveAmbientIso n a).inv ≫ Projective.Flatness.GradedHilbert.projectiveStructureMap (Hilbert.Polynomial.GradedHilbert.grading R n) = |
| 37 | Hilbert.Functor.ambientProjection (Intrinsic.PolynomialAmbient.GradedHilbert.relativeProjectiveOver S n) (Over.mk a) := |
| 38 | (Projective.Point.GradedHilbert.projectiveSchemePointMap_isPullback n a).isoIsPullback_inv_snd _ _ _ |
| 39 | |
| 40 | theorem affineProjectiveAmbientIso_isPullback : |
| 41 | IsPullback (affineProjectiveAmbientIso n a).hom (Projective.Flatness.GradedHilbert.projectiveStructureMap (Hilbert.Polynomial.GradedHilbert.grading R n)) |
| 42 | (Hilbert.Functor.ambientProjection (Intrinsic.PolynomialAmbient.GradedHilbert.relativeProjectiveOver S n) (Over.mk a)) (𝟙 (Spec (CommRingCat.of R))) := |
| 43 | IsPullback.of_horiz_isIso ⟨(affineProjectiveAmbientIso_projection n a).trans (Category.comp_id _).symm⟩ |
| 44 | |
| 45 | end |
| 46 | |
| 47 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Affine.ProjectiveAmbient.GradedHilbert |