Paths in quivers #
Given a quiver V, we define the type of paths from a : V to b : V as an inductive
family. We define composition of paths and the action of prefunctors on paths.
An arrow viewed as a path of length one.
Instances For
The length of a path is the number of arrows it uses.
Instances For
Composition of paths.
Instances For
Every non-empty path can be decomposed as an initial path plus a final edge.
Turn a path into a list. The list contains a at its head, but not b a priori.
Instances For
Quiver.Path.toList is a contravariant functor. The inversion comes from Quiver.Path and
List having different preferred directions for adding elements.
A bounded path is a path with a uniform bound on its length.
Instances For
Bounded paths of length zero between two vertices form a subsingleton.
Bounded paths of length zero between two vertices have decidable equality.
Instances For
Given decidable equality on paths of length up to n, we can construct
decidable equality on paths of length up to n + 1.
Instances For
Equality is decidable on all uniformly bounded paths given decidable equality on the vertices and the arrows.
Equality is decidable on paths in a quiver given decidable equality on the vertices and arrows.
The image of a path under a prefunctor.