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.OpenImmersionPoints |
| 2 | import OAI.AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs |
| 3 | import OAI.AlgebraicGeometry.ComplexPoints.Analytic.LocalizationPointTopology |
| 4 | import OAI.AlgebraicGeometry.ComplexPoints.Analytic.AffineOpenLifts |
| 5 | |
| 6 | /-! # Open Immersion -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.ComplexPoints.Analytic.OpenImmersion.SchemeComplexPoints |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! |
| 13 | # Open immersions on ordinary complex points |
| 14 | |
| 15 | The carrier is the native type of relative scheme morphisms from `Spec ℂ`. |
| 16 | The point topology is the final topology of actual affine tests. Principal |
| 17 | localization neighborhoods provide the local lifts used below. |
| 18 | -/ |
| 19 | |
| 20 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 21 | |
| 22 | variable {U X : Over Foundations.Scheme.ProjectiveSpace.complexBase} |
| 23 | |
| 24 | /-- Local algebraic lifts through principal localizations imply openness of the |
| 25 | induced map on native complex points. -/ |
| 26 | private theorem isOpenMap_of_localizationLifts |
| 27 | (i : U ⟶ X) [IsOpenImmersion i.left] |
| 28 | (hloc : ∀ (A : CommAlgCat ℂ) (g : Foundations.Scheme.AffineComplexPoints.affineSchemeOver ℂ A ⟶ X) |
| 29 | (x : Foundations.Scheme.AffineComplexPoints.affineComplexPoints A), SchemePointHomeomorphs.schemeComplexPoints.affinePointMap A g x ∈ Set.range (SchemePointHomeomorphs.schemeComplexPoints.map i) → |
| 30 | ∃ a : A, x a ≠ 0 ∧ ∃ l : Foundations.Scheme.AffineComplexPoints.affineSchemeOver ℂ (Localization.Away a) ⟶ U, |
| 31 | l ≫ i = Foundations.Scheme.AffineComplexPoints.affineAlgHomOverSpecEquiv ℂ A (Localization.Away a) |
| 32 | (Algebra.algHom ℂ A (Localization.Away a)) ≫ g) : |
| 33 | IsOpenMap (SchemePointHomeomorphs.schemeComplexPoints.map i) := by |
| 34 | intro S hS |
| 35 | apply (SchemePointHomeomorphs.schemeComplexPoints.isOpen_iff_affineTests _).mpr |
| 36 | intro A g |
| 37 | rw [isOpen_iff_mem_nhds] |
| 38 | intro x hx |
| 39 | obtain ⟨y, hy, heq⟩ := hx |
| 40 | obtain ⟨a, ha, l, hl⟩ := hloc A g x ⟨y, heq⟩ |
| 41 | let F : Foundations.Scheme.AffineComplexPoints.affineComplexPoints.principalOpen a → SchemePointHomeomorphs.schemeComplexPoints U := |
| 42 | fun z => SchemePointHomeomorphs.schemeComplexPoints.affinePointMap (CommAlgCat.of ℂ (Localization.Away a)) l |
| 43 | ((Foundations.Scheme.AffineComplexPoints.affineComplexPoints.localizationPointHomeomorph a).symm z) |
| 44 | have hF : Continuous F := |
| 45 | (SchemePointHomeomorphs.schemeComplexPoints.continuous_affinePointMap (CommAlgCat.of ℂ (Localization.Away a)) l).comp |
| 46 | (Foundations.Scheme.AffineComplexPoints.affineComplexPoints.localizationPointHomeomorph a).symm.continuous |
| 47 | have hcomm (z : Foundations.Scheme.AffineComplexPoints.affineComplexPoints.principalOpen a) : |
| 48 | SchemePointHomeomorphs.schemeComplexPoints.map i (F z) = SchemePointHomeomorphs.schemeComplexPoints.affinePointMap A g z.val := by |
| 49 | dsimp only [F] |
| 50 | rw [← SchemePointHomeomorphs.schemeComplexPoints.affinePointMap_comp, hl, SchemePointHomeomorphs.schemeComplexPoints.affinePointMap_comap] |
| 51 | have hz : Foundations.Scheme.AffineComplexPoints.affineComplexPoints.localizationRestriction a |
| 52 | ((Foundations.Scheme.AffineComplexPoints.affineComplexPoints.localizationPointHomeomorph a).symm z) = z.val := by |
| 53 | rw [← Foundations.Scheme.AffineComplexPoints.affineComplexPoints.localizationPointHomeomorph_val, |
| 54 | Homeomorph.apply_symm_apply] |
| 55 | exact congrArg (SchemePointHomeomorphs.schemeComplexPoints.affinePointMap A g) hz |
| 56 | let x' : Foundations.Scheme.AffineComplexPoints.affineComplexPoints.principalOpen a := ⟨x, ha⟩ |
| 57 | have hx' : F x' ∈ S := by |
| 58 | have hxy : F x' = y := |
| 59 | Foundations.Scheme.OpenImmersionPoints.openImmersion_complexPointMap_injective i ((hcomm x').trans heq.symm) |
| 60 | rw [hxy] |
| 61 | exact hy |
| 62 | have hopen : IsOpen ((Subtype.val : Foundations.Scheme.AffineComplexPoints.affineComplexPoints.principalOpen a → |
| 63 | Foundations.Scheme.AffineComplexPoints.affineComplexPoints A) '' (F ⁻¹' S)) := |
| 64 | (Foundations.Scheme.AffineComplexPoints.affineComplexPoints.isOpen_principalOpen a).isOpenEmbedding_subtypeVal.isOpenMap _ |
| 65 | (hS.preimage hF) |
| 66 | have hmem : x ∈ ((Subtype.val : Foundations.Scheme.AffineComplexPoints.affineComplexPoints.principalOpen a → |
| 67 | Foundations.Scheme.AffineComplexPoints.affineComplexPoints A) '' (F ⁻¹' S)) := ⟨x', hx', rfl⟩ |
| 68 | apply Filter.mem_of_superset (hopen.mem_nhds hmem) |
| 69 | rintro z ⟨w, hw, rfl⟩ |
| 70 | exact ⟨F w, hw, hcomm w⟩ |
| 71 | |
| 72 | /-- An actual open immersion of complex schemes induces an open map on their |
| 73 | native complex-valued points with the ordinary affine-test topology. -/ |
| 74 | theorem _root_.OAI.AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.isOpenMap_map_of_isOpenImmersion (i : U ⟶ X) [IsOpenImmersion i.left] : |
| 75 | IsOpenMap (SchemePointHomeomorphs.schemeComplexPoints.map i) := |
| 76 | isOpenMap_of_localizationLifts i (SchemePointHomeomorphs.schemeComplexPoints.exists_localizationLift i) |
| 77 | |
| 78 | /-- An actual open immersion induces an open embedding of ordinary complex |
| 79 | point spaces. Its local inverses come from genuine principal localizations. -/ |
| 80 | theorem _root_.OAI.AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.isOpenEmbedding_map_of_isOpenImmersion (i : U ⟶ X) [IsOpenImmersion i.left] : |
| 81 | Topology.IsOpenEmbedding (SchemePointHomeomorphs.schemeComplexPoints.map i) := |
| 82 | .of_continuous_injective_isOpenMap (SchemePointHomeomorphs.schemeComplexPoints.continuous_map i) |
| 83 | (Foundations.Scheme.OpenImmersionPoints.openImmersion_complexPointMap_injective i) (SchemePointHomeomorphs.schemeComplexPoints.isOpenMap_map_of_isOpenImmersion i) |
| 84 | |
| 85 | /-- The image consists exactly of points whose underlying scheme point lies |
| 86 | in the open subscheme. -/ |
| 87 | theorem _root_.OAI.AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.range_map_of_isOpenImmersion (i : U ⟶ X) [IsOpenImmersion i.left] : |
| 88 | Set.range (SchemePointHomeomorphs.schemeComplexPoints.map i) = SchemePointHomeomorphs.schemeComplexPoints.underlying ⁻¹' Set.range i.left := by |
| 89 | ext p |
| 90 | constructor |
| 91 | · rintro ⟨q, rfl⟩ |
| 92 | exact ⟨SchemePointHomeomorphs.schemeComplexPoints.underlying q, rfl⟩ |
| 93 | · intro hp |
| 94 | have hsub : Set.range p.left ⊆ Set.range i.left := by |
| 95 | rintro z ⟨t, rfl⟩ |
| 96 | have ht : t = SchemePointHomeomorphs.schemeComplexPoints.basePoint := by |
| 97 | exact @Subsingleton.elim (PrimeSpectrum ℂ) inferInstance t SchemePointHomeomorphs.schemeComplexPoints.basePoint |
| 98 | rw [ht] |
| 99 | exact hp |
| 100 | exact ⟨Foundations.Scheme.OpenImmersionPoints.openImmersion_relativeLift i p hsub, Foundations.Scheme.OpenImmersionPoints.openImmersion_relativeLift_fac i p hsub⟩ |
| 101 | |
| 102 | /-- Native points of an open subscheme are homeomorphic to the corresponding |
| 103 | ordinary open subset of the target point space. -/ |
| 104 | def _root_.OAI.AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.openImmersionPointHomeomorph (i : U ⟶ X) [IsOpenImmersion i.left] : |
| 105 | SchemePointHomeomorphs.schemeComplexPoints U ≃ₜ (SchemePointHomeomorphs.schemeComplexPoints.underlying ⁻¹' Set.range i.left) := |
| 106 | (SchemePointHomeomorphs.schemeComplexPoints.isOpenEmbedding_map_of_isOpenImmersion i).isEmbedding.toHomeomorph.trans |
| 107 | (Homeomorph.setCongr (SchemePointHomeomorphs.schemeComplexPoints.range_map_of_isOpenImmersion i)) |
| 108 | |
| 109 | @[simp] |
| 110 | theorem _root_.OAI.AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.openImmersionPointHomeomorph_val (i : U ⟶ X) [IsOpenImmersion i.left] |
| 111 | (p : SchemePointHomeomorphs.schemeComplexPoints U) : |
| 112 | (SchemePointHomeomorphs.schemeComplexPoints.openImmersionPointHomeomorph i p).val = SchemePointHomeomorphs.schemeComplexPoints.map i p := |
| 113 | rfl |
| 114 | |
| 115 | end |
| 116 | |
| 117 | end OAI.AlgebraicGeometry.ComplexPoints.Analytic.OpenImmersion.SchemeComplexPoints |