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.GlobalOpen |
| 3 | |
| 4 | /-! # Smooth Cech Augmentation -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicTopology.DeRham.Comparison.SmoothCechAugmentation |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # The degree-zero augmentation of the actual smooth Čech complex |
| 12 | |
| 13 | The zero cocycles are exactly the compatible families of smooth forms. |
| 14 | The proved smooth gluing operation therefore identifies them with sections |
| 15 | on the union of the cover. This is the actual restriction augmentation; |
| 16 | no acyclicity or comparison theorem is assumed. |
| 17 | -/ |
| 18 | |
| 19 | open _root_.TopologicalSpace |
| 20 | open scoped BigOperators |
| 21 | |
| 22 | universe u |
| 23 | |
| 24 | variable {E ι : Type u} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 25 | variable (U : ι → Opens E) (p : ℕ) |
| 26 | |
| 27 | omit [NormedSpace ℝ E] in |
| 28 | /-- A singleton Čech intersection is the indicated member of the open family. -/ |
| 29 | theorem cechIntersection_singleton (a : Fin 1 → ι) : |
| 30 | SmoothCech.cechIntersection U a = U (a 0) := by |
| 31 | apply le_antisymm |
| 32 | · exact SmoothCech.cechIntersection_le U a 0 |
| 33 | · apply le_iInf |
| 34 | intro k |
| 35 | have hk : k = 0 := Fin.eq_zero k |
| 36 | subst k |
| 37 | exact le_refl _ |
| 38 | |
| 39 | /-- Read a degree-zero Čech cochain as the usual family of local sections. -/ |
| 40 | def smoothCechZeroFamily : SmoothCech.SmoothCechCochain U p 0 →ₗ[ℂ] |
| 41 | ((i : ι) → Analysis.DifferentialForms.Manifold.OpenD.SmoothOpenForm (U i) p) where |
| 42 | toFun c i := Analysis.DifferentialForms.Manifold.OpenD.SmoothOpenForm.restrict |
| 43 | (le_of_eq (cechIntersection_singleton U (fun _ => i)).symm) (c (fun _ => i)) |
| 44 | map_add' _ _ := rfl |
| 45 | map_smul' _ _ := rfl |
| 46 | |
| 47 | /-- Recover the cochain section from its local-section family. -/ |
| 48 | theorem smoothCechZeroFamily_restrict (c : SmoothCech.SmoothCechCochain U p 0) |
| 49 | (a : Fin 1 → ι) : |
| 50 | Analysis.DifferentialForms.Manifold.OpenD.SmoothOpenForm.restrict (SmoothCech.cechIntersection_le U a 0) |
| 51 | (smoothCechZeroFamily U p c (a 0)) = c a := by |
| 52 | obtain ⟨i, rfl⟩ : ∃ i : ι, a = (fun _ : Fin 1 => i) := |
| 53 | ⟨a 0, funext (fun k => congrArg a (Fin.eq_zero k))⟩ |
| 54 | apply Analysis.DifferentialForms.Manifold.OpenD.SmoothOpenForm.ext |
| 55 | intro x |
| 56 | rfl |
| 57 | |
| 58 | /-- The local-section presentation loses no degree-zero information. -/ |
| 59 | theorem smoothCechZeroFamily_injective : |
| 60 | Function.Injective (smoothCechZeroFamily U p) := by |
| 61 | intro c d h |
| 62 | funext a |
| 63 | rw [← smoothCechZeroFamily_restrict U p c a, |
| 64 | ← smoothCechZeroFamily_restrict U p d a, h] |
| 65 | |
| 66 | /-- In degree zero the Čech differential is the difference on the overlap. -/ |
| 67 | theorem smoothCechDelta_zero_apply (c : SmoothCech.SmoothCechCochain U p 0) |
| 68 | (a : Fin 2 → ι) : |
| 69 | SmoothCech.smoothCechDelta U p 0 c a = |
| 70 | Analysis.DifferentialForms.Manifold.OpenD.SmoothOpenForm.restrict (SmoothCech.cechIntersection_le U a 1) |
| 71 | (smoothCechZeroFamily U p c (a 1)) - |
| 72 | Analysis.DifferentialForms.Manifold.OpenD.SmoothOpenForm.restrict (SmoothCech.cechIntersection_le U a 0) |
| 73 | (smoothCechZeroFamily U p c (a 0)) := by |
| 74 | change ((b : Fin 1 → ι) → Analysis.DifferentialForms.Manifold.OpenD.SmoothOpenForm (SmoothCech.cechIntersection U b) p) at c |
| 75 | erw [SmoothCech.smoothCechDelta_apply] |
| 76 | change (∑ j : Fin 2, (-1 : ℤ) ^ j.val • |
| 77 | Analysis.DifferentialForms.Manifold.OpenD.SmoothOpenForm.restrict (SmoothCech.cechIntersection_le_precomp U a j.succAbove) |
| 78 | (c (a ∘ j.succAbove))) = _ |
| 79 | simp only [Fin.sum_univ_two, Fin.val_zero, pow_zero, Fin.val_one, pow_one] |
| 80 | rw [← smoothCechZeroFamily_restrict U p c (a ∘ (0 : Fin 2).succAbove), |
| 81 | ← smoothCechZeroFamily_restrict U p c (a ∘ (1 : Fin 2).succAbove)] |
| 82 | rw [Analysis.DifferentialForms.Manifold.OpenD.SmoothOpenForm.restrict_trans, Analysis.DifferentialForms.Manifold.OpenD.SmoothOpenForm.restrict_trans] |
| 83 | let s : Analysis.DifferentialForms.Manifold.OpenD.SmoothOpenForm (SmoothCech.cechIntersection U a) p := |
| 84 | Analysis.DifferentialForms.Manifold.OpenD.SmoothOpenForm.restrict (SmoothCech.cechIntersection_le U a 1) (smoothCechZeroFamily U p c (a 1)) |
| 85 | let t : Analysis.DifferentialForms.Manifold.OpenD.SmoothOpenForm (SmoothCech.cechIntersection U a) p := |
| 86 | Analysis.DifferentialForms.Manifold.OpenD.SmoothOpenForm.restrict (SmoothCech.cechIntersection_le U a 0) (smoothCechZeroFamily U p c (a 0)) |
| 87 | change (1 : ℤ) • s + (-1 : ℤ) • t = s - t |
| 88 | exact (congrArg₂ (fun x y : Analysis.DifferentialForms.Manifold.OpenD.SmoothOpenForm (SmoothCech.cechIntersection U a) p => x + y) |
| 89 | (one_smul ℤ s) (neg_one_smul ℤ t)).trans (sub_eq_add_neg s t).symm |
| 90 | |
| 91 | /-- Zero Čech cocycles are exactly compatible smooth local sections. -/ |
| 92 | theorem smoothCechDelta_zero_iff_compatible (c : SmoothCech.SmoothCechCochain U p 0) : |
| 93 | SmoothCech.smoothCechDelta U p 0 c = 0 ↔ |
| 94 | Analysis.DifferentialForms.Manifold.OpenD.SmoothOpenForm.Compatible (smoothCechZeroFamily U p c) := by |
| 95 | constructor |
| 96 | · intro hc i j x hi hj |
| 97 | let a : Fin 2 → ι := ![i, j] |
| 98 | have hx : x ∈ SmoothCech.cechIntersection U a := by |
| 99 | apply (SmoothCech.mem_cechIntersection U a x).2 |
| 100 | exact Fin.forall_fin_two.2 ⟨hi, hj⟩ |
| 101 | have heq := congrFun hc a |
| 102 | rw [smoothCechDelta_zero_apply] at heq |
| 103 | have hs := sub_eq_zero.mp heq |
| 104 | exact (congrArg (fun f : Analysis.DifferentialForms.Manifold.OpenD.SmoothOpenForm (SmoothCech.cechIntersection U a) p => f ⟨x, hx⟩) |
| 105 | hs).symm |
| 106 | · intro hc |
| 107 | funext a |
| 108 | rw [smoothCechDelta_zero_apply] |
| 109 | apply sub_eq_zero.mpr |
| 110 | apply Analysis.DifferentialForms.Manifold.OpenD.SmoothOpenForm.ext |
| 111 | intro x |
| 112 | exact hc (a 1) (a 0) x (SmoothCech.cechIntersection_le U a 1 x.property) |
| 113 | (SmoothCech.cechIntersection_le U a 0 x.property) |
| 114 | |
| 115 | variable (W : Opens E) (hsub : ∀ i, U i ≤ W) |
| 116 | |
| 117 | /-- The augmentation is the actual restriction of a section to cover members. -/ |
| 118 | def smoothCechAugmentation : Analysis.DifferentialForms.Manifold.OpenD.SmoothOpenForm W p →ₗ[ℂ] SmoothCech.SmoothCechCochain U p 0 where |
| 119 | toFun form a := Analysis.DifferentialForms.Manifold.OpenD.SmoothOpenForm.restrict |
| 120 | ((SmoothCech.cechIntersection_le U a 0).trans (hsub (a 0))) form |
| 121 | map_add' _ _ := rfl |
| 122 | map_smul' _ _ := rfl |
| 123 | |
| 124 | /-- The augmentation reads as the expected family of ordinary restrictions. -/ |
| 125 | theorem smoothCechZeroFamily_augmentation (form : Analysis.DifferentialForms.Manifold.OpenD.SmoothOpenForm W p) (i : ι) : |
| 126 | smoothCechZeroFamily U p (smoothCechAugmentation U p W hsub form) i = |
| 127 | Analysis.DifferentialForms.Manifold.OpenD.SmoothOpenForm.restrict (hsub i) form := by |
| 128 | apply Analysis.DifferentialForms.Manifold.OpenD.SmoothOpenForm.ext |
| 129 | intro x |
| 130 | rfl |
| 131 | |
| 132 | /-- Restrictions of a single section form a zero cocycle. -/ |
| 133 | theorem smoothCechDelta_augmentation (form : Analysis.DifferentialForms.Manifold.OpenD.SmoothOpenForm W p) : |
| 134 | SmoothCech.smoothCechDelta U p 0 (smoothCechAugmentation U p W hsub form) = 0 := by |
| 135 | apply (smoothCechDelta_zero_iff_compatible U p _).2 |
| 136 | intro i j x hi hj |
| 137 | rw [smoothCechZeroFamily_augmentation, smoothCechZeroFamily_augmentation] |
| 138 | rfl |
| 139 | |
| 140 | /-- The restriction augmentation with its codomain restricted to zero cocycles. -/ |
| 141 | def smoothCechAugmentationToCycles : |
| 142 | Analysis.DifferentialForms.Manifold.OpenD.SmoothOpenForm W p →ₗ[ℂ] LinearMap.ker (SmoothCech.smoothCechDelta U p 0) := |
| 143 | (smoothCechAugmentation U p W hsub).codRestrict _ |
| 144 | (fun form => smoothCechDelta_augmentation U p W hsub form) |
| 145 | |
| 146 | variable (hcover : (W : Set E) ⊆ ⋃ i, (U i : Set E)) |
| 147 | |
| 148 | include hcover |
| 149 | |
| 150 | /-- Restricting along a genuine cover is injective. -/ |
| 151 | theorem smoothCechAugmentation_injective : |
| 152 | Function.Injective (smoothCechAugmentation U p W hsub) := by |
| 153 | intro form other h |
| 154 | apply Analysis.DifferentialForms.Manifold.OpenD.SmoothOpenForm.ext |
| 155 | intro x |
| 156 | obtain ⟨i, hi⟩ := Set.mem_iUnion.mp (hcover x.property) |
| 157 | have hr := congrArg (fun c => smoothCechZeroFamily U p c i) h |
| 158 | rw [smoothCechZeroFamily_augmentation, smoothCechZeroFamily_augmentation] at hr |
| 159 | exact congrArg (fun f : Analysis.DifferentialForms.Manifold.OpenD.SmoothOpenForm (U i) p => f ⟨x, hi⟩) hr |
| 160 | |
| 161 | /-- Smooth sheaf gluing proves every zero cocycle is the restriction of a section. -/ |
| 162 | theorem smoothCechAugmentationToCycles_surjective : |
| 163 | Function.Surjective (smoothCechAugmentationToCycles U p W hsub) := by |
| 164 | intro c |
| 165 | let family := smoothCechZeroFamily U p c.val |
| 166 | have hc : Analysis.DifferentialForms.Manifold.OpenD.SmoothOpenForm.Compatible family := |
| 167 | (smoothCechDelta_zero_iff_compatible U p c.val).1 c.property |
| 168 | refine ⟨Analysis.DifferentialForms.Manifold.OpenD.SmoothOpenForm.glue hsub hcover family hc, ?_⟩ |
| 169 | apply Subtype.ext |
| 170 | apply smoothCechZeroFamily_injective U p |
| 171 | funext i |
| 172 | change smoothCechZeroFamily U p |
| 173 | (smoothCechAugmentation U p W hsub (Analysis.DifferentialForms.Manifold.OpenD.SmoothOpenForm.glue hsub hcover family hc)) i = _ |
| 174 | rw [smoothCechZeroFamily_augmentation, Analysis.DifferentialForms.Manifold.OpenD.SmoothOpenForm.restrict_glue] |
| 175 | |
| 176 | /-- Sections on the covered open set are linearly equivalent to zero Čech cocycles. -/ |
| 177 | def smoothCechSectionsEquivCycles : |
| 178 | Analysis.DifferentialForms.Manifold.OpenD.SmoothOpenForm W p ≃ₗ[ℂ] LinearMap.ker (SmoothCech.smoothCechDelta U p 0) := |
| 179 | LinearEquiv.ofBijective (smoothCechAugmentationToCycles U p W hsub) |
| 180 | ⟨fun _form _other h => smoothCechAugmentation_injective U p W hsub hcover |
| 181 | (congrArg Subtype.val h), |
| 182 | smoothCechAugmentationToCycles_surjective U p W hsub hcover⟩ |
| 183 | |
| 184 | @[simp] |
| 185 | theorem smoothCechSectionsEquivCycles_apply (form : Analysis.DifferentialForms.Manifold.OpenD.SmoothOpenForm W p) : |
| 186 | (smoothCechSectionsEquivCycles U p W hsub hcover form).val = |
| 187 | smoothCechAugmentation U p W hsub form := rfl |
| 188 | |
| 189 | /-- Exactness at the first Čech term uses the proved, genuine smooth gluing theorem. -/ |
| 190 | theorem smoothCechAugmentation_range : |
| 191 | LinearMap.range (smoothCechAugmentation U p W hsub) = |
| 192 | LinearMap.ker (SmoothCech.smoothCechDelta U p 0) := by |
| 193 | apply le_antisymm |
| 194 | · rintro c ⟨form, rfl⟩ |
| 195 | exact smoothCechDelta_augmentation U p W hsub form |
| 196 | · intro c hc |
| 197 | obtain ⟨form, hform⟩ := smoothCechAugmentationToCycles_surjective |
| 198 | U p W hsub hcover ⟨c, hc⟩ |
| 199 | exact ⟨form, congrArg Subtype.val hform⟩ |
| 200 | |
| 201 | omit hcover in |
| 202 | /-- For a cover of the entire space, zero Čech cocycles are genuine global smooth forms. -/ |
| 203 | def smoothCechGlobalEquivCycles (hU : ∀ x : E, ∃ i, x ∈ U i) : |
| 204 | Analysis.DifferentialForms.Manifold.Basic.SmoothForm E p ≃ₗ[ℂ] LinearMap.ker (SmoothCech.smoothCechDelta U p 0) := |
| 205 | Analysis.DifferentialForms.Manifold.Basic.SmoothForm.onTopEquiv.trans |
| 206 | (smoothCechSectionsEquivCycles U p ⊤ (fun _ => le_top) (fun x _ => |
| 207 | Set.mem_iUnion.mpr (hU x))) |
| 208 | |
| 209 | omit hcover in |
| 210 | /-- The global equivalence is the ordinary restriction map on every cover member. -/ |
| 211 | theorem smoothCechGlobalEquivCycles_apply (hU : ∀ x : E, ∃ i, x ∈ U i) |
| 212 | (form : Analysis.DifferentialForms.Manifold.Basic.SmoothForm E p) (a : Fin 1 → ι) : |
| 213 | (smoothCechGlobalEquivCycles U p hU form).val a = |
| 214 | Analysis.DifferentialForms.Manifold.Basic.SmoothForm.onOpen (SmoothCech.cechIntersection U a) form := by |
| 215 | apply Analysis.DifferentialForms.Manifold.OpenD.SmoothOpenForm.ext |
| 216 | intro x |
| 217 | rfl |
| 218 | |
| 219 | end |
| 220 | |
| 221 | end OAI.AlgebraicTopology.DeRham.Comparison.SmoothCechAugmentation |