Walk decompositions #
Given a vertex in the support of a path, give the path up until (and including) that vertex.
Equations
- One or more equations did not get rendered due to their size.
- SimpleGraph.Walk.nil.takeUntil x x_1 = ⋯.mpr SimpleGraph.Walk.nil
Instances For
Given a vertex in the support of a path, give the path from (and including) that vertex to the end. In other words, drop vertices from the front of a path until (and not including) that vertex.
Equations
- One or more equations did not get rendered due to their size.
- SimpleGraph.Walk.nil.dropUntil x x_1 = ⋯.mpr SimpleGraph.Walk.nil
Instances For
The takeUntil
and dropUntil
functions split a walk into two pieces.
The lemma SimpleGraph.Walk.count_support_takeUntil_eq_one
specifies where this split occurs.
Rotate a loop walk such that it is centered at the given vertex.
Instances For
Given a walk w
and a node in the support, there exists a natural n
, such that given node
is the n
-th node (zero-indexed) in the walk. In addition, n
is at most the length of the path.
Due to the definition of getVert
it would otherwise be legal to return a larger n
for the last
node.