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.AlgebraicTopology.DeRham.Comparison.PartitionFormOperators |
| 3 | |
| 4 | /-! # Smooth Cech Partition -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicTopology.DeRham.Comparison.SmoothCechPartition |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # Partition homotopy for the actual smooth-form Čech complex |
| 12 | |
| 13 | The homotopy inserts one cover index, multiplies by the associated smooth |
| 14 | partition function, and extends by zero. All operators act on actual smooth |
| 15 | forms on open intersections. The identities below are proved from their |
| 16 | pointwise values and the genuine partition-of-unity identity. |
| 17 | -/ |
| 18 | |
| 19 | open _root_.TopologicalSpace |
| 20 | open scoped _root_.Manifold ContDiff BigOperators |
| 21 | |
| 22 | universe u |
| 23 | |
| 24 | variable {E ι : Type u} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 25 | variable (cover : ι → Opens E) (p : ℕ) |
| 26 | |
| 27 | /-- A single Čech coface is restriction after omitting one index. -/ |
| 28 | def smoothCechCoface (n : ℕ) (j : Fin (n + 2)) : |
| 29 | SmoothCech.SmoothCechCochain cover p n →ₗ[ℂ] SmoothCech.SmoothCechCochain cover p (n + 1) := |
| 30 | SmoothCech.cechPrecomp (Analysis.DifferentialForms.Manifold.Presheaf.smoothFormPresheaf E p) cover j.succAbove |
| 31 | |
| 32 | @[simp] |
| 33 | theorem smoothCechCoface_apply (n : ℕ) (j : Fin (n + 2)) |
| 34 | (c : SmoothCech.SmoothCechCochain cover p n) (a : Fin (n + 2) → ι) : |
| 35 | smoothCechCoface cover p n j c a = |
| 36 | Analysis.DifferentialForms.Manifold.OpenD.SmoothOpenForm.restrict (SmoothCech.cechIntersection_le_precomp cover a j.succAbove) |
| 37 | (c (a ∘ j.succAbove)) := rfl |
| 38 | |
| 39 | /-- Equal index tuples give equal restricted sections on every common domain. -/ |
| 40 | theorem smoothCechSection_congr (n : ℕ) (c : SmoothCech.SmoothCechCochain cover p n) |
| 41 | {a b : Fin (n + 1) → ι} (hab : a = b) (W : Opens E) |
| 42 | (hWa : W ≤ SmoothCech.cechIntersection cover a) (hWb : W ≤ SmoothCech.cechIntersection cover b) : |
| 43 | Analysis.DifferentialForms.Manifold.OpenD.SmoothOpenForm.restrict hWa (c a) = Analysis.DifferentialForms.Manifold.OpenD.SmoothOpenForm.restrict hWb (c b) := by |
| 44 | subst b |
| 45 | rfl |
| 46 | |
| 47 | /-- The Čech differential is the alternating sum of its actual cofaces. -/ |
| 48 | theorem smoothCechDelta_eq_sum_coface (n : ℕ) (c : SmoothCech.SmoothCechCochain cover p n) : |
| 49 | SmoothCech.smoothCechDelta cover p n c = |
| 50 | ∑ j : Fin (n + 2), (-1 : ℤ) ^ j.val • smoothCechCoface cover p n j c := by |
| 51 | funext a |
| 52 | exact (SmoothCech.smoothCechDelta_apply cover p n c a).trans (by |
| 53 | simp only [Finset.sum_apply, Pi.smul_apply, smoothCechCoface_apply] |
| 54 | rfl) |
| 55 | |
| 56 | variable (rho : SmoothPartitionOfUnity ι 𝓘(ℝ, E) E (Set.univ : Set E)) |
| 57 | (hsub : rho.IsSubordinate (fun i => (cover i : Set E))) |
| 58 | |
| 59 | /-- One weighted insertion, including the proved smooth extension across its boundary. -/ |
| 60 | def smoothCechWeightedInsertion (n : ℕ) (i : ι) : |
| 61 | SmoothCech.SmoothCechCochain cover p (n + 1) →ₗ[ℂ] SmoothCech.SmoothCechCochain cover p n where |
| 62 | toFun c a := PartitionFormOperators.partitionFormOperator cover rho hsub (SmoothCech.cechIntersection cover a) i |
| 63 | (Analysis.DifferentialForms.Manifold.OpenD.SmoothOpenForm.restrict (le_of_eq (SmoothCech.cechIntersection_cons cover i a).symm) |
| 64 | (c (Fin.cons i a))) |
| 65 | map_add' c d := by |
| 66 | funext a |
| 67 | exact ((PartitionFormOperators.partitionFormOperator cover rho hsub (SmoothCech.cechIntersection cover a) i).comp |
| 68 | (Analysis.DifferentialForms.Manifold.OpenD.SmoothOpenForm.restrict (le_of_eq (SmoothCech.cechIntersection_cons cover i a).symm))).map_add |
| 69 | (c (Fin.cons i a)) (d (Fin.cons i a)) |
| 70 | map_smul' z c := by |
| 71 | funext a |
| 72 | exact ((PartitionFormOperators.partitionFormOperator cover rho hsub (SmoothCech.cechIntersection cover a) i).comp |
| 73 | (Analysis.DifferentialForms.Manifold.OpenD.SmoothOpenForm.restrict (le_of_eq (SmoothCech.cechIntersection_cons cover i a).symm))).map_smul |
| 74 | z (c (Fin.cons i a)) |
| 75 | |
| 76 | theorem smoothCechWeightedInsertion_apply_of_mem (n : ℕ) (i : ι) |
| 77 | (c : SmoothCech.SmoothCechCochain cover p (n + 1)) (a : Fin (n + 1) → ι) |
| 78 | (x : SmoothCech.cechIntersection cover a) (hxi : (x : E) ∈ cover i) : |
| 79 | PartitionFormOperators.openFormEvaluation x (smoothCechWeightedInsertion cover p rho hsub n i c a) = |
| 80 | rho i x • PartitionFormOperators.openFormEvaluation |
| 81 | (⟨(x : E), (le_of_eq (SmoothCech.cechIntersection_cons cover i a).symm) |
| 82 | ⟨hxi, x.property⟩⟩ : SmoothCech.cechIntersection cover (Fin.cons i a)) |
| 83 | (c (Fin.cons i a)) := by |
| 84 | exact PartitionFormOperators.supportedFormExtension_apply_of_mem (rho i) (rho i).contMDiff.contDiff |
| 85 | (hsub i) _ x hxi |
| 86 | |
| 87 | theorem smoothCechWeightedInsertion_apply_of_notMem (n : ℕ) (i : ι) |
| 88 | (c : SmoothCech.SmoothCechCochain cover p (n + 1)) (a : Fin (n + 1) → ι) |
| 89 | (x : SmoothCech.cechIntersection cover a) (hxi : (x : E) ∉ cover i) : |
| 90 | PartitionFormOperators.openFormEvaluation x (smoothCechWeightedInsertion cover p rho hsub n i c a) = 0 := by |
| 91 | exact PartitionFormOperators.supportedFormExtension_apply_of_notMem (rho i) (rho i).contMDiff.contDiff |
| 92 | (hsub i) _ x hxi |
| 93 | |
| 94 | /-- Inserting the index omitted by the zeroth coface gives the usual partition operator. -/ |
| 95 | theorem smoothCechWeightedInsertion_coface_zero (n : ℕ) (i : ι) |
| 96 | (c : SmoothCech.SmoothCechCochain cover p n) (a : Fin (n + 1) → ι) : |
| 97 | smoothCechWeightedInsertion cover p rho hsub n i |
| 98 | (smoothCechCoface cover p n 0 c) a = |
| 99 | PartitionFormOperators.partitionFormOperator cover rho hsub (SmoothCech.cechIntersection cover a) i |
| 100 | (Analysis.DifferentialForms.Manifold.OpenD.SmoothOpenForm.restrict inf_le_right (c a)) := by |
| 101 | change ((a : Fin (n + 1) → ι) → Analysis.DifferentialForms.Manifold.OpenD.SmoothOpenForm (SmoothCech.cechIntersection cover a) p) at c |
| 102 | change PartitionFormOperators.partitionFormOperator cover rho hsub (SmoothCech.cechIntersection cover a) i |
| 103 | (Analysis.DifferentialForms.Manifold.OpenD.SmoothOpenForm.restrict (le_of_eq (SmoothCech.cechIntersection_cons cover i a).symm) |
| 104 | (Analysis.DifferentialForms.Manifold.OpenD.SmoothOpenForm.restrict |
| 105 | (SmoothCech.cechIntersection_le_precomp cover (Fin.cons i a) Fin.succ) |
| 106 | (c (Fin.cons i a ∘ Fin.succ)))) = _ |
| 107 | simp only [Analysis.DifferentialForms.Manifold.OpenD.SmoothOpenForm.restrict_trans] |
| 108 | apply congrArg |
| 109 | exact smoothCechSection_congr cover p n c (Fin.cons_comp_succ i a) _ _ _ |
| 110 | |
| 111 | /-- Restriction of a weighted insertion agrees with omitting any later inserted index. -/ |
| 112 | theorem smoothCechWeightedInsertion_coface_succ (n : ℕ) (i : ι) (j : Fin (n + 2)) |
| 113 | (c : SmoothCech.SmoothCechCochain cover p (n + 1)) : |
| 114 | smoothCechWeightedInsertion cover p rho hsub (n + 1) i |
| 115 | (smoothCechCoface cover p (n + 1) j.succ c) = |
| 116 | smoothCechCoface cover p n j |
| 117 | (smoothCechWeightedInsertion cover p rho hsub n i c) := by |
| 118 | change ((a : Fin (n + 2) → ι) → Analysis.DifferentialForms.Manifold.OpenD.SmoothOpenForm (SmoothCech.cechIntersection cover a) p) at c |
| 119 | funext a |
| 120 | change PartitionFormOperators.supportedFormExtension (rho i) (rho i).contMDiff.contDiff (hsub i) |
| 121 | (Analysis.DifferentialForms.Manifold.OpenD.SmoothOpenForm.restrict (le_of_eq (SmoothCech.cechIntersection_cons cover i a).symm) |
| 122 | (Analysis.DifferentialForms.Manifold.OpenD.SmoothOpenForm.restrict |
| 123 | (SmoothCech.cechIntersection_le_precomp cover (Fin.cons i a) j.succ.succAbove) |
| 124 | (c (Fin.cons i a ∘ j.succ.succAbove)))) = |
| 125 | Analysis.DifferentialForms.Manifold.OpenD.SmoothOpenForm.restrict (SmoothCech.cechIntersection_le_precomp cover a j.succAbove) |
| 126 | (PartitionFormOperators.supportedFormExtension (rho i) (rho i).contMDiff.contDiff (hsub i) |
| 127 | (Analysis.DifferentialForms.Manifold.OpenD.SmoothOpenForm.restrict |
| 128 | (le_of_eq (SmoothCech.cechIntersection_cons cover i (a ∘ j.succAbove)).symm) |
| 129 | (c (Fin.cons i (a ∘ j.succAbove))))) |
| 130 | rw [PartitionFormOperators.supportedFormExtension_restrict] |
| 131 | simp only [Analysis.DifferentialForms.Manifold.OpenD.SmoothOpenForm.restrict_trans] |
| 132 | apply congrArg |
| 133 | exact smoothCechSection_congr cover p (n + 1) c |
| 134 | (Fin.cons_comp_succ_succAbove i a j) _ _ _ |
| 135 | |
| 136 | variable [Fintype ι] |
| 137 | |
| 138 | /-- The finite smooth-partition homotopy on actual Čech cochains. -/ |
| 139 | def smoothCechHomotopy (n : ℕ) : |
| 140 | SmoothCech.SmoothCechCochain cover p (n + 1) →ₗ[ℂ] SmoothCech.SmoothCechCochain cover p n := |
| 141 | ∑ i, smoothCechWeightedInsertion cover p rho hsub n i |
| 142 | |
| 143 | theorem smoothCechHomotopy_eq_sum (n : ℕ) |
| 144 | (c : SmoothCech.SmoothCechCochain cover p (n + 1)) : |
| 145 | smoothCechHomotopy cover p rho hsub n c = |
| 146 | ∑ i, smoothCechWeightedInsertion cover p rho hsub n i c := by |
| 147 | exact LinearMap.sum_apply _ _ _ |
| 148 | |
| 149 | /-- The zeroth coface is a right inverse to the partition homotopy. -/ |
| 150 | theorem smoothCechHomotopy_coface_zero (n : ℕ) (c : SmoothCech.SmoothCechCochain cover p n) : |
| 151 | smoothCechHomotopy cover p rho hsub n (smoothCechCoface cover p n 0 c) = c := by |
| 152 | funext a |
| 153 | have h1 : smoothCechHomotopy cover p rho hsub n (smoothCechCoface cover p n 0 c) a = |
| 154 | ∑ i, smoothCechWeightedInsertion cover p rho hsub n i |
| 155 | (smoothCechCoface cover p n 0 c) a := by |
| 156 | rw [smoothCechHomotopy_eq_sum, Finset.sum_apply] |
| 157 | have h2 : (∑ i, smoothCechWeightedInsertion cover p rho hsub n i |
| 158 | (smoothCechCoface cover p n 0 c) a) = |
| 159 | ∑ i, PartitionFormOperators.partitionFormOperator cover rho hsub (SmoothCech.cechIntersection cover a) i |
| 160 | (Analysis.DifferentialForms.Manifold.OpenD.SmoothOpenForm.restrict inf_le_right (c a)) := by |
| 161 | exact Finset.sum_congr rfl (fun i _ => |
| 162 | smoothCechWeightedInsertion_coface_zero cover p rho hsub n i c a) |
| 163 | exact h1.trans (h2.trans (PartitionFormOperators.sum_partitionFormOperator cover rho hsub |
| 164 | (SmoothCech.cechIntersection cover a) (Set.subset_univ _) (c a))) |
| 165 | |
| 166 | /-- Later cofaces commute with partition insertion after shifting their index. -/ |
| 167 | theorem smoothCechHomotopy_coface_succ (n : ℕ) (j : Fin (n + 2)) |
| 168 | (c : SmoothCech.SmoothCechCochain cover p (n + 1)) : |
| 169 | smoothCechHomotopy cover p rho hsub (n + 1) |
| 170 | (smoothCechCoface cover p (n + 1) j.succ c) = |
| 171 | smoothCechCoface cover p n j (smoothCechHomotopy cover p rho hsub n c) := by |
| 172 | rw [smoothCechHomotopy_eq_sum, smoothCechHomotopy_eq_sum, map_sum] |
| 173 | exact Finset.sum_congr rfl (fun i _ => |
| 174 | smoothCechWeightedInsertion_coface_succ cover p rho hsub n i j c) |
| 175 | |
| 176 | /-- Splitting off the zeroth coface gives the signed homotopy identity. -/ |
| 177 | theorem smoothCechHomotopy_delta (n : ℕ) (c : SmoothCech.SmoothCechCochain cover p (n + 1)) : |
| 178 | smoothCechHomotopy cover p rho hsub (n + 1) (SmoothCech.smoothCechDelta cover p (n + 1) c) = |
| 179 | c - SmoothCech.smoothCechDelta cover p n (smoothCechHomotopy cover p rho hsub n c) := by |
| 180 | rw [smoothCechDelta_eq_sum_coface, map_sum] |
| 181 | simp only [map_zsmul] |
| 182 | rw [Fin.sum_univ_succ] |
| 183 | simp only [Fin.val_zero, pow_zero, one_smul, Fin.val_succ, |
| 184 | smoothCechHomotopy_coface_zero, smoothCechHomotopy_coface_succ] |
| 185 | rw [sub_eq_add_neg, smoothCechDelta_eq_sum_coface, ← Finset.sum_neg_distrib] |
| 186 | apply congrArg (fun z => c + z) |
| 187 | apply Finset.sum_congr rfl |
| 188 | intro j _ |
| 189 | rw [pow_succ, mul_smul, neg_one_smul, smul_neg] |
| 190 | |
| 191 | /-- The actual partition operator contracts the Čech complex in every positive degree. -/ |
| 192 | theorem smoothCech_contraction (n : ℕ) (c : SmoothCech.SmoothCechCochain cover p (n + 1)) : |
| 193 | SmoothCech.smoothCechDelta cover p n (smoothCechHomotopy cover p rho hsub n c) + |
| 194 | smoothCechHomotopy cover p rho hsub (n + 1) (SmoothCech.smoothCechDelta cover p (n + 1) c) = |
| 195 | c := by |
| 196 | rw [smoothCechHomotopy_delta] |
| 197 | abel |
| 198 | |
| 199 | /-- A positive-degree cocycle has the explicit primitive supplied by the partition. -/ |
| 200 | theorem smoothCechDelta_homotopy_of_cycle (n : ℕ) |
| 201 | (c : SmoothCech.SmoothCechCochain cover p (n + 1)) (hc : SmoothCech.smoothCechDelta cover p (n + 1) c = 0) : |
| 202 | SmoothCech.smoothCechDelta cover p n (smoothCechHomotopy cover p rho hsub n c) = c := by |
| 203 | have h := smoothCech_contraction cover p rho hsub n c |
| 204 | rw [hc, map_zero, add_zero] at h |
| 205 | exact h |
| 206 | |
| 207 | include rho hsub in |
| 208 | /-- The genuine smooth-form Čech complex is exact in positive degrees for a finite partition. -/ |
| 209 | theorem smoothCechDelta_range_eq_ker (n : ℕ) : |
| 210 | LinearMap.range (SmoothCech.smoothCechDelta cover p n) = |
| 211 | LinearMap.ker (SmoothCech.smoothCechDelta cover p (n + 1)) := by |
| 212 | apply le_antisymm |
| 213 | · rintro c ⟨b, rfl⟩ |
| 214 | exact SmoothCech.smoothCechDelta_squared cover p n b |
| 215 | · intro c hc |
| 216 | exact ⟨smoothCechHomotopy cover p rho hsub n c, |
| 217 | smoothCechDelta_homotopy_of_cycle cover p rho hsub n c hc⟩ |
| 218 | |
| 219 | /-- A finite open cover of a finite-dimensional real normed space has exact smooth Čech rows. -/ |
| 220 | theorem smoothCechDelta_range_eq_ker_of_cover [FiniteDimensional ℝ E] |
| 221 | (hcover : ∀ x : E, ∃ i, x ∈ cover i) (n : ℕ) : |
| 222 | LinearMap.range (SmoothCech.smoothCechDelta cover p n) = |
| 223 | LinearMap.ker (SmoothCech.smoothCechDelta cover p (n + 1)) := by |
| 224 | obtain ⟨partition, hpartition⟩ := PartitionFormOperators.exists_subordinateSmoothPartition cover hcover |
| 225 | exact smoothCechDelta_range_eq_ker cover p partition hpartition n |
| 226 | |
| 227 | end |
| 228 | |
| 229 | end OAI.AlgebraicTopology.DeRham.Comparison.SmoothCechPartition |