Single-object quiver #
Single object quiver with a given arrows type.
Main definitions #
Given a type α, SingleObj α is the Unit type, whose single object is called star α, with
Quiver structure such that star α ⟶ star α is the type α.
An element x : α can be reinterpreted as an element of star α ⟶ star α using
toHom.
More generally, a list of elements of a can be reinterpreted as a path from star α to
itself using pathEquivList.
Equations
Equip SingleObj α with an involutive reverse operation.
Equations
Instances For
The type of arrows from star α to itself is equivalent to the original type α.
Equations
Instances For
Prefunctors between two SingleObj quivers correspond to functions between the corresponding
arrows types.
Equations
Instances For
Auxiliary definition for quiver.SingleObj.pathEquivList.
Converts a path in the quiver single_obj α into a list of elements of type a.
Equations
Instances For
Auxiliary definition for quiver.SingleObj.pathEquivList.
Converts a list of elements of type α into a path in the quiver SingleObj α.