SymmetricCategory#
- class discopy.abc.SymmetricCategory[source]#
Bases:
BalancedCategory,GenericA symmetric category is a
BalancedCategorywhere the braid is its own inverse calledswapfor the symmetryx @ y -> y @ x.
Bases: BalancedCategory, Generic
A symmetric category is a BalancedCategory where the braid is its
own inverse called swap for the symmetry x @ y -> y @ x.