Paths as vertex-list chains #
For a quiver with at most one arrow between each pair, paths are equivalent to nonempty vertex-list chains with the same endpoints. This connects the path APIs used for min-isolation to the vertex lists used by reachability scans in #6747, preserving path identity and length.
A path's vertices form a chain of inhabited arrows with the same endpoints.
theorem Quiver.Path.vertices_injective {V : Type u_1} [Quiver V] {a b : V} [∀ (u v : V), Subsingleton (u ⟶ v)] :
Without parallel arrows, the vertex list determines a path.
@[simp]
theorem Quiver.Path.equivChain_apply {V : Type u_1} [Quiver V] [∀ (u v : V), Subsingleton (u ⟶ v)] (a b : V) (p : Path a b) :