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.Global.PolynomialInclusion |
| 2 | |
| 3 | /-! # Projective Point -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Global.ProjectivePoint.GradedHilbert |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Actual polynomial projective fibers of the original-base relative |
| 10 | projective space, for every ring-valued parameter point. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u |
| 15 | variable {S : Scheme.{u}} (M : Over S) (n : ℕ) |
| 16 | variable {R : Type u} [CommRing R] (a : Spec (CommRingCat.of R) ⟶ M.left) |
| 17 | |
| 18 | def polynomialPointMorphismOver (f : Spec (CommRingCat.of R) ⟶ S) (ha : a ≫ M.hom = f) : Over.mk f ⟶ M := |
| 19 | Over.homMk a ha |
| 20 | |
| 21 | def globalProjectiveSchemePointMap : Proj (Hilbert.Polynomial.GradedHilbert.grading R n) ⟶ (Intrinsic.PolynomialAmbient.GradedHilbert.relativeProjectiveOver S n).left := |
| 22 | Projective.Point.GradedHilbert.projectiveSchemePointMap n a ≫ Relative.ProjectiveBaseChange.GradedHilbert.relativeProjectiveBaseMap M.hom n |
| 23 | |
| 24 | theorem globalProjectiveSchemePointMap_isPullback : |
| 25 | IsPullback (globalProjectiveSchemePointMap M n a) (Projective.Flatness.GradedHilbert.projectiveStructureMap (Hilbert.Polynomial.GradedHilbert.grading R n)) |
| 26 | (Intrinsic.PolynomialAmbient.GradedHilbert.relativeProjectiveOver S n).hom (a ≫ M.hom) := |
| 27 | (Projective.Point.GradedHilbert.projectiveSchemePointMap_isPullback n a).paste_horiz (Relative.ProjectiveBaseChange.GradedHilbert.relativeProjectiveBaseMap_isPullback M.hom n) |
| 28 | |
| 29 | def globalPolynomialPointPresentation |
| 30 | (I : HomogeneousIdeal (Hilbert.Polynomial.GradedHilbert.grading Γ(M.left, ⊤) n)) |
| 31 | (f : Spec (CommRingCat.of R) ⟶ S) (ha : a ≫ M.hom = f) : |
| 32 | Projective.Quotient.GradedHilbert.projectiveQuotient (Projective.QuotientPoint.GradedHilbert.pointHomogeneousIdeal M I a) ≅ |
| 33 | Relative.PolynomialFamily.GradedHilbert.relativePolynomialFamily M I (polynomialPointMorphismOver M a f ha) := Projective.QuotientPoint.GradedHilbert.projectiveQuotientPointIso M I a |
| 34 | |
| 35 | theorem projectiveQuotientPointIso_global_projective |
| 36 | (I : HomogeneousIdeal (Hilbert.Polynomial.GradedHilbert.grading Γ(M.left, ⊤) n)) |
| 37 | (f : Spec (CommRingCat.of R) ⟶ S) (ha : a ≫ M.hom = f) : |
| 38 | (globalPolynomialPointPresentation M n a I f ha).hom ≫ PolynomialInclusion.GradedHilbert.globalPolynomialInclusion M I (polynomialPointMorphismOver M a f ha) ≫ |
| 39 | (prod.snd : Over.mk f ⨯ Intrinsic.PolynomialAmbient.GradedHilbert.relativeProjectiveOver S n ⟶ Intrinsic.PolynomialAmbient.GradedHilbert.relativeProjectiveOver S n).left = |
| 40 | Projective.Quotient.GradedHilbert.projectiveQuotientInclusion (Projective.QuotientPoint.GradedHilbert.pointHomogeneousIdeal M I a) ≫ globalProjectiveSchemePointMap M n a := by |
| 41 | rw [PolynomialInclusion.GradedHilbert.globalPolynomialInclusion_projective] |
| 42 | have h := congrArg (fun f => f ≫ Relative.ProjectiveBaseChange.GradedHilbert.relativeProjectiveBaseMap M.hom n) |
| 43 | (Intrinsic.PolynomialPointComparison.GradedHilbert.projectiveQuotientPointIso_native_inclusion M I a) |
| 44 | exact (Category.assoc _ _ _).symm.trans |
| 45 | (h.trans (Category.assoc _ _ _)) |
| 46 | |
| 47 | end |
| 48 | |
| 49 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Global.ProjectivePoint.GradedHilbert |