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.Geometric.ComplexCompactFundamental |
| 2 | import OAI.AlgebraicGeometry.CycleClass.Geometric.LocalChartMaps |
| 3 | import OAI.AlgebraicGeometry.CycleClass.Geometric.ComplexOpenOrientation |
| 4 | |
| 5 | /-! # Open Fundamental -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.CycleClass.Geometric.OpenFundamental.Cycles |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | # Open-inclusion naturality of canonical compact-support classes |
| 13 | |
| 14 | The maps used below are the actual maps of complementary pairs induced by |
| 15 | continuous injections. Their compatibility with local restrictions follows |
| 16 | from composition of relative singular homology maps. |
| 17 | -/ |
| 18 | |
| 19 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace |
| 20 | open scoped _root_.Manifold |
| 21 | |
| 22 | set_option backward.defeqAttrib.useBackward true |
| 23 | set_option backward.isDefEq.respectTransparency false |
| 24 | set_option backward.isDefEq.respectTransparency.types false |
| 25 | |
| 26 | section InjectiveMaps |
| 27 | |
| 28 | variable {X Y : TopCat.{0}} |
| 29 | |
| 30 | /-- An injective continuous map induces an actual relative homology map |
| 31 | from a support to its image, using the complementary subspaces. -/ |
| 32 | def injectiveSupportHomologyMap (f : X ⟶ Y) (hf : Function.Injective f) |
| 33 | (K : Set X) (n : ℕ) : |
| 34 | HomologyWithSupports.Cycles.singularHomologyWithSupport X K n ⟶ HomologyWithSupports.Cycles.singularHomologyWithSupport Y (f '' K) n := |
| 35 | LocalHomology.Cycles.relativeSingularHomologyMap f ((Set.surjOn_image f K).mapsTo_compl hf) n |
| 36 | |
| 37 | /-- Support pushforward and the actual punctured-pair map give the same |
| 38 | class at every point of the image. -/ |
| 39 | @[reassoc] |
| 40 | theorem injectiveSupportHomologyMap_toPoint (f : X ⟶ Y) (hf : Function.Injective f) |
| 41 | (K : Set X) (n : ℕ) (x : X) (hx : x ∈ K) : |
| 42 | injectiveSupportHomologyMap f hf K n ≫ |
| 43 | LocalHomologyPresheaf.Cycles.localHomologyToPoint Y (f '' K) (f x) ⟨x, hx, rfl⟩ n = |
| 44 | LocalHomologyPresheaf.Cycles.localHomologyToPoint X K x hx n ≫ LocalChartMaps.Cycles.injectiveLocalHomologyMap f hf x n := by |
| 45 | unfold injectiveSupportHomologyMap LocalHomologyPresheaf.Cycles.localHomologyToPoint LocalChartMaps.Cycles.injectiveLocalHomologyMap |
| 46 | change LocalHomology.Cycles.relativeSingularHomologyMap f _ n ≫ LocalHomology.Cycles.relativeSingularHomologyMap (𝟙 Y) _ n = |
| 47 | LocalHomology.Cycles.relativeSingularHomologyMap (𝟙 X) _ n ≫ LocalHomology.Cycles.relativeSingularHomologyMap f _ n |
| 48 | rw [LocalHomology.Cycles.relativeSingularHomologyMap_comp, LocalHomology.Cycles.relativeSingularHomologyMap_comp] |
| 49 | simp only [Category.id_comp, Category.comp_id] |
| 50 | |
| 51 | end InjectiveMaps |
| 52 | |
| 53 | section LocalCriterion |
| 54 | |
| 55 | variable (p : ℕ) {M N : Type} [TopologicalSpace M] [TopologicalSpace N] |
| 56 | variable [T2Space M] [T2Space N] |
| 57 | variable [ChartedSpace (Fin p → ℂ) M] [ChartedSpace (Fin p → ℂ) N] |
| 58 | variable [IsManifold 𝓘(ℂ, Fin p → ℂ) 1 M] [IsManifold 𝓘(ℂ, Fin p → ℂ) 1 N] |
| 59 | |
| 60 | /-- A continuous injection preserving the specified actual local classes |
| 61 | preserves every compact-support fundamental class. This explicit local |
| 62 | criterion will be discharged for the open inclusions below. -/ |
| 63 | theorem complexCompactFundamentalClass_map_of_local |
| 64 | (f : TopCat.of M ⟶ TopCat.of N) (hf : Function.Injective f) |
| 65 | (hlocal : ∀ x : M, LocalChartMaps.Cycles.injectiveLocalHomologyMap f hf x (2 * p) |
| 66 | (ComplexChartOrientation.Cycles.complexCanonicalLocalClass (p := p) x) = ComplexChartOrientation.Cycles.complexCanonicalLocalClass (p := p) (f x)) |
| 67 | (K : Set M) (hK : IsCompact K) : |
| 68 | injectiveSupportHomologyMap f hf K (2 * p) (ComplexCompactFundamental.Cycles.complexCompactFundamentalClass p K hK) = |
| 69 | ComplexCompactFundamental.Cycles.complexCompactFundamentalClass p (f '' K) (hK.image f.hom.continuous) := by |
| 70 | apply ComplexCompactFundamental.Cycles.complexCompactFundamentalClass_unique p (f '' K) (hK.image f.hom.continuous) |
| 71 | rintro y ⟨x, hx, rfl⟩ |
| 72 | have hs := ConcreteCategory.congr_hom |
| 73 | (injectiveSupportHomologyMap_toPoint f hf K (2 * p) x hx) |
| 74 | (ComplexCompactFundamental.Cycles.complexCompactFundamentalClass p K hK) |
| 75 | change LocalHomologyPresheaf.Cycles.localHomologyToPoint (TopCat.of N) (f '' K) (f x) _ (2 * p) |
| 76 | (injectiveSupportHomologyMap f hf K (2 * p) (ComplexCompactFundamental.Cycles.complexCompactFundamentalClass p K hK)) = |
| 77 | LocalChartMaps.Cycles.injectiveLocalHomologyMap f hf x (2 * p) |
| 78 | (LocalHomologyPresheaf.Cycles.localHomologyToPoint (TopCat.of M) K x hx (2 * p) |
| 79 | (ComplexCompactFundamental.Cycles.complexCompactFundamentalClass p K hK)) at hs |
| 80 | rw [hs, ComplexCompactFundamental.Cycles.complexCompactFundamentalClass_atPoint] |
| 81 | exact hlocal x |
| 82 | |
| 83 | end LocalCriterion |
| 84 | |
| 85 | variable (p : ℕ) {M : Type} [TopologicalSpace M] [T2Space M] |
| 86 | variable [ChartedSpace (Fin p → ℂ) M] [IsManifold 𝓘(ℂ, Fin p → ℂ) 1 M] |
| 87 | |
| 88 | /-- The literal map of complementary pairs induced by an open-subspace |
| 89 | inclusion takes the canonical compact-support class to the image class. -/ |
| 90 | theorem complexCompactFundamentalClass_openInclusion |
| 91 | (U : Opens M) (K : Set U) (hK : IsCompact K) : |
| 92 | LocalHomology.Cycles.relativeSingularHomologyMap (LocalHomology.Cycles.subspaceInclusion (TopCat.of M) (U : Set M)) |
| 93 | ((Set.surjOn_image (LocalHomology.Cycles.subspaceInclusion (TopCat.of M) (U : Set M)) K).mapsTo_compl |
| 94 | Subtype.val_injective) (2 * p) (ComplexCompactFundamental.Cycles.complexCompactFundamentalClass p (M := U) K hK) = |
| 95 | ComplexCompactFundamental.Cycles.complexCompactFundamentalClass p (M := M) |
| 96 | ((LocalHomology.Cycles.subspaceInclusion (TopCat.of M) (U : Set M)) '' K) |
| 97 | (hK.image (LocalHomology.Cycles.subspaceInclusion (TopCat.of M) (U : Set M)).hom.continuous) := by |
| 98 | change injectiveSupportHomologyMap (LocalHomology.Cycles.subspaceInclusion (TopCat.of M) (U : Set M)) |
| 99 | Subtype.val_injective K (2 * p) (ComplexCompactFundamental.Cycles.complexCompactFundamentalClass p (M := U) K hK) = _ |
| 100 | apply complexCompactFundamentalClass_map_of_local p (M := U) (N := M) _ _ _ K hK |
| 101 | intro x |
| 102 | change (LocalExcision.Cycles.localExcisionHomologyIso (TopCat.of M) (U : Set M) |
| 103 | x.val x.property U.isOpen (2 * p)).hom |
| 104 | (ComplexChartOrientation.Cycles.complexCanonicalLocalClass (p := p) (M := U) x) = |
| 105 | ComplexChartOrientation.Cycles.complexCanonicalLocalClass (p := p) (M := M) x.val |
| 106 | exact ComplexOpenOrientation.Cycles.complexCanonicalLocalClass_open_inclusion (p := p) U x |
| 107 | |
| 108 | /-- The compact-support excision isomorphism preserves the canonical |
| 109 | classes for any compact ambient support contained in the open subspace. -/ |
| 110 | theorem complexCompactFundamentalClass_openExcision |
| 111 | (U : Opens M) (K : Set M) (hK : IsCompact K) (hKU : K ⊆ (U : Set M)) : |
| 112 | (CompactSupportExcision.Cycles.compactSupportExcisionHomologyIso (TopCat.of M) (U : Set M) K hK U.isOpen hKU |
| 113 | (2 * p)).hom |
| 114 | (ComplexCompactFundamental.Cycles.complexCompactFundamentalClass p (M := U) |
| 115 | ((LocalHomology.Cycles.subspaceInclusion (TopCat.of M) (U : Set M)) ⁻¹' K) |
| 116 | (CompactSupportExcision.Cycles.compactSupport_preimage_isCompact (TopCat.of M) (U : Set M) K hK hKU)) = |
| 117 | ComplexCompactFundamental.Cycles.complexCompactFundamentalClass p (M := M) K hK := by |
| 118 | apply ComplexCompactFundamental.Cycles.complexCompactFundamentalClass_unique p K hK |
| 119 | intro x hx |
| 120 | have hs := ConcreteCategory.congr_hom |
| 121 | (CompactSupportExcision.Cycles.compactSupportExcisionHomologyIso_toPoint |
| 122 | (TopCat.of M) (U : Set M) K hK U.isOpen hKU x hx (2 * p)) |
| 123 | (ComplexCompactFundamental.Cycles.complexCompactFundamentalClass p (M := U) |
| 124 | ((LocalHomology.Cycles.subspaceInclusion (TopCat.of M) (U : Set M)) ⁻¹' K) |
| 125 | (CompactSupportExcision.Cycles.compactSupport_preimage_isCompact (TopCat.of M) (U : Set M) K hK hKU)) |
| 126 | change LocalHomologyPresheaf.Cycles.localHomologyToPoint (TopCat.of M) K x hx (2 * p) |
| 127 | ((CompactSupportExcision.Cycles.compactSupportExcisionHomologyIso (TopCat.of M) (U : Set M) K hK U.isOpen hKU |
| 128 | (2 * p)).hom _) = |
| 129 | (LocalExcision.Cycles.localExcisionHomologyIso (TopCat.of M) (U : Set M) x (hKU hx) U.isOpen (2 * p)).hom |
| 130 | (LocalHomologyPresheaf.Cycles.localHomologyToPoint (TopCat.of U) |
| 131 | ((LocalHomology.Cycles.subspaceInclusion (TopCat.of M) (U : Set M)) ⁻¹' K) |
| 132 | (⟨x, hKU hx⟩ : U) hx (2 * p) _) at hs |
| 133 | rw [hs, ComplexCompactFundamental.Cycles.complexCompactFundamentalClass_atPoint] |
| 134 | exact ComplexOpenOrientation.Cycles.complexCanonicalLocalClass_open_inclusion (p := p) U (⟨x, hKU hx⟩ : U) |
| 135 | |
| 136 | /-- For nested open sets, the actual punctured-pair inclusion also |
| 137 | preserves their inherited complex local generators. -/ |
| 138 | theorem complexCanonicalLocalClass_opensInclusion |
| 139 | (U V : Opens M) (hUV : U ≤ V) (x : U) : |
| 140 | LocalChartMaps.Cycles.injectiveLocalHomologyMap |
| 141 | (TopCat.ofHom (ContinuousMap.inclusion hUV) : TopCat.of U ⟶ TopCat.of V) |
| 142 | (Set.inclusion_injective hUV) x (2 * p) |
| 143 | (ComplexChartOrientation.Cycles.complexCanonicalLocalClass (p := p) (M := U) x) = |
| 144 | ComplexChartOrientation.Cycles.complexCanonicalLocalClass (p := p) (M := V) (Set.inclusion hUV x) := by |
| 145 | let f : TopCat.of U ⟶ TopCat.of V := TopCat.ofHom (ContinuousMap.inclusion hUV) |
| 146 | let q := LocalExcision.Cycles.localExcisionHomologyIso (TopCat.of M) (V : Set M) |
| 147 | x.val (hUV x.property) V.isOpen (2 * p) |
| 148 | have hcomp : LocalChartMaps.Cycles.injectiveLocalHomologyMap f (Set.inclusion_injective hUV) x (2 * p) ≫ |
| 149 | q.hom = |
| 150 | (LocalExcision.Cycles.localExcisionHomologyIso (TopCat.of M) (U : Set M) |
| 151 | x.val x.property U.isOpen (2 * p)).hom := by |
| 152 | dsimp only [q] |
| 153 | simp only [LocalExcision.Cycles.localExcisionHomologyIso_hom, LocalChartMaps.Cycles.localExcisionHomologyMap_eq_injective] |
| 154 | exact LocalChartMaps.Cycles.injectiveLocalHomologyMap_comp f (LocalHomology.Cycles.subspaceInclusion (TopCat.of M) (V : Set M)) |
| 155 | (Set.inclusion_injective hUV) Subtype.val_injective x (2 * p) |
| 156 | apply q.toLinearEquiv.injective |
| 157 | change q.hom (LocalChartMaps.Cycles.injectiveLocalHomologyMap f (Set.inclusion_injective hUV) x (2 * p) |
| 158 | (ComplexChartOrientation.Cycles.complexCanonicalLocalClass (p := p) (M := U) x)) = |
| 159 | q.hom (ComplexChartOrientation.Cycles.complexCanonicalLocalClass (p := p) (M := V) (Set.inclusion hUV x)) |
| 160 | have hh := ConcreteCategory.congr_hom hcomp (ComplexChartOrientation.Cycles.complexCanonicalLocalClass (p := p) (M := U) x) |
| 161 | change q.hom (LocalChartMaps.Cycles.injectiveLocalHomologyMap f (Set.inclusion_injective hUV) x (2 * p) |
| 162 | (ComplexChartOrientation.Cycles.complexCanonicalLocalClass (p := p) (M := U) x)) = _ at hh |
| 163 | rw [hh] |
| 164 | exact (ComplexOpenOrientation.Cycles.complexCanonicalLocalClass_open_inclusion (p := p) U x).trans |
| 165 | (ComplexOpenOrientation.Cycles.complexCanonicalLocalClass_open_inclusion (p := p) V (Set.inclusion hUV x)).symm |
| 166 | |
| 167 | /-- The literal relative homology map of an inclusion between nested |
| 168 | open subspaces preserves every canonical compact-support fundamental class. -/ |
| 169 | theorem complexCompactFundamentalClass_opensInclusion |
| 170 | (U V : Opens M) (hUV : U ≤ V) (K : Set U) (hK : IsCompact K) : |
| 171 | LocalHomology.Cycles.relativeSingularHomologyMap |
| 172 | (TopCat.ofHom (ContinuousMap.inclusion hUV) : TopCat.of U ⟶ TopCat.of V) |
| 173 | ((Set.surjOn_image (Set.inclusion hUV) K).mapsTo_compl |
| 174 | (Set.inclusion_injective hUV)) (2 * p) (ComplexCompactFundamental.Cycles.complexCompactFundamentalClass p (M := U) K hK) = |
| 175 | ComplexCompactFundamental.Cycles.complexCompactFundamentalClass p (M := V) ((Set.inclusion hUV) '' K) |
| 176 | (hK.image (continuous_inclusion hUV)) := by |
| 177 | change injectiveSupportHomologyMap |
| 178 | (TopCat.ofHom (ContinuousMap.inclusion hUV) : TopCat.of U ⟶ TopCat.of V) |
| 179 | (Set.inclusion_injective hUV) K (2 * p) (ComplexCompactFundamental.Cycles.complexCompactFundamentalClass p (M := U) K hK) = _ |
| 180 | exact complexCompactFundamentalClass_map_of_local p (M := U) (N := V) _ _ |
| 181 | (complexCanonicalLocalClass_opensInclusion p U V hUV) K hK |
| 182 | |
| 183 | end |
| 184 | |
| 185 | end OAI.AlgebraicGeometry.CycleClass.Geometric.OpenFundamental.Cycles |