/-
Copyright (c) 2024 Amelia Livingston. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Amelia Livingston
-/
module
public import Mathlib.Algebra.Category.CoalgCat.Basic
public import Mathlib.Algebra.Category.ModuleCat.Monoidal.Basic
public import Mathlib.RingTheory.Coalgebra.TensorProduct
/-!
# The monoidal category structure on `R`-coalgebras
In `Mathlib/RingTheory/Coalgebra/TensorProduct.lean`, given two `R`-coalgebras `M, N`, we define a
coalgebra instance on `M ⊗[R] N`, as well as the tensor product of two `CoalgHom`s as a
`CoalgHom`, and the associator and left/right unitors for coalgebras as `CoalgEquiv`s.
In this file, we declare a `MonoidalCategory` instance on the category of coalgebras, with data
fields given by the definitions in `Mathlib/RingTheory/Coalgebra/TensorProduct.lean`, and Prop
fields proved by pulling back the `MonoidalCategory` instance on the category of modules,
using `Monoidal.induced`.
-/
@[expose] public section
universe v u
namespace CoalgCat
variable (R : Type u) [CommRing R]
open CategoryTheory Coalgebra
open scoped TensorProduct MonoidalCategory
@[simps]
noncomputable instance instMonoidalCategoryStruct :
MonoidalCategoryStruct.{u} (CoalgCat R) where
tensorObj X Y := of R (X ⊗[R] Y)
whiskerLeft X _ _ f := ofHom (f.toCoalgHom'.lTensor X)
whiskerRight f X := ofHom (f.toCoalgHom'.rTensor X)
tensorHom f g := ofHom (Coalgebra.TensorProduct.map f.toCoalgHom' g.toCoalgHom')
tensorUnit := ↧R
associator X Y Z := (Coalgebra.TensorProduct.assoc R R X Y Z).toCoalgIso
leftUnitor X := (Coalgebra.TensorProduct.lid R X).toCoalgIso
rightUnitor X := (Coalgebra.TensorProduct.rid R R X).toCoalgIso
/-- The data needed to induce a `MonoidalCategory` structure via
`CoalgCat.instMonoidalCategoryStruct` and the forgetful functor to modules. -/
@[simps]
noncomputable def MonoidalCategory.inducingFunctorData :
Monoidal.InducingFunctorData (forget₂ (CoalgCat R) (ModuleCat R)) where
μIso _ _ := Iso.refl _
whiskerLeft_eq X Y Z f := by ext; rfl
whiskerRight_eq X f := by ext; rfl
tensorHom_eq f g := by ext; rfl
εIso := Iso.refl _
associator_eq X Y Z := ModuleCat.hom_ext <| TensorProduct.ext <| TensorProduct.ext <| by ext; rfl
leftUnitor_eq X := ModuleCat.hom_ext <| TensorProduct.ext <| by ext; rfl
rightUnitor_eq X := ModuleCat.hom_ext <| TensorProduct.ext <| by ext; rfl
noncomputable instance instMonoidalCategory : MonoidalCategory (CoalgCat R) :=
Monoidal.induced (forget₂ _ (ModuleCat R)) (MonoidalCategory.inducingFunctorData R)
end CoalgCat
¤ Diese beiden folgenden Angebotsgruppen bietet das Unternehmen0.2Angebot
(Wie Sie bei der Firma Beratungs- und Dienstleistungen beauftragen können 2026-11-24)
¤
*Eine klare Vorstellung vom Zielzustand