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.SmoothProjectiveDecomposition |
| 2 | import OAI.AlgebraicGeometry.ComplexPoints.Analytic.ProjectiveVarietyRealization |
| 3 | import OAI.AlgebraicGeometry.ComplexPoints.Analytic.SchemeAffineCover |
| 4 | |
| 5 | /-! # Projective Component -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | # Analytic points of disjoint scheme decompositions |
| 13 | |
| 14 | An actual disjoint family of open scheme inclusions covering the target gives |
| 15 | a homeomorphism from the topological sum of the native complex point spaces. |
| 16 | Applying this to the proved finite integral-component decomposition handles |
| 17 | all smooth projective presentations, including disconnected and empty ones. |
| 18 | -/ |
| 19 | |
| 20 | open _root_.CategoryTheory _root_.AlgebraicGeometry Set |
| 21 | |
| 22 | namespace ComplexPoints.Analytic |
| 23 | |
| 24 | universe v |
| 25 | |
| 26 | variable {ι : Type v} (X : Over Foundations.Scheme.ProjectiveSpace.complexBase) (U : ι → Over Foundations.Scheme.ProjectiveSpace.complexBase) |
| 27 | (j : ∀ i, U i ⟶ X) |
| 28 | |
| 29 | /-- The sum of the actual maps on native complex-valued points. -/ |
| 30 | def SchemePointHomeomorphs.schemeComplexPoints.openFamilySigmaPointMap : (Σ i, SchemePointHomeomorphs.schemeComplexPoints (U i)) → SchemePointHomeomorphs.schemeComplexPoints X := |
| 31 | fun p => SchemePointHomeomorphs.schemeComplexPoints.map (j p.1) p.2 |
| 32 | |
| 33 | @[simp] |
| 34 | theorem SchemePointHomeomorphs.schemeComplexPoints.openFamilySigmaPointMap_mk (i : ι) (p : SchemePointHomeomorphs.schemeComplexPoints (U i)) : |
| 35 | SchemePointHomeomorphs.schemeComplexPoints.openFamilySigmaPointMap X U j ⟨i, p⟩ = SchemePointHomeomorphs.schemeComplexPoints.map (j i) p := rfl |
| 36 | |
| 37 | theorem SchemePointHomeomorphs.schemeComplexPoints.continuous_openFamilySigmaPointMap : Continuous (SchemePointHomeomorphs.schemeComplexPoints.openFamilySigmaPointMap X U j) := |
| 38 | continuous_sigma fun i => SchemePointHomeomorphs.schemeComplexPoints.continuous_map (j i) |
| 39 | |
| 40 | variable [∀ i, IsOpenImmersion (j i).left] |
| 41 | |
| 42 | theorem SchemePointHomeomorphs.schemeComplexPoints.isOpenMap_openFamilySigmaPointMap : IsOpenMap (SchemePointHomeomorphs.schemeComplexPoints.openFamilySigmaPointMap X U j) := |
| 43 | isOpenMap_sigma.mpr fun i => SchemePointHomeomorphs.schemeComplexPoints.isOpenMap_map_of_isOpenImmersion (j i) |
| 44 | |
| 45 | /-- Scheme coverage supplies native-point coverage through the actual open-immersion lifts. -/ |
| 46 | theorem SchemePointHomeomorphs.schemeComplexPoints.openFamilySigmaPointMap_surjective |
| 47 | (hcover : ∀ x : X.left, ∃ i, x ∈ Set.range (j i).left) : |
| 48 | Function.Surjective (SchemePointHomeomorphs.schemeComplexPoints.openFamilySigmaPointMap X U j) := by |
| 49 | intro p |
| 50 | obtain ⟨i, hi⟩ := hcover (SchemePointHomeomorphs.schemeComplexPoints.underlying p) |
| 51 | have hp : p ∈ Set.range (SchemePointHomeomorphs.schemeComplexPoints.map (j i)) := by |
| 52 | rw [SchemePointHomeomorphs.schemeComplexPoints.range_map_of_isOpenImmersion] |
| 53 | exact hi |
| 54 | obtain ⟨q, hq⟩ := hp |
| 55 | exact ⟨⟨i, q⟩, hq⟩ |
| 56 | |
| 57 | /-- Disjointness of the actual scheme ranges separates the sum's indices. -/ |
| 58 | theorem SchemePointHomeomorphs.schemeComplexPoints.openFamilySigmaPointMap_injective |
| 59 | (hdisjoint : Pairwise (fun i k => Disjoint (Set.range (j i).left) (Set.range (j k).left))) : |
| 60 | Function.Injective (SchemePointHomeomorphs.schemeComplexPoints.openFamilySigmaPointMap X U j) := by |
| 61 | rintro ⟨i, p⟩ ⟨k, q⟩ h |
| 62 | have hik : i = k := by |
| 63 | by_contra hik |
| 64 | have hpoint : SchemePointHomeomorphs.schemeComplexPoints.underlying (SchemePointHomeomorphs.schemeComplexPoints.map (j i) p) = SchemePointHomeomorphs.schemeComplexPoints.underlying (SchemePointHomeomorphs.schemeComplexPoints.map (j k) q) := |
| 65 | congrArg SchemePointHomeomorphs.schemeComplexPoints.underlying h |
| 66 | exact Set.disjoint_left.mp (hdisjoint hik) |
| 67 | (show SchemePointHomeomorphs.schemeComplexPoints.underlying (SchemePointHomeomorphs.schemeComplexPoints.map (j i) p) ∈ Set.range (j i).left from ⟨SchemePointHomeomorphs.schemeComplexPoints.underlying p, rfl⟩) |
| 68 | (show SchemePointHomeomorphs.schemeComplexPoints.underlying (SchemePointHomeomorphs.schemeComplexPoints.map (j i) p) ∈ Set.range (j k).left from |
| 69 | ⟨SchemePointHomeomorphs.schemeComplexPoints.underlying q, hpoint.symm⟩) |
| 70 | subst k |
| 71 | have hpq : p = q := (SchemePointHomeomorphs.schemeComplexPoints.isOpenEmbedding_map_of_isOpenImmersion (j i)).injective h |
| 72 | subst q |
| 73 | rfl |
| 74 | |
| 75 | /-- Native points of a disjoint open decomposition are its actual topological sum. -/ |
| 76 | def SchemePointHomeomorphs.schemeComplexPoints.disjointOpenFamilyPointHomeomorph |
| 77 | (hcover : ∀ x : X.left, ∃ i, x ∈ Set.range (j i).left) |
| 78 | (hdisjoint : Pairwise (fun i k => Disjoint (Set.range (j i).left) (Set.range (j k).left))) : |
| 79 | (Σ i, SchemePointHomeomorphs.schemeComplexPoints (U i)) ≃ₜ SchemePointHomeomorphs.schemeComplexPoints X := |
| 80 | (Equiv.ofBijective (SchemePointHomeomorphs.schemeComplexPoints.openFamilySigmaPointMap X U j) |
| 81 | ⟨SchemePointHomeomorphs.schemeComplexPoints.openFamilySigmaPointMap_injective X U j hdisjoint, |
| 82 | SchemePointHomeomorphs.schemeComplexPoints.openFamilySigmaPointMap_surjective X U j hcover⟩).toHomeomorphOfContinuousOpen |
| 83 | (SchemePointHomeomorphs.schemeComplexPoints.continuous_openFamilySigmaPointMap X U j) (SchemePointHomeomorphs.schemeComplexPoints.isOpenMap_openFamilySigmaPointMap X U j) |
| 84 | |
| 85 | @[simp] |
| 86 | theorem SchemePointHomeomorphs.schemeComplexPoints.disjointOpenFamilyPointHomeomorph_apply |
| 87 | (hcover : ∀ x : X.left, ∃ i, x ∈ Set.range (j i).left) |
| 88 | (hdisjoint : Pairwise (fun i k => Disjoint (Set.range (j i).left) (Set.range (j k).left))) |
| 89 | (i : ι) (p : SchemePointHomeomorphs.schemeComplexPoints (U i)) : |
| 90 | SchemePointHomeomorphs.schemeComplexPoints.disjointOpenFamilyPointHomeomorph X U j hcover hdisjoint ⟨i, p⟩ = SchemePointHomeomorphs.schemeComplexPoints.map (j i) p := rfl |
| 91 | |
| 92 | @[simp] |
| 93 | theorem SchemePointHomeomorphs.schemeComplexPoints.disjointOpenFamilyPointHomeomorph_symm_map |
| 94 | (hcover : ∀ x : X.left, ∃ i, x ∈ Set.range (j i).left) |
| 95 | (hdisjoint : Pairwise (fun i k => Disjoint (Set.range (j i).left) (Set.range (j k).left))) |
| 96 | (i : ι) (p : SchemePointHomeomorphs.schemeComplexPoints (U i)) : |
| 97 | (SchemePointHomeomorphs.schemeComplexPoints.disjointOpenFamilyPointHomeomorph X U j hcover hdisjoint).symm (SchemePointHomeomorphs.schemeComplexPoints.map (j i) p) = ⟨i, p⟩ := |
| 98 | (SchemePointHomeomorphs.schemeComplexPoints.disjointOpenFamilyPointHomeomorph X U j hcover hdisjoint).symm_apply_apply ⟨i, p⟩ |
| 99 | |
| 100 | /-- In particular, a native disjoint open cover has exactly the sum topology on points. -/ |
| 101 | def SchemePointHomeomorphs.schemeComplexPoints.disjointOpenCoverPointHomeomorph (𝒰 : Scheme.OpenCover.{v} X.left) |
| 102 | (hdisjoint : Pairwise (fun i k => Disjoint (Set.range (𝒰.f i)) (Set.range (𝒰.f k)))) : |
| 103 | (Σ i, SchemePointHomeomorphs.schemeComplexPoints (SchemePointHomeomorphs.schemeComplexPoints.openCoverObject X 𝒰 i)) ≃ₜ SchemePointHomeomorphs.schemeComplexPoints X := |
| 104 | SchemePointHomeomorphs.schemeComplexPoints.disjointOpenFamilyPointHomeomorph X (SchemePointHomeomorphs.schemeComplexPoints.openCoverObject X 𝒰) (SchemePointHomeomorphs.schemeComplexPoints.openCoverInclusion X 𝒰) |
| 105 | (fun x => ⟨𝒰.idx x, 𝒰.covers x⟩) hdisjoint |
| 106 | |
| 107 | @[simp] |
| 108 | theorem SchemePointHomeomorphs.schemeComplexPoints.disjointOpenCoverPointHomeomorph_apply (𝒰 : Scheme.OpenCover.{v} X.left) |
| 109 | (hdisjoint : Pairwise (fun i k => Disjoint (Set.range (𝒰.f i)) (Set.range (𝒰.f k)))) |
| 110 | (p : Σ i, SchemePointHomeomorphs.schemeComplexPoints (SchemePointHomeomorphs.schemeComplexPoints.openCoverObject X 𝒰 i)) : |
| 111 | SchemePointHomeomorphs.schemeComplexPoints.disjointOpenCoverPointHomeomorph X 𝒰 hdisjoint p = SchemePointHomeomorphs.schemeComplexPoints.openCoverSigmaPointMap X 𝒰 p := rfl |
| 112 | |
| 113 | end ComplexPoints.Analytic |
| 114 | |
| 115 | variable (P : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) |
| 116 | |
| 117 | /-- The actual component inclusion, as a morphism over the specified complex base. -/ |
| 118 | def Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation.componentInclusionOver (C : irreducibleComponents P.carrier) : |
| 119 | (P.componentVariety C).toOver ⟶ P.toOver := |
| 120 | Over.homMk (P.componentInclusion C) (P.componentInclusion_over C) |
| 121 | |
| 122 | instance Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation.componentInclusionOver_isOpenImmersion (C : irreducibleComponents P.carrier) : |
| 123 | IsOpenImmersion (P.componentInclusionOver C).left := |
| 124 | P.componentInclusion_isOpenImmersion C |
| 125 | |
| 126 | instance Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation.componentInclusionOver_isClosedImmersion (C : irreducibleComponents P.carrier) : |
| 127 | IsClosedImmersion (P.componentInclusionOver C).left := |
| 128 | P.componentInclusion_isClosedImmersion C |
| 129 | |
| 130 | /-- The map from an actual integral component's analytic space. -/ |
| 131 | def Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation.componentPointMap (C : irreducibleComponents P.carrier) : |
| 132 | (P.componentVariety C).analyticSpace → ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints P.toOver := |
| 133 | ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map (P.componentInclusionOver C) |
| 134 | |
| 135 | theorem Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation.componentPointMap_range (C : irreducibleComponents P.carrier) : |
| 136 | Set.range (P.componentPointMap C) = ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.underlying ⁻¹' C.val := by |
| 137 | change Set.range (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map (P.componentInclusionOver C)) = _ |
| 138 | rw [ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.range_map_of_isOpenImmersion] |
| 139 | have h : Set.range (P.componentInclusionOver C).left = C.val := P.componentInclusion_range C |
| 140 | rw [h] |
| 141 | |
| 142 | theorem Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation.componentInclusions_cover (x : P.carrier) : |
| 143 | ∃ C : irreducibleComponents P.carrier, x ∈ Set.range (P.componentInclusion C) := by |
| 144 | refine ⟨⟨irreducibleComponent x, irreducibleComponent_mem_irreducibleComponents x⟩, ?_⟩ |
| 145 | rw [P.componentInclusion_range] |
| 146 | exact mem_irreducibleComponent |
| 147 | |
| 148 | theorem Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation.componentInclusions_pairwise_disjoint : |
| 149 | Pairwise (fun C D : irreducibleComponents P.carrier => |
| 150 | Disjoint (Set.range (P.componentInclusion C)) (Set.range (P.componentInclusion D))) := by |
| 151 | intro C D hCD |
| 152 | exact TopologicalSpace.Opens.coe_disjoint.mpr |
| 153 | (P.componentInclusionsOfStalkDomains_disjoint P.stalk_isDomain hCD) |
| 154 | |
| 155 | /-- The analytic points of any smooth projective presentation are the finite |
| 156 | topological sum of its actual integral smooth projective components. -/ |
| 157 | def Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation.componentPointsHomeomorph : |
| 158 | (Σ C : irreducibleComponents P.carrier, (P.componentVariety C).analyticSpace) ≃ₜ |
| 159 | ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints P.toOver := |
| 160 | ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.disjointOpenFamilyPointHomeomorph P.toOver |
| 161 | (fun C => (P.componentVariety C).toOver) P.componentInclusionOver |
| 162 | P.componentInclusions_cover P.componentInclusions_pairwise_disjoint |
| 163 | |
| 164 | @[simp] |
| 165 | theorem Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation.componentPointsHomeomorph_apply (C : irreducibleComponents P.carrier) |
| 166 | (p : (P.componentVariety C).analyticSpace) : |
| 167 | P.componentPointsHomeomorph ⟨C, p⟩ = P.componentPointMap C p := rfl |
| 168 | |
| 169 | @[simp] |
| 170 | theorem Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation.componentPointsHomeomorph_symm_componentPointMap |
| 171 | (C : irreducibleComponents P.carrier) (p : (P.componentVariety C).analyticSpace) : |
| 172 | P.componentPointsHomeomorph.symm (P.componentPointMap C p) = ⟨C, p⟩ := |
| 173 | P.componentPointsHomeomorph.symm_apply_apply ⟨C, p⟩ |
| 174 | |
| 175 | end |
| 176 | |
| 177 | end OAI.AlgebraicGeometry |