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.CompactSupportExcision |
| 2 | import OAI.AlgebraicGeometry.CycleClass.Geometric.LocalHomologyCharts |
| 3 | |
| 4 | /-! # Compact Support Charts -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.CycleClass.Geometric.CompactSupportCharts |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # Compact-support homology in actual charts |
| 12 | |
| 13 | A compact subset contained in the source of an open partial homeomorphism |
| 14 | can be transported to the chart image. The comparison is the composite |
| 15 | of source excision, the actual source-to-target homeomorphism of pairs, |
| 16 | and target excision. Its point restrictions agree with the previously |
| 17 | constructed local chart comparisons. |
| 18 | -/ |
| 19 | |
| 20 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 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 | namespace Cycles |
| 27 | |
| 28 | /-- A homeomorphism carrying one support exactly onto another induces |
| 29 | the actual relative homology isomorphism for their complements. -/ |
| 30 | def homeomorphSupportHomologyIso {X Y : TopCat.{0}} (e : X ≃ₜ Y) |
| 31 | (K : Set X) (L : Set Y) (h : ∀ x, x ∈ K ↔ e x ∈ L) (n : ℕ) : |
| 32 | LocalHomology.Cycles.relativeSingularHomology X Kᶜ n ≅ LocalHomology.Cycles.relativeSingularHomology Y Lᶜ n := |
| 33 | LocalHomology.Cycles.relativeSingularHomologyIso e (fun x => not_congr (h x)) n |
| 34 | |
| 35 | /-- Homeomorphism transport of support homology commutes with restriction |
| 36 | to the actual local group at every point of the support. -/ |
| 37 | @[reassoc] |
| 38 | theorem homeomorphSupportHomologyIso_toPoint {X Y : TopCat.{0}} (e : X ≃ₜ Y) |
| 39 | (K : Set X) (L : Set Y) (h : ∀ x, x ∈ K ↔ e x ∈ L) |
| 40 | (n : ℕ) (x : X) (hx : x ∈ K) : |
| 41 | (homeomorphSupportHomologyIso e K L h n).hom ≫ |
| 42 | LocalHomologyPresheaf.Cycles.localHomologyToPoint Y L (e x) ((h x).mp hx) n = |
| 43 | LocalHomologyPresheaf.Cycles.localHomologyToPoint X K x hx n ≫ (LocalHomology.Cycles.localSingularHomologyIso e x n).hom := by |
| 44 | simp only [homeomorphSupportHomologyIso, LocalHomology.Cycles.localSingularHomologyIso, |
| 45 | LocalHomology.Cycles.relativeSingularHomologyIso_hom, LocalHomologyPresheaf.Cycles.localHomologyToPoint] |
| 46 | change HomologicalComplex.homologyMap _ n ≫ HomologicalComplex.homologyMap _ n = |
| 47 | HomologicalComplex.homologyMap _ n ≫ HomologicalComplex.homologyMap _ n |
| 48 | rw [← HomologicalComplex.homologyMap_comp, ← HomologicalComplex.homologyMap_comp] |
| 49 | congr 1 |
| 50 | unfold LocalHomologyPresheaf.Cycles.relativeComplementChainToPoint |
| 51 | rw [LocalHomology.Cycles.relativeSingularChainsMap_comp, LocalHomology.Cycles.relativeSingularChainsMap_comp] |
| 52 | simp only [Category.id_comp, Category.comp_id] |
| 53 | |
| 54 | variable {X Y : TopCat.{0}} (e : OpenPartialHomeomorph X Y) (K : Set X) |
| 55 | |
| 56 | /-- The image of a compact subset contained in the chart source is |
| 57 | compact in the model space. -/ |
| 58 | theorem compactSupportChart_image_isCompact (hK : IsCompact K) (hKs : K ⊆ e.source) : |
| 59 | IsCompact (e '' K) := |
| 60 | hK.image_of_continuousOn (e.continuousOn.mono hKs) |
| 61 | |
| 62 | /-- A support lying in the chart source maps into the chart target. -/ |
| 63 | theorem compactSupportChart_image_subset_target (hKs : K ⊆ e.source) : |
| 64 | e '' K ⊆ e.target := by |
| 65 | rintro _ ⟨x, hx, rfl⟩ |
| 66 | exact e.map_source (hKs hx) |
| 67 | |
| 68 | /-- On source and target subspaces, the chart homeomorphism carries |
| 69 | the support exactly onto the preimage of its ambient chart image. -/ |
| 70 | theorem compactSupportChart_sourceTarget_mem (hKs : K ⊆ e.source) (x : e.source) : |
| 71 | (x : X) ∈ K ↔ (e.toHomeomorphSourceTarget x : Y) ∈ e '' K := by |
| 72 | constructor |
| 73 | · intro hx |
| 74 | exact ⟨x, hx, rfl⟩ |
| 75 | · rintro ⟨z, hz, heq⟩ |
| 76 | have hzx : z = (x : X) := e.injOn (hKs hz) x.property heq |
| 77 | exact hzx ▸ hz |
| 78 | |
| 79 | /-- The middle comparison is induced by the actual homeomorphism of |
| 80 | the chart source and target, with their actual support subsets. -/ |
| 81 | def compactSupportChartSourceTargetIso (hKs : K ⊆ e.source) (n : ℕ) : |
| 82 | LocalHomology.Cycles.relativeSingularHomology (TopCat.of e.source) |
| 83 | ((LocalHomology.Cycles.subspaceInclusion X e.source) ⁻¹' K)ᶜ n ≅ |
| 84 | LocalHomology.Cycles.relativeSingularHomology (TopCat.of e.target) |
| 85 | ((LocalHomology.Cycles.subspaceInclusion Y e.target) ⁻¹' (e '' K))ᶜ n := |
| 86 | homeomorphSupportHomologyIso |
| 87 | (X := TopCat.of e.source) (Y := TopCat.of e.target) |
| 88 | e.toHomeomorphSourceTarget |
| 89 | ((LocalHomology.Cycles.subspaceInclusion X e.source) ⁻¹' K) |
| 90 | ((LocalHomology.Cycles.subspaceInclusion Y e.target) ⁻¹' (e '' K)) |
| 91 | (compactSupportChart_sourceTarget_mem e K hKs) n |
| 92 | |
| 93 | variable [T2Space X] [T2Space Y] |
| 94 | |
| 95 | /-- Compact support contained in a chart source has the same actual |
| 96 | relative singular homology as its chart image in the model space. -/ |
| 97 | def compactSupportChartHomologyIso (hK : IsCompact K) (hKs : K ⊆ e.source) (n : ℕ) : |
| 98 | LocalHomology.Cycles.relativeSingularHomology X Kᶜ n ≅ LocalHomology.Cycles.relativeSingularHomology Y (e '' K)ᶜ n := |
| 99 | (CompactSupportExcision.Cycles.compactSupportExcisionHomologyIso X e.source K hK e.open_source hKs n).symm ≪≫ |
| 100 | compactSupportChartSourceTargetIso e K hKs n ≪≫ |
| 101 | CompactSupportExcision.Cycles.compactSupportExcisionHomologyIso Y e.target (e '' K) |
| 102 | (compactSupportChart_image_isCompact e K hK hKs) e.open_target |
| 103 | (compactSupportChart_image_subset_target e K hKs) n |
| 104 | |
| 105 | /-- The forward map explicitly uses inverse source excision, the chart |
| 106 | homeomorphism of pairs, and forward target excision. -/ |
| 107 | theorem compactSupportChartHomologyIso_hom (hK : IsCompact K) (hKs : K ⊆ e.source) |
| 108 | (n : ℕ) : |
| 109 | (compactSupportChartHomologyIso e K hK hKs n).hom = |
| 110 | (CompactSupportExcision.Cycles.compactSupportExcisionHomologyIso X e.source K hK e.open_source hKs n).inv ≫ |
| 111 | (compactSupportChartSourceTargetIso e K hKs n).hom ≫ |
| 112 | (CompactSupportExcision.Cycles.compactSupportExcisionHomologyIso Y e.target (e '' K) |
| 113 | (compactSupportChart_image_isCompact e K hK hKs) e.open_target |
| 114 | (compactSupportChart_image_subset_target e K hKs) n).hom := rfl |
| 115 | |
| 116 | /-- Transporting a compact-support class and then restricting at the |
| 117 | image point agrees with restricting first and applying the actual local |
| 118 | chart homology isomorphism. -/ |
| 119 | @[reassoc] |
| 120 | theorem compactSupportChartHomologyIso_toPoint (hK : IsCompact K) (hKs : K ⊆ e.source) |
| 121 | (n : ℕ) (x : X) (hx : x ∈ K) : |
| 122 | (compactSupportChartHomologyIso e K hK hKs n).hom ≫ |
| 123 | LocalHomologyPresheaf.Cycles.localHomologyToPoint Y (e '' K) (e x) ⟨x, hx, rfl⟩ n = |
| 124 | LocalHomologyPresheaf.Cycles.localHomologyToPoint X K x hx n ≫ |
| 125 | (LocalHomologyCharts.Cycles.openPartialHomeomorphLocalHomologyIso e x (hKs hx) n).hom := by |
| 126 | simp only [compactSupportChartHomologyIso, compactSupportChartSourceTargetIso, |
| 127 | LocalHomologyCharts.Cycles.openPartialHomeomorphLocalHomologyIso, Iso.trans_hom, Iso.symm_hom, Category.assoc] |
| 128 | rw [CompactSupportExcision.Cycles.compactSupportExcisionHomologyIso_toPoint] |
| 129 | have hmid := homeomorphSupportHomologyIso_toPoint |
| 130 | (X := TopCat.of e.source) (Y := TopCat.of e.target) |
| 131 | e.toHomeomorphSourceTarget |
| 132 | ((LocalHomology.Cycles.subspaceInclusion X e.source) ⁻¹' K) |
| 133 | ((LocalHomology.Cycles.subspaceInclusion Y e.target) ⁻¹' (e '' K)) |
| 134 | (compactSupportChart_sourceTarget_mem e K hKs) |
| 135 | n (⟨x, hKs hx⟩ : e.source) hx |
| 136 | have hsource := CompactSupportExcision.Cycles.compactSupportExcisionHomologyIso_inv_toPoint |
| 137 | X e.source K hK e.open_source hKs x hx n |
| 138 | have hleft := congrArg (fun f => |
| 139 | (CompactSupportExcision.Cycles.compactSupportExcisionHomologyIso X e.source K hK e.open_source hKs n).inv ≫ f ≫ |
| 140 | (LocalExcision.Cycles.localExcisionHomologyIso Y e.target (e x) (e.map_source (hKs hx)) |
| 141 | e.open_target n).hom) hmid |
| 142 | have hright := congrArg (fun f => f ≫ |
| 143 | (LocalHomology.Cycles.localSingularHomologyIso |
| 144 | (X := TopCat.of e.source) (Y := TopCat.of e.target) |
| 145 | e.toHomeomorphSourceTarget (⟨x, hKs hx⟩ : e.source) n).hom ≫ |
| 146 | (LocalExcision.Cycles.localExcisionHomologyIso Y e.target (e x) (e.map_source (hKs hx)) |
| 147 | e.open_target n).hom) hsource |
| 148 | simp only [Category.assoc] at hleft hright |
| 149 | exact hleft.trans hright |
| 150 | |
| 151 | end Cycles |
| 152 | |
| 153 | end |
| 154 | |
| 155 | end OAI.AlgebraicGeometry.CycleClass.Geometric.CompactSupportCharts |