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
Instances For
theorem SimpleGraph.Adj.isChordless_toWalk {V : Type u_1} {G : SimpleGraph V} {u v : V} (h : G.Adj u v) :
theorem SimpleGraph.Walk.IsChordless.map {V : Type u_1} {V' : Type u_2} {G : SimpleGraph V} {G' : SimpleGraph V'} {u v : V} {p : G.Walk u v} (f : G ↪g G') (hp : p.IsChordless) :
(Walk.map f.toHom p).IsChordless
theorem SimpleGraph.Walk.IsChordless.of_map {V : Type u_1} {V' : Type u_2} {G : SimpleGraph V} {G' : SimpleGraph V'} {u v : V} {p : G.Walk u v} {f : G.Copy G'} (hp : (Walk.map f.toHom p).IsChordless) :
theorem SimpleGraph.Walk.isChordless_map_iff {V : Type u_1} {V' : Type u_2} {G : SimpleGraph V} {G' : SimpleGraph V'} {u v : V} {p : G.Walk u v} {f : G ↪g G'} :