introvoyz045's picture
Migrated from GitHub
4a56cd6 verified
Raw History Blame Contribute Delete
4.98 kB
25
def fieldExternalFactorAllCechTensorIso (n : ℕ) :
    ((tensorRight ((Zariski.CohomologyFunctor.ZariskiCohomology.coefficientCohomologyFunctor f.appTop.hom n).obj L.sheaf) ⋙
      Module.ProductForget.moduleForget Γ(Spec (.of k), ⊤)).mapHomologicalComplex (.up ℕ)).obj
        (Intrinsic.CoefficientCechComplex.coefficientCechComplex g.appTop.hom N.sheaf U) ≅
    (cechComplexFunctor (fun i => b ⁻¹ᵁ U i)).obj
      (Cech.SheafTermCohomology.IntrinsicCech.cechFactorCohomologyPresheaf
        (UnderlyingAdditiveSheafExactness.ModuleSheaf.sheaf (((L.pullback a).tensor (N.pullback b)).sheaf)) n) := by
body · 34 lines
  let : Field Γ(Spec (.of k), ⊤) :=
    ((Scheme.ΓSpecIso (.of k)).commRingCatIsoToRingEquiv.toMulEquiv.isField
      (Field.toIsField k)).toField
  let W (p : ℕ) (i : Fin (p + 1) → κ) : Y.Opens := ∏ᶜ fun j => U (i j)
  have hW (p : ℕ) (i : Fin (p + 1) → κ) : IsAffineOpen (W p i) := Affine.CechIntersections.affine_cechIntersection U haU p i
  let eW (p : ℕ) (i : Fin (p + 1) → κ) :
      (Scheme.Modules.pullback (W p i).ι).obj N.sheaf ≅ Line.Bundles.structureModule (W p i).toScheme :=
    N.frameRestrict (leOfHom (Pi.π (fun j : Fin (p + 1) => U (i j)) 0)) (heU (i 0)).some
  let B := (Zariski.CohomologyFunctor.ZariskiCohomology.coefficientCohomologyFunctor f.appTop.hom n).obj L.sheaf
  let T := tensorRight B ⋙ Module.ProductForget.moduleForget Γ(Spec (.of k), ⊤)
  let F := Coefficient.ModulePresheaf.coefficientModulePresheaf g.appTop.hom N.sheaf ⋙ T
  let E := UnderlyingAdditiveSheafExactness.ModuleSheaf.sheaf (((L.pullback a).tensor (N.pullback b)).sheaf)
  let G := (Opens.map b.base).op ⋙ Cech.SheafTermCohomology.IntrinsicCech.cechFactorCohomologyPresheaf E n
  let e (p : ℕ) (i : Fin (p + 1) → κ) : F.obj (op (W p i)) ≅ G.obj (op (W p i)) :=
    Intrinsic.ExternalFactorAllCohomology.nativeExternalFactorAllCohomologyIso H L N (W p i) (hW p i) (eW p i) V hV haV heV n
  have he : ∀ (p : ℕ) (j : Fin (p + 2)) (i : Fin (p + 2) → κ),
      F.map (((FormalCoproduct.mk _ U).mapPower (SimplexCategory.δ j).toOrderHom.toFun).φ i).op ≫
          (e (p + 1) i).hom =
        (e p (i ∘ (SimplexCategory.δ j).toOrderHom.toFun)).hom ≫
          G.map (((FormalCoproduct.mk _ U).mapPower (SimplexCategory.δ j).toOrderHom.toFun).φ i).op := by
    intro p j i
    let i' := i ∘ (SimplexCategory.δ j).toOrderHom.toFun
    let hle : W (p + 1) i ≤ W p i' := Cech.SheafCofaces.IntrinsicCech.cechTupleLE U p j i
    have h := Intrinsic.ExternalAllCohomologyNaturality.nativeExternalFactorAllCohomologyIso_restrict H L N hle
      (hW p i') (hW (p + 1) i) (eW p i') (eW (p + 1) i) V hV haV heV n
    change (Module.ProductForget.moduleForget Γ(Spec (.of k), ⊤)).map
        ((tensorRight B).map ((Coefficient.ModulePresheaf.coefficientModulePresheaf g.appTop.hom N.sheaf).map
          (((FormalCoproduct.mk _ U).mapPower (SimplexCategory.δ j).toOrderHom.toFun).φ i).op)) ≫
      (e (p + 1) i).hom = _
    rw [ExternalFactorCechTensor.moduleTensorRight_map_eq_scalarMap]
    exact h
  exact HilbertConstruction.Finite.CechFunctorComparison.finiteCechFunctorIso T (Coefficient.ModulePresheaf.coefficientModulePresheaf g.appTop.hom N.sheaf) U ≪≫
    CechTuple.Isomorphism.cechComplexIsoOfTupleIsos U e he ≪≫
      (Additive.CechPushforward.additiveCechPushforwardComplexIso b (Cech.SheafTermCohomology.IntrinsicCech.cechFactorCohomologyPresheaf E n) U).symm