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.AlgebraicTopology.DeRham.Comparison.SmoothCech |
| 2 | import OAI.Analysis.DifferentialForms.Manifold.ManifoldSheaf |
| 3 | import OAI.Analysis.DifferentialForms.Manifold.RelativeExtension |
| 4 | import OAI.Analysis.DifferentialForms.Manifold.CechContractionAlgebra |
| 5 | import OAI.Analysis.DifferentialForms.Manifold.FinitePartition |
| 6 | |
| 7 | /-! # Cech Contraction -/ |
| 8 | |
| 9 | namespace OAI.Analysis.DifferentialForms.Manifold.CechContraction |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! |
| 14 | An explicit finite Čech contraction for the genuine sheaf of smooth manifold |
| 15 | forms. The operator multiplies by a subordinate smooth partition and extends |
| 16 | from each prefixed intersection. The homotopy identity is proved on actual |
| 17 | sections, using their values on tangent vectors at each point. |
| 18 | -/ |
| 19 | |
| 20 | open _root_.CategoryTheory _root_.TopologicalSpace Opposite Set |
| 21 | open scoped _root_.Manifold ContDiff BigOperators |
| 22 | |
| 23 | universe u |
| 24 | |
| 25 | open OAI.AlgebraicTopology.DeRham.Comparison.SmoothCech |
| 26 | |
| 27 | variable {E M ι : Type u} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 28 | [TopologicalSpace M] [ChartedSpace E M] |
| 29 | |
| 30 | /-- Čech cochains with values in actual smooth manifold differential forms. -/ |
| 31 | abbrev ManifoldCechCochain (U : ι → Opens M) (p n : ℕ) := |
| 32 | (a : Fin (n + 1) → ι) → Open.SmoothOpenManifoldForm E (AlgebraicTopology.DeRham.Comparison.SmoothCech.cechIntersection U a) p |
| 33 | |
| 34 | /-- The signed restriction differential of the genuine manifold-form sheaf. -/ |
| 35 | abbrev manifoldCechDelta (U : ι → Opens M) (p n : ℕ) : |
| 36 | ManifoldCechCochain (E := E) U p n →ₗ[ℂ] |
| 37 | ManifoldCechCochain (E := E) U p (n + 1) := |
| 38 | AlgebraicTopology.DeRham.Comparison.SmoothCech.cechDelta (ManifoldSheaf.manifoldFormPresheaf E M p) U n |
| 39 | |
| 40 | /-- The actual categorical Čech complex of the manifold-form sheaf. -/ |
| 41 | abbrev manifoldCechComplex (U : ι → Opens M) (p : ℕ) := |
| 42 | AlgebraicTopology.DeRham.Comparison.SmoothCech.cechComplex (ManifoldSheaf.manifoldFormPresheaf E M p) U |
| 43 | |
| 44 | theorem manifoldCechComplex_d (U : ι → Opens M) (p n : ℕ) : |
| 45 | (manifoldCechComplex (E := E) U p).d n (n + 1) = |
| 46 | ModuleCat.ofHom (manifoldCechDelta (E := E) U p n) := |
| 47 | AlgebraicTopology.DeRham.Comparison.SmoothCech.cechComplex_d (ManifoldSheaf.manifoldFormPresheaf E M p) U n |
| 48 | |
| 49 | theorem manifoldCechDelta_squared (U : ι → Opens M) (p n : ℕ) |
| 50 | (c : ManifoldCechCochain (E := E) U p n) : |
| 51 | manifoldCechDelta U p (n + 1) (manifoldCechDelta U p n c) = 0 := |
| 52 | AlgebraicTopology.DeRham.Comparison.SmoothCech.cechDelta_squared (ManifoldSheaf.manifoldFormPresheaf E M p) U n c |
| 53 | |
| 54 | private def openFormEvaluation {U : Opens M} {p : ℕ} (x : U) : |
| 55 | Open.SmoothOpenManifoldForm E U p →ₗ[ℂ] |
| 56 | TangentSpace 𝓘(ℝ, E) (x : M) [⋀^Fin p]→L[ℝ] ℂ where |
| 57 | toFun form := form x |
| 58 | map_add' _ _ := rfl |
| 59 | map_smul' _ _ := rfl |
| 60 | |
| 61 | /-- The categorical Čech differential is the usual alternating restriction |
| 62 | sum on the concrete manifold-form sections. -/ |
| 63 | theorem manifoldCechDelta_sections (U : ι → Opens M) (p n : ℕ) |
| 64 | (c : ManifoldCechCochain (E := E) U p n) (a : Fin (n + 2) → ι) : |
| 65 | manifoldCechDelta U p n c a = |
| 66 | ∑ j : Fin (n + 2), (-1 : ℤ) ^ j.val • |
| 67 | Open.SmoothOpenManifoldForm.restrict (AlgebraicTopology.DeRham.Comparison.SmoothCech.cechIntersection_le_precomp U a j.succAbove) |
| 68 | (c (a ∘ j.succAbove)) := |
| 69 | AlgebraicTopology.DeRham.Comparison.SmoothCech.cechDelta_apply (ManifoldSheaf.manifoldFormPresheaf E M p) U n c a |
| 70 | |
| 71 | /-- The Čech differential evaluates to the signed deletion formula at every |
| 72 | point of its intersection domain. -/ |
| 73 | theorem manifoldCechDelta_apply (U : ι → Opens M) (p n : ℕ) |
| 74 | (c : ManifoldCechCochain (E := E) U p n) (a : Fin (n + 2) → ι) |
| 75 | (x : AlgebraicTopology.DeRham.Comparison.SmoothCech.cechIntersection U a) : |
| 76 | manifoldCechDelta U p n c a x = |
| 77 | CechContractionAlgebra.tupleCoboundary (fun b => (c b).extension (x : M)) a := by |
| 78 | change openFormEvaluation x (manifoldCechDelta U p n c a) = _ |
| 79 | rw [manifoldCechDelta_sections, map_sum] |
| 80 | simp only [CechContractionAlgebra.tupleCoboundary] |
| 81 | apply Finset.sum_congr rfl |
| 82 | intro j _ |
| 83 | change (-1 : ℤ) ^ j.val • |
| 84 | c (a ∘ j.succAbove) ⟨x, AlgebraicTopology.DeRham.Comparison.SmoothCech.cechIntersection_le_precomp U a j.succAbove x.property⟩ = _ |
| 85 | exact congrArg (fun value => (-1 : ℤ) ^ j.val • value) |
| 86 | (Open.SmoothOpenManifoldForm.extension_apply (c (a ∘ j.succAbove)) |
| 87 | ⟨x, AlgebraicTopology.DeRham.Comparison.SmoothCech.cechIntersection_le_precomp U a j.succAbove x.property⟩).symm |
| 88 | |
| 89 | section Partition |
| 90 | |
| 91 | variable [IsManifold 𝓘(ℝ, E) ∞ M] [Fintype ι] |
| 92 | (U : ι → Opens M) (rho : ι → M → ℂ) |
| 93 | (hrho : ∀ i, ContMDiff 𝓘(ℝ, E) 𝓘(ℝ, ℂ) ∞ (rho i)) |
| 94 | (hsupp : ∀ i, tsupport (rho i) ⊆ (U i : Set M)) |
| 95 | |
| 96 | /-- The actual partition-of-unity Čech operator. Each summand is a smooth |
| 97 | relative extension from the intersection with the inserted cover member. -/ |
| 98 | def manifoldCechContraction (p n : ℕ) : |
| 99 | ManifoldCechCochain (E := E) U p (n + 1) →ₗ[ℂ] |
| 100 | ManifoldCechCochain (E := E) U p n where |
| 101 | toFun c a := ∑ i, Open.SmoothOpenManifoldForm.supportedExtensionTo |
| 102 | (U i) (AlgebraicTopology.DeRham.Comparison.SmoothCech.cechIntersection U a) (rho i) (hrho i).contMDiffOn (hsupp i) |
| 103 | (Open.SmoothOpenManifoldForm.restrict (le_of_eq (AlgebraicTopology.DeRham.Comparison.SmoothCech.cechIntersection_cons U i a).symm) |
| 104 | (c (Fin.cons i a))) |
| 105 | map_add' c d := by |
| 106 | funext a |
| 107 | simp only [Pi.add_apply, map_add, Finset.sum_add_distrib] |
| 108 | map_smul' z c := by |
| 109 | funext a |
| 110 | simp only [Pi.smul_apply, map_smul, Finset.smul_sum, RingHom.id_apply] |
| 111 | |
| 112 | /-- Evaluation of the smooth extension operator is weighted insertion of |
| 113 | the actual cochain values, using the canonical auxiliary zero extensions. -/ |
| 114 | theorem manifoldCechContraction_apply (p n : ℕ) |
| 115 | (c : ManifoldCechCochain (E := E) U p (n + 1)) |
| 116 | (a : Fin (n + 1) → ι) (x : AlgebraicTopology.DeRham.Comparison.SmoothCech.cechIntersection U a) : |
| 117 | manifoldCechContraction U rho hrho hsupp p n c a x = |
| 118 | CechContractionAlgebra.weightedInsertion (fun i => rho i (x : M)) |
| 119 | (fun b => (c b).extension (x : M)) a := by |
| 120 | change openFormEvaluation x (∑ i, |
| 121 | Open.SmoothOpenManifoldForm.supportedExtensionTo (U i) (AlgebraicTopology.DeRham.Comparison.SmoothCech.cechIntersection U a) |
| 122 | (rho i) (hrho i).contMDiffOn (hsupp i) |
| 123 | (Open.SmoothOpenManifoldForm.restrict (le_of_eq (AlgebraicTopology.DeRham.Comparison.SmoothCech.cechIntersection_cons U i a).symm) |
| 124 | (c (Fin.cons i a)))) = _ |
| 125 | rw [map_sum] |
| 126 | unfold CechContractionAlgebra.weightedInsertion |
| 127 | apply Finset.sum_congr rfl |
| 128 | intro i _ |
| 129 | change Open.SmoothOpenManifoldForm.supportedExtensionTo (U i) (AlgebraicTopology.DeRham.Comparison.SmoothCech.cechIntersection U a) |
| 130 | (rho i) (hrho i).contMDiffOn (hsupp i) |
| 131 | (Open.SmoothOpenManifoldForm.restrict (le_of_eq (AlgebraicTopology.DeRham.Comparison.SmoothCech.cechIntersection_cons U i a).symm) |
| 132 | (c (Fin.cons i a))) x = rho i (x : M) • (c (Fin.cons i a)).extension (x : M) |
| 133 | by_cases hx : (x : M) ∈ U i |
| 134 | · have hcons : (x : M) ∈ AlgebraicTopology.DeRham.Comparison.SmoothCech.cechIntersection U (Fin.cons i a) := by |
| 135 | rw [AlgebraicTopology.DeRham.Comparison.SmoothCech.cechIntersection_cons] |
| 136 | exact ⟨hx, x.property⟩ |
| 137 | rw [Open.SmoothOpenManifoldForm.supportedExtensionTo_apply_mem _ _ _ _ _ _ x hx] |
| 138 | exact congrArg (fun value => rho i (x : M) • value) |
| 139 | (Open.SmoothOpenManifoldForm.extension_apply (c (Fin.cons i a)) ⟨x, hcons⟩).symm |
| 140 | · have hzero : rho i (x : M) = 0 := image_eq_zero_of_notMem_tsupport |
| 141 | (fun h => hx (hsupp i h)) |
| 142 | rw [Open.SmoothOpenManifoldForm.supportedExtensionTo_apply, hzero] |
| 143 | apply ContinuousAlternatingMap.ext |
| 144 | intro v |
| 145 | change (0 : ℂ) * _ = 0 * _ |
| 146 | simp only [zero_mul] |
| 147 | |
| 148 | /-- On an intersection domain, differentiating the contraction is the |
| 149 | algebraic deletion operator applied after weighted insertion. -/ |
| 150 | theorem manifoldCechDelta_contraction_apply (p n : ℕ) |
| 151 | (c : ManifoldCechCochain (E := E) U p (n + 1)) |
| 152 | (a : Fin (n + 2) → ι) (x : AlgebraicTopology.DeRham.Comparison.SmoothCech.cechIntersection U a) : |
| 153 | manifoldCechDelta U p n (manifoldCechContraction U rho hrho hsupp p n c) a x = |
| 154 | CechContractionAlgebra.tupleCoboundary |
| 155 | (CechContractionAlgebra.weightedInsertion (fun i => rho i (x : M)) |
| 156 | (fun b => (c b).extension (x : M))) a := by |
| 157 | rw [manifoldCechDelta_apply] |
| 158 | unfold CechContractionAlgebra.tupleCoboundary |
| 159 | apply Finset.sum_congr rfl |
| 160 | intro j _ |
| 161 | have hx : (x : M) ∈ AlgebraicTopology.DeRham.Comparison.SmoothCech.cechIntersection U (a ∘ j.succAbove) := |
| 162 | AlgebraicTopology.DeRham.Comparison.SmoothCech.cechIntersection_le_precomp U a j.succAbove x.property |
| 163 | apply congrArg (fun value => (-1 : ℤ) ^ j.val • value) |
| 164 | exact (Open.SmoothOpenManifoldForm.extension_apply |
| 165 | (manifoldCechContraction U rho hrho hsupp p n c (a ∘ j.succAbove)) ⟨x, hx⟩).trans |
| 166 | (manifoldCechContraction_apply U rho hrho hsupp p n c (a ∘ j.succAbove) ⟨x, hx⟩) |
| 167 | |
| 168 | /-- The support condition permits the differential to be evaluated on every |
| 169 | nonzero weighted summand of the contraction. -/ |
| 170 | theorem manifoldCechContraction_delta_apply (p n : ℕ) |
| 171 | (c : ManifoldCechCochain (E := E) U p (n + 1)) |
| 172 | (a : Fin (n + 2) → ι) (x : AlgebraicTopology.DeRham.Comparison.SmoothCech.cechIntersection U a) : |
| 173 | manifoldCechContraction U rho hrho hsupp p (n + 1) |
| 174 | (manifoldCechDelta U p (n + 1) c) a x = |
| 175 | CechContractionAlgebra.weightedInsertion (fun i => rho i (x : M)) |
| 176 | (CechContractionAlgebra.tupleCoboundary (fun b => (c b).extension (x : M))) a := by |
| 177 | rw [manifoldCechContraction_apply] |
| 178 | unfold CechContractionAlgebra.weightedInsertion |
| 179 | apply Finset.sum_congr rfl |
| 180 | intro i _ |
| 181 | change rho i (x : M) • |
| 182 | (manifoldCechDelta U p (n + 1) c (Fin.cons i a)).extension (x : M) = |
| 183 | rho i (x : M) • CechContractionAlgebra.tupleCoboundary (fun b => (c b).extension (x : M)) (Fin.cons i a) |
| 184 | by_cases hzero : rho i (x : M) = 0 |
| 185 | · rw [hzero] |
| 186 | apply ContinuousAlternatingMap.ext |
| 187 | intro v |
| 188 | change (0 : ℂ) * _ = 0 * _ |
| 189 | simp only [zero_mul] |
| 190 | · have hx : (x : M) ∈ U i := hsupp i (subset_closure hzero) |
| 191 | have hcons : (x : M) ∈ AlgebraicTopology.DeRham.Comparison.SmoothCech.cechIntersection U (Fin.cons i a) := by |
| 192 | rw [AlgebraicTopology.DeRham.Comparison.SmoothCech.cechIntersection_cons] |
| 193 | exact ⟨hx, x.property⟩ |
| 194 | rw [Open.SmoothOpenManifoldForm.extension_apply |
| 195 | (manifoldCechDelta U p (n + 1) c (Fin.cons i a)) ⟨x, hcons⟩, |
| 196 | manifoldCechDelta_apply] |
| 197 | |
| 198 | /-- The finite partition gives the actual positive-degree Čech homotopy |
| 199 | identity `δ H + H δ = id`. -/ |
| 200 | theorem manifoldCech_contraction_identity |
| 201 | (hsum : ∀ x, ∑ i, rho i x = 1) (p n : ℕ) |
| 202 | (c : ManifoldCechCochain (E := E) U p (n + 1)) : |
| 203 | manifoldCechDelta U p n (manifoldCechContraction U rho hrho hsupp p n c) + |
| 204 | manifoldCechContraction U rho hrho hsupp p (n + 1) |
| 205 | (manifoldCechDelta U p (n + 1) c) = c := by |
| 206 | funext a |
| 207 | apply Open.SmoothOpenManifoldForm.ext |
| 208 | intro x |
| 209 | change manifoldCechDelta U p n (manifoldCechContraction U rho hrho hsupp p n c) a x + |
| 210 | manifoldCechContraction U rho hrho hsupp p (n + 1) |
| 211 | (manifoldCechDelta U p (n + 1) c) a x = c a x |
| 212 | rw [manifoldCechDelta_contraction_apply, manifoldCechContraction_delta_apply, |
| 213 | CechContractionAlgebra.tupleCoboundary_weightedInsertion, hsum, one_smul, |
| 214 | Open.SmoothOpenManifoldForm.extension_apply] |
| 215 | |
| 216 | /-- The same positive-degree homotopy identity as an equality of linear maps. -/ |
| 217 | theorem manifoldCech_contraction_linear_identity |
| 218 | (hsum : ∀ x, ∑ i, rho i x = 1) (p n : ℕ) : |
| 219 | (manifoldCechDelta U p n).comp (manifoldCechContraction U rho hrho hsupp p n) + |
| 220 | (manifoldCechContraction U rho hrho hsupp p (n + 1)).comp |
| 221 | (manifoldCechDelta U p (n + 1)) = LinearMap.id := by |
| 222 | apply LinearMap.ext |
| 223 | intro c |
| 224 | exact manifoldCech_contraction_identity U rho hrho hsupp hsum p n c |
| 225 | |
| 226 | /-- In every positive Čech degree, a closed cochain has an explicit primitive. -/ |
| 227 | theorem manifoldCech_closed_eq_delta |
| 228 | (hsum : ∀ x, ∑ i, rho i x = 1) (p n : ℕ) |
| 229 | (c : ManifoldCechCochain (E := E) U p (n + 1)) |
| 230 | (hc : manifoldCechDelta U p (n + 1) c = 0) : |
| 231 | manifoldCechDelta U p n (manifoldCechContraction U rho hrho hsupp p n c) = c := by |
| 232 | have h := manifoldCech_contraction_identity U rho hrho hsupp hsum p n c |
| 233 | rw [hc, map_zero, add_zero] at h |
| 234 | exact h |
| 235 | |
| 236 | end Partition |
| 237 | |
| 238 | /-- A finite open cover of a finite-dimensional Hausdorff sigma-compact |
| 239 | smooth manifold admits an actual linear Čech contraction in all positive |
| 240 | degrees. The partition of unity is constructed by the proved existence |
| 241 | theorem, rather than supplied as an acyclicity hypothesis. -/ |
| 242 | theorem exists_manifoldCech_contraction |
| 243 | [IsManifold 𝓘(ℝ, E) ∞ M] [FiniteDimensional ℝ E] |
| 244 | [T2Space M] [SigmaCompactSpace M] [Fintype ι] |
| 245 | (U : ι → Opens M) (hcover : ∀ x, ∃ i, x ∈ U i) (p : ℕ) : |
| 246 | ∃ H : ∀ n : ℕ, ManifoldCechCochain (E := E) U p (n + 1) →ₗ[ℂ] |
| 247 | ManifoldCechCochain (E := E) U p n, |
| 248 | ∀ n, (manifoldCechDelta U p n).comp (H n) + |
| 249 | (H (n + 1)).comp (manifoldCechDelta U p (n + 1)) = LinearMap.id := by |
| 250 | obtain ⟨rho, hrho, hsupp, hsum⟩ := FinitePartition.exists_finite_complex_partition |
| 251 | (E := E) (fun i => (U i : Set M)) (fun i => (U i).isOpen) hcover |
| 252 | exact ⟨manifoldCechContraction U rho hrho hsupp p, |
| 253 | manifoldCech_contraction_linear_identity U rho hrho hsupp hsum p⟩ |
| 254 | |
| 255 | /-- Every closed positive-degree cochain of this genuine manifold-form |
| 256 | sheaf on a finite open cover is a coboundary. -/ |
| 257 | theorem manifoldCech_positive_exact |
| 258 | [IsManifold 𝓘(ℝ, E) ∞ M] [FiniteDimensional ℝ E] |
| 259 | [T2Space M] [SigmaCompactSpace M] [Fintype ι] |
| 260 | (U : ι → Opens M) (hcover : ∀ x, ∃ i, x ∈ U i) (p n : ℕ) |
| 261 | (c : ManifoldCechCochain (E := E) U p (n + 1)) |
| 262 | (hc : manifoldCechDelta U p (n + 1) c = 0) : |
| 263 | ∃ b : ManifoldCechCochain (E := E) U p n, manifoldCechDelta U p n b = c := by |
| 264 | obtain ⟨H, hH⟩ := exists_manifoldCech_contraction (E := E) U hcover p |
| 265 | refine ⟨H n c, ?_⟩ |
| 266 | have h := LinearMap.congr_fun (hH n) c |
| 267 | change manifoldCechDelta U p n (H n c) + H (n + 1) |
| 268 | (manifoldCechDelta U p (n + 1) c) = c at h |
| 269 | rw [hc, map_zero, add_zero] at h |
| 270 | exact h |
| 271 | |
| 272 | end |
| 273 | |
| 274 | end OAI.Analysis.DifferentialForms.Manifold.CechContraction |