RigidCategory#
- class discopy.abc.RigidCategory[source]#
Bases:
BiclosedCategory,GenericA rigid category is a
BiclosedCategorywhere every object has a left and right adjoint, witnessed by methodscupsandcaps.- abstract classmethod cups(left, right)[source]#
The cups witnessing
rightas the adjoint ofleft.- Parameters:
left (T) – The left-hand side of the cups.
right (T) – Its adjoint, i.e. the right-hand side of the cups.
- Return type: