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.CechTotalFunctor |
| 2 | import OAI.AlgebraicTopology.DeRham.Comparison.DoubleComplexAugmentation |
| 3 | import Mathlib.Algebra.Homology.QuasiIso |
| 4 | |
| 5 | /-! # Cech Complex Augmentation -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicTopology.DeRham.Comparison.CechComplexAugmentation |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | # The actual section augmentation and Čech descent square |
| 13 | |
| 14 | For a complex of module-valued presheaves, restrict actual sections on W to |
| 15 | an open family contained in W and include them in the zeroth Čech column. |
| 16 | The resulting total augmentation is natural in the given coefficient |
| 17 | cochain map. Its commuting square supplies a precise quasi-isomorphism |
| 18 | descent lemma, without postulating any geometric comparison property. |
| 19 | -/ |
| 20 | |
| 21 | open _root_.CategoryTheory _root_.TopologicalSpace Opposite |
| 22 | open scoped BigOperators |
| 23 | |
| 24 | universe u |
| 25 | |
| 26 | variable {X ι : Type u} [TopologicalSpace X] |
| 27 | variable (U : ι → Opens X) (W : Opens X) (hsub : ∀ i, U i ≤ W) |
| 28 | |
| 29 | include hsub in |
| 30 | /-- Every nonempty Čech intersection lies in the containing open domain. -/ |
| 31 | theorem cechIntersection_le_openDomain {n : ℕ} (a : Fin (n + 1) → ι) : |
| 32 | SmoothCech.cechIntersection U a ≤ W := (SmoothCech.cechIntersection_le U a 0).trans (hsub (a 0)) |
| 33 | |
| 34 | variable (F : (Opens X)ᵒᵖ ⥤ ModuleCat.{u} ℂ) |
| 35 | |
| 36 | /-- Restrict one actual section to all intersections of a fixed Čech degree. -/ |
| 37 | def cechSectionRestriction (n : ℕ) : F.obj (op W) →ₗ[ℂ] SmoothCech.CechCochain F U n where |
| 38 | toFun s a := (F.map (homOfLE (cechIntersection_le_openDomain U W hsub a)).op).hom s |
| 39 | map_add' s t := by |
| 40 | funext a |
| 41 | exact map_add _ _ _ |
| 42 | map_smul' z s := by |
| 43 | funext a |
| 44 | exact map_smul _ _ _ |
| 45 | |
| 46 | /-- Further restriction along a tuple map agrees with direct restriction from W. -/ |
| 47 | theorem cechSectionRestriction_precomp {n m : ℕ} (f : Fin (n + 1) → Fin (m + 1)) |
| 48 | (s : F.obj (op W)) : |
| 49 | SmoothCech.cechPrecomp F U f (cechSectionRestriction U W hsub F n s) = |
| 50 | cechSectionRestriction U W hsub F m s := by |
| 51 | funext a |
| 52 | change (F.map (homOfLE (SmoothCech.cechIntersection_le_precomp U a f)).op).hom |
| 53 | ((F.map (homOfLE (cechIntersection_le_openDomain U W hsub (a ∘ f))).op).hom s) = |
| 54 | (F.map (homOfLE (cechIntersection_le_openDomain U W hsub a)).op).hom s |
| 55 | exact SmoothCech.cechSection_restrict_trans F _ _ s |
| 56 | |
| 57 | /-- The degree-zero section augmentation is actual restriction to the open family. -/ |
| 58 | abbrev cechSectionAugmentation : F.obj (op W) →ₗ[ℂ] SmoothCech.CechCochain F U 0 := |
| 59 | cechSectionRestriction U W hsub F 0 |
| 60 | |
| 61 | /-- The actual degree-zero augmentation is killed by the Čech differential. -/ |
| 62 | theorem cechSectionAugmentation_delta (s : F.obj (op W)) : |
| 63 | SmoothCech.cechDelta F U 0 (cechSectionAugmentation U W hsub F s) = 0 := by |
| 64 | funext a |
| 65 | rw [SmoothCech.cechDelta_apply] |
| 66 | change (∑ j : Fin 2, (-1 : ℤ) ^ j.val • |
| 67 | (SmoothCech.cechPrecomp F U j.succAbove (cechSectionRestriction U W hsub F 0 s)) a) = 0 |
| 68 | simp only [cechSectionRestriction_precomp, Fin.sum_univ_two, Fin.val_zero, |
| 69 | pow_zero, Fin.val_one, pow_one] |
| 70 | let t := cechSectionRestriction U W hsub F 1 s a |
| 71 | change (1 : ℤ) • t + (-1 : ℤ) • t = 0 |
| 72 | exact (congrArg₂ (fun x y : F.obj (op (SmoothCech.cechIntersection U a)) => x + y) |
| 73 | (one_smul ℤ t) (neg_one_smul ℤ t)).trans (add_neg_cancel t) |
| 74 | |
| 75 | variable {F} |
| 76 | variable {G : (Opens X)ᵒᵖ ⥤ ModuleCat.{u} ℂ} |
| 77 | |
| 78 | /-- Restriction of actual sections is natural in a presheaf morphism. -/ |
| 79 | theorem cechSectionRestriction_naturality (α : F ⟶ G) (n : ℕ) (s : F.obj (op W)) : |
| 80 | SmoothCechDoubleComplex.cechCoefficientMap U α n (cechSectionRestriction U W hsub F n s) = |
| 81 | cechSectionRestriction U W hsub G n ((α.app (op W)).hom s) := by |
| 82 | funext a |
| 83 | exact congrArg (fun f => f.hom s) |
| 84 | (α.naturality (homOfLE (cechIntersection_le_openDomain U W hsub a)).op) |
| 85 | |
| 86 | /-- Evaluation on an actual open domain, as a functor on presheaf complexes. -/ |
| 87 | def presheafComplexSectionsFunctor : |
| 88 | CochainComplex ((Opens X)ᵒᵖ ⥤ ModuleCat.{u} ℂ) ℕ ⥤ |
| 89 | CochainComplex (ModuleCat.{u} ℂ) ℕ := |
| 90 | (((evaluation ((Opens X)ᵒᵖ) (ModuleCat.{u} ℂ)).obj (op W)).mapHomologicalComplex |
| 91 | (ComplexShape.up ℕ)) |
| 92 | |
| 93 | /-- The complex of actual sections on W. -/ |
| 94 | abbrev presheafComplexSections |
| 95 | (K : CochainComplex ((Opens X)ᵒᵖ ⥤ ModuleCat.{u} ℂ) ℕ) := |
| 96 | (presheafComplexSectionsFunctor W).obj K |
| 97 | |
| 98 | variable (K : CochainComplex ((Opens X)ᵒᵖ ⥤ ModuleCat.{u} ℂ) ℕ) |
| 99 | |
| 100 | @[simp] |
| 101 | theorem presheafComplexSections_X (q : ℕ) : |
| 102 | (presheafComplexSections W K).X q = (K.X q).obj (op W) := rfl |
| 103 | |
| 104 | @[simp] |
| 105 | theorem presheafComplexSections_d (q r : ℕ) : |
| 106 | (presheafComplexSections W K).d q r = (K.d q r).app (op W) := rfl |
| 107 | |
| 108 | /-- The actual section complex augments the zeroth Čech column. -/ |
| 109 | def cechColumnAugmentation : presheafComplexSections W K ⟶ (CechDoubleComplexFunctor.cechDoubleComplex U K).X 0 := |
| 110 | CochainComplex.ofHom |
| 111 | (fun q => ModuleCat.ofHom (cechSectionAugmentation U W hsub (K.X q))) |
| 112 | (fun q => by |
| 113 | apply ModuleCat.hom_ext |
| 114 | apply LinearMap.ext |
| 115 | intro s |
| 116 | exact cechSectionRestriction_naturality U W hsub (K.d q (q + 1)) 0 s) |
| 117 | |
| 118 | @[simp] |
| 119 | theorem cechColumnAugmentation_f (q : ℕ) : |
| 120 | (cechColumnAugmentation U W hsub K).f q = |
| 121 | ModuleCat.ofHom (cechSectionAugmentation U W hsub (K.X q)) := rfl |
| 122 | |
| 123 | /-- The actual section augmentation is annihilated by the first horizontal differential. -/ |
| 124 | theorem cechColumnAugmentation_horizontal : |
| 125 | cechColumnAugmentation U W hsub K ≫ (CechDoubleComplexFunctor.cechDoubleComplex U K).d 0 1 = 0 := by |
| 126 | apply HomologicalComplex.Hom.ext |
| 127 | funext q |
| 128 | change ModuleCat.ofHom (cechSectionAugmentation U W hsub (K.X q)) ≫ |
| 129 | ((CechDoubleComplexFunctor.cechDoubleComplex U K).d 0 1).f q = 0 |
| 130 | rw [CechDoubleComplexFunctor.cechDoubleComplex_d_f] |
| 131 | apply ModuleCat.hom_ext |
| 132 | apply LinearMap.ext |
| 133 | intro s |
| 134 | exact cechSectionAugmentation_delta U W hsub (K.X q) s |
| 135 | |
| 136 | /-- The generic total augmentation is the actual section restriction map. -/ |
| 137 | def cechTotalAugmentation : presheafComplexSections W K ⟶ CechTotalFunctor.cechTotalComplex U K := |
| 138 | DoubleComplexAugmentation.DoubleComplex.augmentationToTotal (CechDoubleComplexFunctor.cechDoubleComplex U K) |
| 139 | (cechColumnAugmentation U W hsub K) (cechColumnAugmentation_horizontal U W hsub K) |
| 140 | |
| 141 | @[simp] |
| 142 | theorem cechTotalAugmentation_f (q : ℕ) : |
| 143 | (cechTotalAugmentation U W hsub K).f q = |
| 144 | (cechColumnAugmentation U W hsub K).f q ≫ |
| 145 | CechTotalFunctor.cechTotalInclusion U K 0 q q (Nat.zero_add q) := rfl |
| 146 | |
| 147 | variable {K} |
| 148 | variable {L : CochainComplex ((Opens X)ᵒᵖ ⥤ ModuleCat.{u} ℂ) ℕ} |
| 149 | |
| 150 | /-- Evaluation of the given coefficient cochain map on the actual open domain. -/ |
| 151 | abbrev presheafComplexSectionsMap (φ : K ⟶ L) : |
| 152 | presheafComplexSections W K ⟶ presheafComplexSections W L := |
| 153 | (presheafComplexSectionsFunctor W).map φ |
| 154 | |
| 155 | @[simp] |
| 156 | theorem presheafComplexSectionsMap_f (φ : K ⟶ L) (q : ℕ) : |
| 157 | (presheafComplexSectionsMap W φ).f q = (φ.f q).app (op W) := rfl |
| 158 | |
| 159 | /-- Naturality of the actual column augmentation under coefficient cochain maps. -/ |
| 160 | theorem cechColumnAugmentation_naturality (φ : K ⟶ L) : |
| 161 | presheafComplexSectionsMap W φ ≫ cechColumnAugmentation U W hsub L = |
| 162 | cechColumnAugmentation U W hsub K ≫ (CechDoubleComplexFunctor.cechDoubleComplexMap U φ).f 0 := by |
| 163 | apply HomologicalComplex.Hom.ext |
| 164 | funext q |
| 165 | apply ModuleCat.hom_ext |
| 166 | apply LinearMap.ext |
| 167 | intro s |
| 168 | exact (cechSectionRestriction_naturality U W hsub (φ.f q) 0 s).symm |
| 169 | |
| 170 | /-- The Čech descent square commutes for the actual coefficient cochain map. -/ |
| 171 | theorem cechTotalAugmentation_naturality (φ : K ⟶ L) : |
| 172 | presheafComplexSectionsMap W φ ≫ cechTotalAugmentation U W hsub L = |
| 173 | cechTotalAugmentation U W hsub K ≫ CechTotalFunctor.cechTotalMap U φ := by |
| 174 | apply HomologicalComplex.Hom.ext |
| 175 | funext q |
| 176 | let f := (presheafComplexSectionsMap W φ).f q |
| 177 | let aK := (cechColumnAugmentation U W hsub K).f q |
| 178 | let aL := (cechColumnAugmentation U W hsub L).f q |
| 179 | let b := ((CechDoubleComplexFunctor.cechDoubleComplexMap U φ).f 0).f q |
| 180 | let iK := CechTotalFunctor.cechTotalInclusion U K 0 q q (Nat.zero_add q) |
| 181 | let iL := CechTotalFunctor.cechTotalInclusion U L 0 q q (Nat.zero_add q) |
| 182 | let t := (CechTotalFunctor.cechTotalMap U φ).f q |
| 183 | have hc : f ≫ aL = aK ≫ b := congrArg (fun a => a.f q) |
| 184 | (cechColumnAugmentation_naturality U W hsub φ) |
| 185 | have hi : iK ≫ t = b ≫ iL := |
| 186 | CechTotalFunctor.cechTotalInclusion_map U φ 0 q q (Nat.zero_add q) |
| 187 | change f ≫ (aL ≫ iL) = (aK ≫ iK) ≫ t |
| 188 | calc |
| 189 | f ≫ (aL ≫ iL) = (f ≫ aL) ≫ iL := (Category.assoc _ _ _).symm |
| 190 | _ = (aK ≫ b) ≫ iL := congrArg (fun a => a ≫ iL) hc |
| 191 | _ = aK ≫ (b ≫ iL) := Category.assoc _ _ _ |
| 192 | _ = aK ≫ (iK ≫ t) := congrArg (fun a => aK ≫ a) hi.symm |
| 193 | _ = (aK ≫ iK) ≫ t := (Category.assoc _ _ _).symm |
| 194 | |
| 195 | /-- If both actual augmentations and the actual total map are quasi-isomorphisms, |
| 196 | the given coefficient map evaluated on W is a quasi-isomorphism. -/ |
| 197 | theorem cechTotalAugmentation_quasiIso_descent (φ : K ⟶ L) |
| 198 | (hK : QuasiIso (cechTotalAugmentation U W hsub K)) |
| 199 | (hL : QuasiIso (cechTotalAugmentation U W hsub L)) |
| 200 | (hT : QuasiIso (CechTotalFunctor.cechTotalMap U φ)) : |
| 201 | QuasiIso (presheafComplexSectionsMap W φ) := by |
| 202 | let : QuasiIso (cechTotalAugmentation U W hsub K) := hK |
| 203 | let : QuasiIso (cechTotalAugmentation U W hsub L) := hL |
| 204 | let : QuasiIso (CechTotalFunctor.cechTotalMap U φ) := hT |
| 205 | let : QuasiIso (presheafComplexSectionsMap W φ ≫ cechTotalAugmentation U W hsub L) := by |
| 206 | rw [cechTotalAugmentation_naturality] |
| 207 | infer_instance |
| 208 | exact quasiIso_of_comp_right (presheafComplexSectionsMap W φ) |
| 209 | (cechTotalAugmentation U W hsub L) |
| 210 | |
| 211 | end |
| 212 | |
| 213 | end OAI.AlgebraicTopology.DeRham.Comparison.CechComplexAugmentation |