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.ProjectiveSpace |
| 2 | import Mathlib.AlgebraicGeometry.Morphisms.ClosedImmersion |
| 3 | import Mathlib.AlgebraicGeometry.Morphisms.Smooth |
| 4 | |
| 5 | /-! # Smooth Projective -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Foundations.Scheme.SmoothProjective |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | # Actual smooth projective presentations over the complex numbers |
| 13 | |
| 14 | A projective presentation is a closed immersion into the `Proj` scheme of a |
| 15 | standard graded complex polynomial ring, commuting with the structure maps to |
| 16 | `Spec ℂ`. Smoothness is mathlib's smoothness of the structure morphism. |
| 17 | |
| 18 | These are raw presentations: connectedness and irreducibility are not imposed. |
| 19 | There is no cohomology, cycle map, analytic topology, or unproved comparison |
| 20 | property in either structure. |
| 21 | -/ |
| 22 | |
| 23 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 24 | |
| 25 | /-- A genuine projective presentation of an actual complex scheme morphism. -/ |
| 26 | structure ProjectivePresentation (X : Scheme) (f : X ⟶ ProjectiveSpace.complexBase) where |
| 27 | /-- Dimension of the ambient standard projective space. -/ |
| 28 | ambientDimension : ℕ |
| 29 | /-- The actual scheme morphism giving the projective embedding. -/ |
| 30 | embedding : X ⟶ ProjectiveSpace.projectiveSpace ambientDimension |
| 31 | /-- Closed immersion has its existing scheme-theoretic meaning in mathlib. -/ |
| 32 | closedImmersion : IsClosedImmersion embedding |
| 33 | /-- The embedding is a morphism over `Spec ℂ`. -/ |
| 34 | over_base : embedding ≫ ProjectiveSpace.projectiveSpaceToBase ambientDimension = f |
| 35 | |
| 36 | namespace ProjectivePresentation |
| 37 | |
| 38 | variable {X : Scheme} {f : X ⟶ ProjectiveSpace.complexBase} |
| 39 | |
| 40 | instance (P : ProjectivePresentation X f) : IsClosedImmersion P.embedding := |
| 41 | P.closedImmersion |
| 42 | |
| 43 | /-- The displayed structure map is the composite through the projective space. -/ |
| 44 | theorem structureMap_eq (P : ProjectivePresentation X f) : |
| 45 | f = P.embedding ≫ ProjectiveSpace.projectiveSpaceToBase P.ambientDimension := |
| 46 | P.over_base.symm |
| 47 | |
| 48 | /-- Forgetting a projective presentation gives a morphism in the category over `Spec ℂ`. -/ |
| 49 | def toOverHom (P : ProjectivePresentation X f) : |
| 50 | Over.mk f ⟶ Over.mk (ProjectiveSpace.projectiveSpaceToBase P.ambientDimension) := |
| 51 | Over.homMk P.embedding P.over_base |
| 52 | |
| 53 | @[simp] |
| 54 | theorem toOverHom_left (P : ProjectivePresentation X f) : |
| 55 | P.toOverHom.left = P.embedding := rfl |
| 56 | |
| 57 | /-- Packaging does not add any hypothesis beyond an actual closed projective embedding. -/ |
| 58 | theorem nonempty_iff : |
| 59 | Nonempty (ProjectivePresentation X f) ↔ |
| 60 | ∃ (n : ℕ) (i : X ⟶ ProjectiveSpace.projectiveSpace n), |
| 61 | IsClosedImmersion i ∧ i ≫ ProjectiveSpace.projectiveSpaceToBase n = f := by |
| 62 | constructor |
| 63 | · rintro ⟨P⟩ |
| 64 | exact ⟨P.ambientDimension, P.embedding, P.closedImmersion, P.over_base⟩ |
| 65 | · rintro ⟨n, i, hi, hf⟩ |
| 66 | exact ⟨⟨n, i, hi, hf⟩⟩ |
| 67 | |
| 68 | /-- The underlying point map of the projective embedding is a closed embedding. -/ |
| 69 | theorem isClosedEmbedding (P : ProjectivePresentation X f) : |
| 70 | Topology.IsClosedEmbedding P.embedding := |
| 71 | P.embedding.isClosedEmbedding |
| 72 | |
| 73 | /-- In particular, the embedding is injective on underlying scheme points. -/ |
| 74 | theorem embedding_injective (P : ProjectivePresentation X f) : |
| 75 | Function.Injective P.embedding := |
| 76 | P.isClosedEmbedding.injective |
| 77 | |
| 78 | end ProjectivePresentation |
| 79 | |
| 80 | /-- A smooth projective complex scheme with a chosen projective presentation. |
| 81 | |
| 82 | The carrier is an actual scheme; the projectivity and smoothness fields use |
| 83 | only genuine algebraic-geometric definitions. No assertion about the analytic |
| 84 | space or Hodge theory is built into the data. -/ |
| 85 | structure SmoothProjectivePresentation where |
| 86 | carrier : Scheme |
| 87 | structureMap : carrier ⟶ ProjectiveSpace.complexBase |
| 88 | projective : ProjectivePresentation carrier structureMap |
| 89 | smooth : Smooth structureMap |
| 90 | |
| 91 | namespace SmoothProjectivePresentation |
| 92 | |
| 93 | variable (P : SmoothProjectivePresentation) |
| 94 | |
| 95 | /-- The ambient dimension of the chosen projective embedding. -/ |
| 96 | abbrev ambientDimension : ℕ := P.projective.ambientDimension |
| 97 | |
| 98 | /-- The chosen projective embedding. -/ |
| 99 | abbrev embedding : P.carrier ⟶ ProjectiveSpace.projectiveSpace P.ambientDimension := |
| 100 | P.projective.embedding |
| 101 | |
| 102 | instance : Smooth P.structureMap := P.smooth |
| 103 | |
| 104 | instance : IsClosedImmersion P.embedding := P.projective.closedImmersion |
| 105 | |
| 106 | /-- The carrier together with its specified complex structure map. -/ |
| 107 | def toOver : Over ProjectiveSpace.complexBase := Over.mk P.structureMap |
| 108 | |
| 109 | @[simp] |
| 110 | theorem toOver_left : P.toOver.left = P.carrier := rfl |
| 111 | |
| 112 | @[simp] |
| 113 | theorem toOver_hom : P.toOver.hom = P.structureMap := rfl |
| 114 | |
| 115 | @[reassoc] |
| 116 | theorem embedding_over : |
| 117 | P.embedding ≫ ProjectiveSpace.projectiveSpaceToBase P.ambientDimension = P.structureMap := |
| 118 | P.projective.over_base |
| 119 | |
| 120 | /-- Local finite presentation follows from genuine smoothness; it is not assumed. -/ |
| 121 | instance : LocallyOfFinitePresentation P.structureMap := inferInstance |
| 122 | |
| 123 | /-- Flatness follows from genuine smoothness; it is not assumed. -/ |
| 124 | instance : Flat P.structureMap := inferInstance |
| 125 | |
| 126 | /-- The actual structure morphism has standard smooth affine neighborhoods. -/ |
| 127 | theorem exists_standardSmooth_neighborhood (x : P.carrier) : |
| 128 | ∃ (U : ProjectiveSpace.complexBase.Opens) (_ : IsAffineOpen U) |
| 129 | (V : P.carrier.Opens) (_ : IsAffineOpen V) (_ : x ∈ V) |
| 130 | (e : V ≤ P.structureMap ⁻¹ᵁ U), |
| 131 | (P.structureMap.appLE U V e).hom.IsStandardSmooth := |
| 132 | Smooth.exists_isStandardSmooth P.structureMap x |
| 133 | |
| 134 | end SmoothProjectivePresentation |
| 135 | |
| 136 | end |
| 137 | |
| 138 | end OAI.AlgebraicGeometry.Foundations.Scheme.SmoothProjective |