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.CycleClass.Thom.Cycle.RegularNeighborhoodDetection |
| 2 | import OAI.AlgebraicGeometry.CycleClass.Thom.Open.ImageComplement |
| 3 | import OAI.AlgebraicGeometry.CycleClass.Thom.HolomorphicHomeomorph |
| 4 | import OAI.AlgebraicGeometry.CycleClass.Geometric.Span |
| 5 | import OAI.AlgebraicGeometry.CycleClass.Thom.Open.ClosedImmersionComposition |
| 6 | |
| 7 | /-! # Regular Open Immersion -/ |
| 8 | |
| 9 | namespace OAI |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | namespace AlgebraicGeometry.CycleClass.Thom.Cycle.RegularOpenImmersion.Constructions |
| 14 | open _root_.CategoryTheory |
| 15 | open _root_.TopologicalSpace |
| 16 | open scoped _root_.Manifold |
| 17 | open OAI.AlgebraicGeometry.CycleClass.Thom.Cycle.RegularNeighborhoodDetection.Constructions |
| 18 | open OAI.AlgebraicGeometry.CycleClass.Thom.GraphOpenImmersion.Constructions |
| 19 | open OAI.AlgebraicGeometry.CycleClass.Thom.OpenImmersion.Constructions.Raw |
| 20 | open OAI.AlgebraicGeometry.CycleClass.Thom.Open.ImageComplement.Constructions.ThomAmbientTransport |
| 21 | open OAI.AlgebraicGeometry.CycleClass.Thom.HolomorphicHomeomorph.Constructions |
| 22 | section |
| 23 | |
| 24 | /-! The actual regular part of a cycle is a closed holomorphic immersion on every ambient open contained in its regular ambient locus. -/ |
| 25 | |
| 26 | open scoped ContDiff |
| 27 | |
| 28 | set_option backward.isDefEq.respectTransparency false |
| 29 | set_option backward.isDefEq.respectTransparency.types false |
| 30 | |
| 31 | variable {V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety} {p : ℕ} (D : Geometric.DimensionCycles.DimensionCycleSupport V p) |
| 32 | (U : Opens V.analyticSpace) (hU : (U : Set V.analyticSpace) ⊆ D.regularAmbientOpen) |
| 33 | |
| 34 | def regularOpenHomeomorph : RegularNeighborhoodDetection.Constructions.regularNeighborhood D U ≃ₜ U where |
| 35 | toFun x := ⟨x.val.val, x.property⟩ |
| 36 | invFun y := ⟨⟨y.val, hU y.property⟩, y.property⟩ |
| 37 | left_inv _ := rfl |
| 38 | right_inv _ := rfl |
| 39 | continuous_toFun := (continuous_subtype_val.comp continuous_subtype_val).subtype_mk _ |
| 40 | continuous_invFun := (continuous_subtype_val.subtype_mk _).subtype_mk _ |
| 41 | |
| 42 | theorem regularOpenHomeomorph_analytic : |
| 43 | ContMDiff 𝓘(ℂ, V.analyticModel) 𝓘(ℂ, V.analyticModel) ω (regularOpenHomeomorph D U hU) := by |
| 44 | apply (ComplexPoints.Analytic.RegularLocusComplement.contMDiff_intoOpen_iff U _ ω).mp |
| 45 | exact (show ContMDiff 𝓘(ℂ, V.analyticModel) 𝓘(ℂ, V.analyticModel) ω |
| 46 | (Subtype.val : D.regularAmbientSpace → V.analyticSpace) from contMDiff_subtype_val).comp |
| 47 | (show ContMDiff 𝓘(ℂ, V.analyticModel) 𝓘(ℂ, V.analyticModel) ω |
| 48 | (Subtype.val : RegularNeighborhoodDetection.Constructions.regularNeighborhood D U → D.regularAmbientSpace) from contMDiff_subtype_val) |
| 49 | |
| 50 | theorem regularOpenHomeomorph_symm_analytic : |
| 51 | ContMDiff 𝓘(ℂ, V.analyticModel) 𝓘(ℂ, V.analyticModel) ω (regularOpenHomeomorph D U hU).symm := by |
| 52 | apply (ComplexPoints.Analytic.RegularLocusComplement.contMDiff_intoOpen_iff (RegularNeighborhoodDetection.Constructions.regularNeighborhood D U) _ ω).mp |
| 53 | apply (ComplexPoints.Analytic.RegularLocusComplement.contMDiff_intoOpen_iff D.regularAmbientOpen _ ω).mp |
| 54 | exact (show ContMDiff 𝓘(ℂ, V.analyticModel) 𝓘(ℂ, V.analyticModel) ω |
| 55 | (Subtype.val : U → V.analyticSpace) from contMDiff_subtype_val) |
| 56 | |
| 57 | def regularOpenImmersion : |
| 58 | GraphOpenImmersion.Constructions.graphSourceOpen D.regularComplementInclusion (D.contMDiff_regularComplementInclusion ω) |
| 59 | (RegularNeighborhoodDetection.Constructions.regularNeighborhood D U) → U := |
| 60 | regularOpenHomeomorph D U hU ∘ GraphOpenImmersion.Constructions.restrictedBase D.regularComplementInclusion |
| 61 | (D.contMDiff_regularComplementInclusion ω) (RegularNeighborhoodDetection.Constructions.regularNeighborhood D U) |
| 62 | |
| 63 | theorem regularOpenImmersion_analytic : |
| 64 | ContMDiff 𝓘(ℂ, D.regularAnalyticModel) 𝓘(ℂ, V.analyticModel) ω (regularOpenImmersion D U hU) := |
| 65 | (regularOpenHomeomorph_analytic D U hU).comp |
| 66 | (GraphOpenImmersion.Constructions.restrictedBase_analytic D.regularComplementInclusion |
| 67 | (D.contMDiff_regularComplementInclusion ω) (RegularNeighborhoodDetection.Constructions.regularNeighborhood D U)) |
| 68 | |
| 69 | theorem regularOpenImmersion_differential_injective |
| 70 | (x : GraphOpenImmersion.Constructions.graphSourceOpen D.regularComplementInclusion (D.contMDiff_regularComplementInclusion ω) |
| 71 | (RegularNeighborhoodDetection.Constructions.regularNeighborhood D U)) : |
| 72 | Function.Injective (mfderiv 𝓘(ℂ, D.regularAnalyticModel) 𝓘(ℂ, V.analyticModel) |
| 73 | (regularOpenImmersion D U hU) x) := by |
| 74 | have he := (regularOpenHomeomorph_analytic D U hU).mdifferentiable (by simp) |
| 75 | have hei := (regularOpenHomeomorph_symm_analytic D U hU).mdifferentiable (by simp) |
| 76 | unfold regularOpenImmersion |
| 77 | rw [mfderiv_comp x (he _) ((GraphOpenImmersion.Constructions.restrictedBase_analytic D.regularComplementInclusion |
| 78 | (D.contMDiff_regularComplementInclusion ω) (RegularNeighborhoodDetection.Constructions.regularNeighborhood D U)).mdifferentiable (by simp) x)] |
| 79 | exact (HolomorphicHomeomorph.Constructions.homeomorph_mfderiv_bijective (regularOpenHomeomorph D U hU) he hei _).injective.comp |
| 80 | (OpenImmersion.Constructions.Raw.restrictedBase_differential_injective D.regularComplementInclusion |
| 81 | (D.contMDiff_regularComplementInclusion ω) (RegularNeighborhoodDetection.Constructions.regularNeighborhood D U) |
| 82 | D.mfderiv_regularComplementInclusion_injective x) |
| 83 | |
| 84 | theorem regularOpenImmersion_closedEmbedding : Topology.IsClosedEmbedding (regularOpenImmersion D U hU) := |
| 85 | (regularOpenHomeomorph D U hU).isClosedEmbedding.comp |
| 86 | (OpenImmersion.Constructions.Raw.restrictedBase_closedEmbedding D.regularComplementInclusion |
| 87 | (D.contMDiff_regularComplementInclusion ω) (RegularNeighborhoodDetection.Constructions.regularNeighborhood D U) |
| 88 | D.isClosedEmbedding_regularComplementInclusion) |
| 89 | |
| 90 | theorem regularOpenImmersion_range : Set.range (regularOpenImmersion D U hU) = |
| 91 | (Subtype.val : U → V.analyticSpace) ⁻¹' Set.range D.analyticInclusion := by |
| 92 | ext y |
| 93 | constructor |
| 94 | · rintro ⟨x, rfl⟩ |
| 95 | have hx : D.regularComplementInclusion x.val ∈ Set.range D.regularComplementInclusion := Set.mem_range_self _ |
| 96 | rw [D.range_regularComplementInclusion] at hx |
| 97 | exact hx |
| 98 | · intro hy |
| 99 | let z : D.regularAmbientSpace := ⟨y.val, hU y.property⟩ |
| 100 | have hz : z ∈ Set.range D.regularComplementInclusion := by |
| 101 | rw [D.range_regularComplementInclusion] |
| 102 | exact hy |
| 103 | obtain ⟨x, hx⟩ := hz |
| 104 | have hxU : D.regularComplementInclusion x ∈ RegularNeighborhoodDetection.Constructions.regularNeighborhood D U := by |
| 105 | change (D.regularComplementInclusion x).val ∈ U |
| 106 | rw [hx] |
| 107 | exact y.property |
| 108 | refine ⟨⟨x, hxU⟩, ?_⟩ |
| 109 | apply Subtype.ext |
| 110 | change (D.regularComplementInclusion x).val = y.val |
| 111 | exact congrArg Subtype.val hx |
| 112 | |
| 113 | theorem regularOpenImmersion_mapsTo : Set.MapsTo (Geometric.LocalHomology.Cycles.subspaceInclusion (TopCat.of V.analyticSpace) (U : Set V.analyticSpace)) |
| 114 | (Set.range (regularOpenImmersion D U hU))ᶜ (Set.range D.analyticInclusion)ᶜ := by |
| 115 | intro y hy |
| 116 | change y.val ∉ Set.range D.analyticInclusion |
| 117 | rw [regularOpenImmersion_range] at hy |
| 118 | exact hy |
| 119 | |
| 120 | end |
| 121 | |
| 122 | /-! Restriction of the original supported cycle class to any ambient open in the regular locus is the actual Thom class of the restricted regular immersion. -/ |
| 123 | |
| 124 | open scoped ContDiff |
| 125 | |
| 126 | open OAI.AlgebraicGeometry.CycleClass.Thom.Degree.Constructions.ThomClass |
| 127 | |
| 128 | set_option backward.isDefEq.respectTransparency false |
| 129 | set_option backward.isDefEq.respectTransparency.types false |
| 130 | |
| 131 | variable {V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety} {p : ℕ} (D : Geometric.DimensionCycles.DimensionCycleSupport V p) |
| 132 | (U : Opens V.analyticSpace) (hU : (U : Set V.analyticSpace) ⊆ D.regularAmbientOpen) |
| 133 | |
| 134 | local instance : MetrizableSpace U := U.isOpenEmbedding'.isEmbedding.metrizableSpace |
| 135 | |
| 136 | def regularOpenToRegular : TopCat.of U ⟶ TopCat.of D.regularAmbientSpace := |
| 137 | Open.ImageComplement.Constructions.ThomAmbientTransport.transportedOpenMap (RegularNeighborhoodDetection.Constructions.regularNeighborhood D U) (regularOpenHomeomorph D U hU) |
| 138 | |
| 139 | theorem regularOpenToRegular_mapsTo : Set.MapsTo (regularOpenToRegular D U hU) |
| 140 | (Set.range (regularOpenImmersion D U hU))ᶜ (Set.range D.regularComplementInclusion)ᶜ := |
| 141 | Open.ImageComplement.Constructions.ThomAmbientTransport.transportedOpenMap_mapsTo D.regularComplementInclusion (D.contMDiff_regularComplementInclusion ω) |
| 142 | (RegularNeighborhoodDetection.Constructions.regularNeighborhood D U) (regularOpenHomeomorph D U hU) |
| 143 | |
| 144 | theorem regularOpenToRegular_factor : regularOpenToRegular D U hU ≫ |
| 145 | Geometric.LocalHomology.Cycles.subspaceInclusion (TopCat.of V.analyticSpace) D.analyticSingularBoundaryᶜ = |
| 146 | Geometric.LocalHomology.Cycles.subspaceInclusion (TopCat.of V.analyticSpace) (U : Set V.analyticSpace) := rfl |
| 147 | |
| 148 | theorem regularOpenThom_pullback : |
| 149 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) (regularOpenToRegular D U hU) |
| 150 | (regularOpenToRegular_mapsTo D U hU) (2 * p) D.regularThomClass = |
| 151 | Degree.Constructions.ThomClass.complexThomClassInDegree (regularOpenImmersion D U hU) (regularOpenImmersion_analytic D U hU) |
| 152 | (regularOpenImmersion_differential_injective D U hU) (regularOpenImmersion_closedEmbedding D U hU) |
| 153 | p D.regularComplement_complexImmersionCodimension := by |
| 154 | exact Open.ImageComplement.Constructions.ThomAmbientTransport.ThomClass_open_ambientTransport D.regularComplementInclusion |
| 155 | (D.contMDiff_regularComplementInclusion ω) (RegularNeighborhoodDetection.Constructions.regularNeighborhood D U) (regularOpenHomeomorph D U hU) |
| 156 | D.mfderiv_regularComplementInclusion_injective D.isClosedEmbedding_regularComplementInclusion |
| 157 | ((regularOpenHomeomorph_analytic D U hU).mdifferentiable (by simp)) |
| 158 | ((regularOpenHomeomorph_symm_analytic D U hU).mdifferentiable (by simp)) |
| 159 | (regularOpenImmersion_analytic D U hU) (regularOpenImmersion_differential_injective D U hU) |
| 160 | p D.regularComplement_complexImmersionCodimension D.regularComplement_complexImmersionCodimension |
| 161 | |
| 162 | theorem supportedCycleClass_regularOpen_Thom : |
| 163 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) |
| 164 | (Geometric.LocalHomology.Cycles.subspaceInclusion (TopCat.of V.analyticSpace) (U : Set V.analyticSpace)) |
| 165 | (regularOpenImmersion_mapsTo D U hU) (2 * p) D.rationalSupportedCycleClass = |
| 166 | Degree.Constructions.ThomClass.complexThomClassInDegree (regularOpenImmersion D U hU) (regularOpenImmersion_analytic D U hU) |
| 167 | (regularOpenImmersion_differential_injective D U hU) (regularOpenImmersion_closedEmbedding D U hU) |
| 168 | p D.regularComplement_complexImmersionCodimension := by |
| 169 | have h₁ := ConcreteCategory.congr_hom |
| 170 | (AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeSingularCohomologyMap_comp (ModuleCat.of ℚ ℚ) (regularOpenToRegular D U hU) |
| 171 | (Geometric.LocalHomology.Cycles.subspaceInclusion (TopCat.of V.analyticSpace) D.analyticSingularBoundaryᶜ) |
| 172 | (regularOpenToRegular_mapsTo D U hU) |
| 173 | (fun x hx => (D.mem_regularThomComplement_iff x).mp hx) (2 * p)) D.rationalSupportedCycleClass |
| 174 | have h₂ := ConcreteCategory.congr_hom |
| 175 | (ThomOpenRestriction.Constructions.pairMap_congr (regularOpenToRegular_factor D U hU) |
| 176 | (fun x hx => (D.mem_regularThomComplement_iff _).mp (regularOpenToRegular_mapsTo D U hU hx)) |
| 177 | (regularOpenImmersion_mapsTo D U hU) (2 * p)) D.rationalSupportedCycleClass |
| 178 | change AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) (regularOpenToRegular D U hU) |
| 179 | (regularOpenToRegular_mapsTo D U hU) (2 * p) |
| 180 | (D.regularThomCohomologyRestriction (ModuleCat.of ℚ ℚ) (2 * p) D.rationalSupportedCycleClass) = _ at h₁ |
| 181 | rw [D.rationalSupportedCycleClass_regularPullback] at h₁ |
| 182 | exact h₂.symm.trans (h₁.symm.trans (regularOpenThom_pullback D U hU)) |
| 183 | |
| 184 | end AlgebraicGeometry.CycleClass.Thom.Cycle.RegularOpenImmersion.Constructions |
| 185 | |
| 186 | namespace AlgebraicGeometry.CycleClass.Thom.Cycle.RegularOpenImmersion.Constructions.Bundle |
| 187 | |
| 188 | /-! The actual regular part of a cycle on an ambient open, bundled |
| 189 | for the supported Thom composition theorem. -/ |
| 190 | |
| 191 | open _root_.CategoryTheory _root_.TopologicalSpace |
| 192 | open scoped _root_.Manifold ContDiff |
| 193 | |
| 194 | open OAI.AlgebraicGeometry.CycleClass.Thom.Closed.ComplexImmersion.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Open.ClosedImmersionComposition.Constructions.ComplexManifold OAI.AlgebraicGeometry.CycleClass.Thom.SmoothImmersion.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Cycle.RegularOpenImmersion.Constructions |
| 195 | open OAI.AlgebraicGeometry.CycleClass.Thom.GraphOpenImmersion.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Cycle.RegularNeighborhoodDetection.Constructions |
| 196 | |
| 197 | set_option backward.isDefEq.respectTransparency false |
| 198 | set_option backward.isDefEq.respectTransparency.types false |
| 199 | |
| 200 | variable {V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety} {p : ℕ} (Z : Geometric.DimensionCycles.DimensionCycleSupport V p) |
| 201 | (U : Opens V.analyticSpace) (hU : (U : Set V.analyticSpace) ⊆ Z.regularAmbientOpen) |
| 202 | |
| 203 | abbrev cycleOpenImmersion : Closed.ComplexImmersion.Constructions.ClosedComplexImmersion (Open.ClosedImmersionComposition.Constructions.ComplexManifold.openManifold (SmoothImmersion.Constructions.projectiveManifold V) U) p where |
| 204 | regularComplexDimension := Z.regularComplexDimension |
| 205 | regularAnalyticSpace := TopCat.of (GraphOpenImmersion.Constructions.graphSourceOpen Z.regularComplementInclusion |
| 206 | (Z.contMDiff_regularComplementInclusion ω) (RegularNeighborhoodDetection.Constructions.regularNeighborhood Z U)) |
| 207 | chartedSpace := inferInstance |
| 208 | manifold := inferInstance |
| 209 | regularComplementTopCatMap := TopCat.ofHom |
| 210 | ⟨regularOpenImmersion Z U hU, (regularOpenImmersion_analytic Z U hU).continuous⟩ |
| 211 | holomorphic := regularOpenImmersion_analytic Z U hU |
| 212 | differential_injective := regularOpenImmersion_differential_injective Z U hU |
| 213 | closed := regularOpenImmersion_closedEmbedding Z U hU |
| 214 | regularComplexDimension_add_codimension := Z.regularComplexDimension_add_codimension |
| 215 | |
| 216 | theorem cycleOpenImmersion_Thom : |
| 217 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) |
| 218 | (Geometric.LocalHomology.Cycles.subspaceInclusion (TopCat.of V.analyticSpace) (U : Set V.analyticSpace)) |
| 219 | (regularOpenImmersion_mapsTo Z U hU) (2 * p) Z.rationalSupportedCycleClass = |
| 220 | (cycleOpenImmersion Z U hU).regularThomClass := |
| 221 | supportedCycleClass_regularOpen_Thom Z U hU |
| 222 | |
| 223 | end AlgebraicGeometry.CycleClass.Thom.Cycle.RegularOpenImmersion.Constructions.Bundle |
| 224 | |
| 225 | end |
| 226 | |
| 227 | end OAI |