cfahlgren1/math / lean /OAI /AlgebraicGeometry /Picard /Homomorphisms /BilinearSheafification.lean
cfahlgren1's picture
download
raw
6.42 kB
19
def PresheafTensorHom.Construction.PresheafBilinearMap.precomp (b : PresheafTensorHom.Construction.PresheafBilinearMap M N P) (f : L ⟶ M) (g : K ⟶ N) :
    PresheafTensorHom.Construction.PresheafBilinearMap L K P where
body · 6 lines
  app U := (b.app U).compl₁₂ (f.app (.op U)).hom (g.app (.op U)).hom
  naturality {U V} h l k :=
    (b.naturality h (f.app (.op U) l) (g.app (.op U) k)).trans
      (congrArg₂ (fun (m : M.obj (.op V)) (n : N.obj (.op V)) => b.app V m n)
        (PresheafOfModules.naturality_apply f h.op l).symm
        (PresheafOfModules.naturality_apply g h.op k).symm)
28
def PresheafTensorHom.Construction.PresheafBilinearMap.flip (b : PresheafTensorHom.Construction.PresheafBilinearMap M N P) : PresheafTensorHom.Construction.PresheafBilinearMap N M P where
body · 2 lines
  app U := (b.app U).flip
  naturality f n m := b.naturality f m n
32
def PresheafTensorHom.Construction.PresheafBilinearMap.flipEquiv : PresheafTensorHom.Construction.PresheafBilinearMap M N P ≃ PresheafTensorHom.Construction.PresheafBilinearMap N M P where
body · 4 lines
  toFun := PresheafTensorHom.Construction.PresheafBilinearMap.flip
  invFun := PresheafTensorHom.Construction.PresheafBilinearMap.flip
  left_inv b := by ext U m n; rfl
  right_inv b := by ext U n m; rfl
38
theorem BilinearSheafification.Construction.presheafBilinearCurry_precomp_left (b : PresheafTensorHom.Construction.PresheafBilinearMap M N P) (f : L ⟶ M) :
    PresheafTensorHom.Construction.presheafBilinearCurry (b.precomp f (𝟙 N)) = f ≫ PresheafTensorHom.Construction.presheafBilinearCurry b := by
proof · 7 lines
  apply PresheafTensorHom.Construction.presheafBilinearCurryEquiv.symm.injective
  change PresheafTensorHom.Construction.presheafBilinearUncurry (PresheafTensorHom.Construction.presheafBilinearCurry _) = PresheafTensorHom.Construction.presheafBilinearUncurry _
  rw [PresheafTensorHom.Construction.presheafBilinearUncurry_curry]
  ext U l n
  change b.app U (f.app (.op U) l) n = b.app U (M.map (𝟙 U).op (f.app (.op U) l)) n
  rw [op_id, M.map_id]
  rfl
48
def BilinearSheafification.Construction.moduleSheafify (M : X.PresheafOfModules) : X.Modules :=
body · 1 line
  (PresheafOfModules.sheafification (𝟙 X.ringCatSheaf.obj)).obj M
51
def BilinearSheafification.Construction.moduleSheafifyUnit (M : X.PresheafOfModules) : M ⟶ (BilinearSheafification.Construction.moduleSheafify M).val :=
body · 1 line
  (PresheafOfModules.sheafificationAdjunction (𝟙 X.ringCatSheaf.obj)).unit.app M
54
def BilinearSheafification.Construction.bilinearSheafifyFirstEquiv (M N : X.PresheafOfModules) (P : X.Modules) :
    PresheafTensorHom.Construction.PresheafBilinearMap (BilinearSheafification.Construction.moduleSheafify M).val N P ≃ PresheafTensorHom.Construction.PresheafBilinearMap M N P :=
