In a Traced Monoidal Category , a right trace is a Natural Transformation
Written with the first parameter as superscript:
It can be thought of as a feedback loop from the output back into the input. of a Functor.
Axioms
A right trace must satisfy the following axioms.
Given
Tightening
This states that if a trace passes through an arrow that doesβt interact with the trace, then the scope of the trace can be contracted.
Sliding
This ammounts to sliding a function around a functor around the trace so it ends up occurring before rather than after.
Vanishing
The first expresses a kindof currying of traces and the second states that a trace functor over the monoidal identity is the identity.
Strength
This is similar to tightening but in the other dimension. It expresses that arrows which donβt interact with trace, can be taken out of the scope of the trace.