The cut space of a multigraph #
Taking edge cuts turns symmetric differences of sets of vertices into symmetric differences of sets
of edges (Cslib.Multigraph.edgeCut_symmDiff): an edge leaves S β T exactly when it leaves one of
S and T but not both. This and Cslib.Multigraph.mem_edgeCut_of_ends_eq are the Finset forms
of Mathlib's Graph.edgeCut_symmDiff and Graph.IsLink.mem_edgeCut_iff, through
Cslib.Multigraph.coe_edgeCut_eq_toGraph_edgeCut. The edge cut of a single vertex consists of the
edges at it other than self-loops (Cslib.Multigraph.edgeCut_singleton), and on a connected
multigraph the only sets with no edge leaving them are β
and the set of all vertices
(Cslib.Multigraph.eq_empty_or_eq_univ_of_edgeCut_eq_empty).
Identifying subsets of E with their 0/1 indicator vectors over π½β = ZMod 2 (or Bool via
Cslib.BitString.submoduleZModIso), the coboundary transpose of the π½β vertexβedge incidence
matrix Cslib.Multigraph.incidenceMatrix (which agrees with Matrix.endpointIncidence for any
endpoint choice, dropping self-loops while retaining parallel edges) sends the indicator of S to
the indicator of edgeCut ends S (Cslib.Multigraph.incidenceMatrix_transpose_mulVec_indicator).
Its image Cslib.Multigraph.cutSpace consists of the indicator vectors of all edge cuts
(Cslib.Multigraph.mem_cutSpace_iff_exists_edgeCut), is spanned over π½β by the vertex incidence
vectors (Cslib.Multigraph.cutSpace_eq_span_incidence), has dimension |V| - 1 on every connected
multigraph (Cslib.Multigraph.finrank_cutSpace_add_one), and has the cycle / even-degree space
ker (incidenceMatrix ends).mulVecLin of cyclomatic dimension |E| - |V| + 1 as its orthogonal
complement (Cslib.Multigraph.orthogonal_cutSpace,
Cslib.Multigraph.finrank_ker_incidenceMatrix_add_card).
A set S that fewer than e(G) edges leave (Cslib.Multigraph.minBalancedCut) is not balanced,
so it has fewer than a third or more than two thirds of the vertices. If moreover S has at most
two thirds of the vertices, it has fewer than a third of them
(Cslib.Multigraph.three_mul_card_lt_of_card_edgeCut_lt). This dichotomy is how expansion enters
degree lower bounds for Tseitin formulas in algebraic proof systems such as polynomial calculus.
Main definitions #
Cslib.Multigraph.incidenceMatrix: theπ½βvertexβedge incidence matrix ofends : E β Sym2 V.Cslib.Multigraph.cutSpace: theπ½βcut spacerange (incidenceMatrix ends)α΅.mulVecLin.
Main results #
Cslib.Multigraph.edgeCut_symmDiff: edge cuts turn symmetric differences into symmetric differences.Cslib.Multigraph.edgeCut_empty,Cslib.Multigraph.edgeCut_singleton: the edge cuts ofβand of a single vertex.Cslib.Multigraph.eq_empty_or_eq_univ_of_edgeCut_eq_empty: on a connected multigraph, onlyβand the set of all vertices have empty edge cuts.Cslib.Multigraph.incidenceMatrix_eq_endpointIncidence:incidenceMatrix endsagrees withMatrix.endpointIncidence u vfor any endpoint functions realizingends.Cslib.Multigraph.mem_cutSpace_iff_exists_edgeCut,Cslib.Multigraph.cutSpace_eq_span_incidence:cutSpace endsconsists of the indicator vectors of edge cuts and is spanned by the vertex incidence vectorsincidence ends v.Cslib.Multigraph.finrank_cutSpace_add_one,Cslib.Multigraph.orthogonal_cutSpace,Cslib.Multigraph.finrank_ker_incidenceMatrix_add_card: on a connected multigraph,cutSpacehas dimension|V| - 1and its orthogonal cycle space has dimension|E| - |V| + 1.Cslib.Multigraph.three_mul_card_lt_of_card_edgeCut_lt: a set of at most two thirds of the vertices that fewer thane(G)edges leave has fewer than a third of the vertices.
References #
Edge cuts turn symmetric differences into symmetric differences: an edge leaves S β T
exactly when it leaves one of S and T but not both.
On a connected multigraph, only β
and the set of all vertices have no edge leaving
them.
The expansion dichotomy. A set of at most two thirds of the vertices that fewer than
e(G) edges leave has fewer than a third of the vertices.
The π½β incidence matrix, cut space, and orthogonal cycle space #
The π½β vertexβedge incidence matrix of ends : E β Sym2 V: entry (v, e) is 1 when e is
a non-loop edge incident to v, and 0 otherwise.
For any endpoint functions u v : E β V realizing ends e = s(u e, v e), incidenceMatrix
equals Matrix.endpointIncidence u v: self-loops contribute 1 + 1 = 0 in ZMod 2 while parallel
edges retain distinct columns.
Row v of incidenceMatrix ends is the π½β indicator vector of incidence ends v.
Applying (incidenceMatrix ends)α΅ to the π½β indicator of S : Finset V yields the π½β
indicator of edgeCut ends S.
The π½β cut space of ends : E β Sym2 V: the subspace
LinearMap.range (incidenceMatrix ends)α΅.mulVecLin of E β ZMod 2.
A vector in E β ZMod 2 belongs to cutSpace ends if and only if it is the indicator vector of
edgeCut ends S for some vertex set S : Finset V.
Vertex-incidence spanning theorem: cutSpace ends is spanned over π½β by the indicator
vectors of the non-loop vertex incidences incidence ends v.
Under BitString.submoduleZModIso, the Bool-submodule corresponding to cutSpace ends is
spanned by the Boolean vertex-incidence indicators fun e => decide (e β incidence ends v).
On a connected multigraph, the π½β cut space has dimension |V| - 1.
The orthogonal complement of cutSpace ends under dotProduct is the cycle (even-degree)
space LinearMap.ker (incidenceMatrix ends).mulVecLin.
On a connected multigraph, the cycle space ker (incidenceMatrix ends).mulVecLin has
cyclomatic dimension |E| - |V| + 1, written dim + |V| = |E| + 1.