Definition compositions_preserves_tensor {C D E : category} {TC : tensor C} {TD : tensor D} {TE : tensor E} {F : functor C D} {G : functor D E} (ptF : preserves_tensor TC TD F) (ptG : preserves_tensor TD TE G) : preserves_tensor TC TE (functor_composite F G) := (compositions_preserves_tensor_data ptF ptG,, compositions_preserves_tensor_nat ptF ptG).
Require Import UniMath.Foundations.All. Require Import UniMath.MoreFoundations.All. Require Import UniMath.CategoryTheory.Core.Categories. Require Import UniMath.CategoryTheory.Core.Functors. Require Import UniMath.CategoryTheory.Core.NaturalTransformations. Require Import UniMath.CategoryTheory.Core.Isos. Import TensorNotation. Import TensorUnitNotation. Import TensorNotation. Import TensorUnitNotation. Import TensorNotation. Import TensorUnitNotation. Import TensorNotation. Import TensorUnitNotation. Import UnitorsAssociatorNotation. Import TensorNotation. Import TensorUnitNotation. Import UnitorsAssociatorNotation.