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.CompactManifoldFundamental |
| 2 | import OAI.AlgebraicGeometry.CycleClass.Geometric.LocallyFiniteExhaustion |
| 3 | |
| 4 | /-! # Complex Locally Finite Fundamental -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.CycleClass.Geometric.ComplexLocallyFiniteFundamental.Cycles |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # The canonical locally finite fundamental class of a complex manifold |
| 12 | |
| 13 | The canonical classes on compact supports are lifted through the actual |
| 14 | relative-chain exhaustion. The next-degree homology vanishing is proved |
| 15 | from the manifold dimension, so no inverse-limit or coherence hypothesis |
| 16 | is assumed. The resulting class has the canonical complex value at every |
| 17 | point and is uniquely determined by these values. |
| 18 | -/ |
| 19 | |
| 20 | open _root_.CategoryTheory _root_.CategoryTheory.Limits Set |
| 21 | open scoped _root_.Manifold |
| 22 | |
| 23 | set_option backward.defeqAttrib.useBackward true |
| 24 | set_option backward.isDefEq.respectTransparency false |
| 25 | set_option backward.isDefEq.respectTransparency.types false |
| 26 | |
| 27 | /-- Compatibility of actual locally finite compact restriction with the |
| 28 | standard restriction between relative groups with supports. -/ |
| 29 | @[reassoc] |
| 30 | theorem locallyFiniteCompactHomologyRestriction_supportRestriction (X : TopCat.{0}) |
| 31 | {K L : Set X} (hK : IsCompact K) (hL : IsCompact L) (hKL : K ⊆ L) (n : ℕ) : |
| 32 | LocallyFiniteCompactRestriction.Cycles.locallyFiniteCompactHomologyRestriction X L hL n ≫ |
| 33 | CompactSupportAssembly.Cycles.homologyWithSupportRestriction X hKL n = |
| 34 | LocallyFiniteCompactRestriction.Cycles.locallyFiniteCompactHomologyRestriction X K hK n := |
| 35 | LocallyFiniteCompactRestriction.Cycles.locallyFiniteCompactHomologyRestriction_subset X hK hL hKL n |
| 36 | |
| 37 | /-- Restricting first to a compact support and then to a point is the |
| 38 | actual locally finite restriction to that point. -/ |
| 39 | @[reassoc] |
| 40 | theorem locallyFiniteCompactHomologyRestriction_toPoint (X : TopCat.{0}) |
| 41 | (K : Set X) (hK : IsCompact K) (x : X) (hx : x ∈ K) (n : ℕ) : |
| 42 | LocallyFiniteCompactRestriction.Cycles.locallyFiniteCompactHomologyRestriction X K hK n ≫ LocalHomologyPresheaf.Cycles.localHomologyToPoint X K x hx n = |
| 43 | LocallyFiniteCompactRestriction.Cycles.locallyFinitePointHomologyRestriction X x n := |
| 44 | LocallyFiniteCompactRestriction.Cycles.locallyFiniteCompactHomologyRestriction_subset X isCompact_singleton hK |
| 45 | (singleton_subset_iff.mpr hx) n |
| 46 | |
| 47 | theorem locallyFiniteCompactHomologyRestriction_toPoint_apply (X : TopCat.{0}) |
| 48 | (K : Set X) (hK : IsCompact K) (x : X) (hx : x ∈ K) (n : ℕ) |
| 49 | (a : (LocallyFiniteComplex.Cycles.locallyFiniteSingularComplex ℤ X).homology n) : |
| 50 | LocalHomologyPresheaf.Cycles.localHomologyToPoint X K x hx n (LocallyFiniteCompactRestriction.Cycles.locallyFiniteCompactHomologyRestriction X K hK n a) = |
| 51 | LocallyFiniteCompactRestriction.Cycles.locallyFinitePointHomologyRestriction X x n a := |
| 52 | ConcreteCategory.congr_hom (locallyFiniteCompactHomologyRestriction_toPoint X K hK x hx n) a |
| 53 | |
| 54 | variable (p : ℕ) (M : Type) [TopologicalSpace M] [T2Space M] |
| 55 | variable [ChartedSpace (Fin p → ℂ) M] |
| 56 | |
| 57 | /-- The next relative-homology degree along every compact exhaustion |
| 58 | vanishes by the proved manifold dimension bound. -/ |
| 59 | theorem complexExhaustion_nextHomology_isZero (E : CompactExhaustion M) (i : ℕ) : |
| 60 | IsZero ((LocallyFiniteExhaustion.Cycles.exhaustionRelativeStage (TopCat.of M) E i).homology (2 * p + 1)) := |
| 61 | ManifoldCompactSupport.Cycles.isZero_complexManifold_compactSupport p (E i) (E.isCompact i) (2 * p + 1) |
| 62 | (Nat.lt_succ_self (2 * p)) |
| 63 | |
| 64 | variable [SecondCountableTopology M] |
| 65 | |
| 66 | /-- Finite-dimensional complex charts give local compactness, and second |
| 67 | countability gives a genuine compact exhaustion. -/ |
| 68 | def complexManifoldCompactExhaustion : CompactExhaustion M := by |
| 69 | letI : LocallyCompactSpace M := ChartedSpace.locallyCompactSpace (Fin p → ℂ) M |
| 70 | exact CompactExhaustion.choice M |
| 71 | |
| 72 | /-- Actual compact restrictions determine top-degree locally finite |
| 73 | homology, with next-degree vanishing discharged by the manifold theorem. -/ |
| 74 | theorem complexLocallyFiniteHomology_compact_ext |
| 75 | (a b : (LocallyFiniteComplex.Cycles.locallyFiniteSingularComplex ℤ (TopCat.of M)).homology (2 * p)) |
| 76 | (hab : ∀ (K : Set M) (hK : IsCompact K), |
| 77 | LocallyFiniteCompactRestriction.Cycles.locallyFiniteCompactHomologyRestriction (TopCat.of M) K hK (2 * p) a = |
| 78 | LocallyFiniteCompactRestriction.Cycles.locallyFiniteCompactHomologyRestriction (TopCat.of M) K hK (2 * p) b) : a = b := by |
| 79 | let E := complexManifoldCompactExhaustion p M |
| 80 | exact LocallyFiniteExhaustion.Cycles.locallyFinite_homology_class_eq_of_exhaustion_restrictions (TopCat.of M) E (2 * p) |
| 81 | (complexExhaustion_nextHomology_isZero p M E) a b (fun i => hab (E i) (E.isCompact i)) |
| 82 | |
| 83 | /-- Point restrictions determine top-degree locally finite homology of |
| 84 | the manifold. This does not assume a fundamental class. -/ |
| 85 | theorem complexLocallyFiniteHomology_point_ext |
| 86 | (a b : (LocallyFiniteComplex.Cycles.locallyFiniteSingularComplex ℤ (TopCat.of M)).homology (2 * p)) |
| 87 | (hab : ∀ x : M, LocallyFiniteCompactRestriction.Cycles.locallyFinitePointHomologyRestriction (TopCat.of M) x (2 * p) a = |
| 88 | LocallyFiniteCompactRestriction.Cycles.locallyFinitePointHomologyRestriction (TopCat.of M) x (2 * p) b) : a = b := by |
| 89 | apply complexLocallyFiniteHomology_compact_ext p M a b |
| 90 | intro K hK |
| 91 | apply ManifoldCompactSupport.Cycles.complexManifold_compactSupport_point_ext p K hK |
| 92 | intro x hx |
| 93 | rw [locallyFiniteCompactHomologyRestriction_toPoint_apply, |
| 94 | locallyFiniteCompactHomologyRestriction_toPoint_apply] |
| 95 | exact hab x |
| 96 | |
| 97 | variable [IsManifold 𝓘(ℂ, Fin p → ℂ) 1 M] |
| 98 | |
| 99 | /-- The actual compact fundamental classes lift to a locally finite |
| 100 | homology class which restricts correctly on every compact subset. -/ |
| 101 | theorem exists_complexLocallyFiniteFundamentalClass : |
| 102 | ∃ a : (LocallyFiniteComplex.Cycles.locallyFiniteSingularComplex ℤ (TopCat.of M)).homology (2 * p), |
| 103 | ∀ (K : Set M) (hK : IsCompact K), |
| 104 | LocallyFiniteCompactRestriction.Cycles.locallyFiniteCompactHomologyRestriction (TopCat.of M) K hK (2 * p) a = |
| 105 | ComplexCompactFundamental.Cycles.complexCompactFundamentalClass p K hK := by |
| 106 | let E := complexManifoldCompactExhaustion p M |
| 107 | obtain ⟨a, ha⟩ := LocallyFiniteExhaustion.Cycles.exists_locallyFinite_homology_class_of_coherent_exhaustion |
| 108 | (TopCat.of M) E (2 * p) |
| 109 | (fun i => ComplexCompactFundamental.Cycles.complexCompactFundamentalClass p (E i) (E.isCompact i)) |
| 110 | (fun i => ComplexCompactFundamental.Cycles.complexCompactFundamentalClass_restriction p (E i) (E (i + 1)) |
| 111 | (E.isCompact i) (E.isCompact (i + 1)) (E.subset_succ i)) |
| 112 | refine ⟨a, fun K hK => ?_⟩ |
| 113 | obtain ⟨i, hi⟩ := E.exists_superset_of_isCompact hK |
| 114 | calc |
| 115 | LocallyFiniteCompactRestriction.Cycles.locallyFiniteCompactHomologyRestriction (TopCat.of M) K hK (2 * p) a = |
| 116 | CompactSupportAssembly.Cycles.homologyWithSupportRestriction (TopCat.of M) hi (2 * p) |
| 117 | (LocallyFiniteCompactRestriction.Cycles.locallyFiniteCompactHomologyRestriction (TopCat.of M) (E i) (E.isCompact i) |
| 118 | (2 * p) a) := |
| 119 | (ConcreteCategory.congr_hom |
| 120 | (locallyFiniteCompactHomologyRestriction_supportRestriction (TopCat.of M) |
| 121 | hK (E.isCompact i) hi (2 * p)) a).symm |
| 122 | _ = ComplexCompactFundamental.Cycles.complexCompactFundamentalClass p K hK := by |
| 123 | rw [ha i] |
| 124 | exact ComplexCompactFundamental.Cycles.complexCompactFundamentalClass_restriction p K (E i) hK (E.isCompact i) hi |
| 125 | |
| 126 | /-- The canonical integral locally finite fundamental class of a |
| 127 | Hausdorff second-countable complex manifold of complex dimension p. -/ |
| 128 | def complexLocallyFiniteFundamentalClass : |
| 129 | (LocallyFiniteComplex.Cycles.locallyFiniteSingularComplex ℤ (TopCat.of M)).homology (2 * p) := |
| 130 | (exists_complexLocallyFiniteFundamentalClass p M).choose |
| 131 | |
| 132 | /-- The canonical class restricts to the proved canonical class on every |
| 133 | compact support, not only on the chosen exhaustion. -/ |
| 134 | theorem complexLocallyFiniteFundamentalClass_restriction (K : Set M) (hK : IsCompact K) : |
| 135 | LocallyFiniteCompactRestriction.Cycles.locallyFiniteCompactHomologyRestriction (TopCat.of M) K hK (2 * p) |
| 136 | (complexLocallyFiniteFundamentalClass p M) = |
| 137 | ComplexCompactFundamental.Cycles.complexCompactFundamentalClass p K hK := |
| 138 | (exists_complexLocallyFiniteFundamentalClass p M).choose_spec K hK |
| 139 | |
| 140 | /-- The point value is the actual chart-independent complex local generator. -/ |
| 141 | theorem complexLocallyFiniteFundamentalClass_atPoint (x : M) : |
| 142 | LocallyFiniteCompactRestriction.Cycles.locallyFinitePointHomologyRestriction (TopCat.of M) x (2 * p) |
| 143 | (complexLocallyFiniteFundamentalClass p M) = |
| 144 | ComplexChartOrientation.Cycles.complexCanonicalLocalClass (p := p) x := by |
| 145 | rw [← locallyFiniteCompactHomologyRestriction_toPoint_apply (TopCat.of M) |
| 146 | {x} isCompact_singleton x (mem_singleton x) (2 * p), |
| 147 | complexLocallyFiniteFundamentalClass_restriction] |
| 148 | exact ComplexCompactFundamental.Cycles.complexCompactFundamentalClass_atPoint p {x} isCompact_singleton x (mem_singleton x) |
| 149 | |
| 150 | /-- Canonical local values uniquely characterize the actual locally finite class. -/ |
| 151 | theorem complexLocallyFiniteFundamentalClass_unique |
| 152 | (a : (LocallyFiniteComplex.Cycles.locallyFiniteSingularComplex ℤ (TopCat.of M)).homology (2 * p)) |
| 153 | (ha : ∀ x : M, LocallyFiniteCompactRestriction.Cycles.locallyFinitePointHomologyRestriction (TopCat.of M) x (2 * p) a = |
| 154 | ComplexChartOrientation.Cycles.complexCanonicalLocalClass (p := p) x) : a = complexLocallyFiniteFundamentalClass p M := by |
| 155 | apply complexLocallyFiniteHomology_point_ext p M a |
| 156 | intro x |
| 157 | rw [ha x, complexLocallyFiniteFundamentalClass_atPoint] |
| 158 | |
| 159 | /-- Existence and uniqueness are in the homology of the genuine spatially |
| 160 | locally finite singular complex. -/ |
| 161 | theorem existsUnique_complexLocallyFiniteFundamentalClass : |
| 162 | ∃! a : (LocallyFiniteComplex.Cycles.locallyFiniteSingularComplex ℤ (TopCat.of M)).homology (2 * p), |
| 163 | ∀ x : M, LocallyFiniteCompactRestriction.Cycles.locallyFinitePointHomologyRestriction (TopCat.of M) x (2 * p) a = |
| 164 | ComplexChartOrientation.Cycles.complexCanonicalLocalClass (p := p) x := |
| 165 | ⟨complexLocallyFiniteFundamentalClass p M, |
| 166 | complexLocallyFiniteFundamentalClass_atPoint p M, |
| 167 | complexLocallyFiniteFundamentalClass_unique p M⟩ |
| 168 | |
| 169 | /-- Every compact exhaustion produces the same class; the vanishing needed |
| 170 | for uniqueness is supplied by the manifold dimension theorem. -/ |
| 171 | theorem complexLocallyFiniteFundamentalClass_unique_of_exhaustion |
| 172 | (E : CompactExhaustion M) |
| 173 | (a : (LocallyFiniteComplex.Cycles.locallyFiniteSingularComplex ℤ (TopCat.of M)).homology (2 * p)) |
| 174 | (ha : ∀ i, LocallyFiniteCompactRestriction.Cycles.locallyFiniteCompactHomologyRestriction (TopCat.of M) (E i) (E.isCompact i) |
| 175 | (2 * p) a = ComplexCompactFundamental.Cycles.complexCompactFundamentalClass p (E i) (E.isCompact i)) : |
| 176 | a = complexLocallyFiniteFundamentalClass p M := by |
| 177 | apply LocallyFiniteExhaustion.Cycles.locallyFinite_homology_class_eq_of_exhaustion_restrictions (TopCat.of M) E (2 * p) |
| 178 | (complexExhaustion_nextHomology_isZero p M E) a |
| 179 | intro i |
| 180 | rw [ha i, complexLocallyFiniteFundamentalClass_restriction] |
| 181 | |
| 182 | /-- The canonical locally finite class is nonzero on every nonempty manifold. -/ |
| 183 | theorem complexLocallyFiniteFundamentalClass_ne_zero [Nonempty M] : |
| 184 | complexLocallyFiniteFundamentalClass p M ≠ 0 := by |
| 185 | intro hzero |
| 186 | obtain ⟨x⟩ := ‹Nonempty M› |
| 187 | have hx := complexLocallyFiniteFundamentalClass_atPoint p M x |
| 188 | rw [hzero, map_zero] at hx |
| 189 | exact ComplexChartOrientation.Cycles.complexCanonicalLocalClass_ne_zero x hx.symm |
| 190 | |
| 191 | variable [CompactSpace M] |
| 192 | |
| 193 | /-- On a compact complex manifold, the proved locally-finite/ordinary |
| 194 | comparison sends this class to the ordinary fundamental class. -/ |
| 195 | theorem complexLocallyFiniteFundamentalClass_compactComparison : |
| 196 | (LocallyFiniteComparison.Cycles.locallyFiniteOrdinaryHomologyIso ℤ (TopCat.of M) (2 * p)).hom |
| 197 | (complexLocallyFiniteFundamentalClass p M) = |
| 198 | CompactManifoldFundamental.Cycles.complexManifoldFundamentalClass p M := by |
| 199 | apply CompactManifoldFundamental.Cycles.complexManifoldFundamentalClass_unique p M |
| 200 | intro x |
| 201 | have h := ConcreteCategory.congr_hom |
| 202 | (LocallyFiniteCompactRestriction.Cycles.locallyFiniteCompactHomologyRestriction_eq_compactComparison (TopCat.of M) |
| 203 | {x} isCompact_singleton (2 * p)) (complexLocallyFiniteFundamentalClass p M) |
| 204 | exact h.symm.trans (complexLocallyFiniteFundamentalClass_atPoint p M x) |
| 205 | |
| 206 | /-- Equivalently, ordinary inclusion into locally finite chains sends the |
| 207 | ordinary compact fundamental class to the canonical locally finite class. -/ |
| 208 | theorem complexManifoldFundamentalClass_toLocallyFinite : |
| 209 | (LocallyFiniteComparison.Cycles.ordinaryLocallyFiniteHomologyIso ℤ (TopCat.of M) (2 * p)).hom |
| 210 | (CompactManifoldFundamental.Cycles.complexManifoldFundamentalClass p M) = |
| 211 | complexLocallyFiniteFundamentalClass p M := by |
| 212 | let e := LocallyFiniteComparison.Cycles.ordinaryLocallyFiniteHomologyIso ℤ (TopCat.of M) (2 * p) |
| 213 | apply e.toLinearEquiv.symm.injective |
| 214 | change e.inv (e.hom (CompactManifoldFundamental.Cycles.complexManifoldFundamentalClass p M)) = |
| 215 | e.inv (complexLocallyFiniteFundamentalClass p M) |
| 216 | exact (ConcreteCategory.congr_hom e.hom_inv_id (CompactManifoldFundamental.Cycles.complexManifoldFundamentalClass p M)).trans |
| 217 | (complexLocallyFiniteFundamentalClass_compactComparison p M).symm |
| 218 | |
| 219 | end |
| 220 | |
| 221 | end OAI.AlgebraicGeometry.CycleClass.Geometric.ComplexLocallyFiniteFundamental.Cycles |