import OAI.AlgebraicGeometry.SheafCohomology.Projective.TensorFrameSections /-! # Sheafification Tensor Associator -/ namespace OAI.AlgebraicGeometry.SheafCohomology.Projective.SheafificationTensorAssociator noncomputable section /-! Associativity of pure sections in the sheafified tensor product over any open. -/ set_option backward.isDefEq.respectTransparency false open _root_.CategoryTheory _root_.AlgebraicGeometry MonoidalCategory Opposite universe u local instance associatorSectionsMonoidal (X : Scheme.{u}) : MonoidalCategory X.Modules := Projective.Monoidal.Scheme.Modules.monoidalCategory X local instance associatorSectionsSheafMonoidal (X : Scheme.{u}) : MonoidalCategory (SheafOfModules X.ringCatSheaf) := Projective.Monoidal.Scheme.Modules.monoidalCategory X local instance associatorSectionsLocalization (X : Scheme.{u}) : (PresheafOfModules.sheafification (πŸ™ X.ringCatSheaf.obj)).IsLocalization (OfModulesMonoidal.PresheafOfModules.sheafificationW (πŸ™ X.ringCatSheaf.obj)) := by change (PresheafOfModules.sheafification (πŸ™ (⟨X.sheaf.obj β‹™ forgetβ‚‚ CommRingCat RingCat, X.ringCatSheaf.property⟩ : TopCat.Sheaf RingCat X).obj)).IsLocalization (OfModulesMonoidal.PresheafOfModules.sheafificationW (πŸ™ (⟨X.sheaf.obj β‹™ forgetβ‚‚ CommRingCat RingCat, X.ringCatSheaf.property⟩ : TopCat.Sheaf RingCat X).obj)) infer_instance local instance associatorSectionsWMonoidal (X : Scheme.{u}) : (OfModulesMonoidal.PresheafOfModules.sheafificationW (πŸ™ X.ringCatSheaf.obj)).IsMonoidal := by change (OfModulesMonoidal.PresheafOfModules.sheafificationW (πŸ™ (⟨X.sheaf.obj β‹™ forgetβ‚‚ CommRingCat RingCat, X.ringCatSheaf.property⟩ : TopCat.Sheaf RingCat X).obj)).IsMonoidal infer_instance local instance associatorSectionsSheafificationMonoidal (X : Scheme.{u}) : (PresheafOfModules.sheafification (πŸ™ X.ringCatSheaf.obj)).Monoidal := inferInstanceAs ((Localization.Monoidal.toMonoidalCategory (L := PresheafOfModules.sheafification (πŸ™ X.ringCatSheaf.obj)) (W := OfModulesMonoidal.PresheafOfModules.sheafificationW (πŸ™ X.ringCatSheaf.obj)) (Iso.refl _)).Monoidal) theorem sheafification_map_associator_unit {X : Scheme.{u}} (A B C : X.PresheafOfModules) (U : X.Opens) (x : A.obj (op U)) (y : B.obj (op U)) (z : C.obj (op U)) : let L := PresheafOfModules.sheafification (πŸ™ X.ringCatSheaf.obj) let adj := PresheafOfModules.sheafificationAdjunction (πŸ™ X.ringCatSheaf.obj) (L.map (Ξ±_ A B C).hom).val.app (op U) ((adj.unit.app ((A βŠ— B) βŠ— C)).app (op U) ((show (A βŠ— B).obj (op U) from x βŠ—β‚œ y) βŠ—β‚œ z)) = (adj.unit.app (A βŠ— (B βŠ— C))).app (op U) (x βŠ—β‚œ (show (B βŠ— C).obj (op U) from y βŠ—β‚œ z)) := by dsimp only let adj := PresheafOfModules.sheafificationAdjunction (πŸ™ X.ringCatSheaf.obj) have h := adj.unit.naturality (Ξ±_ A B C).hom have hu := congrArg (fun f => f.app (op U) ((show (A βŠ— B).obj (op U) from x βŠ—β‚œ y) βŠ—β‚œ z)) h exact hu.symm theorem sheafification_delta_left_tmul {X : Scheme.{u}} (A B C : X.PresheafOfModules) (U : X.Opens) (x : A.obj (op U)) (y : B.obj (op U)) (z : C.obj (op U)) : let L := PresheafOfModules.sheafification (πŸ™ X.ringCatSheaf.obj) let adj := PresheafOfModules.sheafificationAdjunction (πŸ™ X.ringCatSheaf.obj) ((Functor.OplaxMonoidal.Ξ΄ L A B βŠ—β‚˜ πŸ™ (L.obj C)).val.app (op U)) ((Functor.OplaxMonoidal.Ξ΄ L (A βŠ— B) C).val.app (op U) ((adj.unit.app ((A βŠ— B) βŠ— C)).app (op U) ((show (A βŠ— B).obj (op U) from x βŠ—β‚œ y) βŠ—β‚œ z))) = TensorSections.tensorSection (L.obj A βŠ— L.obj B) (L.obj C) U (TensorSections.tensorSection (L.obj A) (L.obj B) U ((adj.unit.app A).app (op U) x) ((adj.unit.app B).app (op U) y)) ((adj.unit.app C).app (op U) z) := by dsimp only rw [TensorSections.sheafification_Ξ΄_unit_tmul_eq_tensorSection, TensorFrameSections.tensorSection_map, TensorSections.sheafification_Ξ΄_unit_tmul_eq_tensorSection] rfl theorem sheafification_delta_right_tmul {X : Scheme.{u}} (A B C : X.PresheafOfModules) (U : X.Opens) (x : A.obj (op U)) (y : B.obj (op U)) (z : C.obj (op U)) : let L := PresheafOfModules.sheafification (πŸ™ X.ringCatSheaf.obj) let adj := PresheafOfModules.sheafificationAdjunction (πŸ™ X.ringCatSheaf.obj) ((πŸ™ (L.obj A) βŠ—β‚˜ Functor.OplaxMonoidal.Ξ΄ L B C).val.app (op U)) ((Functor.OplaxMonoidal.Ξ΄ L A (B βŠ— C)).val.app (op U) ((adj.unit.app (A βŠ— (B βŠ— C))).app (op U) (x βŠ—β‚œ (show (B βŠ— C).obj (op U) from y βŠ—β‚œ z)))) = TensorSections.tensorSection (L.obj A) (L.obj B βŠ— L.obj C) U ((adj.unit.app A).app (op U) x) (TensorSections.tensorSection (L.obj B) (L.obj C) U ((adj.unit.app B).app (op U) y) ((adj.unit.app C).app (op U) z)) := by dsimp only rw [TensorSections.sheafification_Ξ΄_unit_tmul_eq_tensorSection, TensorFrameSections.tensorSection_map, TensorSections.sheafification_Ξ΄_unit_tmul_eq_tensorSection] rfl theorem sheafification_associator_tensorSection {X : Scheme.{u}} (A B C : X.PresheafOfModules) (U : X.Opens) (x : A.obj (op U)) (y : B.obj (op U)) (z : C.obj (op U)) : let L := PresheafOfModules.sheafification (πŸ™ X.ringCatSheaf.obj) let adj := PresheafOfModules.sheafificationAdjunction (πŸ™ X.ringCatSheaf.obj) (Ξ±_ (L.obj A) (L.obj B) (L.obj C)).hom.val.app (op U) (TensorSections.tensorSection (L.obj A βŠ— L.obj B) (L.obj C) U (TensorSections.tensorSection (L.obj A) (L.obj B) U ((adj.unit.app A).app (op U) x) ((adj.unit.app B).app (op U) y)) ((adj.unit.app C).app (op U) z)) = TensorSections.tensorSection (L.obj A) (L.obj B βŠ— L.obj C) U ((adj.unit.app A).app (op U) x) (TensorSections.tensorSection (L.obj B) (L.obj C) U ((adj.unit.app B).app (op U) y) ((adj.unit.app C).app (op U) z)) := by dsimp only let L := PresheafOfModules.sheafification (πŸ™ X.ringCatSheaf.obj) let adj := PresheafOfModules.sheafificationAdjunction (πŸ™ X.ringCatSheaf.obj) have h := Functor.OplaxMonoidal.associativity L A B C simp only [← tensorHom_id, ← id_tensorHom] at h have hu := congrArg (fun f => f.val.app (op U) ((adj.unit.app ((A βŠ— B) βŠ— C)).app (op U) ((show (A βŠ— B).obj (op U) from x βŠ—β‚œ y) βŠ—β‚œ z))) h conv_lhs at hu => erw [SheafOfModules.comp_val, PresheafOfModules.comp_app, ModuleCat.comp_apply] erw [SheafOfModules.comp_val, PresheafOfModules.comp_app, ModuleCat.comp_apply] conv_rhs at hu => erw [SheafOfModules.comp_val, PresheafOfModules.comp_app, ModuleCat.comp_apply] erw [SheafOfModules.comp_val, PresheafOfModules.comp_app, ModuleCat.comp_apply] rw [sheafification_delta_left_tmul, sheafification_map_associator_unit, sheafification_delta_right_tmul] at hu exact hu end end OAI.AlgebraicGeometry.SheafCohomology.Projective.SheafificationTensorAssociator