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.SmoothCechAugmentation |
| 2 | import Mathlib.Algebra.Homology.TotalComplex |
| 3 | |
| 4 | /-! # Smooth Cech Double Complex -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicTopology.DeRham.Comparison.SmoothCechDoubleComplex |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # The actual smooth Čech–de Rham bicomplex |
| 12 | |
| 13 | At horizontal degree n and vertical degree p the object consists of smooth |
| 14 | p-forms on all (n+1)-fold intersections. The horizontal differential is the |
| 15 | signed Čech restriction map and the vertical differential is the actual |
| 16 | exterior derivative. Their commutation follows from naturality of restriction. |
| 17 | -/ |
| 18 | |
| 19 | open _root_.CategoryTheory _root_.TopologicalSpace Opposite |
| 20 | open scoped Simplicial |
| 21 | |
| 22 | universe u |
| 23 | |
| 24 | section Coefficients |
| 25 | |
| 26 | variable {X ι : Type u} [TopologicalSpace X] (U : ι → Opens X) |
| 27 | variable {F G : (Opens X)ᵒᵖ ⥤ ModuleCat.{u} ℂ} (α : F ⟶ G) |
| 28 | |
| 29 | /-- A morphism of actual presheaves acts on each Čech section. -/ |
| 30 | def cechCoefficientMap (n : ℕ) : |
| 31 | SmoothCech.CechCochain F U n →ₗ[ℂ] SmoothCech.CechCochain G U n where |
| 32 | toFun c a := (α.app (op (SmoothCech.cechIntersection U a))).hom (c a) |
| 33 | map_add' c d := by |
| 34 | funext a |
| 35 | exact map_add _ _ _ |
| 36 | map_smul' z c := by |
| 37 | funext a |
| 38 | exact map_smul _ _ _ |
| 39 | |
| 40 | /-- Coefficient maps are natural for every Čech cosimplicial operator. -/ |
| 41 | def cechCoefficientNat : SmoothCech.cechCosimplicial F U ⟶ SmoothCech.cechCosimplicial G U where |
| 42 | app n := ModuleCat.ofHom (cechCoefficientMap U α n.len) |
| 43 | naturality n m f := by |
| 44 | apply ModuleCat.hom_ext |
| 45 | apply LinearMap.ext |
| 46 | intro c |
| 47 | funext a |
| 48 | change (α.app (op (SmoothCech.cechIntersection U a))).hom |
| 49 | ((F.map (homOfLE (SmoothCech.cechIntersection_le_precomp U a f.toOrderHom)).op).hom |
| 50 | (c (a ∘ f.toOrderHom))) = |
| 51 | (G.map (homOfLE (SmoothCech.cechIntersection_le_precomp U a f.toOrderHom)).op).hom |
| 52 | ((α.app (op (SmoothCech.cechIntersection U (a ∘ f.toOrderHom)))).hom |
| 53 | (c (a ∘ f.toOrderHom))) |
| 54 | exact congrArg (fun k => k.hom (c (a ∘ f.toOrderHom))) |
| 55 | (α.naturality (homOfLE (SmoothCech.cechIntersection_le_precomp U a f.toOrderHom)).op) |
| 56 | |
| 57 | /-- A presheaf morphism induces the ordinary coefficient map of Čech complexes. -/ |
| 58 | def cechCoefficientHom : SmoothCech.cechComplex F U ⟶ SmoothCech.cechComplex G U := |
| 59 | AlgebraicTopology.AlternatingCofaceMapComplex.map (cechCoefficientNat U α) |
| 60 | |
| 61 | @[simp] |
| 62 | theorem cechCoefficientHom_f (n : ℕ) : |
| 63 | (cechCoefficientHom U α).f n = ModuleCat.ofHom (cechCoefficientMap U α n) := rfl |
| 64 | |
| 65 | /-- Acting on coefficients commutes with the signed Čech differential. -/ |
| 66 | theorem cechCoefficientMap_delta (n : ℕ) (c : SmoothCech.CechCochain F U n) : |
| 67 | cechCoefficientMap U α (n + 1) (SmoothCech.cechDelta F U n c) = |
| 68 | SmoothCech.cechDelta G U n (cechCoefficientMap U α n c) := by |
| 69 | have h := (cechCoefficientHom U α).comm n (n + 1) |
| 70 | rw [SmoothCech.cechComplex_d, SmoothCech.cechComplex_d, cechCoefficientHom_f, cechCoefficientHom_f] at h |
| 71 | exact (congrArg (fun k => k.hom c) h).symm |
| 72 | |
| 73 | end Coefficients |
| 74 | |
| 75 | variable {E ι : Type u} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 76 | variable (U : ι → Opens E) |
| 77 | |
| 78 | /-- Exterior differentiation acts on each actual section of a Čech cochain. -/ |
| 79 | abbrev smoothCechExteriorD (p n : ℕ) : |
| 80 | SmoothCech.SmoothCechCochain U p n →ₗ[ℂ] SmoothCech.SmoothCechCochain U (p + 1) n := |
| 81 | cechCoefficientMap U (Analysis.DifferentialForms.Manifold.Presheaf.smoothFormPresheafD E p) n |
| 82 | |
| 83 | @[simp] |
| 84 | theorem smoothCechExteriorD_apply (p n : ℕ) (c : SmoothCech.SmoothCechCochain U p n) |
| 85 | (a : Fin (n + 1) → ι) : |
| 86 | smoothCechExteriorD U p n c a = Analysis.DifferentialForms.Manifold.OpenD.SmoothOpenForm.d (c a) := rfl |
| 87 | |
| 88 | /-- The vertical differential squares to zero on the genuine form sections. -/ |
| 89 | theorem smoothCechExteriorD_squared (p n : ℕ) (c : SmoothCech.SmoothCechCochain U p n) : |
| 90 | smoothCechExteriorD U (p + 1) n (smoothCechExteriorD U p n c) = 0 := by |
| 91 | funext a |
| 92 | exact Analysis.DifferentialForms.Manifold.OpenD.SmoothOpenForm.d_squared (c a) |
| 93 | |
| 94 | /-- Naturality of exterior differentiation proves commutation with the Čech differential. -/ |
| 95 | theorem smoothCechExteriorD_delta (p n : ℕ) (c : SmoothCech.SmoothCechCochain U p n) : |
| 96 | smoothCechExteriorD U p (n + 1) (SmoothCech.smoothCechDelta U p n c) = |
| 97 | SmoothCech.smoothCechDelta U (p + 1) n (smoothCechExteriorD U p n c) := |
| 98 | cechCoefficientMap_delta U (Analysis.DifferentialForms.Manifold.Presheaf.smoothFormPresheafD E p) n c |
| 99 | |
| 100 | /-- A column is the actual de Rham complex of forms on the indicated intersections. -/ |
| 101 | def smoothCechColumn (n : ℕ) : CochainComplex (ModuleCat.{u} ℂ) ℕ := |
| 102 | CochainComplex.of (fun p => ModuleCat.of ℂ (SmoothCech.SmoothCechCochain U p n)) |
| 103 | (fun p => ModuleCat.ofHom (smoothCechExteriorD U p n)) |
| 104 | (fun p => by |
| 105 | apply ModuleCat.hom_ext |
| 106 | apply LinearMap.ext |
| 107 | intro c |
| 108 | exact smoothCechExteriorD_squared U p n c) |
| 109 | |
| 110 | @[simp] |
| 111 | theorem smoothCechColumn_X (n p : ℕ) : |
| 112 | (smoothCechColumn U n).X p = ModuleCat.of ℂ (SmoothCech.SmoothCechCochain U p n) := rfl |
| 113 | |
| 114 | @[simp] |
| 115 | theorem smoothCechColumn_d (n p : ℕ) : |
| 116 | (smoothCechColumn U n).d p (p + 1) = ModuleCat.ofHom (smoothCechExteriorD U p n) := |
| 117 | CochainComplex.of_d (fun q => ModuleCat.of ℂ (SmoothCech.SmoothCechCochain U q n)) |
| 118 | (fun q => ModuleCat.ofHom (smoothCechExteriorD U q n)) p |
| 119 | |
| 120 | /-- The actual Čech differential is a cochain map between de Rham columns. -/ |
| 121 | def smoothCechHorizontal (n : ℕ) : smoothCechColumn U n ⟶ smoothCechColumn U (n + 1) := |
| 122 | CochainComplex.ofHom (fun p => ModuleCat.ofHom (SmoothCech.smoothCechDelta U p n)) |
| 123 | (fun p => by |
| 124 | rw [smoothCechColumn_d, smoothCechColumn_d] |
| 125 | apply ModuleCat.hom_ext |
| 126 | apply LinearMap.ext |
| 127 | intro c |
| 128 | exact smoothCechExteriorD_delta U p n c) |
| 129 | |
| 130 | @[simp] |
| 131 | theorem smoothCechHorizontal_f (n p : ℕ) : |
| 132 | (smoothCechHorizontal U n).f p = ModuleCat.ofHom (SmoothCech.smoothCechDelta U p n) := rfl |
| 133 | |
| 134 | theorem smoothCechHorizontal_squared (n : ℕ) : |
| 135 | smoothCechHorizontal U n ≫ smoothCechHorizontal U (n + 1) = 0 := by |
| 136 | apply HomologicalComplex.Hom.ext |
| 137 | funext p |
| 138 | apply ModuleCat.hom_ext |
| 139 | apply LinearMap.ext |
| 140 | intro c |
| 141 | exact SmoothCech.smoothCechDelta_squared U p n c |
| 142 | |
| 143 | /-- The genuine smooth Čech–de Rham bicomplex, with Čech degree first. -/ |
| 144 | def smoothCechDoubleComplex : |
| 145 | HomologicalComplex₂ (ModuleCat.{u} ℂ) (ComplexShape.up ℕ) (ComplexShape.up ℕ) := |
| 146 | CochainComplex.of (smoothCechColumn U) (smoothCechHorizontal U) |
| 147 | (smoothCechHorizontal_squared U) |
| 148 | |
| 149 | @[simp] |
| 150 | theorem smoothCechDoubleComplex_XX (n p : ℕ) : |
| 151 | ((smoothCechDoubleComplex U).X n).X p = |
| 152 | ModuleCat.of ℂ (SmoothCech.SmoothCechCochain U p n) := rfl |
| 153 | |
| 154 | @[simp] |
| 155 | theorem smoothCechDoubleComplex_d_f (n p : ℕ) : |
| 156 | ((smoothCechDoubleComplex U).d n (n + 1)).f p = |
| 157 | ModuleCat.ofHom (SmoothCech.smoothCechDelta U p n) := |
| 158 | congrArg (fun f => f.f p) |
| 159 | (CochainComplex.of_d (smoothCechColumn U) (smoothCechHorizontal U) n) |
| 160 | |
| 161 | @[simp] |
| 162 | theorem smoothCechDoubleComplex_X_d (n p : ℕ) : |
| 163 | ((smoothCechDoubleComplex U).X n).d p (p + 1) = |
| 164 | ModuleCat.ofHom (smoothCechExteriorD U p n) := smoothCechColumn_d U n p |
| 165 | |
| 166 | /-- The rows recover exactly the previously constructed signed Čech complexes. -/ |
| 167 | theorem smoothCechDoubleComplex_row (p : ℕ) : |
| 168 | (smoothCechDoubleComplex U).flip.X p = SmoothCech.smoothCechComplex U p := by |
| 169 | refine HomologicalComplex.ext rfl ?_ |
| 170 | intro i j hij |
| 171 | obtain rfl := (show i + 1 = j from hij) |
| 172 | change ((smoothCechDoubleComplex U).d i (i + 1)).f p = _ |
| 173 | rw [smoothCechDoubleComplex_d_f, SmoothCech.cechComplex_d] |
| 174 | rfl |
| 175 | |
| 176 | variable (W : Opens E) (hsub : ∀ i, U i ≤ W) |
| 177 | |
| 178 | /-- Restriction of open-domain forms gives the actual de Rham augmentation of column zero. -/ |
| 179 | def smoothCechColumnAugmentation : Analysis.DifferentialForms.Manifold.OpenDeRhamX.openDeRhamComplex W ⟶ smoothCechColumn U 0 := |
| 180 | CochainComplex.ofHom (fun p => ModuleCat.ofHom (SmoothCechAugmentation.smoothCechAugmentation U p W hsub)) |
| 181 | (fun p => by |
| 182 | rw [smoothCechColumn_d, Analysis.DifferentialForms.Manifold.OpenDeRhamX.openDeRhamComplex_d] |
| 183 | apply ModuleCat.hom_ext |
| 184 | apply LinearMap.ext |
| 185 | intro form |
| 186 | funext a |
| 187 | exact (Analysis.DifferentialForms.Manifold.OpenD.SmoothOpenForm.restrict_d |
| 188 | ((SmoothCech.cechIntersection_le U a 0).trans (hsub (a 0))) form).symm) |
| 189 | |
| 190 | @[simp] |
| 191 | theorem smoothCechColumnAugmentation_f (p : ℕ) : |
| 192 | (smoothCechColumnAugmentation U W hsub).f p = |
| 193 | ModuleCat.ofHom (SmoothCechAugmentation.smoothCechAugmentation U p W hsub) := rfl |
| 194 | |
| 195 | /-- The genuine augmentation is annihilated by the first horizontal differential. -/ |
| 196 | theorem smoothCechColumnAugmentation_horizontal : |
| 197 | smoothCechColumnAugmentation U W hsub ≫ smoothCechHorizontal U 0 = 0 := by |
| 198 | apply HomologicalComplex.Hom.ext |
| 199 | funext p |
| 200 | apply ModuleCat.hom_ext |
| 201 | apply LinearMap.ext |
| 202 | intro form |
| 203 | exact SmoothCechAugmentation.smoothCechDelta_augmentation U p W hsub form |
| 204 | |
| 205 | end |
| 206 | |
| 207 | end OAI.AlgebraicTopology.DeRham.Comparison.SmoothCechDoubleComplex |