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
.
@[reducible, inline]
abbrev
Quiver.SingleObj.hasInvolutiveReverse
{α : Type u_1}
(rev : α → α)
(h : Function.Involutive rev)
:
Equip SingleObj α
with an involutive reverse operation.
Equations
Instances For
@[simp]
theorem
Quiver.SingleObj.toPrefunctor_apply_obj
{α : Type u_1}
{β : Type u_2}
(f : α → β)
(a : SingleObj α)
:
@[simp]
theorem
Quiver.SingleObj.toPrefunctor_apply_map
{α : Type u_1}
{β : Type u_2}
(f : α → β)
{X✝ Y✝ : SingleObj α}
(a✝ : α)
:
@[simp]
theorem
Quiver.SingleObj.toPrefunctor_comp
{α : Type u_1}
{β : Type u_2}
{γ : Type u_3}
(f : α → β)
(g : β → γ)
:
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 α
.
Equations
Instances For
theorem
Quiver.SingleObj.listToPath_pathToList
{α : Type u_1}
{x : SingleObj α}
(p : Path (star α) x)
:
@[simp]
@[simp]
@[simp]