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.HodgeConjecture.ThetaCycle.CoverLocal |
| 2 | import OAI.AlgebraicGeometry.Cycles.Functoriality.FiniteFundamental |
| 3 | import OAI.AlgebraicTopology.Cohomology.Singular.EvaluationNaturality |
| 4 | |
| 5 | /-! # Cover Degree -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.CoverDegree.CM |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Integral covering degree from actual finite fibers and holomorphic sheets. |
| 12 | This carries out ThetaCoverDegree's finite-fiber argument with the canonical complex local |
| 13 | classes directly; no integration identity or global degree law is an input. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.TopologicalSpace |
| 16 | open OAI.AlgebraicTopology.Cohomology.Singular.EvaluationNaturality OAI.AlgebraicGeometry.Cycles.Functoriality.FiniteFundamental.Construction |
| 17 | open scoped _root_.Manifold |
| 18 | |
| 19 | /-- A top homology class supported on finitely many points is the sum of |
| 20 | its restrictions, inserted through neighborhoods isolating those points. -/ |
| 21 | theorem complex_finite_support_decomposition |
| 22 | (d : ℕ) {M : Type} [TopologicalSpace M] [T2Space M] |
| 23 | [ChartedSpace (Fin d → ℂ) M] |
| 24 | (K : Set M) [Fintype K] (U : K → Opens M) |
| 25 | (hxU : ∀ x : K, x.val ∈ U x) |
| 26 | (hUK : ∀ (x : K) (z : U x), z.val ∈ K → z.val = x.val) |
| 27 | (a : CycleClass.Geometric.HomologyWithSupports.Cycles.singularHomologyWithSupport (TopCat.of M) K (2 * d)) : |
| 28 | (∑ x : K, Cycles.Functoriality.FiniteFundamental.Construction.finiteSupportLocalInsertion K (U x) ⟨x.val, hxU x⟩ |
| 29 | (fun z hz => Subtype.ext (hUK x z hz)) (2 * d) |
| 30 | ((CycleClass.Geometric.LocalExcision.Cycles.localExcisionHomologyIso (TopCat.of M) (U x) x.val (hxU x) |
| 31 | (U x).isOpen (2 * d)).inv |
| 32 | (CycleClass.Geometric.LocalHomologyPresheaf.Cycles.localHomologyToPoint (TopCat.of M) K x.val x.property (2 * d) a))) = a := by |
| 33 | classical |
| 34 | apply CycleClass.Geometric.ManifoldCompactSupport.Cycles.complexManifold_compactSupport_point_ext d K (Set.toFinite K).isCompact |
| 35 | intro z hzK |
| 36 | rw [map_sum, Finset.sum_eq_single (⟨z, hzK⟩ : K)] |
| 37 | · have h := ConcreteCategory.congr_hom |
| 38 | (Cycles.Functoriality.FiniteFundamental.Construction.finiteSupportLocalInsertion_to_self K (U ⟨z, hzK⟩) |
| 39 | ⟨z, hxU ⟨z, hzK⟩⟩ hzK |
| 40 | (fun w hw => Subtype.ext (hUK ⟨z, hzK⟩ w hw)) (2 * d)) |
| 41 | ((CycleClass.Geometric.LocalExcision.Cycles.localExcisionHomologyIso (TopCat.of M) (U ⟨z, hzK⟩) z |
| 42 | (hxU ⟨z, hzK⟩) (U ⟨z, hzK⟩).isOpen (2 * d)).inv |
| 43 | (CycleClass.Geometric.LocalHomologyPresheaf.Cycles.localHomologyToPoint (TopCat.of M) K z hzK (2 * d) a)) |
| 44 | exact h.trans (Iso.inv_hom_id_apply |
| 45 | (CycleClass.Geometric.LocalExcision.Cycles.localExcisionHomologyIso (TopCat.of M) (U ⟨z, hzK⟩) z |
| 46 | (hxU ⟨z, hzK⟩) (U ⟨z, hzK⟩).isOpen (2 * d)) _) |
| 47 | · intro x _ hx |
| 48 | have hzx : z ≠ x.val := fun h => hx (Subtype.ext h.symm) |
| 49 | exact ConcreteCategory.congr_hom |
| 50 | (Cycles.Functoriality.FiniteFundamental.Construction.finiteSupportLocalInsertion_to_other K (U x) ⟨x.val, hxU x⟩ _ |
| 51 | z hzK hzx (2 * d)) _ |
| 52 | · simp |
| 53 | |
| 54 | /-- The map of relative homology from a fiber to its image point. -/ |
| 55 | def fiber_push {X Y : TopCat.{0}} (f : X ⟶ Y) (y : Y) (n : ℕ) : |
| 56 | CycleClass.Geometric.HomologyWithSupports.Cycles.singularHomologyWithSupport X (f ⁻¹' {y}) n ⟶ CycleClass.Geometric.LocalHomology.Cycles.localSingularHomology Y y n := |
| 57 | CycleClass.Geometric.LocalHomology.Cycles.relativeSingularHomologyMap f (A := (f ⁻¹' {y})ᶜ) (B := {y}ᶜ) (fun _ hx => hx) n |
| 58 | |
| 59 | /-- Pushing an inserted local class through one sheet is exactly the |
| 60 | local homology isomorphism of that sheet. -/ |
| 61 | theorem sheet_push_insert |
| 62 | {X Y : TopCat.{0}} [T1Space X] [T1Space Y] |
| 63 | (f : X ⟶ Y) (e : OpenPartialHomeomorph X Y) |
| 64 | (he : Set.EqOn f e e.source) (x : X) (hx : x ∈ e.source) |
| 65 | (hUK : ∀ z : e.source, z.val ∈ f ⁻¹' {e x} → z = ⟨x, hx⟩) |
| 66 | (n : ℕ) (a : CycleClass.Geometric.LocalHomology.Cycles.localSingularHomology X x n) : |
| 67 | fiber_push f (e x) n |
| 68 | (Cycles.Functoriality.FiniteFundamental.Construction.finiteSupportLocalInsertion (f ⁻¹' {e x}) ⟨e.source, e.open_source⟩ |
| 69 | ⟨x, hx⟩ hUK n |
| 70 | ((CycleClass.Geometric.LocalExcision.Cycles.localExcisionHomologyIso X e.source x hx e.open_source n).inv a)) = |
| 71 | (CycleClass.Geometric.LocalHomologyCharts.Cycles.openPartialHomeomorphLocalHomologyIso e x hx n).hom a := by |
| 72 | let i : TopCat.of e.source ⟶ X := CycleClass.Geometric.LocalHomology.Cycles.subspaceInclusion X e.source |
| 73 | have hi : Set.MapsTo i ({(⟨x, hx⟩ : e.source)} : Set e.source)ᶜ |
| 74 | (f ⁻¹' {e x})ᶜ := fun z hz hzK => hz (hUK z hzK) |
| 75 | have hf : Set.MapsTo f (f ⁻¹' {e x})ᶜ ({e x} : Set Y)ᶜ := fun _ hz => hz |
| 76 | have hfe : i ≫ f = CycleClass.Geometric.LocalChartMaps.Cycles.openPartialSourceMap e := by |
| 77 | ext z |
| 78 | exact he z.property |
| 79 | have hmaps : Cycles.Functoriality.FiniteFundamental.Construction.finiteSupportLocalInsertion (f ⁻¹' {e x}) |
| 80 | ⟨e.source, e.open_source⟩ ⟨x, hx⟩ hUK n ≫ fiber_push f (e x) n = |
| 81 | CycleClass.Geometric.LocalChartMaps.Cycles.injectiveLocalHomologyMap (CycleClass.Geometric.LocalChartMaps.Cycles.openPartialSourceMap e) |
| 82 | (CycleClass.Geometric.LocalChartMaps.Cycles.openPartialSourceMap_injective e) (⟨x, hx⟩ : e.source) n := |
| 83 | (CycleClass.Geometric.LocalHomology.Cycles.relativeSingularHomologyMap_comp i f hi hf n).trans |
| 84 | (CycleClass.Geometric.LocalChartMaps.Cycles.relativeSingularHomologyMap_congr hfe _ _ n) |
| 85 | rw [← CycleClass.Geometric.LocalChartMaps.Cycles.openPartialLocalHomology_source e x hx n] at hmaps |
| 86 | have h := ConcreteCategory.congr_hom hmaps |
| 87 | ((CycleClass.Geometric.LocalExcision.Cycles.localExcisionHomologyIso X e.source x hx e.open_source n).inv a) |
| 88 | exact h.trans (congrArg (CycleClass.Geometric.LocalHomologyCharts.Cycles.openPartialHomeomorphLocalHomologyIso e x hx n).hom |
| 89 | (Iso.inv_hom_id_apply (CycleClass.Geometric.LocalExcision.Cycles.localExcisionHomologyIso X e.source x hx e.open_source n) a)) |
| 90 | |
| 91 | theorem absolute_support_at_point |
| 92 | (X : TopCat.{0}) (K : Set X) (x : X) (hx : x ∈ K) (n : ℕ) |
| 93 | (a : (CycleClass.Geometric.LocalHomology.Cycles.integralSingularChains X).homology n) : |
| 94 | CycleClass.Geometric.LocalHomologyPresheaf.Cycles.localHomologyToPoint X K x hx n |
| 95 | (HomologicalComplex.homologyMap (CycleClass.Geometric.LocalHomology.Cycles.relativeChainProjection X Kᶜ) n a) = |
| 96 | HomologicalComplex.homologyMap (CycleClass.Geometric.LocalHomology.Cycles.relativeChainProjection X ({x}ᶜ : Set X)) n a := by |
| 97 | have h := congrArg (fun g => HomologicalComplex.homologyMap g n) |
| 98 | (CycleClass.Geometric.LocalHomologyPresheaf.Cycles.relativeComplementChainToPoint_projection X K x hx) |
| 99 | rw [HomologicalComplex.homologyMap_comp] at h |
| 100 | exact ConcreteCategory.congr_hom h a |
| 101 | |
| 102 | theorem complex_absolute_top_ext |
| 103 | (d : ℕ) {X : Type} [TopologicalSpace X] [T2Space X] [CompactSpace X] |
| 104 | [ChartedSpace (Fin d → ℂ) X] |
| 105 | (a b : (CycleClass.Geometric.LocalHomology.Cycles.integralSingularChains (TopCat.of X)).homology (2 * d)) |
| 106 | (hab : ∀ x : X, |
| 107 | HomologicalComplex.homologyMap |
| 108 | (CycleClass.Geometric.LocalHomology.Cycles.relativeChainProjection (TopCat.of X) ({x}ᶜ : Set X)) (2 * d) a = |
| 109 | HomologicalComplex.homologyMap |
| 110 | (CycleClass.Geometric.LocalHomology.Cycles.relativeChainProjection (TopCat.of X) ({x}ᶜ : Set X)) (2 * d) b) : a = b := by |
| 111 | let q := CycleClass.Geometric.CompactManifoldFundamental.Cycles.wholeSpaceSupportHomologyIso (TopCat.of X) (2 * d) |
| 112 | apply q.toLinearEquiv.symm.injective |
| 113 | apply CycleClass.Geometric.ManifoldCompactSupport.Cycles.complexManifold_compactSupport_point_ext d Set.univ isCompact_univ |
| 114 | intro x hx |
| 115 | exact (ConcreteCategory.congr_hom |
| 116 | (CycleClass.Geometric.CompactManifoldFundamental.Cycles.wholeSpaceSupportHomologyIso_inv_toPoint (TopCat.of X) (2 * d) x) a).trans |
| 117 | ((hab x).trans (ConcreteCategory.congr_hom |
| 118 | (CycleClass.Geometric.CompactManifoldFundamental.Cycles.wholeSpaceSupportHomologyIso_inv_toPoint (TopCat.of X) (2 * d) x) b).symm) |
| 119 | |
| 120 | variable {d : ℕ} {X Y : Type} [TopologicalSpace X] [TopologicalSpace Y] |
| 121 | [T2Space X] [T2Space Y] |
| 122 | [ChartedSpace (Fin d → ℂ) X] [ChartedSpace (Fin d → ℂ) Y] |
| 123 | [IsManifold 𝓘(ℂ, Fin d → ℂ) 1 X] [IsManifold 𝓘(ℂ, Fin d → ℂ) 1 Y] |
| 124 | |
| 125 | omit [IsManifold 𝓘(ℂ, Fin d → ℂ) 1 X] [IsManifold 𝓘(ℂ, Fin d → ℂ) 1 Y] in |
| 126 | theorem sheet_push_generator |
| 127 | (f : TopCat.of Y ⟶ TopCat.of X) (e : OpenPartialHomeomorph Y X) |
| 128 | (he : Set.EqOn f e e.source) (z : Y) (hz : z ∈ e.source) |
| 129 | (x : X) (hex : e z = x) |
| 130 | (hUK : ∀ w : e.source, w.val ∈ f ⁻¹' {x} → w = ⟨z, hz⟩) |
| 131 | (ho : (CycleClass.Geometric.LocalHomologyCharts.Cycles.openPartialHomeomorphLocalHomologyIso |
| 132 | (X := TopCat.of Y) (Y := TopCat.of X) e z hz (2 * d)).hom |
| 133 | (CycleClass.Geometric.ComplexChartOrientation.Cycles.complexCanonicalLocalClass (p := d) z) = CycleClass.Geometric.ComplexChartOrientation.Cycles.complexCanonicalLocalClass (p := d) (e z)) : |
| 134 | fiber_push f x (2 * d) |
| 135 | (Cycles.Functoriality.FiniteFundamental.Construction.finiteSupportLocalInsertion (f ⁻¹' {x}) ⟨e.source, e.open_source⟩ |
| 136 | ⟨z, hz⟩ hUK (2 * d) |
| 137 | ((CycleClass.Geometric.LocalExcision.Cycles.localExcisionHomologyIso (TopCat.of Y) e.source z hz e.open_source (2 * d)).inv |
| 138 | (CycleClass.Geometric.ComplexChartOrientation.Cycles.complexCanonicalLocalClass (p := d) z))) = CycleClass.Geometric.ComplexChartOrientation.Cycles.complexCanonicalLocalClass (p := d) x := by |
| 139 | subst x |
| 140 | exact (sheet_push_insert f e he z hz hUK (2 * d) (CycleClass.Geometric.ComplexChartOrientation.Cycles.complexCanonicalLocalClass (p := d) z)).trans ho |
| 141 | |
| 142 | omit [IsManifold 𝓘(ℂ, Fin d → ℂ) 1 X] [IsManifold 𝓘(ℂ, Fin d → ℂ) 1 Y] in |
| 143 | /-- All local contributions from a finite fiber add with positive sign. -/ |
| 144 | theorem complex_fiber_push_degree |
| 145 | (f : TopCat.of Y ⟶ TopCat.of X) |
| 146 | (horientation : ∀ y : Y, |
| 147 | ∃ (e : OpenPartialHomeomorph Y X) (hy : y ∈ e.source), |
| 148 | Set.EqOn e f e.source ∧ |
| 149 | (CycleClass.Geometric.LocalHomologyCharts.Cycles.openPartialHomeomorphLocalHomologyIso |
| 150 | (X := TopCat.of Y) (Y := TopCat.of X) |
| 151 | e y hy (2 * d)).hom (CycleClass.Geometric.ComplexChartOrientation.Cycles.complexCanonicalLocalClass (p := d) y) = CycleClass.Geometric.ComplexChartOrientation.Cycles.complexCanonicalLocalClass (p := d) (e y)) |
| 152 | (x : X) (hfinite : (f ⁻¹' {x}).Finite) |
| 153 | (a : CycleClass.Geometric.HomologyWithSupports.Cycles.singularHomologyWithSupport (TopCat.of Y) (f ⁻¹' {x}) (2 * d)) |
| 154 | (ha : ∀ y (hy : y ∈ f ⁻¹' {x}), |
| 155 | CycleClass.Geometric.LocalHomologyPresheaf.Cycles.localHomologyToPoint (TopCat.of Y) (f ⁻¹' {x}) y hy (2 * d) a = CycleClass.Geometric.ComplexChartOrientation.Cycles.complexCanonicalLocalClass (p := d) y) : |
| 156 | fiber_push f x (2 * d) a = Nat.card (f ⁻¹' {x}) • CycleClass.Geometric.ComplexChartOrientation.Cycles.complexCanonicalLocalClass (p := d) x := by |
| 157 | classical |
| 158 | let K : Set Y := f ⁻¹' {x} |
| 159 | let : Fintype K := hfinite.fintype |
| 160 | choose e hy he ho using fun y : K => horientation y.val |
| 161 | let U : K → Opens Y := fun y => ⟨(e y).source, (e y).open_source⟩ |
| 162 | have hUK : ∀ (y : K) (w : U y), w.val ∈ K → w.val = y.val := by |
| 163 | intro y w hw |
| 164 | apply (e y).injOn w.property (hy y) |
| 165 | exact (he y w.property).trans |
| 166 | ((show f w.val = x from hw).trans |
| 167 | ((show f y.val = x from y.property).symm.trans (he y (hy y)).symm)) |
| 168 | rw [← complex_finite_support_decomposition d K U hy hUK a, map_sum] |
| 169 | calc |
| 170 | _ = ∑ _y : K, CycleClass.Geometric.ComplexChartOrientation.Cycles.complexCanonicalLocalClass (p := d) x := by |
| 171 | apply Finset.sum_congr rfl |
| 172 | intro y _ |
| 173 | rw [ha] |
| 174 | exact sheet_push_generator f (e y) (fun w hw => (he y hw).symm) |
| 175 | y.val (hy y) x ((he y (hy y)).trans y.property) |
| 176 | (fun w hw => Subtype.ext (hUK y w hw)) (ho y) |
| 177 | _ = Nat.card (f ⁻¹' {x}) • CycleClass.Geometric.ComplexChartOrientation.Cycles.complexCanonicalLocalClass (p := d) x := by |
| 178 | change (∑ _y : K, CycleClass.Geometric.ComplexChartOrientation.Cycles.complexCanonicalLocalClass (p := d) x) = Nat.card K • CycleClass.Geometric.ComplexChartOrientation.Cycles.complexCanonicalLocalClass (p := d) x |
| 179 | simp only [Finset.sum_const, Finset.card_univ, Nat.card_eq_fintype_card] |
| 180 | |
| 181 | variable [CompactSpace X] [CompactSpace Y] |
| 182 | |
| 183 | /-- An oriented covering of constant finite positive degree multiplies |
| 184 | the integral fundamental class by that degree. -/ |
| 185 | theorem complex_integral_fundamental_map_degree |
| 186 | (f : TopCat.of Y ⟶ TopCat.of X) (degree : ℕ) (hdegree_pos : 0 < degree) |
| 187 | (hdegree : ∀ x : X, Nat.card (f ⁻¹' {x}) = degree) |
| 188 | (hhol : IsLocalDiffeomorph |
| 189 | 𝓘(ℂ, Fin d → ℂ) 𝓘(ℂ, Fin d → ℂ) 1 f) : |
| 190 | HomologicalComplex.homologyMap (CycleClass.Geometric.LocalHomology.Cycles.integralSingularChainFunctor.map f) (2 * d) |
| 191 | (CycleClass.Geometric.CompactManifoldFundamental.Cycles.complexManifoldFundamentalClass d Y) = degree • CycleClass.Geometric.CompactManifoldFundamental.Cycles.complexManifoldFundamentalClass d X := by |
| 192 | apply complex_absolute_top_ext d |
| 193 | intro x |
| 194 | have hf : Set.MapsTo f (f ⁻¹' {x})ᶜ ({x} : Set X)ᶜ := fun _ hx => hx |
| 195 | have hp := congrArg (fun g => HomologicalComplex.homologyMap g (2 * d)) |
| 196 | (CycleClass.Geometric.LocalHomology.Cycles.relativeChainProjection_naturality f hf) |
| 197 | simp only [HomologicalComplex.homologyMap_comp] at hp |
| 198 | have hpn := (ConcreteCategory.congr_hom hp (CycleClass.Geometric.CompactManifoldFundamental.Cycles.complexManifoldFundamentalClass d Y)).symm |
| 199 | have hfinite : (f ⁻¹' {x}).Finite := by |
| 200 | have : Finite (f ⁻¹' {x}) := Nat.finite_of_card_ne_zero |
| 201 | ((hdegree x).trans_ne (Nat.ne_of_gt hdegree_pos)) |
| 202 | exact Set.toFinite _ |
| 203 | have hlocal := complex_fiber_push_degree f (CoverLocal.CM.holomorphic_cover_orientation f hhol) x hfinite |
| 204 | (HomologicalComplex.homologyMap |
| 205 | (CycleClass.Geometric.LocalHomology.Cycles.relativeChainProjection (TopCat.of Y) (f ⁻¹' {x})ᶜ) (2 * d) |
| 206 | (CycleClass.Geometric.CompactManifoldFundamental.Cycles.complexManifoldFundamentalClass d Y)) |
| 207 | (fun y hy => (absolute_support_at_point (TopCat.of Y) (f ⁻¹' {x}) y hy (2 * d) |
| 208 | (CycleClass.Geometric.CompactManifoldFundamental.Cycles.complexManifoldFundamentalClass d Y)).trans (CycleClass.Geometric.CompactManifoldFundamental.Cycles.complexManifoldFundamentalClass_atPoint d Y y)) |
| 209 | rw [hdegree x] at hlocal |
| 210 | rw [map_nsmul, CycleClass.Geometric.CompactManifoldFundamental.Cycles.complexManifoldFundamentalClass_atPoint] |
| 211 | exact hpn.trans hlocal |
| 212 | |
| 213 | end |
| 214 | |
| 215 | end OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.CoverDegree.CM |