Documentation

Mathlib.CategoryTheory.Monoidal.OfHasFiniteProducts

The natural monoidal structure on any category with finite (co)products. #

A category with a monoidal structure provided in this way is sometimes called a (co-)Cartesian category, although this is also sometimes used to mean a finitely complete category. (See https://ncatlab.org/nlab/show/cartesian+category.)

As this works with either products or coproducts, and sometimes we want to think of a different monoidal structure entirely, we don't set up either construct as an instance.

TODO #

Once we have cocartesian-monoidal categories, replace monoidalOfHasFiniteCoproducts and symmetricOfHasFiniteCoproducts with CocartesianMonoidalCategory.ofHasFiniteCoproducts.

@[deprecated CategoryTheory.CartesianMonoidalCategory.ofHasFiniteProducts (since := "2025-10-19")]

A category with a terminal object and binary products has a natural monoidal structure.

Equations
    Instances For
      @[deprecated CategoryTheory.SemiCartesianMonoidalCategory.toUnit_unique (since := "2025-10-19")]
      @[simp, deprecated "This is an implementation detail." (since := "2025-10-19")]
      @[simp, deprecated "This is an implementation detail." (since := "2025-10-19")]
      @[simp, deprecated CategoryTheory.CartesianMonoidalCategory.leftUnitor_hom (since := "2025-10-19")]
      @[simp, deprecated CategoryTheory.CartesianMonoidalCategory.rightUnitor_hom (since := "2025-10-19")]
      @[deprecated CategoryTheory.CartesianMonoidalCategory.toSymmetricCategory (since := "2025-10-19")]

      The monoidal structure coming from finite products is symmetric.

      Equations
        Instances For

          A category with an initial object and binary coproducts has a natural monoidal structure.

          Equations
            Instances For

              The monoidal structure coming from finite coproducts is symmetric.

              Equations
                Instances For
                  @[deprecated CategoryTheory.Functor.OplaxMonoidal.ofChosenFiniteProducts (since := "2025-10-19")]
                  Equations
                    @[deprecated "No replacement" (since := "2025-10-19")]
                    @[deprecated CategoryTheory.Functor.Monoidal.ofChosenFiniteProducts (since := "2025-10-19")]

                    Promote a functor that preserves finite products to a monoidal functor between categories equipped with the monoidal category structure given by finite products.

                    Equations