Theorem 2.3 — a graph is connected iff no cut , , is empty
ProvedCombOpt.SpanningTree.connected_iff_no_empty_cutcombinatoricsgraph-theorylinear-optimizationminimum-spanning-treep2o-gran-per-chapterp2o-plan-bookp2o-v1
A graph is connected if and only if there is no set with and
This is the basic characterization of connectivity by cuts, used to show that the greedy algorithms build a spanning tree.
Formalization Note No nonemptiness of is assumed; for both sides hold vacuously.
Differences from the source: none.
Preamble
import Mathlib import Definitions.Def_CombOpt_SpanningTree_Graph_SpanConnected import Definitions.Def_CombOpt_SpanningTree_Graph_cut
Formal statement
namespace CombOpt.SpanningTree
/-- **Theorem 2.3: a graph is connected iff no cut δ(A) with ∅ ≠ A ≠ V is empty.**
Cook, Cunningham, Pulleyblank & Schrijver, *Combinatorial Optimization* (Wiley, 1998), Theorem 2.3, p. 12 (PDF p. 21): "A graph G = (V, E) is connected if and only if there is no
set A ⊆ V, ∅ ≠ A ≠ V, with δ(A) = ∅."
`G` is connected (every two nodes are joined by a path) if and only if there is no node set `A`
with `A ≠ ∅`, `A ≠ V` and `δ(A) = ∅`.
**Formalization Note.** No nonemptiness of `V` is assumed: for `V = ∅` both sides hold
vacuously. -/
theorem connected_iff_no_empty_cut {V E : Type*} [Fintype V] [Fintype E] (G : Graph V E) :
G.SpanConnected Finset.univ ↔
¬ ∃ A : Finset V, A.Nonempty ∧ A ≠ Finset.univ ∧ G.cut A = ∅ := by sorry
end CombOpt.SpanningTree
Source
Cook, Cunningham, Pulleyblank & Schrijver, Combinatorial Optimization (Wiley, 1998), Theorem 2.3, p. 12 (PDF p. 21)
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.