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.Relative.ProjectiveBaseChange |
| 2 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.PointCoefficients |
| 3 | |
| 4 | /-! # Point -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Projective.Point |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Polynomial projective space over a ring-valued point is the actual |
| 11 | fiber of relative projective space over that point. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 14 | |
| 15 | universe u |
| 16 | variable {M : Scheme.{u}} {R : Type u} [CommRing R] |
| 17 | |
| 18 | theorem schemePointCoefficientMap_spec (a : Spec (CommRingCat.of R) ⟶ M) : |
| 19 | Spec.map (CommRingCat.ofHom (PointCoefficients.schemePointCoefficientMap a)) = a ≫ M.toSpecΓ := by |
| 20 | change Spec.map (a.appTop ≫ (Scheme.ΓSpecIso (CommRingCat.of R)).hom) = _ |
| 21 | rw [Spec.map_comp, SpecMap_ΓSpecIso_hom] |
| 22 | exact (Scheme.toSpecΓ_naturality a).symm |
| 23 | |
| 24 | namespace GradedHilbert |
| 25 | |
| 26 | variable (n : ℕ) (a : Spec (CommRingCat.of R) ⟶ M) |
| 27 | |
| 28 | def projectiveSchemePointMap : Proj (Hilbert.Polynomial.GradedHilbert.grading R n) ⟶ (Intrinsic.PolynomialAmbient.GradedHilbert.relativeProjectiveOver M n).left := by |
| 29 | let : Algebra Γ(M, ⊤) R := (PointCoefficients.schemePointCoefficientMap a).toAlgebra |
| 30 | refine pullback.lift (Polynomial.ProjectiveCoefficientMap.GradedHilbert.polynomialProjectiveCoefficientMap (PointCoefficients.schemePointCoefficientMap a)) |
| 31 | (Flatness.GradedHilbert.projectiveStructureMap (Hilbert.Polynomial.GradedHilbert.grading R n) ≫ a) ?_ |
| 32 | have hc : Polynomial.ProjectiveCoefficientMap.GradedHilbert.polynomialProjectiveCoefficientMap (n := n) (PointCoefficients.schemePointCoefficientMap a) ≫ |
| 33 | Flatness.GradedHilbert.projectiveStructureMap (Hilbert.Polynomial.GradedHilbert.grading Γ(M, ⊤) n) = |
| 34 | Flatness.GradedHilbert.projectiveStructureMap (Hilbert.Polynomial.GradedHilbert.grading R n) ≫ Spec.map (CommRingCat.ofHom (PointCoefficients.schemePointCoefficientMap a)) := |
| 35 | Polynomial.ProjectiveBaseChange.GradedHilbert.polynomialProjectiveCoefficientMap_over |
| 36 | rw [hc, schemePointCoefficientMap_spec, ← Category.assoc] |
| 37 | |
| 38 | theorem projectiveSchemePointMap_coefficient : |
| 39 | projectiveSchemePointMap n a ≫ pullback.fst _ _ = |
| 40 | Polynomial.ProjectiveCoefficientMap.GradedHilbert.polynomialProjectiveCoefficientMap (n := n) (PointCoefficients.schemePointCoefficientMap a) := pullback.lift_fst _ _ _ |
| 41 | |
| 42 | theorem projectiveSchemePointMap_projection : |
| 43 | projectiveSchemePointMap n a ≫ (Intrinsic.PolynomialAmbient.GradedHilbert.relativeProjectiveOver M n).hom = |
| 44 | Flatness.GradedHilbert.projectiveStructureMap (Hilbert.Polynomial.GradedHilbert.grading R n) ≫ a := pullback.lift_snd _ _ _ |
| 45 | |
| 46 | theorem projectiveSchemePointMap_isPullback : |
| 47 | IsPullback (projectiveSchemePointMap n a) (Flatness.GradedHilbert.projectiveStructureMap (Hilbert.Polynomial.GradedHilbert.grading R n)) |
| 48 | (Intrinsic.PolynomialAmbient.GradedHilbert.relativeProjectiveOver M n).hom a := by |
| 49 | let : Algebra Γ(M, ⊤) R := (PointCoefficients.schemePointCoefficientMap a).toAlgebra |
| 50 | have hc : IsPullback (Polynomial.ProjectiveCoefficientMap.GradedHilbert.polynomialProjectiveCoefficientMap (n := n) (PointCoefficients.schemePointCoefficientMap a)) |
| 51 | (Flatness.GradedHilbert.projectiveStructureMap (Hilbert.Polynomial.GradedHilbert.grading R n)) (Flatness.GradedHilbert.projectiveStructureMap (Hilbert.Polynomial.GradedHilbert.grading Γ(M, ⊤) n)) |
| 52 | (Spec.map (CommRingCat.ofHom (PointCoefficients.schemePointCoefficientMap a))) := Polynomial.ProjectiveBaseChange.GradedHilbert.polynomialProjective_isPullback |
| 53 | rw [schemePointCoefficientMap_spec, ← projectiveSchemePointMap_coefficient n a] at hc |
| 54 | exact hc.of_right (projectiveSchemePointMap_projection n a) |
| 55 | (IsPullback.of_hasPullback (Flatness.GradedHilbert.projectiveStructureMap (Hilbert.Polynomial.GradedHilbert.grading Γ(M, ⊤) n)) M.toSpecΓ) |
| 56 | |
| 57 | end GradedHilbert |
| 58 | |
| 59 | end |
| 60 | |
| 61 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Projective.Point |