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 OAI.AlgebraicGeometry.ComplexPoints.Analytic.AffinePointMaps |
| 3 | import Mathlib.Topology.Order |
| 4 | |
| 5 | /-! # Scheme Point Homeomorphs -/ |
| 6 | |
| 7 | namespace OAI |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | namespace AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs |
| 12 | |
| 13 | /-! |
| 14 | # Complex points of schemes and their affine-test topology |
| 15 | |
| 16 | The carrier is the actual type of morphisms over `Spec ℂ` from the complex |
| 17 | point. Its topology is final with respect to all maps from ordinary affine |
| 18 | complex point spaces induced by actual morphisms of schemes over `Spec ℂ`. |
| 19 | This definition uses no chosen atlas or additional geometric data. |
| 20 | |
| 21 | This file proves the universal continuity criterion, functoriality, and exact |
| 22 | recovery of the ordinary evaluation topology for affine schemes. Recovery |
| 23 | along arbitrary open immersions is a separate gluing theorem. |
| 24 | -/ |
| 25 | |
| 26 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 27 | |
| 28 | /-- Genuine complex-valued points of a scheme over the complex base. -/ |
| 29 | abbrev schemeComplexPoints (X : Over Foundations.Scheme.ProjectiveSpace.complexBase) := (Over.mk (𝟙 Foundations.Scheme.ProjectiveSpace.complexBase) ⟶ X) |
| 30 | |
| 31 | /-- The standard affine-character correspondence with the native scheme-point carrier. -/ |
| 32 | abbrev affineSchemePointEquiv (A : Type) [CommRing A] [Algebra ℂ A] : |
| 33 | Foundations.Scheme.AffineComplexPoints.affineComplexPoints A ≃ schemeComplexPoints (Foundations.Scheme.AffineComplexPoints.affineSchemeOver ℂ A) := |
| 34 | Foundations.Scheme.AffineComplexPoints.affineComplexPointsOverEquiv A |
| 35 | |
| 36 | /-- The native affine-point correspondence commutes with the genuine scheme maps. -/ |
| 37 | @[simp] |
| 38 | theorem affineSchemePointEquiv_comap {A B : Type} |
| 39 | [CommRing A] [Algebra ℂ A] [CommRing B] [Algebra ℂ B] |
| 40 | (f : A →ₐ[ℂ] B) (x : Foundations.Scheme.AffineComplexPoints.affineComplexPoints B) : |
| 41 | affineSchemePointEquiv A (Foundations.Scheme.AffineComplexPoints.affineComplexPoints.comap f x) = |
| 42 | affineSchemePointEquiv B x ≫ Foundations.Scheme.AffineComplexPoints.affineAlgHomOverSpecEquiv ℂ A B f := by |
| 43 | change Foundations.Scheme.AffineComplexPoints.affineComplexBaseIso.inv ≫ |
| 44 | Foundations.Scheme.AffineComplexPoints.affineComplexPointsEquiv A (Foundations.Scheme.AffineComplexPoints.affineComplexPoints.comap f x) = |
| 45 | (Foundations.Scheme.AffineComplexPoints.affineComplexBaseIso.inv ≫ Foundations.Scheme.AffineComplexPoints.affineComplexPointsEquiv B x) ≫ _ |
| 46 | rw [AffinePointMaps.affineComplexPointsEquiv_comap, Category.assoc] |
| 47 | |
| 48 | namespace schemeComplexPoints |
| 49 | |
| 50 | variable {X Y Z : Over Foundations.Scheme.ProjectiveSpace.complexBase} |
| 51 | |
| 52 | /-- Postcomposition is the actual covariant map on complex-valued points. -/ |
| 53 | def map (f : X ⟶ Y) (x : schemeComplexPoints X) : schemeComplexPoints Y := x ≫ f |
| 54 | |
| 55 | @[simp] |
| 56 | theorem map_id (x : schemeComplexPoints X) : schemeComplexPoints.map (𝟙 X) x = x := Category.comp_id x |
| 57 | |
| 58 | @[simp] |
| 59 | theorem map_comp (f : X ⟶ Y) (g : Y ⟶ Z) (x : schemeComplexPoints X) : |
| 60 | schemeComplexPoints.map (f ≫ g) x = schemeComplexPoints.map g (schemeComplexPoints.map f x) := (Category.assoc x f g).symm |
| 61 | |
| 62 | /-- A genuine affine scheme map induces this map from ordinary affine complex points. -/ |
| 63 | def affinePointMap (A : CommAlgCat ℂ) (f : Foundations.Scheme.AffineComplexPoints.affineSchemeOver ℂ A ⟶ X) |
| 64 | (x : Foundations.Scheme.AffineComplexPoints.affineComplexPoints A) : schemeComplexPoints X := |
| 65 | affineSchemePointEquiv A x ≫ f |
| 66 | |
| 67 | @[simp] |
| 68 | theorem affinePointMap_comp (A : CommAlgCat ℂ) (f : Foundations.Scheme.AffineComplexPoints.affineSchemeOver ℂ A ⟶ X) |
| 69 | (g : X ⟶ Y) (x : Foundations.Scheme.AffineComplexPoints.affineComplexPoints A) : |
| 70 | affinePointMap A (f ≫ g) x = schemeComplexPoints.map g (affinePointMap A f x) := |
| 71 | (Category.assoc _ _ _).symm |
| 72 | |
| 73 | /-- Algebra-map precomposition agrees with composition of the corresponding affine tests. -/ |
| 74 | theorem affinePointMap_comap (A B : CommAlgCat ℂ) (f : A →ₐ[ℂ] B) |
| 75 | (g : Foundations.Scheme.AffineComplexPoints.affineSchemeOver ℂ A ⟶ X) (x : Foundations.Scheme.AffineComplexPoints.affineComplexPoints B) : |
| 76 | affinePointMap B (Foundations.Scheme.AffineComplexPoints.affineAlgHomOverSpecEquiv ℂ A B f ≫ g) x = |
| 77 | affinePointMap A g (Foundations.Scheme.AffineComplexPoints.affineComplexPoints.comap f x) := by |
| 78 | change affineSchemePointEquiv B x ≫ (Foundations.Scheme.AffineComplexPoints.affineAlgHomOverSpecEquiv ℂ A B f ≫ g) = |
| 79 | affineSchemePointEquiv A (Foundations.Scheme.AffineComplexPoints.affineComplexPoints.comap f x) ≫ g |
| 80 | rw [affineSchemePointEquiv_comap, Category.assoc] |
| 81 | |
| 82 | /-- The topology final with respect to all actual affine complex-point test maps. -/ |
| 83 | @[instance_reducible] |
| 84 | def analyticTopology (X : Over Foundations.Scheme.ProjectiveSpace.complexBase) : TopologicalSpace (schemeComplexPoints X) := |
| 85 | ⨆ (A : CommAlgCat ℂ) (f : Foundations.Scheme.AffineComplexPoints.affineSchemeOver ℂ A ⟶ X), |
| 86 | TopologicalSpace.coinduced (affinePointMap A f) inferInstance |
| 87 | |
| 88 | instance instTopologicalSpace (X : Over Foundations.Scheme.ProjectiveSpace.complexBase) : |
| 89 | TopologicalSpace (schemeComplexPoints X) := analyticTopology X |
| 90 | |
| 91 | /-- Each affine test map is continuous by construction of the final topology. -/ |
| 92 | theorem continuous_affinePointMap (A : CommAlgCat ℂ) (f : Foundations.Scheme.AffineComplexPoints.affineSchemeOver ℂ A ⟶ X) : |
| 93 | Continuous (affinePointMap A f) := by |
| 94 | apply continuous_iff_coinduced_le.mpr |
| 95 | exact le_iSup_of_le A (le_iSup_of_le f le_rfl) |
| 96 | |
| 97 | /-- A map from scheme points is continuous exactly when every affine test is continuous. -/ |
| 98 | theorem continuous_iff_affineTests {T : Type*} [TopologicalSpace T] |
| 99 | (F : schemeComplexPoints X → T) : |
| 100 | Continuous F ↔ ∀ (A : CommAlgCat ℂ) (f : Foundations.Scheme.AffineComplexPoints.affineSchemeOver ℂ A ⟶ X), |
| 101 | Continuous (fun x => F (affinePointMap A f x)) := by |
| 102 | change @Continuous _ _ (analyticTopology X) _ F ↔ _ |
| 103 | simp only [continuous_iSup_dom, continuous_coinduced_dom, |
| 104 | Function.comp_def] |
| 105 | |
| 106 | /-- Openness in the final topology can be tested on every actual affine scheme map. -/ |
| 107 | theorem isOpen_iff_affineTests (S : Set (schemeComplexPoints X)) : |
| 108 | IsOpen S ↔ ∀ (A : CommAlgCat ℂ) (f : Foundations.Scheme.AffineComplexPoints.affineSchemeOver ℂ A ⟶ X), |
| 109 | IsOpen (affinePointMap A f ⁻¹' S) := by |
| 110 | change @IsOpen _ (analyticTopology X) S ↔ _ |
| 111 | simp only [isOpen_iSup_iff, isOpen_coinduced] |
| 112 | |
| 113 | /-- Every morphism of complex schemes gives a continuous map on these complex points. -/ |
| 114 | theorem continuous_map (f : X ⟶ Y) : Continuous (schemeComplexPoints.map f) := by |
| 115 | apply (continuous_iff_affineTests _).mpr |
| 116 | intro A g |
| 117 | change Continuous (fun x => (affineSchemePointEquiv A x ≫ g) ≫ f) |
| 118 | have h : Continuous (fun x => affineSchemePointEquiv A x ≫ (g ≫ f)) := |
| 119 | continuous_affinePointMap A (g ≫ f) |
| 120 | simpa only [Category.assoc] using h |
| 121 | |
| 122 | /-- The bundled continuous map on complex points induced by a scheme morphism. -/ |
| 123 | def mapContinuous (f : X ⟶ Y) : C(schemeComplexPoints X, schemeComplexPoints Y) := |
| 124 | ⟨schemeComplexPoints.map f, continuous_map f⟩ |
| 125 | |
| 126 | end schemeComplexPoints |
| 127 | |
| 128 | /-- On an actual affine scheme, the final topology is exactly the ordinary |
| 129 | evaluation topology on complex algebra characters. -/ |
| 130 | def affineSchemePointHomeomorph (A : Type) [CommRing A] [Algebra ℂ A] : |
| 131 | Foundations.Scheme.AffineComplexPoints.affineComplexPoints A ≃ₜ schemeComplexPoints (Foundations.Scheme.AffineComplexPoints.affineSchemeOver ℂ A) where |
| 132 | toEquiv := affineSchemePointEquiv A |
| 133 | continuous_toFun := by |
| 134 | have h : Continuous (fun x : Foundations.Scheme.AffineComplexPoints.affineComplexPoints A => |
| 135 | affineSchemePointEquiv A x ≫ 𝟙 (Foundations.Scheme.AffineComplexPoints.affineSchemeOver ℂ A)) := |
| 136 | schemeComplexPoints.continuous_affinePointMap (CommAlgCat.of ℂ A) |
| 137 | (𝟙 (Foundations.Scheme.AffineComplexPoints.affineSchemeOver ℂ A)) |
| 138 | exact h.congr fun x => Category.comp_id _ |
| 139 | continuous_invFun := by |
| 140 | apply (schemeComplexPoints.continuous_iff_affineTests _).mpr |
| 141 | intro B f |
| 142 | obtain ⟨g, rfl⟩ := (Foundations.Scheme.AffineComplexPoints.affineAlgHomOverSpecEquiv ℂ A B).surjective f |
| 143 | change Continuous (fun x : Foundations.Scheme.AffineComplexPoints.affineComplexPoints B => (affineSchemePointEquiv A).symm |
| 144 | (affineSchemePointEquiv B x ≫ Foundations.Scheme.AffineComplexPoints.affineAlgHomOverSpecEquiv ℂ A B g)) |
| 145 | simp only [← affineSchemePointEquiv_comap, Equiv.symm_apply_apply] |
| 146 | exact (Foundations.Scheme.AffineComplexPoints.affineComplexPoints.comap g).continuous |
| 147 | |
| 148 | /-- Complex points with the affine-test topology form a covariant topological functor. -/ |
| 149 | def schemeComplexPointsFunctor : Over Foundations.Scheme.ProjectiveSpace.complexBase ⥤ TopCat where |
| 150 | obj X := TopCat.of (schemeComplexPoints X) |
| 151 | map f := TopCat.ofHom (schemeComplexPoints.mapContinuous f) |
| 152 | map_id X := by |
| 153 | apply TopCat.ext |
| 154 | intro x |
| 155 | exact schemeComplexPoints.map_id x |
| 156 | map_comp f g := by |
| 157 | apply TopCat.ext |
| 158 | intro x |
| 159 | exact schemeComplexPoints.map_comp f g x |
| 160 | |
| 161 | end AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs |
| 162 | |
| 163 | namespace AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints |
| 164 | |
| 165 | /-! |
| 166 | # Homeomorphisms of genuine complex scheme points |
| 167 | |
| 168 | An isomorphism of schemes over the complex base induces a homeomorphism of |
| 169 | their actual complex-valued point spaces with the affine-test topology. |
| 170 | -/ |
| 171 | |
| 172 | open _root_.CategoryTheory |
| 173 | |
| 174 | variable {X Y : Over Foundations.Scheme.ProjectiveSpace.complexBase} |
| 175 | |
| 176 | /-- An actual scheme isomorphism gives a homeomorphism of complex-point spaces. -/ |
| 177 | def isoHomeomorph (e : X ≅ Y) : schemeComplexPoints X ≃ₜ schemeComplexPoints Y where |
| 178 | toFun := schemeComplexPoints.map e.hom |
| 179 | invFun := schemeComplexPoints.map e.inv |
| 180 | left_inv x := by |
| 181 | change (x ≫ e.hom) ≫ e.inv = x |
| 182 | simp only [Category.assoc, e.hom_inv_id, Category.comp_id] |
| 183 | right_inv y := by |
| 184 | change (y ≫ e.inv) ≫ e.hom = y |
| 185 | simp only [Category.assoc, e.inv_hom_id, Category.comp_id] |
| 186 | continuous_toFun := continuous_map e.hom |
| 187 | continuous_invFun := continuous_map e.inv |
| 188 | |
| 189 | @[simp] |
| 190 | theorem isoHomeomorph_apply (e : X ≅ Y) (x : schemeComplexPoints X) : |
| 191 | isoHomeomorph e x = x ≫ e.hom := rfl |
| 192 | |
| 193 | @[simp] |
| 194 | theorem isoHomeomorph_symm_apply (e : X ≅ Y) (y : schemeComplexPoints Y) : |
| 195 | (isoHomeomorph e).symm y = y ≫ e.inv := rfl |
| 196 | |
| 197 | end AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints |
| 198 | |
| 199 | end |
| 200 | |
| 201 | end OAI |