Separating vertex sets #
A set Y of vertices separates A from B in a simple graph G (SimpleGraph.IsSeparator)
when every walk from a vertex of A to a vertex of B visits a vertex of Y. This is the
A–B separator of graph theory; Y may meet A and B, and a vertex of A ∩ B must lie in
Y (the trivial walk). A walk avoiding Y contains a path avoiding Y with the same endpoints,
so quantifying over walks or over paths gives the same notion
(SimpleGraph.isSeparator_iff_forall_isPath). For single terminals A = {u}, B = {v} with
u, v ∉ Y, this is the u–v vertex separator SimpleGraph.IsVertexSeparator of Menger's
theorem ([Die25], §1.4; related by SimpleGraph.isVertexSeparator_iff_isSeparator).
SimpleGraph.reachAvoiding G A Y is the set of vertices reached from A by walks avoiding Y.
Y separates A from B exactly when no vertex of B is reached
(SimpleGraph.isSeparator_iff_forall_notMem_reachAvoiding). A Boolean labelling that is
constant along edges outside Y, true on A \ Y and false on B \ Y, certifies that Y
separates A from B (SimpleGraph.isSeparator_of_forall_adj). This is the form in which a
minimum cut of a flow network certifies a vertex separator.
Main definitions #
SimpleGraph.IsSeparator:YseparatesAfromBinG.SimpleGraph.IsVertexSeparator: finiteu–vvertex separator avoidinguandv.SimpleGraph.reachAvoiding: the vertices reached fromAby walks avoidingY.
Main results #
SimpleGraph.isVertexSeparator_iff_isSeparator: single-terminal vertex separators in terms ofIsSeparator.SimpleGraph.isVertexSeparator_iff_not_reachable_induce:u–vseparation in terms of reachability inG.induce (T : Set V)ᶜ.SimpleGraph.isVertexSeparator_of_forall_adj: closed-set certificate forIsVertexSeparator.SimpleGraph.isSeparator_iff_forall_notMem_reachAvoiding: separation in terms ofreachAvoiding.SimpleGraph.mem_reachAvoiding_of_mem,SimpleGraph.mem_reachAvoiding_of_adj,SimpleGraph.notMem_of_mem_reachAvoiding: closure properties ofreachAvoiding.SimpleGraph.isSeparator_of_forall_adj: a labelling certificate for separation.SimpleGraph.isSeparator_iff_forall_isPath: it suffices to check paths.SimpleGraph.IsSeparator.mono: enlarging the separator.SimpleGraph.isSeparator_of_subset_left: a separator containingA.
Y separates A from B in G: every walk from a vertex of A to a vertex of B visits a
vertex of Y. A vertex of A ∩ B must lie in Y, because of its trivial walk.
The vertices reached from A by walks of G that avoid Y.
A set containing A separates A from any B: every walk starts in A.
reachAvoiding is closed under edges to vertices outside Y.
It suffices to check paths: a walk avoiding Y contains a path (Walk.bypass) with the same
endpoints and fewer vertices.
Y separates A from B exactly when no vertex of B is reached from A avoiding Y.
Labelling certificate. If f is constant along edges outside Y, true on A \ Y and
false on B \ Y, then Y separates A from B.
T separates u from v in G ([Die25], §1.4): u, v ∉ T and every u–v path of
G visits a vertex of T.
T is a u–v vertex separator iff u, v ∉ T and T separates {u} from {v} in the
SimpleGraph.IsSeparator sense.
A finite u–v separator avoids u and v and meets every u–v walk.
T is a u–v vertex separator iff u, v ∉ T and u, v are unreachable in G - T.
Closed-set certificate for a vertex separator: if u ∈ S, v ∉ S, T avoids u and v,
and every edge leaving S ends in T, then T separates u from v.