Path Vertices #
This file provides lemmas for reasoning about the vertices of a path.
@[simp]
The list of vertices in a path, including the start and end vertices.
Instances For
@[simp]
@[simp]
theorem
Quiver.Path.mem_vertices_cons
{V : Type u_1}
[Quiver V]
{a b c : V}
(p : Path a b)
(e : b ā¶ c)
{x : V}
:
The vertex list of cons ā convenient simp form.
@[simp]
The length of vertices list equals path length plus one
theorem
Quiver.Path.start_mem_vertices
{V : Type u_1}
[Quiver V]
{a b : V}
(p : Path a b)
:
a ā p.vertices
@[simp]
theorem
Quiver.Path.vertices_head?
{V : Type u_1}
[Quiver V]
{a b : V}
(p : Path a b)
:
p.vertices.head? = some a
The head of the vertices list is the start vertex
@[simp]
theorem
Quiver.Path.getElem_vertices_zero
{V : Type u_1}
[Quiver V]
{a b : V}
(p : Path a b)
:
p.vertices[0] = a
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
theorem
Quiver.Path.end_mem_vertices
{V : Type u_1}
[Quiver V]
{a b : V}
(p : Path a b)
:
b ā p.vertices
Path vertices decomposition #
theorem
Quiver.Path.exists_eq_comp_and_notMem_tail_of_mem_vertices
{V : Type u_1}
[Quiver V]
{a b : V}
(p : Path a b)
{v : V}
(hv : v ā p.vertices)
:
Split a path at the last occurrence of a vertex.