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 | /- |
| 2 | Copyright (c) 2026 Chris Birkbeck. All rights reserved. |
| 3 | Released under Apache 2.0 license as described in the file LICENSE. |
| 4 | Authors: Chris Birkbeck |
| 5 | This file has been modified. |
| 6 | -/ |
| 7 | import OAI.AlgebraicGeometry.SheafCohomology.Projective.OrderedBaseCechComparison |
| 8 | |
| 9 | /-! # Ordered Base Cech Pushforward -/ |
| 10 | |
| 11 | namespace OAI.AlgebraicGeometry.SheafCohomology.Projective.OrderedBaseCechPushforward.Scheme.Modules |
| 12 | |
| 13 | open _root_.AlgebraicGeometry |
| 14 | open _root_.AlgebraicGeometry.Scheme |
| 15 | open _root_.AlgebraicGeometry.Scheme.Modules |
| 16 | |
| 17 | /-! |
| 18 | # Ordered Cech complexes and pushforward |
| 19 | |
| 20 | This file identifies the ordered base-linear Cech complex of a module on the inverse-image |
| 21 | cover with the ordered Cech complex of its pushforward. The comparison uses that inverse image |
| 22 | preserves the finite intersections occurring in each Cech factor. |
| 23 | -/ |
| 24 | |
| 25 | open _root_.CategoryTheory _root_.CategoryTheory.Limits Opposite _root_.TopologicalSpace |
| 26 | |
| 27 | universe u |
| 28 | |
| 29 | /-- Sections of a module and sections of its pushforward agree as modules over the base. -/ |
| 30 | noncomputable def baseModulePresheafPushforwardAppIso |
| 31 | {X Y S : Scheme.{u}} (f : X ⟶ Y) (π : Y ⟶ S) (M : X.Modules) |
| 32 | (V : Y.Opens) : |
| 33 | (Cech.SchemeModuleBaseBasic.Scheme.Modules.baseModulePresheaf (f ≫ π) M).obj (Opposite.op (f ⁻¹ᵁ V)) ≅ |
| 34 | (Cech.SchemeModuleBaseBasic.Scheme.Modules.baseModulePresheaf π ((pushforward f).obj M)).obj (Opposite.op V) := by |
| 35 | refine ModuleCat.isoMk (Iso.refl _) ?_ |
| 36 | intro r |
| 37 | ext x |
| 38 | let x' : Γ(M, f ⁻¹ᵁ V) := x |
| 39 | change |
| 40 | (f.app V).hom |
| 41 | ((π.appLE (⊤ : S.Opens) V le_top).hom r) • x' = |
| 42 | ((f ≫ π).appLE (⊤ : S.Opens) (f ⁻¹ᵁ V) le_top).hom r • x' |
| 43 | have h := Scheme.Hom.appLE_comp_appLE f π |
| 44 | (⊤ : S.Opens) V (f ⁻¹ᵁ V) le_top le_rfl |
| 45 | have hr := ConcreteCategory.congr_hom h r |
| 46 | have hr' : |
| 47 | (f.app V).hom ((π.appLE (⊤ : S.Opens) V le_top).hom r) = |
| 48 | ((f ≫ π).appLE (⊤ : S.Opens) (f ⁻¹ᵁ V) le_top).hom r := by |
| 49 | rw [f.app_eq_appLE] |
| 50 | simpa only [CommRingCat.comp_apply] using hr |
| 51 | exact congrArg (fun q => q • x') hr' |
| 52 | |
| 53 | /-- Each Cech factor on the inverse-image cover agrees with the corresponding factor of the |
| 54 | pushforward. -/ |
| 55 | noncomputable def baseCechFactorPushforwardIso |
| 56 | {X Y S : Scheme.{u}} (f : X ⟶ Y) (π : Y ⟶ S) (M : X.Modules) |
| 57 | {ι : Type u} (U : ι → Y.Opens) (n : ℕ) (i : Fin (n + 1) → ι) : |
| 58 | Cech.SchemeModuleBaseBasic.Scheme.Modules.baseCechFactor (f ≫ π) M (fun j ↦ f ⁻¹ᵁ U j) n i ≅ |
| 59 | Cech.SchemeModuleBaseBasic.Scheme.Modules.baseCechFactor π ((pushforward f).obj M) U n i := |
| 60 | (Cech.SchemeModuleBaseBasic.Scheme.Modules.baseModulePresheaf (f ≫ π) M).mapIso |
| 61 | (eqToIso ((Cech.SchemeModuleBaseBasic.Scheme.Hom.preimage_cechIntersection f) U n i)).op ≪≫ |
| 62 | baseModulePresheafPushforwardAppIso f π M |
| 63 | (∏ᶜ fun k : Fin (n + 1) => U (i k)) |
| 64 | |
| 65 | theorem baseCechFactorPushforwardIso_naturality |
| 66 | {X Y S : Scheme.{u}} (f : X ⟶ Y) (π : Y ⟶ S) (M : X.Modules) |
| 67 | {ι : Type u} (U : ι → Y.Opens) (n : ℕ) (k : Fin (n + 2)) |
| 68 | (i : Fin (n + 2) → ι) : |
| 69 | (Cech.SchemeModuleBaseBasic.Scheme.Modules.baseModulePresheaf (f ≫ π) M).map |
| 70 | (((FormalCoproduct.mk _ (fun j ↦ f ⁻¹ᵁ U j)).mapPower |
| 71 | (SimplexCategory.δ k).toOrderHom.toFun).φ i).op ≫ |
| 72 | (baseCechFactorPushforwardIso f π M U (n + 1) i).hom = |
| 73 | (baseCechFactorPushforwardIso f π M U n |
| 74 | (i ∘ (SimplexCategory.δ k).toOrderHom.toFun)).hom ≫ |
| 75 | (Cech.SchemeModuleBaseBasic.Scheme.Modules.baseModulePresheaf π ((pushforward f).obj M)).map |
| 76 | (((FormalCoproduct.mk _ U).mapPower |
| 77 | (SimplexCategory.δ k).toOrderHom.toFun).φ i).op := by |
| 78 | let δ := (SimplexCategory.δ k).toOrderHom.toFun |
| 79 | let j : Fin (n + 1) → ι := i ∘ δ |
| 80 | let sourceFace := |
| 81 | ((FormalCoproduct.mk _ (fun j ↦ f ⁻¹ᵁ U j)).mapPower δ).φ i |
| 82 | let targetFace := ((FormalCoproduct.mk _ U).mapPower δ).φ i |
| 83 | let sourceHigh : X.Opens := |
| 84 | ∏ᶜ fun a : Fin (n + 2) => f ⁻¹ᵁ U (i a) |
| 85 | let sourceLow : X.Opens := |
| 86 | ∏ᶜ fun a : Fin (n + 1) => f ⁻¹ᵁ U (j a) |
| 87 | let targetHigh : Y.Opens := ∏ᶜ fun a : Fin (n + 2) => U (i a) |
| 88 | let targetLow : Y.Opens := ∏ᶜ fun a : Fin (n + 1) => U (j a) |
| 89 | have hSource : sourceHigh ≤ sourceLow := leOfHom sourceFace |
| 90 | have hTarget : targetHigh ≤ targetLow := leOfHom targetFace |
| 91 | let sourceRestriction : Opposite.op sourceLow ⟶ Opposite.op sourceHigh := |
| 92 | (homOfLE hSource).op |
| 93 | let targetRestrictionAmbient : Opposite.op targetLow ⟶ Opposite.op targetHigh := |
| 94 | (homOfLE hTarget).op |
| 95 | have hSourceMap : |
| 96 | (Cech.SchemeModuleBaseBasic.Scheme.Modules.baseModulePresheaf (f ≫ π) M).map sourceFace.op = |
| 97 | (Cech.SchemeModuleBaseBasic.Scheme.Modules.baseModulePresheaf (f ≫ π) M).map sourceRestriction := |
| 98 | (Cech.SchemeModuleBaseBasic.Scheme.Modules.baseModulePresheaf (f ≫ π) M).congr_map (Subsingleton.elim _ _) |
| 99 | have hTargetMap : |
| 100 | (Cech.SchemeModuleBaseBasic.Scheme.Modules.baseModulePresheaf π ((pushforward f).obj M)).map |
| 101 | (((FormalCoproduct.mk _ U).mapPower |
| 102 | (SimplexCategory.δ k).toOrderHom.toFun).φ i).op = |
| 103 | (Cech.SchemeModuleBaseBasic.Scheme.Modules.baseModulePresheaf π ((pushforward f).obj M)).map |
| 104 | targetRestrictionAmbient := |
| 105 | (Cech.SchemeModuleBaseBasic.Scheme.Modules.baseModulePresheaf π ((pushforward f).obj M)).congr_map |
| 106 | (Subsingleton.elim _ _) |
| 107 | have hMiddle : |
| 108 | (Cech.SchemeModuleBaseBasic.Scheme.Modules.baseModulePresheaf (f ≫ π) M).map sourceRestriction ≫ |
| 109 | (baseCechFactorPushforwardIso f π M U (n + 1) i).hom = |
| 110 | (baseCechFactorPushforwardIso f π M U n |
| 111 | (i ∘ (SimplexCategory.δ k).toOrderHom.toFun)).hom ≫ |
| 112 | (Cech.SchemeModuleBaseBasic.Scheme.Modules.baseModulePresheaf π ((pushforward f).obj M)).map |
| 113 | targetRestrictionAmbient := by |
| 114 | apply ModuleCat.hom_ext |
| 115 | ext x |
| 116 | let highTransport := |
| 117 | (eqToHom ((Cech.SchemeModuleBaseBasic.Scheme.Hom.preimage_cechIntersection f) U (n + 1) i)).op |
| 118 | let lowTransport := |
| 119 | (eqToHom ((Cech.SchemeModuleBaseBasic.Scheme.Hom.preimage_cechIntersection f) U n j)).op |
| 120 | let targetRestriction := |
| 121 | (Opens.map f.base).op.map targetRestrictionAmbient |
| 122 | let x' : Γ(M, sourceLow) := x |
| 123 | change |
| 124 | (M.presheaf.map highTransport).hom |
| 125 | ((M.presheaf.map sourceRestriction).hom x') = |
| 126 | (M.presheaf.map targetRestriction).hom |
| 127 | ((M.presheaf.map lowTransport).hom x') |
| 128 | have hComposite : |
| 129 | M.presheaf.map sourceRestriction ≫ M.presheaf.map highTransport = |
| 130 | M.presheaf.map lowTransport ≫ M.presheaf.map targetRestriction := by |
| 131 | rw [← M.presheaf.map_comp, ← M.presheaf.map_comp] |
| 132 | exact M.presheaf.congr_map (Subsingleton.elim _ _) |
| 133 | simpa only [ConcreteCategory.comp_apply] using |
| 134 | ConcreteCategory.congr_hom hComposite x' |
| 135 | calc |
| 136 | _ = (Cech.SchemeModuleBaseBasic.Scheme.Modules.baseModulePresheaf (f ≫ π) M).map sourceRestriction ≫ |
| 137 | (baseCechFactorPushforwardIso f π M U (n + 1) i).hom := |
| 138 | congrArg |
| 139 | (fun q => q ≫ (baseCechFactorPushforwardIso f π M U (n + 1) i).hom) |
| 140 | hSourceMap |
| 141 | _ = _ := hMiddle |
| 142 | _ = _ := congrArg |
| 143 | (fun q => (baseCechFactorPushforwardIso f π M U n |
| 144 | (i ∘ (SimplexCategory.δ k).toOrderHom.toFun)).hom ≫ q) |
| 145 | hTargetMap.symm |
| 146 | |
| 147 | /-- The ordered Cech object of an inverse-image cover agrees with the ordered Cech object of |
| 148 | the pushforward. -/ |
| 149 | noncomputable def orderedBaseCechObjectPushforwardIso |
| 150 | {X Y S : Scheme.{u}} (f : X ⟶ Y) (π : Y ⟶ S) (M : X.Modules) |
| 151 | {ι : Type u} [LinearOrder ι] (U : ι → Y.Opens) (n : ℕ) : |
| 152 | OrderedBaseCech.Scheme.Modules.orderedBaseCechObject (f ≫ π) M (fun j ↦ f ⁻¹ᵁ U j) n ≅ |
| 153 | OrderedBaseCech.Scheme.Modules.orderedBaseCechObject π ((pushforward f).obj M) U n := |
| 154 | OrderedBaseCech.Scheme.Modules.orderedBaseCechObjectIsoPi (f ≫ π) M (fun j ↦ f ⁻¹ᵁ U j) n ≪≫ |
| 155 | LinearEquiv.toModuleIso |
| 156 | (LinearEquiv.piCongrRight fun i : OrderedBaseCech.Scheme.Modules.OrderedCechIndex ι n => |
| 157 | (baseCechFactorPushforwardIso f π M U n i.1).toLinearEquiv) ≪≫ |
| 158 | (OrderedBaseCech.Scheme.Modules.orderedBaseCechObjectIsoPi π ((pushforward f).obj M) U n).symm |
| 159 | |
| 160 | @[reassoc] |
| 161 | theorem orderedBaseCechObjectPushforwardIso_hom_π |
| 162 | {X Y S : Scheme.{u}} (f : X ⟶ Y) (π : Y ⟶ S) (M : X.Modules) |
| 163 | {ι : Type u} [LinearOrder ι] (U : ι → Y.Opens) (n : ℕ) |
| 164 | (i : OrderedBaseCech.Scheme.Modules.OrderedCechIndex ι n) : |
| 165 | (orderedBaseCechObjectPushforwardIso f π M U n).hom ≫ |
| 166 | Pi.π (fun j : OrderedBaseCech.Scheme.Modules.OrderedCechIndex ι n => |
| 167 | Cech.SchemeModuleBaseBasic.Scheme.Modules.baseCechFactor π ((pushforward f).obj M) U n j.1) i = |
| 168 | Pi.π (fun j : OrderedBaseCech.Scheme.Modules.OrderedCechIndex ι n => |
| 169 | Cech.SchemeModuleBaseBasic.Scheme.Modules.baseCechFactor (f ≫ π) M (fun a ↦ f ⁻¹ᵁ U a) n j.1) i ≫ |
| 170 | (baseCechFactorPushforwardIso f π M U n i.1).hom := by |
| 171 | let A : OrderedBaseCech.Scheme.Modules.OrderedCechIndex ι n → ModuleCat Γ(S, (⊤ : S.Opens)) := |
| 172 | fun j => Cech.SchemeModuleBaseBasic.Scheme.Modules.baseCechFactor (f ≫ π) M (fun a ↦ f ⁻¹ᵁ U a) n j.1 |
| 173 | let B : OrderedBaseCech.Scheme.Modules.OrderedCechIndex ι n → ModuleCat Γ(S, (⊤ : S.Opens)) := |
| 174 | fun j => Cech.SchemeModuleBaseBasic.Scheme.Modules.baseCechFactor π ((pushforward f).obj M) U n j.1 |
| 175 | let ePi : ModuleCat.of Γ(S, (⊤ : S.Opens)) (∀ j, A j) ≅ |
| 176 | ModuleCat.of Γ(S, (⊤ : S.Opens)) (∀ j, B j) := |
| 177 | LinearEquiv.toModuleIso |
| 178 | (LinearEquiv.piCongrRight fun j : OrderedBaseCech.Scheme.Modules.OrderedCechIndex ι n => |
| 179 | (baseCechFactorPushforwardIso f π M U n j.1).toLinearEquiv) |
| 180 | change ((ModuleCat.piIsoPi A ≪≫ ePi ≪≫ |
| 181 | (ModuleCat.piIsoPi B).symm).hom ≫ Pi.π B i) = |
| 182 | Pi.π A i ≫ (baseCechFactorPushforwardIso f π M U n i.1).hom |
| 183 | have hPi : ePi.hom ≫ |
| 184 | ModuleCat.ofHom (LinearMap.proj i : (∀ j, B j) →ₗ[Γ(S, ⊤)] B i) = |
| 185 | ModuleCat.ofHom (LinearMap.proj i : (∀ j, A j) →ₗ[Γ(S, ⊤)] A i) ≫ |
| 186 | (baseCechFactorPushforwardIso f π M U n i.1).hom := by |
| 187 | apply ModuleCat.hom_ext |
| 188 | ext x |
| 189 | rfl |
| 190 | calc |
| 191 | _ = (ModuleCat.piIsoPi A).hom ≫ ePi.hom ≫ |
| 192 | (ModuleCat.piIsoPi B).inv ≫ Pi.π B i := by |
| 193 | simp only [Iso.trans_hom, Iso.symm_hom, Category.assoc] |
| 194 | rfl |
| 195 | _ = (ModuleCat.piIsoPi A).hom ≫ ePi.hom ≫ |
| 196 | ModuleCat.ofHom (LinearMap.proj i : (∀ j, B j) →ₗ[Γ(S, ⊤)] B i) := by |
| 197 | rw [ModuleCat.piIsoPi_inv_kernel_ι] |
| 198 | _ = (ModuleCat.piIsoPi A).hom ≫ |
| 199 | (ModuleCat.ofHom (LinearMap.proj i : (∀ j, A j) →ₗ[Γ(S, ⊤)] A i) ≫ |
| 200 | (baseCechFactorPushforwardIso f π M U n i.1).hom) := by |
| 201 | rw [hPi] |
| 202 | _ = ((ModuleCat.piIsoPi A).hom ≫ |
| 203 | ModuleCat.ofHom (LinearMap.proj i : (∀ j, A j) →ₗ[Γ(S, ⊤)] A i)) ≫ |
| 204 | (baseCechFactorPushforwardIso f π M U n i.1).hom := by |
| 205 | rw [Category.assoc] |
| 206 | _ = _ := by rw [ModuleCat.piIsoPi_hom_ker_subtype] |
| 207 | |
| 208 | private theorem orderedBaseCechObjectPushforwardIso_naturality |
| 209 | {X Y S : Scheme.{u}} (f : X ⟶ Y) (π : Y ⟶ S) (M : X.Modules) |
| 210 | {ι : Type u} [LinearOrder ι] (U : ι → Y.Opens) (n : ℕ) |
| 211 | (k : Fin (n + 2)) : |
| 212 | (orderedBaseCechObjectPushforwardIso f π M U n).hom ≫ |
| 213 | OrderedBaseCech.Scheme.Modules.orderedBaseCechCoface π ((pushforward f).obj M) U n k = |
| 214 | OrderedBaseCech.Scheme.Modules.orderedBaseCechCoface (f ≫ π) M (fun j ↦ f ⁻¹ᵁ U j) n k ≫ |
| 215 | (orderedBaseCechObjectPushforwardIso f π M U (n + 1)).hom := by |
| 216 | let sourceLow := OrderedBaseCech.Scheme.Modules.orderedBaseCechObject (f ≫ π) M |
| 217 | (fun j ↦ f ⁻¹ᵁ U j) n |
| 218 | let sourceHigh := OrderedBaseCech.Scheme.Modules.orderedBaseCechObject (f ≫ π) M |
| 219 | (fun j ↦ f ⁻¹ᵁ U j) (n + 1) |
| 220 | let targetLow := OrderedBaseCech.Scheme.Modules.orderedBaseCechObject π ((pushforward f).obj M) U n |
| 221 | let targetHigh := OrderedBaseCech.Scheme.Modules.orderedBaseCechObject π ((pushforward f).obj M) U (n + 1) |
| 222 | let eLow : sourceLow ≅ targetLow := |
| 223 | orderedBaseCechObjectPushforwardIso f π M U n |
| 224 | let eHigh : sourceHigh ≅ targetHigh := |
| 225 | orderedBaseCechObjectPushforwardIso f π M U (n + 1) |
| 226 | let sourceCoface : sourceLow ⟶ sourceHigh := |
| 227 | OrderedBaseCech.Scheme.Modules.orderedBaseCechCoface (f ≫ π) M (fun j ↦ f ⁻¹ᵁ U j) n k |
| 228 | let targetCoface : targetLow ⟶ targetHigh := |
| 229 | OrderedBaseCech.Scheme.Modules.orderedBaseCechCoface π ((pushforward f).obj M) U n k |
| 230 | let targetPi := OrderedBaseCech.Scheme.Modules.orderedBaseCechObjectIsoPi π ((pushforward f).obj M) U (n + 1) |
| 231 | change eLow.hom ≫ targetCoface = sourceCoface ≫ eHigh.hom |
| 232 | apply (cancel_mono targetPi.hom).1 |
| 233 | apply ModuleCat.hom_ext |
| 234 | apply LinearMap.ext |
| 235 | intro x |
| 236 | funext a |
| 237 | let sourceLowProj : sourceLow ⟶ |
| 238 | Cech.SchemeModuleBaseBasic.Scheme.Modules.baseCechFactor (f ≫ π) M (fun j ↦ f ⁻¹ᵁ U j) n (a.delete k).1 := |
| 239 | Pi.π (fun b : OrderedBaseCech.Scheme.Modules.OrderedCechIndex ι n => |
| 240 | Cech.SchemeModuleBaseBasic.Scheme.Modules.baseCechFactor (f ≫ π) M (fun j ↦ f ⁻¹ᵁ U j) n b.1) (a.delete k) |
| 241 | let sourceHighProj : sourceHigh ⟶ |
| 242 | Cech.SchemeModuleBaseBasic.Scheme.Modules.baseCechFactor (f ≫ π) M (fun j ↦ f ⁻¹ᵁ U j) (n + 1) a.1 := |
| 243 | Pi.π (fun b : OrderedBaseCech.Scheme.Modules.OrderedCechIndex ι (n + 1) => |
| 244 | Cech.SchemeModuleBaseBasic.Scheme.Modules.baseCechFactor (f ≫ π) M (fun j ↦ f ⁻¹ᵁ U j) (n + 1) b.1) a |
| 245 | let targetLowProj : targetLow ⟶ |
| 246 | Cech.SchemeModuleBaseBasic.Scheme.Modules.baseCechFactor π ((pushforward f).obj M) U n (a.delete k).1 := |
| 247 | Pi.π (fun b : OrderedBaseCech.Scheme.Modules.OrderedCechIndex ι n => |
| 248 | Cech.SchemeModuleBaseBasic.Scheme.Modules.baseCechFactor π ((pushforward f).obj M) U n b.1) (a.delete k) |
| 249 | let targetHighProj : targetHigh ⟶ |
| 250 | Cech.SchemeModuleBaseBasic.Scheme.Modules.baseCechFactor π ((pushforward f).obj M) U (n + 1) a.1 := |
| 251 | Pi.π (fun b : OrderedBaseCech.Scheme.Modules.OrderedCechIndex ι (n + 1) => |
| 252 | Cech.SchemeModuleBaseBasic.Scheme.Modules.baseCechFactor π ((pushforward f).obj M) U (n + 1) b.1) a |
| 253 | let sourceMap : |
| 254 | Cech.SchemeModuleBaseBasic.Scheme.Modules.baseCechFactor (f ≫ π) M (fun j ↦ f ⁻¹ᵁ U j) n (a.delete k).1 ⟶ |
| 255 | Cech.SchemeModuleBaseBasic.Scheme.Modules.baseCechFactor (f ≫ π) M (fun j ↦ f ⁻¹ᵁ U j) (n + 1) a.1 := |
| 256 | (Cech.SchemeModuleBaseBasic.Scheme.Modules.baseModulePresheaf (f ≫ π) M).map |
| 257 | (((FormalCoproduct.mk _ (fun j ↦ f ⁻¹ᵁ U j)).mapPower |
| 258 | (SimplexCategory.δ k).toOrderHom.toFun).φ a.1).op |
| 259 | let targetMap : |
| 260 | Cech.SchemeModuleBaseBasic.Scheme.Modules.baseCechFactor π ((pushforward f).obj M) U n (a.delete k).1 ⟶ |
| 261 | Cech.SchemeModuleBaseBasic.Scheme.Modules.baseCechFactor π ((pushforward f).obj M) U (n + 1) a.1 := |
| 262 | (Cech.SchemeModuleBaseBasic.Scheme.Modules.baseModulePresheaf π ((pushforward f).obj M)).map |
| 263 | (((FormalCoproduct.mk _ U).mapPower |
| 264 | (SimplexCategory.δ k).toOrderHom.toFun).φ a.1).op |
| 265 | let factorLow : |
| 266 | Cech.SchemeModuleBaseBasic.Scheme.Modules.baseCechFactor (f ≫ π) M (fun j ↦ f ⁻¹ᵁ U j) n (a.delete k).1 ⟶ |
| 267 | Cech.SchemeModuleBaseBasic.Scheme.Modules.baseCechFactor π ((pushforward f).obj M) U n (a.delete k).1 := |
| 268 | (baseCechFactorPushforwardIso f π M U n (a.delete k).1).hom |
| 269 | let factorHigh : |
| 270 | Cech.SchemeModuleBaseBasic.Scheme.Modules.baseCechFactor (f ≫ π) M (fun j ↦ f ⁻¹ᵁ U j) (n + 1) a.1 ⟶ |
| 271 | Cech.SchemeModuleBaseBasic.Scheme.Modules.baseCechFactor π ((pushforward f).obj M) U (n + 1) a.1 := |
| 272 | (baseCechFactorPushforwardIso f π M U (n + 1) a.1).hom |
| 273 | have hTargetCoface : |
| 274 | targetCoface ≫ targetHighProj = targetLowProj ≫ targetMap := by |
| 275 | exact OrderedBaseCech.Scheme.Modules.orderedBaseCechCoface_comp_π π ((pushforward f).obj M) U n k a |
| 276 | have hSourceCoface : |
| 277 | sourceCoface ≫ sourceHighProj = sourceLowProj ≫ sourceMap := by |
| 278 | exact OrderedBaseCech.Scheme.Modules.orderedBaseCechCoface_comp_π |
| 279 | (f ≫ π) M (fun j ↦ f ⁻¹ᵁ U j) n k a |
| 280 | have hLowIso : |
| 281 | eLow.hom ≫ targetLowProj = sourceLowProj ≫ factorLow := by |
| 282 | exact orderedBaseCechObjectPushforwardIso_hom_π |
| 283 | f π M U n (a.delete k) |
| 284 | have hHighIso : |
| 285 | eHigh.hom ≫ targetHighProj = sourceHighProj ≫ factorHigh := by |
| 286 | exact orderedBaseCechObjectPushforwardIso_hom_π f π M U (n + 1) a |
| 287 | have hFactor : |
| 288 | sourceMap ≫ factorHigh = factorLow ≫ targetMap := by |
| 289 | exact baseCechFactorPushforwardIso_naturality f π M U n k a.1 |
| 290 | have hTargetPath : |
| 291 | (eLow.hom ≫ targetCoface) ≫ targetHighProj = |
| 292 | sourceLowProj ≫ (factorLow ≫ targetMap) := by |
| 293 | rw [Category.assoc, hTargetCoface, ← Category.assoc, hLowIso, |
| 294 | Category.assoc] |
| 295 | have hSourcePath : |
| 296 | (sourceCoface ≫ eHigh.hom) ≫ targetHighProj = |
| 297 | sourceLowProj ≫ (sourceMap ≫ factorHigh) := by |
| 298 | rw [Category.assoc, hHighIso, ← Category.assoc, hSourceCoface, |
| 299 | Category.assoc] |
| 300 | have hProjected : |
| 301 | (eLow.hom ≫ targetCoface) ≫ targetHighProj = |
| 302 | (sourceCoface ≫ eHigh.hom) ≫ targetHighProj := by |
| 303 | rw [hTargetPath, hSourcePath, hFactor] |
| 304 | have hConcrete : |
| 305 | ((eLow.hom ≫ targetCoface) ≫ targetPi.hom) ≫ |
| 306 | ModuleCat.ofHom (LinearMap.proj a) = |
| 307 | ((sourceCoface ≫ eHigh.hom) ≫ targetPi.hom) ≫ |
| 308 | ModuleCat.ofHom (LinearMap.proj a) := by |
| 309 | simp only [Category.assoc] |
| 310 | rw [OrderedBaseCechComparison.Scheme.Modules.orderedBaseCechObjectIsoPi_hom_comp_proj] |
| 311 | exact hProjected |
| 312 | change |
| 313 | (ModuleCat.ofHom (LinearMap.proj a)).hom |
| 314 | (targetPi.hom.hom (targetCoface.hom (eLow.hom.hom x))) = |
| 315 | (ModuleCat.ofHom (LinearMap.proj a)).hom |
| 316 | (targetPi.hom.hom (eHigh.hom.hom (sourceCoface.hom x))) |
| 317 | exact ConcreteCategory.congr_hom hConcrete x |
| 318 | |
| 319 | private theorem orderedBaseCechObjectPushforwardIso_differential_naturality |
| 320 | {X Y S : Scheme.{u}} (f : X ⟶ Y) (π : Y ⟶ S) (M : X.Modules) |
| 321 | {ι : Type u} [LinearOrder ι] (U : ι → Y.Opens) (n : ℕ) : |
| 322 | (orderedBaseCechObjectPushforwardIso f π M U n).hom ≫ |
| 323 | OrderedBaseCech.Scheme.Modules.orderedBaseCechDifferential π ((pushforward f).obj M) U n = |
| 324 | OrderedBaseCech.Scheme.Modules.orderedBaseCechDifferential (f ≫ π) M (fun j ↦ f ⁻¹ᵁ U j) n ≫ |
| 325 | (orderedBaseCechObjectPushforwardIso f π M U (n + 1)).hom := by |
| 326 | simp only [OrderedBaseCech.Scheme.Modules.orderedBaseCechDifferential, Preadditive.comp_sum, |
| 327 | Preadditive.sum_comp, Preadditive.comp_zsmul, |
| 328 | Preadditive.zsmul_comp] |
| 329 | apply Finset.sum_congr rfl |
| 330 | intro k _ |
| 331 | exact congrArg ((-1 : ℤ) ^ (k : ℕ) • ·) |
| 332 | (orderedBaseCechObjectPushforwardIso_naturality f π M U n k) |
| 333 | |
| 334 | /-- Pushforward identifies the ordered base-linear Cech complex on a cover with the complex on |
| 335 | its inverse-image cover. -/ |
| 336 | noncomputable def orderedBaseCechComplexPushforwardIso |
| 337 | {X Y S : Scheme.{u}} (f : X ⟶ Y) (π : Y ⟶ S) (M : X.Modules) |
| 338 | {ι : Type u} [LinearOrder ι] (U : ι → Y.Opens) : |
| 339 | OrderedBaseCech.Scheme.Modules.orderedBaseCechComplex (f ≫ π) M (fun j ↦ f ⁻¹ᵁ U j) ≅ |
| 340 | OrderedBaseCech.Scheme.Modules.orderedBaseCechComplex π ((pushforward f).obj M) U := |
| 341 | HomologicalComplex.Hom.isoOfComponents |
| 342 | (fun n ↦ orderedBaseCechObjectPushforwardIso f π M U n) (by |
| 343 | intro i j hij |
| 344 | simp only [ComplexShape.up_Rel] at hij |
| 345 | subst j |
| 346 | rw [OrderedBaseCech.Scheme.Modules.orderedBaseCechComplex_d, OrderedBaseCech.Scheme.Modules.orderedBaseCechComplex_d] |
| 347 | exact orderedBaseCechObjectPushforwardIso_differential_naturality |
| 348 | f π M U i) |
| 349 | |
| 350 | @[simp] |
| 351 | theorem orderedBaseCechComplexPushforwardIso_hom_f |
| 352 | {X Y S : Scheme.{u}} (f : X ⟶ Y) (π : Y ⟶ S) (M : X.Modules) |
| 353 | {ι : Type u} [LinearOrder ι] (U : ι → Y.Opens) (n : ℕ) : |
| 354 | (orderedBaseCechComplexPushforwardIso f π M U).hom.f n = |
| 355 | (orderedBaseCechObjectPushforwardIso f π M U n).hom := |
| 356 | rfl |
| 357 | |
| 358 | end OAI.AlgebraicGeometry.SheafCohomology.Projective.OrderedBaseCechPushforward.Scheme.Modules |