Documentation

InfinityCosmos.ForMathlib.CategoryTheory.Enriched.Tensors

Tensors in an enriched category #

Let C be a V-enriched category.

This file defines a pretensor of v : V and c : C as an object obj : C, together with a morphism cone : v ⟶ (x ⟶[V] obj). Based on this, it defines a family of morphisms coneNatTrans : (obj ⟶[V] y) ⟶ (x ⟶[V] y)^v.

It defines a tensor "v ⊗ c" as a pretensor where the coneNatTrans morphisms are isomorphisms. Subsequently, it constructs the left and right whiskering of morphisms.

Most of this file is devoted to showing that tensoring, together with whiskering, constitutes a V-enriched functor tensor_bifunc : V ⊗ C ⟶ C.

structure CategoryTheory.Enriched.Pretensor {V : Type u} [Category.{u₁, u} V] [MonoidalCategory V] [MonoidalClosed V] {C : Type v} [EnrichedCategory V C] (v : V) (x : C) :
Type (max u₁ v)

A pretensor is an object obj : C, together with a morphism cone : v ⟶ (x ⟶[V] obj).

Instances For
    def CategoryTheory.Enriched.Pretensor.coneNatTrans {V : Type u} [Category.{u₁, u} V] [MonoidalCategory V] [MonoidalClosed V] {C : Type v} [EnrichedCategory V C] {v : V} {x : C} (vx : Pretensor v x) (y : C) :
    Ehom V C vx.obj y Ihom V v (Ehom V C x y)

    The family of morphisms from vx ⟶[V] y to (x ⟶[V] y)^v

    Equations
    • One or more equations did not get rendered due to their size.
    Instances For

      Since Pretensor.coneNatTrans is defined by currying, its uncurrying can be simplified.

      structure CategoryTheory.Enriched.Tensor {V : Type u} [Category.{u₁, u} V] [MonoidalCategory V] [MonoidalClosed V] {C : Type v} [EnrichedCategory V C] (v : V) (x : C) extends CategoryTheory.Enriched.Pretensor v x :
      Type (max u₁ v)

      A Tensor is a Pretensor such that coneNatTransInv is an inverse to coneNatTrans.

      Instances For

        For a tensor, the morphisms Pretensor.coneNatTrans are isomorphisms, with inverses given by Tensor.coneNatTransInv.

        For a tensor, the morphisms Tensor.coneNatTransInv are isomorphisms, with inverses given by Pretensor.coneNatTrans.

        def CategoryTheory.Enriched.Tensor.whiskerRight (V : Type u) [Category.{u₁, u} V] [MonoidalCategory V] [MonoidalClosed V] {C : Type v} [EnrichedCategory V C] {x : C} {v w : V} (vx : Tensor v x) (wx : Tensor w x) :
        Ehom V V v w Ehom V C vx.obj wx.obj

        Whiskering on the right by x : C turns a morphism v ⟶ w into a morphism v ⊗ x ⟶ w ⊗ x.

        Equations
        Instances For

          Since right whiskering is defined by postcomposition with Tensor.coneNatTransInv, its postcomposition with Pretensor.coneNatTrans can be simplified.

          Whiskering the identity on the right yields the identity again.

          An auxiliary lemma for what is to come.

          Whiskering on the right commutes with morphism composition.

          def CategoryTheory.Enriched.Tensor.whiskerLeft (V : Type u) [Category.{u₁, u} V] [MonoidalCategory V] [MonoidalClosed V] {C : Type v} [EnrichedCategory V C] [SymmetricCategory V] {x y : C} {v : V} (vx : Tensor v x) (vy : Tensor v y) :
          Ehom V C x y Ehom V C vx.obj vy.obj

          Whiskering on the left by v : V turns a morphism x ⟶ y into a morphism v ⊗ x ⟶ v ⊗ y.

          Equations
          • One or more equations did not get rendered due to their size.
          Instances For

            Since left whiskering is defined by postcomposition with Tensor.coneNatTransInv, its postcomposition with Pretensor.coneNatTrans can be simplified.

            Whiskering the identity on the left yields the identity again.

            Whiskering on the left commutes with morphism composition.

            Right whiskering commutes with left whiskering.

            • tensor (v : V) (x : C) : Tensor v x
            Instances

              Tensoring, together with whiskering, constitutes a V-enriched functor tensor_bifunc : V ⊗ C ⟶ C -

              Equations
              • One or more equations did not get rendered due to their size.
              Instances For