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.Analysis.DifferentialForms.Manifold.SheafDeRham |
| 2 | import OAI.Analysis.DifferentialForms.Manifold.CechAugmentation |
| 3 | import OAI.Analysis.DifferentialForms.Manifold.CechLocallyFinite |
| 4 | import OAI.AlgebraicTopology.DeRham.Comparison.CechDoubleComplexFunctor |
| 5 | import OAI.AlgebraicTopology.DeRham.Comparison.DoubleComplexComparison |
| 6 | |
| 7 | /-! # Cech De Rham -/ |
| 8 | |
| 9 | namespace OAI.Analysis.DifferentialForms.Manifold.CechDeRham |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! |
| 14 | The genuine manifold Čech–de Rham double complex and its native total complex. |
| 15 | The augmentation restricts global forms to the given open cover. Its |
| 16 | quasi-isomorphism is proved from actual smooth gluing and the constructed |
| 17 | locally finite partition contraction; no row exactness is assumed. |
| 18 | -/ |
| 19 | |
| 20 | open _root_.CategoryTheory _root_.TopologicalSpace Opposite |
| 21 | open scoped _root_.Manifold ContDiff |
| 22 | |
| 23 | universe u |
| 24 | |
| 25 | open OAI.AlgebraicTopology.DeRham.Comparison.CechDoubleComplexFunctor |
| 26 | |
| 27 | variable (E M : Type u) [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 28 | [TopologicalSpace M] [ChartedSpace E M] [IsManifold 𝓘(ℝ, E) ∞ M] |
| 29 | |
| 30 | /-- The complex of genuine manifold-form presheaves and exterior derivatives. -/ |
| 31 | def manifoldDeRhamPresheafComplex : |
| 32 | CochainComplex ((Opens M)ᵒᵖ ⥤ ModuleCat.{u} ℂ) ℕ := |
| 33 | CochainComplex.of (ManifoldSheaf.manifoldFormPresheaf E M) (ManifoldSheaf.manifoldFormPresheafD E M) |
| 34 | (ManifoldSheaf.manifoldFormPresheafD_squared E M) |
| 35 | |
| 36 | @[simp] |
| 37 | theorem manifoldDeRhamPresheafComplex_X (p : ℕ) : |
| 38 | (manifoldDeRhamPresheafComplex E M).X p = ManifoldSheaf.manifoldFormPresheaf E M p := rfl |
| 39 | |
| 40 | @[simp] |
| 41 | theorem manifoldDeRhamPresheafComplex_d (p : ℕ) : |
| 42 | (manifoldDeRhamPresheafComplex E M).d p (p + 1) = ManifoldSheaf.manifoldFormPresheafD E M p := |
| 43 | CochainComplex.of_d (ManifoldSheaf.manifoldFormPresheaf E M) (ManifoldSheaf.manifoldFormPresheafD E M) p |
| 44 | |
| 45 | /-- The coefficient presheaves are the underlying actual de Rham sheaves. -/ |
| 46 | theorem manifoldDeRhamPresheafComplex_X_sheaf (p : ℕ) : |
| 47 | (manifoldDeRhamPresheafComplex E M).X p = |
| 48 | ((SheafDeRham.manifoldDeRhamSheafComplex E M).X p).presheaf := rfl |
| 49 | |
| 50 | /-- Forgetting the sheaf condition preserves the actual exterior derivative. -/ |
| 51 | theorem manifoldDeRhamPresheafComplex_d_sheaf (p : ℕ) : |
| 52 | (manifoldDeRhamPresheafComplex E M).d p (p + 1) = |
| 53 | ((SheafDeRham.manifoldDeRhamSheafComplex E M).d p (p + 1)).hom := by |
| 54 | rw [manifoldDeRhamPresheafComplex_d, SheafDeRham.manifoldDeRhamSheafComplex_d] |
| 55 | rfl |
| 56 | |
| 57 | variable {E M} {ι : Type u} (U : ι → Opens M) |
| 58 | |
| 59 | /-- Apply the actual exterior derivative to each Čech section. -/ |
| 60 | abbrev manifoldCechExteriorD (p n : ℕ) : |
| 61 | CechContraction.ManifoldCechCochain (E := E) U p n →ₗ[ℂ] |
| 62 | CechContraction.ManifoldCechCochain (E := E) U (p + 1) n := |
| 63 | AlgebraicTopology.DeRham.Comparison.SmoothCechDoubleComplex.cechCoefficientMap U (ManifoldSheaf.manifoldFormPresheafD E M p) n |
| 64 | |
| 65 | @[simp] |
| 66 | theorem manifoldCechExteriorD_apply (p n : ℕ) |
| 67 | (c : CechContraction.ManifoldCechCochain (E := E) U p n) (a : Fin (n + 1) → ι) : |
| 68 | manifoldCechExteriorD U p n c a = Open.SmoothOpenManifoldForm.d (c a) := rfl |
| 69 | |
| 70 | theorem manifoldCechExteriorD_squared (p n : ℕ) |
| 71 | (c : CechContraction.ManifoldCechCochain (E := E) U p n) : |
| 72 | manifoldCechExteriorD U (p + 1) n (manifoldCechExteriorD U p n c) = 0 := by |
| 73 | funext a |
| 74 | exact Open.SmoothOpenManifoldForm.d_squared (c a) |
| 75 | |
| 76 | /-- Naturality of exterior differentiation gives the actual commuting square. -/ |
| 77 | theorem manifoldCechExteriorD_delta (p n : ℕ) |
| 78 | (c : CechContraction.ManifoldCechCochain (E := E) U p n) : |
| 79 | manifoldCechExteriorD U p (n + 1) (CechContraction.manifoldCechDelta U p n c) = |
| 80 | CechContraction.manifoldCechDelta U (p + 1) n (manifoldCechExteriorD U p n c) := |
| 81 | AlgebraicTopology.DeRham.Comparison.SmoothCechDoubleComplex.cechCoefficientMap_delta U (ManifoldSheaf.manifoldFormPresheafD E M p) n c |
| 82 | |
| 83 | /-- The actual Čech double complex of the manifold de Rham presheaf complex. |
| 84 | The first degree is Čech degree and the second is differential-form degree. -/ |
| 85 | def manifoldCechDoubleComplex : |
| 86 | HomologicalComplex₂ (ModuleCat.{u} ℂ) (ComplexShape.up ℕ) (ComplexShape.up ℕ) := |
| 87 | AlgebraicTopology.DeRham.Comparison.CechDoubleComplexFunctor.cechDoubleComplex U (manifoldDeRhamPresheafComplex E M) |
| 88 | |
| 89 | @[simp] |
| 90 | theorem manifoldCechDoubleComplex_XX (n p : ℕ) : |
| 91 | ((manifoldCechDoubleComplex (E := E) U).X n).X p = |
| 92 | ModuleCat.of ℂ (CechContraction.ManifoldCechCochain (E := E) U p n) := rfl |
| 93 | |
| 94 | @[simp] |
| 95 | theorem manifoldCechDoubleComplex_d_f (n p : ℕ) : |
| 96 | ((manifoldCechDoubleComplex (E := E) U).d n (n + 1)).f p = |
| 97 | ModuleCat.ofHom (CechContraction.manifoldCechDelta (E := E) U p n) := |
| 98 | AlgebraicTopology.DeRham.Comparison.CechDoubleComplexFunctor.cechDoubleComplex_d_f U (manifoldDeRhamPresheafComplex E M) n p |
| 99 | |
| 100 | @[simp] |
| 101 | theorem manifoldCechDoubleComplex_X_d (n p : ℕ) : |
| 102 | ((manifoldCechDoubleComplex (E := E) U).X n).d p (p + 1) = |
| 103 | ModuleCat.ofHom (manifoldCechExteriorD (E := E) U p n) := by |
| 104 | change ((AlgebraicTopology.DeRham.Comparison.CechDoubleComplexFunctor.cechDoubleComplex U (manifoldDeRhamPresheafComplex E M)).X n).d p (p + 1) = _ |
| 105 | rw [AlgebraicTopology.DeRham.Comparison.CechDoubleComplexFunctor.cechDoubleComplex_X_d, manifoldDeRhamPresheafComplex_d] |
| 106 | rfl |
| 107 | |
| 108 | /-- Each horizontal row is the genuine manifold-form Čech complex. -/ |
| 109 | theorem manifoldCechDoubleComplex_row (p : ℕ) : |
| 110 | (manifoldCechDoubleComplex (E := E) U).flip.X p = |
| 111 | CechContraction.manifoldCechComplex (E := E) U p := rfl |
| 112 | |
| 113 | /-- Restriction of global manifold forms augments the zeroth Čech column. -/ |
| 114 | def manifoldCechColumnAugmentation : |
| 115 | ManifoldDeRham.manifoldDeRhamComplex E M ⟶ (manifoldCechDoubleComplex (E := E) U).X 0 := |
| 116 | CochainComplex.ofHom (fun p => ModuleCat.ofHom (CechAugmentation.manifoldCechAugmentation U p)) |
| 117 | (fun p => by |
| 118 | rw [manifoldCechDoubleComplex_X_d, ManifoldDeRham.manifoldDeRhamComplex_d] |
| 119 | apply ModuleCat.hom_ext |
| 120 | apply LinearMap.ext |
| 121 | intro form |
| 122 | funext a |
| 123 | exact CechAugmentation.manifoldCechAugmentation_d U p form a) |
| 124 | |
| 125 | @[simp] |
| 126 | theorem manifoldCechColumnAugmentation_f (p : ℕ) : |
| 127 | (manifoldCechColumnAugmentation (E := E) U).f p = |
| 128 | ModuleCat.ofHom (CechAugmentation.manifoldCechAugmentation (E := E) U p) := rfl |
| 129 | |
| 130 | /-- The augmentation is annihilated by the first actual horizontal differential. -/ |
| 131 | theorem manifoldCechColumnAugmentation_horizontal : |
| 132 | manifoldCechColumnAugmentation (E := E) U ≫ |
| 133 | (manifoldCechDoubleComplex (E := E) U).d 0 1 = 0 := by |
| 134 | apply HomologicalComplex.Hom.ext |
| 135 | funext p |
| 136 | rw [HomologicalComplex.comp_f, manifoldCechColumnAugmentation_f, |
| 137 | manifoldCechDoubleComplex_d_f] |
| 138 | apply ModuleCat.hom_ext |
| 139 | apply LinearMap.ext |
| 140 | intro form |
| 141 | exact CechAugmentation.manifoldCechDelta_augmentation U p form |
| 142 | |
| 143 | /-- The native total complex of actual manifold Čech–de Rham cochains. -/ |
| 144 | def manifoldCechTotal : CochainComplex (ModuleCat.{u} ℂ) ℕ := |
| 145 | (manifoldCechDoubleComplex (E := E) U).total (ComplexShape.up ℕ) |
| 146 | |
| 147 | /-- Inclusion of one genuine Čech–de Rham bidegree into its total degree. -/ |
| 148 | def manifoldCechTotalInclusion (n p k : ℕ) (h : n + p = k) : |
| 149 | ModuleCat.of ℂ (CechContraction.ManifoldCechCochain (E := E) U p n) ⟶ |
| 150 | (manifoldCechTotal (E := E) U).X k := |
| 151 | (manifoldCechDoubleComplex (E := E) U).ιTotal (ComplexShape.up ℕ) n p k h |
| 152 | |
| 153 | /-- The total differential is precisely the Čech differential plus the |
| 154 | exterior derivative with its usual Čech-degree sign. -/ |
| 155 | theorem manifoldCechTotalInclusion_d (n p k : ℕ) (h : n + p = k) : |
| 156 | manifoldCechTotalInclusion (E := E) U n p k h ≫ |
| 157 | (manifoldCechTotal (E := E) U).d k (k + 1) = |
| 158 | ModuleCat.ofHom (CechContraction.manifoldCechDelta (E := E) U p n) ≫ |
| 159 | manifoldCechTotalInclusion U (n + 1) p (k + 1) (by omega) + |
| 160 | ((-1 : ℤ) ^ n) • (ModuleCat.ofHom (manifoldCechExteriorD (E := E) U p n) ≫ |
| 161 | manifoldCechTotalInclusion U n (p + 1) (k + 1) (by omega)) := by |
| 162 | have hd := AlgebraicTopology.DeRham.Comparison.DoubleComplexSigns.DoubleComplex.iota_d_of_eq (manifoldCechDoubleComplex (E := E) U) n p k h |
| 163 | rw [manifoldCechDoubleComplex_d_f, manifoldCechDoubleComplex_X_d] at hd |
| 164 | exact hd |
| 165 | |
| 166 | theorem manifoldCechTotal_d_squared (k : ℕ) : |
| 167 | (manifoldCechTotal (E := E) U).d k (k + 1) ≫ |
| 168 | (manifoldCechTotal (E := E) U).d (k + 1) (k + 2) = 0 := |
| 169 | (manifoldCechTotal (E := E) U).d_comp_d k (k + 1) (k + 2) |
| 170 | |
| 171 | /-- The genuine restriction augmentation from global forms to the total complex. -/ |
| 172 | def manifoldCechAugmentationToTotal : |
| 173 | ManifoldDeRham.manifoldDeRhamComplex E M ⟶ manifoldCechTotal (E := E) U := |
| 174 | AlgebraicTopology.DeRham.Comparison.DoubleComplexAugmentation.DoubleComplex.augmentationToTotal (manifoldCechDoubleComplex (E := E) U) |
| 175 | (manifoldCechColumnAugmentation U) (manifoldCechColumnAugmentation_horizontal U) |
| 176 | |
| 177 | @[simp] |
| 178 | theorem manifoldCechAugmentationToTotal_f (p : ℕ) : |
| 179 | (manifoldCechAugmentationToTotal (E := E) U).f p = |
| 180 | ModuleCat.ofHom (CechAugmentation.manifoldCechAugmentation (E := E) U p) ≫ |
| 181 | manifoldCechTotalInclusion U 0 p p (Nat.zero_add p) := rfl |
| 182 | |
| 183 | variable (hcover : ∀ x : M, ∃ i, x ∈ U i) |
| 184 | |
| 185 | include hcover |
| 186 | |
| 187 | theorem manifoldCechColumnAugmentation_injective (p : ℕ) : |
| 188 | Function.Injective ((manifoldCechColumnAugmentation (E := E) U).f p) := |
| 189 | CechAugmentation.manifoldCechAugmentation_injective U p hcover |
| 190 | |
| 191 | /-- Gluing proves the zero-column exactness required for total comparison. -/ |
| 192 | theorem manifoldCechColumnAugmentation_exact (p : ℕ) : |
| 193 | Function.Exact ((manifoldCechColumnAugmentation (E := E) U).f p) |
| 194 | (((manifoldCechDoubleComplex (E := E) U).d 0 1).f p) := by |
| 195 | rw [manifoldCechColumnAugmentation_f, manifoldCechDoubleComplex_d_f] |
| 196 | exact CechAugmentation.manifoldCechAugmentation_exact U p hcover |
| 197 | |
| 198 | variable [FiniteDimensional ℝ E] [T2Space M] [SigmaCompactSpace M] |
| 199 | |
| 200 | /-- The constructed locally finite partition contraction proves positive-row |
| 201 | exactness for this actual double complex on an arbitrary open cover. -/ |
| 202 | theorem manifoldCechRow_exactAt (n p : ℕ) : |
| 203 | ((manifoldCechDoubleComplex (E := E) U).flip.X p).ExactAt (n + 1) := by |
| 204 | rw [manifoldCechDoubleComplex_row] |
| 205 | exact CechLocallyFinite.manifoldCech_exactAt_succ_of_arbitrary_cover U hcover p n |
| 206 | |
| 207 | /-- Global manifold de Rham cohomology is computed by the genuine Čech–de Rham |
| 208 | total complex of any open cover. Every row-exactness hypothesis is discharged. -/ |
| 209 | theorem manifoldCechAugmentationToTotal_quasiIso : |
| 210 | QuasiIso (manifoldCechAugmentationToTotal (E := E) U) := by |
| 211 | unfold manifoldCechAugmentationToTotal |
| 212 | apply AlgebraicTopology.DeRham.Comparison.DoubleComplexComparison.DoubleComplex.augmentationToTotal_quasiIso |
| 213 | · exact manifoldCechColumnAugmentation_injective U hcover |
| 214 | · exact manifoldCechColumnAugmentation_exact U hcover |
| 215 | · exact manifoldCechRow_exactAt U hcover |
| 216 | |
| 217 | /-- The canonical cohomology isomorphism is induced by actual restriction of |
| 218 | global manifold forms into the Čech–de Rham total complex. -/ |
| 219 | def manifoldCechDeRhamCohomologyIso (n : ℕ) : |
| 220 | ManifoldDeRham.manifoldDeRhamCohomology E M n ≅ (manifoldCechTotal (E := E) U).homology n := by |
| 221 | letI : QuasiIso (manifoldCechAugmentationToTotal (E := E) U) := |
| 222 | manifoldCechAugmentationToTotal_quasiIso U hcover |
| 223 | exact isoOfQuasiIsoAt (manifoldCechAugmentationToTotal U) n |
| 224 | |
| 225 | @[simp] |
| 226 | theorem manifoldCechDeRhamCohomologyIso_hom (n : ℕ) : |
| 227 | (manifoldCechDeRhamCohomologyIso (E := E) U hcover n).hom = |
| 228 | HomologicalComplex.homologyMap (manifoldCechAugmentationToTotal (E := E) U) n := rfl |
| 229 | |
| 230 | end |
| 231 | |
| 232 | end OAI.Analysis.DifferentialForms.Manifold.CechDeRham |