Chords of walks #
This file defines chords and chordless walks in a simple graph.
Main definitions #
SimpleGraph.Walk.IsChord: an edge of the ambient graph between two vertices of a walk which is not an edge of the walk itselfSimpleGraph.Walk.IsChordless: a walk with no chords
Tags #
walks, chords
def
SimpleGraph.Walk.IsChord
{V : Type u_1}
{G : SimpleGraph V}
{u v : V}
(p : G.Walk u v)
(e : Sym2 V)
:
A chord of a walk p is an edge of G between two vertices of p which is not one
of the edges of p.
Equations
Instances For
A walk is chordless if it has no chords.
Equations
- p.IsChordless = ∀ ⦃e : Sym2 V⦄, ¬p.IsChord e