The equivalence relation on vertices given by Graph.Reachable.
Equations
- G.reachableSetoid = { r := G.Reachable, iseqv := ⋯ }
Instances For
A graph is preconnected if every pair of vertices is reachable from one another.
Equations
- G.Preconnected = ∀ (x y : ↑G.vertexSet), G.Reachable ↑x ↑y
Instances For
A graph is connected if it's preconnected and contains at least one vertex. This follows the convention observed by mathlib that something is connected iff it has exactly one connected component.
- preconnected : G.Preconnected