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.Foundations.Scheme.ProjectiveChart |
| 2 | import OAI.AlgebraicGeometry.Foundations.Scheme.SmoothProjectiveDecomposition |
| 3 | |
| 4 | /-! # Projective Smooth To -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.ProjectiveSmoothTo.Constructions.ProjectiveSmooth |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # Smoothness and integrality of the actual projective ambient scheme |
| 12 | |
| 13 | The standard affine cover proves smoothness. The homogeneous zero ideal |
| 14 | is a generic point, which proves irreducibility and hence integrality. |
| 15 | -/ |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 18 | |
| 19 | theorem smooth_projectiveSpaceToBase (n : ℕ) : Smooth (Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase n) := by |
| 20 | let : IsZariskiLocalAtSource (@AlgebraicGeometry.Smooth.{0}) := |
| 21 | HasRingHomProperty.instIsZariskiLocalAtSource (Q := RingHom.Smooth) |
| 22 | apply IsZariskiLocalAtSource.of_iSup_eq_top (P := @AlgebraicGeometry.Smooth.{0}) |
| 23 | (Foundations.Scheme.ProjectiveCoordinateCover.projectiveCoordinateOpen n) (Foundations.Scheme.ProjectiveCoordinateCover.iSup_projectiveCoordinateOpen n) |
| 24 | intro i |
| 25 | rw [← Foundations.Scheme.ProjectiveChart.projectiveCoordinateIsoSpec_over n i] |
| 26 | have hs : Smooth (Foundations.Scheme.ProjectiveChart.projectiveChartPolynomialToBase n i) := by |
| 27 | rw [HasRingHomProperty.Spec_iff (P := @AlgebraicGeometry.Smooth.{0})] |
| 28 | change (algebraMap ℂ (Foundations.Scheme.ProjectiveChartToPolynomial.projectiveChartPolynomial n i)).Smooth |
| 29 | rw [RingHom.smooth_algebraMap] |
| 30 | exact ⟨inferInstance, inferInstance⟩ |
| 31 | exact smooth_comp _ _ |
| 32 | |
| 33 | /-- The homogeneous zero ideal is relevant because a projective coordinate |
| 34 | is a nonzero element of the irrelevant ideal. -/ |
| 35 | def projectiveGenericPoint (n : ℕ) : ProjectiveSpectrum (Foundations.Scheme.ProjectiveSpace.projectiveGrading n) where |
| 36 | asHomogeneousIdeal := ⊥ |
| 37 | isPrime := by change (⊥ : Ideal (Foundations.Scheme.ProjectiveSpace.homogeneousCoordinateRing n)).IsPrime; infer_instance |
| 38 | not_irrelevant_le := by |
| 39 | intro h |
| 40 | have hx := h (HomogeneousIdeal.mem_irrelevant_of_mem (Foundations.Scheme.ProjectiveSpace.projectiveGrading n) |
| 41 | (by decide : 0 < 1) (MvPolynomial.isHomogeneous_X ℂ (0 : Fin (n + 1)))) |
| 42 | change MvPolynomial.X (0 : Fin (n + 1)) ∈ |
| 43 | (⊥ : Ideal (Foundations.Scheme.ProjectiveSpace.homogeneousCoordinateRing n)) at hx |
| 44 | have hz := Ideal.mem_bot.mp hx |
| 45 | exact MvPolynomial.X_ne_zero _ hz |
| 46 | |
| 47 | theorem closure_projectiveGenericPoint (n : ℕ) : |
| 48 | closure ({projectiveGenericPoint n} : Set (Foundations.Scheme.ProjectiveSpace.projectiveSpace n)) = Set.univ := by |
| 49 | change closure ({projectiveGenericPoint n} : |
| 50 | Set (ProjectiveSpectrum (Foundations.Scheme.ProjectiveSpace.projectiveGrading n))) = Set.univ |
| 51 | rw [← ProjectiveSpectrum.zeroLocus_vanishingIdeal_eq_closure] |
| 52 | rw [ProjectiveSpectrum.vanishingIdeal_singleton] |
| 53 | exact ProjectiveSpectrum.zeroLocus_bot (Foundations.Scheme.ProjectiveSpace.projectiveGrading n) |
| 54 | |
| 55 | theorem irreducibleSpace_projectiveSpace (n : ℕ) : IrreducibleSpace (Foundations.Scheme.ProjectiveSpace.projectiveSpace n) := by |
| 56 | apply (irreducibleSpace_def _).mpr |
| 57 | change IsIrreducible (Set.univ : Set (Foundations.Scheme.ProjectiveSpace.projectiveSpace n)) |
| 58 | rw [← closure_projectiveGenericPoint n] |
| 59 | exact isIrreducible_singleton.closure |
| 60 | |
| 61 | theorem isIntegral_projectiveSpace (n : ℕ) : IsIntegral (Foundations.Scheme.ProjectiveSpace.projectiveSpace n) := by |
| 62 | let : Smooth (Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase n) := smooth_projectiveSpaceToBase n |
| 63 | let : IsReduced (Foundations.Scheme.ProjectiveSpace.projectiveSpace n) := Foundations.Scheme.SmoothProjectiveDecomposition.smoothScheme_isReduced (Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase n) |
| 64 | let : IrreducibleSpace (Foundations.Scheme.ProjectiveSpace.projectiveSpace n) := irreducibleSpace_projectiveSpace n |
| 65 | exact isIntegral_of_irreducibleSpace_of_isReduced _ |
| 66 | |
| 67 | end |
| 68 | |
| 69 | end OAI.AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.ProjectiveSmoothTo.Constructions.ProjectiveSmooth |