Indexed quiver paths and partial concatenation #
TauCeti.Quiver.TotalPath Q records a path of a quiver together with its source and target. Two
such paths can be concatenated when the target of the second is the source of the first. The
partial operation TauCeti.Quiver.TotalPath.mul? records this condition with an Option result,
using the later-factor-first order: x.mul? y traces y and then x.
Concatenation adds path lengths and is associative as a partial operation. Trivial paths are left and right units at the appropriate endpoints. These operations supply the path index and multiplication of the path algebra, independently of any coefficient semiring.
Main definitions #
TauCeti.Quiver.TotalPath: the total spaceΣ a b, Quiver.Path a bof paths.TauCeti.Quiver.TotalPath.mul?: concatenation when the paths meet, andnoneotherwise.
Main results #
TauCeti.Quiver.TotalPath.eq_nil_iff: a path is trivial at a vertex exactly when it starts there and has length zero.TauCeti.Quiver.TotalPath.mul?_eq_none_iff: concatenation is undefined exactly when the endpoints do not meet.TauCeti.Quiver.TotalPath.length_eq_add_of_mul?_eq_some: concatenation adds lengths.TauCeti.Quiver.TotalPath.mul?_nil_left,TauCeti.Quiver.TotalPath.mul?_nil_right, andTauCeti.Quiver.TotalPath.mul?_assoc: trivial-path units and associativity.TauCeti.Quiver.TotalPath.mk_cons_eq_mk_cons_iff: a path into a vertex is determined by its last arrow and the path before it.
References #
Assem--Simson--Skowroński, Elements of the Representation Theory of Associative Algebras I, Ch. II.
The total space of the paths of a quiver: a path together with its source and target. This is the index type of the path basis of the path algebra.
Equations
- TauCeti.Quiver.TotalPath Q = ((a : Q) × (b : Q) × Quiver.Path a b)
Instances For
An indexed path is the trivial path at v exactly when it starts at v and has length zero.
Stated this way the equality is checked against two non-dependent conditions, so recognizing a
trivial path inside a concatenation needs no transport along the endpoints.
Concatenation of indexed paths in the later factor first order used by the path algebra:
x.mul? y traces y and then x, and is none unless y ends where x starts.
Equations
Instances For
A path into j is determined by its last arrow and the path before it: two indexed paths
ending in arrows into j agree exactly when their prefixes and their last arrows do.