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.LocalExcision |
| 2 | import OAI.AlgebraicGeometry.CycleClass.Geometric.LocalHomologyPresheaf |
| 3 | |
| 4 | /-! # Compact Support Excision -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.CycleClass.Geometric.CompactSupportExcision |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # Excision around compact supports |
| 12 | |
| 13 | An open neighborhood of a compact subset in a Hausdorff space computes the |
| 14 | same actual relative singular homology with that support. The comparison is |
| 15 | the inclusion of pairs and commutes with shrinking supports and restriction |
| 16 | to points. No excision or orientation data is assumed. |
| 17 | -/ |
| 18 | |
| 19 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 20 | |
| 21 | set_option backward.defeqAttrib.useBackward true |
| 22 | set_option backward.isDefEq.respectTransparency false |
| 23 | set_option backward.isDefEq.respectTransparency.types false |
| 24 | |
| 25 | namespace Cycles |
| 26 | |
| 27 | variable (X : TopCat.{0}) (U K : Set X) |
| 28 | |
| 29 | /-- A compact subset lying inside a subspace is compact in that subspace. -/ |
| 30 | theorem compactSupport_preimage_isCompact (hK : IsCompact K) (hKU : K ⊆ U) : |
| 31 | IsCompact ((LocalHomology.Cycles.subspaceInclusion X U) ⁻¹' K) := |
| 32 | Topology.IsEmbedding.subtypeVal.isInducing.isCompact_preimage' hK |
| 33 | (fun x hx => ⟨⟨x, hKU hx⟩, rfl⟩) |
| 34 | |
| 35 | private theorem support_complement_cover (hKU : K ⊆ U) : U ∪ Kᶜ = Set.univ := by |
| 36 | apply Set.eq_univ_of_forall |
| 37 | intro x |
| 38 | by_cases hx : x ∈ K |
| 39 | · exact Or.inl (hKU hx) |
| 40 | · exact Or.inr hx |
| 41 | |
| 42 | /-- The actual inclusion of pairs `(U, U \ K) → (X, X \ K)`. -/ |
| 43 | def compactSupportExcisionChainMap : |
| 44 | LocalHomology.Cycles.relativeSingularChains (TopCat.of U) ((LocalHomology.Cycles.subspaceInclusion X U) ⁻¹' Kᶜ) ⟶ |
| 45 | LocalHomology.Cycles.relativeSingularChains X Kᶜ := |
| 46 | LocalExcision.Cycles.relativeCoverInclusion X U Kᶜ |
| 47 | |
| 48 | /-- The comparison is induced by inclusion on ordinary singular chains. -/ |
| 49 | @[reassoc (attr := simp)] |
| 50 | theorem compactSupportExcisionChainMap_projection : |
| 51 | LocalHomology.Cycles.relativeChainProjection (TopCat.of U) ((LocalHomology.Cycles.subspaceInclusion X U) ⁻¹' Kᶜ) ≫ |
| 52 | compactSupportExcisionChainMap X U K = |
| 53 | LocalHomology.Cycles.integralSingularChainFunctor.map (LocalHomology.Cycles.subspaceInclusion X U) ≫ |
| 54 | LocalHomology.Cycles.relativeChainProjection X Kᶜ := |
| 55 | LocalHomology.Cycles.relativeChainProjection_naturality (LocalHomology.Cycles.subspaceInclusion X U) (fun _ h => h) |
| 56 | |
| 57 | /-- Actual excision around a compact support in an open neighborhood. -/ |
| 58 | theorem compactSupportExcisionChainMap_quasiIso [T2Space X] |
| 59 | (hK : IsCompact K) (hU : IsOpen U) (hKU : K ⊆ U) : |
| 60 | _root_.QuasiIso (compactSupportExcisionChainMap X U K) := |
| 61 | LocalExcision.Cycles.relativeCoverInclusion_quasiIso X U Kᶜ hU hK.isClosed.isOpen_compl |
| 62 | (support_complement_cover X U K hKU) |
| 63 | |
| 64 | /-- The canonical compact-support excision isomorphism on actual relative |
| 65 | singular homology, induced by the inclusion of pairs. -/ |
| 66 | def compactSupportExcisionHomologyIso [T2Space X] |
| 67 | (hK : IsCompact K) (hU : IsOpen U) (hKU : K ⊆ U) (n : ℕ) : |
| 68 | LocalHomology.Cycles.relativeSingularHomology (TopCat.of U) ((LocalHomology.Cycles.subspaceInclusion X U) ⁻¹' Kᶜ) n ≅ |
| 69 | LocalHomology.Cycles.relativeSingularHomology X Kᶜ n := |
| 70 | LocalExcision.Cycles.relativeCoverHomologyIso X U Kᶜ hU hK.isClosed.isOpen_compl |
| 71 | (support_complement_cover X U K hKU) n |
| 72 | |
| 73 | @[simp] |
| 74 | theorem compactSupportExcisionHomologyIso_hom [T2Space X] |
| 75 | (hK : IsCompact K) (hU : IsOpen U) (hKU : K ⊆ U) (n : ℕ) : |
| 76 | (compactSupportExcisionHomologyIso X U K hK hU hKU n).hom = |
| 77 | HomologicalComplex.homologyMap (compactSupportExcisionChainMap X U K) n := rfl |
| 78 | |
| 79 | /-- The inclusion of pairs commutes with decreasing the support set. This |
| 80 | chain-level naturality does not require compactness or openness. -/ |
| 81 | @[reassoc] |
| 82 | theorem compactSupportExcisionChainMap_restriction {K L : Set X} (hKL : K ⊆ L) : |
| 83 | compactSupportExcisionChainMap X U L ≫ LocalHomologyPresheaf.Cycles.relativeComplementChainRestriction X hKL = |
| 84 | LocalHomologyPresheaf.Cycles.relativeComplementChainRestriction (TopCat.of U) |
| 85 | (show (LocalHomology.Cycles.subspaceInclusion X U) ⁻¹' K ⊆ (LocalHomology.Cycles.subspaceInclusion X U) ⁻¹' L from |
| 86 | Set.preimage_mono hKL) ≫ |
| 87 | compactSupportExcisionChainMap X U K := by |
| 88 | unfold compactSupportExcisionChainMap LocalExcision.Cycles.relativeCoverInclusion LocalHomologyPresheaf.Cycles.relativeComplementChainRestriction |
| 89 | rw [LocalHomology.Cycles.relativeSingularChainsMap_comp, LocalHomology.Cycles.relativeSingularChainsMap_comp] |
| 90 | simp only [Category.comp_id, Category.id_comp] |
| 91 | |
| 92 | /-- Compact-support excision is natural under restrictions `K ⊆ L ⊆ U`. -/ |
| 93 | @[reassoc] |
| 94 | theorem compactSupportExcisionHomologyIso_naturality [T2Space X] |
| 95 | {K L : Set X} (hK : IsCompact K) (hL : IsCompact L) |
| 96 | (hU : IsOpen U) (hKL : K ⊆ L) (hLU : L ⊆ U) (n : ℕ) : |
| 97 | (compactSupportExcisionHomologyIso X U L hL hU hLU n).hom ≫ |
| 98 | HomologicalComplex.homologyMap (LocalHomologyPresheaf.Cycles.relativeComplementChainRestriction X hKL) n = |
| 99 | HomologicalComplex.homologyMap |
| 100 | (LocalHomologyPresheaf.Cycles.relativeComplementChainRestriction (TopCat.of U) |
| 101 | (show (LocalHomology.Cycles.subspaceInclusion X U) ⁻¹' K ⊆ (LocalHomology.Cycles.subspaceInclusion X U) ⁻¹' L from |
| 102 | Set.preimage_mono hKL)) n ≫ |
| 103 | (compactSupportExcisionHomologyIso X U K hK hU (hKL.trans hLU) n).hom := by |
| 104 | rw [compactSupportExcisionHomologyIso_hom, compactSupportExcisionHomologyIso_hom, |
| 105 | ← HomologicalComplex.homologyMap_comp, ← HomologicalComplex.homologyMap_comp, |
| 106 | compactSupportExcisionChainMap_restriction] |
| 107 | |
| 108 | /-- Restriction to a point commutes with the actual compact-support pair map. -/ |
| 109 | @[reassoc] |
| 110 | theorem compactSupportExcisionChainMap_toPoint (x : X) (hxK : x ∈ K) (hxU : x ∈ U) : |
| 111 | compactSupportExcisionChainMap X U K ≫ LocalHomologyPresheaf.Cycles.relativeComplementChainToPoint X K x hxK = |
| 112 | LocalHomologyPresheaf.Cycles.relativeComplementChainToPoint (TopCat.of U) ((LocalHomology.Cycles.subspaceInclusion X U) ⁻¹' K) |
| 113 | (⟨x, hxU⟩ : U) hxK ≫ |
| 114 | LocalExcision.Cycles.localExcisionChainMap X U x hxU := by |
| 115 | unfold compactSupportExcisionChainMap LocalExcision.Cycles.relativeCoverInclusion |
| 116 | LocalHomologyPresheaf.Cycles.relativeComplementChainToPoint LocalExcision.Cycles.localExcisionChainMap |
| 117 | rw [LocalHomology.Cycles.relativeSingularChainsMap_comp, LocalHomology.Cycles.relativeSingularChainsMap_comp] |
| 118 | simp only [Category.comp_id, Category.id_comp] |
| 119 | |
| 120 | /-- Compact-support excision and local excision give the same restriction to |
| 121 | the actual local homology at each point of the compact set. -/ |
| 122 | @[reassoc] |
| 123 | theorem compactSupportExcisionHomologyIso_toPoint [T2Space X] |
| 124 | (hK : IsCompact K) (hU : IsOpen U) (hKU : K ⊆ U) |
| 125 | (x : X) (hxK : x ∈ K) (n : ℕ) : |
| 126 | (compactSupportExcisionHomologyIso X U K hK hU hKU n).hom ≫ |
| 127 | LocalHomologyPresheaf.Cycles.localHomologyToPoint X K x hxK n = |
| 128 | LocalHomologyPresheaf.Cycles.localHomologyToPoint (TopCat.of U) ((LocalHomology.Cycles.subspaceInclusion X U) ⁻¹' K) |
| 129 | (⟨x, hKU hxK⟩ : U) hxK n ≫ |
| 130 | (LocalExcision.Cycles.localExcisionHomologyIso X U x (hKU hxK) hU n).hom := by |
| 131 | rw [compactSupportExcisionHomologyIso_hom, LocalExcision.Cycles.localExcisionHomologyIso_hom] |
| 132 | change HomologicalComplex.homologyMap _ n ≫ HomologicalComplex.homologyMap _ n = |
| 133 | HomologicalComplex.homologyMap _ n ≫ HomologicalComplex.homologyMap _ n |
| 134 | rw [← HomologicalComplex.homologyMap_comp, ← HomologicalComplex.homologyMap_comp, |
| 135 | compactSupportExcisionChainMap_toPoint] |
| 136 | |
| 137 | /-- The inverse compact-support comparison is also compatible with the |
| 138 | inverse local comparison at each point. -/ |
| 139 | @[reassoc] |
| 140 | theorem compactSupportExcisionHomologyIso_inv_toPoint [T2Space X] |
| 141 | (hK : IsCompact K) (hU : IsOpen U) (hKU : K ⊆ U) |
| 142 | (x : X) (hxK : x ∈ K) (n : ℕ) : |
| 143 | (compactSupportExcisionHomologyIso X U K hK hU hKU n).inv ≫ |
| 144 | LocalHomologyPresheaf.Cycles.localHomologyToPoint (TopCat.of U) ((LocalHomology.Cycles.subspaceInclusion X U) ⁻¹' K) |
| 145 | (⟨x, hKU hxK⟩ : U) hxK n = |
| 146 | LocalHomologyPresheaf.Cycles.localHomologyToPoint X K x hxK n ≫ |
| 147 | (LocalExcision.Cycles.localExcisionHomologyIso X U x (hKU hxK) hU n).inv := by |
| 148 | apply (cancel_mono (LocalExcision.Cycles.localExcisionHomologyIso X U x (hKU hxK) hU n).hom).mp |
| 149 | rw [Category.assoc, ← compactSupportExcisionHomologyIso_toPoint X U K hK hU hKU x hxK n, |
| 150 | Iso.inv_hom_id_assoc, Category.assoc, Iso.inv_hom_id, Category.comp_id] |
| 151 | |
| 152 | end Cycles |
| 153 | |
| 154 | end |
| 155 | |
| 156 | end OAI.AlgebraicGeometry.CycleClass.Geometric.CompactSupportExcision |