Girth of a simple graph #
This file defines the girth and the extended girth of a simple graph as the length of its smallest
cycle, they give 0 or ∞ respectively if the graph is acyclic.
TODO #
The extended girth of a simple graph is the length of its smallest cycle, or ∞ if the graph is
acyclic.
Instances For
theorem
SimpleGraph.egirth_le_length
{α : Type u_1}
{G : SimpleGraph α}
{a : α}
{w : G.Walk a a}
(h : w.IsCycle)
:
@[simp]
Alias of the reverse direction of SimpleGraph.egirth_eq_top.
theorem
SimpleGraph.IsContained.egirth_le
{α : Type u_1}
{β : Type u_2}
{G : SimpleGraph α}
{G' : SimpleGraph β}
(h : G.IsContained G')
:
theorem
SimpleGraph.Iso.egirth_eq
{α : Type u_1}
{β : Type u_2}
{G : SimpleGraph α}
{G' : SimpleGraph β}
(f : G ≃g G')
:
The girth of a simple graph is the length of its smallest cycle, or junk value 0 if the graph is
acyclic.
Instances For
theorem
SimpleGraph.girth_le_length
{α : Type u_1}
{G : SimpleGraph α}
{a : α}
{w : G.Walk a a}
(h : w.IsCycle)
:
Alias of the reverse direction of SimpleGraph.girth_eq_zero.
theorem
SimpleGraph.girth_anti
{α : Type u_1}
{G G' : SimpleGraph α}
(hab : G ≤ G')
(h : ¬G.IsAcyclic)
:
theorem
SimpleGraph.IsContained.girth_le
{α : Type u_1}
{β : Type u_2}
{G : SimpleGraph α}
{G' : SimpleGraph β}
(h : G.IsContained G')
(hG : ¬G.IsAcyclic)
:
theorem
SimpleGraph.Iso.girth_eq
{α : Type u_1}
{β : Type u_2}
{G : SimpleGraph α}
{G' : SimpleGraph β}
(f : G ≃g G')
: