Documentation

Mathlib.Combinatorics.SimpleGraph.Walk.Chord

Chords of walks #

This file defines chords and chordless walks in a simple graph.

Main definitions #

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
    theorem SimpleGraph.Walk.isChord_sym2Mk {V : Type u_1} {G : SimpleGraph V} {u v : V} {p : G.Walk u v} {u' v' : V} :
    p.IsChord s(u', v') G.Adj u' v' s(u', v')p.edges u' p.support v' p.support
    def SimpleGraph.Walk.IsChordless {V : Type u_1} {G : SimpleGraph V} {u v : V} (p : G.Walk u v) :

    A walk is chordless if it has no chords.

    Equations
    Instances For
      theorem SimpleGraph.Walk.isChordless_iff_forall_mem_edges {V : Type u_1} {G : SimpleGraph V} {u v : V} {p : G.Walk u v} :
      p.IsChordless ∀ ⦃u' v' : V⦄, u' p.supportv' p.supportG.Adj u' v's(u', v') p.edges
      theorem SimpleGraph.Walk.IsChordless.mem_edges {V : Type u_1} {G : SimpleGraph V} {u v : V} {p : G.Walk u v} (h : p.IsChordless) {u' v' : V} (hu' : u' p.support) (hv' : v' p.support) (hadj : G.Adj u' v') :
      s(u', v') p.edges