Adjacent-level matching in a Boolean lattice Created 2026-10-03 Updated 2026-10-06
For , the inclusion graph between ranks and of has a matching saturating rank . Indeed, each lower vertex has degree , each upper vertex has degree , and edge counting gives
for every family in the lower rank. This verifies the condition of the Hall marriage theorem.
For a doubly stochastic matrix, the Hall marriage theorem supplies a perfect matching in its positive-entry support. Subtract the smallest matched entry times the corresponding permutation matrix. The residual has equal row and column sums and smaller support unless it vanishes. Repeating gives a convex combination of permutation matrices. With initially positive entries, there are at most terms, since a positive-mass residual has at least positive entries. Elementary augmenting-path matching gives arithmetic operations.
Doubly stochastic matrix 2026-10-05
A square real matrix is doubly stochastic if its entries are nonnegative and every row and column sums to . Its positive-entry support satisfies the condition of the Hall marriage theorem: for a row subset , by summing column capacities. Consequently its support contains a permutation matrix.
Form a bipartite graph with one vertex for each row and one for each column, putting an edge exactly where . For a set of row vertices, let be its neighbouring column vertices. Since is a doubly stochastic matrix,
The Hall marriage theorem therefore supplies a perfect matching. Its incidence entries define a permutation matrix supported on the positive entries of , hence on the ones of . Entrywise , so
For an explicit algorithm, keep an unnormalized residual , initially , whose row and column sums all equal a common mass , initially one. While , find a perfect matching in its positive support, form its permutation matrix , and subtract , where is the smallest selected entry. Record and replace by .
If the residual mass is positive, the same proof of the Hall marriage theorem condition applies after division by . Every subtraction removes at least one positive entry and creates no new positive entries. Before the last subtraction, any positive-mass residual has at least positive entries; the last step removes all its entries. If is the initial number of positive entries, then
Since the residual ultimately vanishes, summing the recorded subtractions gives , and the row sums give .
A perfect matching can be found by at most searches for an augmenting path in a matching, each costing in a graph with at most edges. Thus each iteration costs , including forming the support and updating the residual, and there are iterations. Hence
This bound uses exact real arithmetic. For rational input, a common denominator lets all residual subtractions be performed on integers of polynomial bit length, giving a polynomial bit-time implementation as well.
A matching in a graph from to is a collection of edges with disjoint endpoints covering every vertex of ; equivalently it chooses a distinct neighbour in for each . For a finite bipartite graph, the Hall marriage theorem says this exists exactly when for every . Necessity follows by counting the distinct matched neighbours.
For sufficiency, induct on . If a nonempty proper subset is tight, , Hall's condition holds on . It also holds on : for , the original condition applied to gives . Induction provides two disjoint matching in a graph whose union covers . If no nonempty proper subset is tight, choose an edge , possible by Hall's condition. Delete its endpoints. Each nonempty subset of had at least one extra neighbour, so deleting leaves Hall's condition intact. Induction and then the edge finish the proof. The single-vertex case is immediate.
For the degree condition, fix and double-count with weights:
Every denominator is nonzero; the last inequality uses along each edge. The Hall marriage theorem therefore proves the required matching exists. Finiteness, as in the usual course version of the theorem, is understood; the same proof covers a finite with arbitrary and finite degrees.
For a finite bipartite graph with left vertex set , Hall marriage theorem says that a matching in a graph covering exists exactly when for every . Necessity follows because distinct matched neighbors of lie in .
For sufficiency, induct on , the empty case being immediate. If a nonempty proper subset has , apply the induction hypothesis to the graph on . For the remaining graph, every satisfies
so induction matches the remaining vertices too. If there is no such tight subset and , every nonempty proper subset has at least one extra neighbor. Select an edge and remove its endpoints. Each subset of the remaining left vertices loses at most one neighbor, so it still satisfies the required condition; induction supplies the rest of the matching in a graph. The case follows directly from the condition.
For a doubly stochastic matrix , make a bipartite graph joining row to column when . For a row subset ,
Hall marriage theorem therefore gives a perfect matching, or a permutation , with .
The Hall marriage theorem states that a finite bipartite graph with vertex classes and has a matching in a graph saturating if and only if
Necessity is immediate: distinct vertices of must be matched to distinct vertices of .
For sufficiency, induct on . If every nonempty proper satisfies the strict bound , choose any edge and delete its endpoints. Every loses at most the neighbour , so Hall's condition remains true; induction supplies a matching of the smaller graph, to which is added.
Otherwise there is a nonempty proper tight set with . Hall's condition holds on the induced graph with parts , so induction matches . For , Hall's condition on gives
and hence . Induction therefore matches into . The two matchings are disjoint and together saturate , completing the proof through Hall induction through a tight set.
Identify a subset of with its binary characteristic vector. Then is the hypercube graph, and every edge changes set size by exactly one. The induced subgraph on is therefore bipartite with those two levels as its vertex classes.
Let . Every member of has neighbours in , obtained by adding one element, while every member of is incident with at most of these edges. Double-counting the edges between the two families gives
Since , we have , and hence . Hall's theorem yields the requested adjacent-level matching in a Boolean lattice, saturating .
Finally, every chain in a partially ordered set in the Boolean lattice contains at most one member of the middle level . Any chain partition therefore uses at least
chains.
For every , choose one of the matchings just constructed and orient its edges upward. These edges partition all levels at or below into chains ending at distinct middle-level sets. Taking complements gives, for every , a matching from into ; orienting its edges upward extends those chains through all upper levels. Every subset belongs to exactly one resulting chain and every chain meets exactly once. Thus this symmetric chain decomposition of a Boolean lattice has one chain per middle-level set, and the minimum is
Hall marriage theorem states that a bipartite graph with parts has a matching saturating iff for every . Starting with a maximum matching, an unmatched vertex and its alternating reachable set would violate Hall unless an augmenting path exists; flipping along that path increases the matching, proving sufficiency.
Every vertex cover meets each edge of a matching, so . Endpoints of a maximal matching cover every edge, so . A disjoint union of triangles has . For , and . In bipartite graphs the alternating-path proof constructs a cover of size equal to a maximum matching, giving König theorem.
The chromatic index is the minimum number of matchings partitioning the edges. Label vertices of by the vector space over ; for each nonzero , pair with . These perfect matchings partition all edges, while degree gives the matching lower bound, so .
The edge chromatic number is the least number of colors in a proper coloring of edges, where incident edges receive distinct colors. Hall marriage theorem says a bipartite graph has a matching saturating one side exactly when for every subset of that side.
In a 4-regular bipartite graph, the edges leaving all enter , whose vertices can receive at most such edges. Hence Hall's condition holds and there is a perfect matching. Remove it and repeat in the resulting 3-, 2-, and 1-regular bipartite graphs. The four perfect matchings give a four-edge-coloring, while every vertex requires four distinct colors. Therefore
The Hall marriage theorem says that a bipartite graph with classes has a matching saturating if and only if
where is the graph neighbourhood of . Necessity follows because the matching sends the vertices of to distinct vertices of .
For sufficiency, add vertices , join to every vertex of , and join every vertex of to . Let be an - vertex separator, and write and . If an edge joined a vertex of to a vertex of , it would give an - path avoiding . Hence
Hall's condition gives
and therefore . By Menger theorem, there are internally vertex-disjoint - paths. Each has the form with and ; disjointness makes all the and all the distinct. Their middle edges form a matching saturating .
Construct a bipartite graph with left vertices , right vertices , and an edge exactly when . For , every point of lies in some adjacent to one of those . Thus
Using finite additivity of Lebesgue measure and the equal-volume hypotheses,
Hence for every . The Hall marriage theorem supplies a perfect matching, which has the form for a permutation of . Every matched edge means precisely that .