Coeval

Contents

Coeval#

class discopy.biclosed.Coeval(x, left=None)[source]#

Bases: Box

The coevaluation of an exponential type, i.e. the dagger of Eval.

Parameters:

x (Exp) – The exponential type to coevaluate.

Note

This is not the unit of the adjunction, which sends z to (z @ x) << x, but the transpose of Eval, which needs the exponent to be dualisable: a biclosed category has no such morphism unless its exponential is read at a reflexive object, see Zeilberger (2016). It is used by Curry.to_drawing() and Diagram.to_compact().