A disconnected finite graph has vertices in distinct components
ProvedWilliamsonShmoys.disconnected_graph_has_unreachable_pair__p2m_a01887ab_b605_44b6_af24_b6696d8b1f6b_a1approximation-algorithmsplanar-graphstreewidth
For a finite graph with at least three vertices, failure of connectedness yields two distinct, nonadjacent vertices that are not connected by a path.
Preamble
import Mathlib set_option autoImplicit false
Formal statement
theorem WilliamsonShmoys.disconnected_graph_has_unreachable_pair__p2m_a01887ab_b605_44b6_af24_b6696d8b1f6b_a1
{V : Type} [Fintype V] [LinearOrder V]
(K : SimpleGraph V) (hcard : 3 ≤ Fintype.card V)
(hdis : ¬ K.Connected) :
∃ a b : V, a ≠ b ∧ ¬ K.Adj a b ∧ ¬ K.Reachable a b := by sorrySource
David P. Williamson and David B. Shmoys, The Design of Approximation Algorithms, Cambridge University Press, 2011, author electronic manuscript, Section 10.2, proof of Theorem 10.11, pp. 270-272. https://doi.org/10.1017/CBO9780511921735. Bounded tree-width of the pieces: Robertson–Seymour (planar graphs of radius r have tree-width at most 3r+1) / Bodlaender (k-outerplanar graphs have tree-width at most 3k-1).