body · 5 lines
  PresheafTensorHom.Construction.presheafBilinearCurryEquiv.trans
    (((SheafOfModules.fullyFaithfulForget X.ringCatSheaf).homEquiv
      (X := BilinearSheafification.Construction.moduleSheafify M) (Y := PresheafHomSheaf.Construction.presheafInternalHom N P)).symm.trans
      (((PresheafOfModules.sheafificationAdjunction (𝟙 X.ringCatSheaf.obj)).homEquiv
        M (PresheafHomSheaf.Construction.presheafInternalHom N P)).trans PresheafTensorHom.Construction.presheafBilinearCurryEquiv.symm))
62
theorem BilinearSheafification.Construction.bilinearSheafifyFirstEquiv_apply (M N : X.PresheafOfModules) (P : X.Modules)
    (b : PresheafTensorHom.Construction.PresheafBilinearMap (BilinearSheafification.Construction.moduleSheafify M).val N P) :
    BilinearSheafification.Construction.bilinearSheafifyFirstEquiv M N P b = b.precomp (BilinearSheafification.Construction.moduleSheafifyUnit M) (𝟙 N) := by
proof · 8 lines
  apply PresheafTensorHom.Construction.presheafBilinearCurryEquiv.injective
  change PresheafTensorHom.Construction.presheafBilinearCurry (PresheafTensorHom.Construction.presheafBilinearUncurry
      ((PresheafOfModules.sheafificationAdjunction (𝟙 X.ringCatSheaf.obj)).homEquiv
        M (PresheafHomSheaf.Construction.presheafInternalHom N P) ⟨PresheafTensorHom.Construction.presheafBilinearCurry b⟩)) =
    PresheafTensorHom.Construction.presheafBilinearCurry (b.precomp (BilinearSheafification.Construction.moduleSheafifyUnit M) (𝟙 N))
  erw [PresheafTensorHom.Construction.presheafBilinearCurry_uncurry, BilinearSheafification.Construction.presheafBilinearCurry_precomp_left,
    Adjunction.homEquiv_unit]
  rfl
74
def BilinearSheafification.Construction.bilinearSheafifyEquiv (M N : X.PresheafOfModules) (P : X.Modules) :
    PresheafTensorHom.Construction.PresheafBilinearMap (BilinearSheafification.Construction.moduleSheafify M).val (BilinearSheafification.Construction.moduleSheafify N).val P ≃
      PresheafTensorHom.Construction.PresheafBilinearMap M N P :=
body · 3 lines
  (BilinearSheafification.Construction.bilinearSheafifyFirstEquiv M (BilinearSheafification.Construction.moduleSheafify N).val P).trans
    (PresheafTensorHom.Construction.PresheafBilinearMap.flipEquiv.trans
      ((BilinearSheafification.Construction.bilinearSheafifyFirstEquiv N M P).trans PresheafTensorHom.Construction.PresheafBilinearMap.flipEquiv))
81
theorem BilinearSheafification.Construction.bilinearSheafifyEquiv_apply (M N : X.PresheafOfModules) (P : X.Modules)
    (b : PresheafTensorHom.Construction.PresheafBilinearMap (BilinearSheafification.Construction.moduleSheafify M).val (BilinearSheafification.Construction.moduleSheafify N).val P) :
    BilinearSheafification.Construction.bilinearSheafifyEquiv M N P b = b.precomp (BilinearSheafification.Construction.moduleSheafifyUnit M) (BilinearSheafification.Construction.moduleSheafifyUnit N) := by
proof · 4 lines
  change (BilinearSheafification.Construction.bilinearSheafifyFirstEquiv N M P ((BilinearSheafification.Construction.bilinearSheafifyFirstEquiv M _ P b).flip)).flip = _
  rw [BilinearSheafification.Construction.bilinearSheafifyFirstEquiv_apply, BilinearSheafification.Construction.bilinearSheafifyFirstEquiv_apply]
  ext U m n
  rfl

Xet Storage Details

Size:
6.42 kB
·
Xet hash:
ba5ff03ddb14ebc028d5845936ddc57760f831064a0f5f33616a6d531cb39f7f

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.