return to top
source
This file provides lemmas for reasoning about the vertices of a path.
The end vertex of a path. A path p : Path a b has p.end = b.
p : Path a b
p.end = b
The list of vertices in a path, including the start and end vertices.
The vertex list of cons — convenient simp form.
cons
simp
The length of vertices list equals path length plus one
The head of the vertices list is the start vertex
The head of the vertices list is the start vertex.
The last element of the vertices list is the end vertex.
If a composition is nil, the left component must be nil (proved via lengths, avoiding dependent pattern-matching).
nil
If a composition is nil, the right component must be nil