Tutorials › Graph Theory (Undergraduate) › Strict Hall Conditions and Robust Representatives

Hall's Marriage Theorem · Tutorial 284 of 799

Strict Hall Conditions and Robust Representatives

Learn how strict Hall inequalities guarantee robust representatives, and how to verify the condition and its limits on small bipartite graphs.

Intermediate 10 min read

What You'll Learn

  • State the strict Hall condition for a bipartite graph.
  • Prove that deleting any one right-side vertex still permits a matching saturating the left side.
  • Extend the argument to deleting several vertices when the Hall surplus is large enough.
  • Check strict Hall inequalities for every nonempty subset in small examples.
  • Recognize why checking only the whole left side, or only the original matching, is insufficient.

Spare Neighbors and Robust Representatives

Hall’s condition asks whether each group of left-side vertices has enough right-side neighbors to receive distinct representatives. The strict version asks for one more neighbor than the group needs. That extra neighbor is useful: even if one right-side vertex disappears, each group still has enough available neighbors. We will prove this implication and examine what happens when the inequality is not strict.

Throughout, graphs are finite and simple. A bipartite graph \(G=(X\cup Y,E)\) has disjoint vertex sets \(X\) and \(Y\), and every edge joins a vertex of \(X\) to a vertex of \(Y\). For \(S\subseteq X\), its neighborhood is \(N_G(S)=\{y\in Y:xy\in E\text{ for some }x\in S\}\). A matching is a set of edges with no shared endpoints; it saturates \(X\) if every vertex of \(X\) belongs to one of its edges.

Definition: The graph satisfies the strict Hall condition on \(X\) if \(|N_G(S)|\ge |S|+1\) for every nonempty \(S\subseteq X\). The condition is vacuous when \(X=\varnothing\).

Deleting a right-side vertex \(y\in Y\) means removing \(y\) and all edges incident with it; the resulting graph is denoted \(G-y\). We use Hall’s theorem in its standard form: a finite bipartite graph with parts \(X,Y\) has a matching saturating \(X\) if and only if \(|N(S)|\ge |S|\) for every \(S\subseteq X\). Hall’s theorem and its proof appear in the earlier material on systems of distinct representatives.

The Robustness Theorem

Theorem: If \(G=(X\cup Y,E)\) satisfies the strict Hall condition on \(X\), then for every \(y\in Y\), the graph \(G-y\) has a matching saturating \(X\). This includes the case \(X=\varnothing\), for which the empty matching saturates \(X\).

Proof. If \(X=\varnothing\), the empty matching proves the claim. Suppose \(X\ne\varnothing\), fix \(y\in Y\), and consider any \(S\subseteq X\). If \(S=\varnothing\), then its neighborhood has size \(0=|S|\). If \(S\ne\varnothing\), deleting \(y\) removes at most one member of \(N_G(S)\), so \[ |N_{G-y}(S)|=|N_G(S)\setminus\{y\}|\ge |N_G(S)|-1\ge (|S|+1)-1=|S|. \] Thus \(G-y\) satisfies Hall’s condition for every \(S\subseteq X\). Hall’s theorem gives a matching in \(G-y\) saturating \(X\). \(\square\)

The proof identifies the exact role of the extra neighbor. For each set \(S\), there may be one fewer neighbor after a deletion, but the strict inequality guarantees that at least \(|S|\) remain. The deleted vertex need not belong to \(N_G(S)\): in that case the neighborhood does not shrink, and the same lower bound still holds.

Worked Example: Three Left Vertices and Four Right Vertices

Let \(G=(X\cup Y,E)\) be the bipartite graph with \(X=\{a,b,c\}\), \(Y=\{1,2,3,4\}\), and \(E=\{a1,a2,b2,b3,c3,c4\}\). We check strict Hall for every nonempty \(S\subseteq X\).

For the singletons, \(N(\{a\})=\{1,2\}\), \(N(\{b\})=\{2,3\}\), and \(N(\{c\})=\{3,4\}\), each of size \(2=1+1\). For the pairs, \(N(\{a,b\})=\{1,2,3\}\), \(N(\{a,c\})=\{1,2,3,4\}\), and \(N(\{b,c\})=\{2,3,4\}\); their sizes are respectively \(3,4,3\), each at least \(2+1=3\). Finally, \(N(X)=\{1,2,3,4\}\), of size \(4=3+1\). The strict Hall condition holds.

Here are matchings after each possible single deletion: after deleting \(1\), take \(\{a2,b3,c4\}\); after deleting \(2\), take \(\{a1,b3,c4\}\); after deleting \(3\), take \(\{a1,b2,c4\}\); after deleting \(4\), take \(\{a1,b2,c3\}\). Each listed set has three edges, one incident with each of \(a,b,c\), and no repeated right endpoint. Thus each is a matching saturating \(X\).

Check: Each matching uses three distinct vertices of \(Y\setminus\{y\}\), the three right-side vertices remaining after the specified deletion. This verifies the output directly for all four deletions.

More Deletions When There Is More Slack

The same counting argument gives a broader conclusion. The number of spare neighbors sets how many right-side vertices may be removed while retaining Hall’s condition.

Proposition: Let \(r\) be a nonnegative integer. If \(|N_G(S)|\ge |S|+r\) for every nonempty \(S\subseteq X\), then for every \(D\subseteq Y\) with \(|D|\le r\), the graph obtained by deleting all vertices of \(D\) has a matching saturating \(X\).

Proof. Fix \(D\subseteq Y\) with \(|D|\le r\). For \(S=\varnothing\), the Hall inequality in the graph after deletion is \(0\ge0\). For any nonempty \(S\subseteq X\), at most \(|D|\) members of its neighborhood are removed. Consequently, \[ |N_{G-D}(S)|=|N_G(S)\setminus D| \ge |N_G(S)|-|D| \ge |S|+r-|D| \ge |S|. \] The graph after deletion therefore satisfies Hall’s condition for every subset of \(X\). Hall’s theorem supplies a matching saturating \(X\). If \(X=\varnothing\), the empty matching also gives the conclusion. \(\square\)

Taking \(r=1\) recovers the robustness theorem. For \(r=0\), the proposition is simply Hall’s theorem’s sufficiency direction. The assertion is a guarantee based on a uniform lower bound: if some set has fewer than \(|S|+r\) neighbors, the proposition does not decide whether particular deletions are safe.

Worked Example: Two Deletions with Two Units of Slack

Let \(X=\{a,b\}\), \(Y=\{u,v,w,z\}\), and \(E=\{au,av,aw,bu,bv,bz\}\). For \(S=\{a\}\), the neighborhood is \(\{u,v,w\}\), of size \(3=1+2\). For \(S=\{b\}\), it is \(\{u,v,z\}\), also of size \(3=1+2\). For \(S=X\), it is \(\{u,v,w,z\}\), of size \(4=2+2\). Thus every nonempty subset has at least \(|S|+2\) neighbors.

Delete \(D=\{u,v\}\). The remaining right vertices are \(\{w,z\}\), and the remaining edges are \(aw,bz\). The set \(\{aw,bz\}\) is a matching saturating \(X\). The proposition guarantees a saturating matching for any choice of at most two deleted right vertices, not just this particular pair.

Check: After the displayed deletion, \(N_{G-D}(\{a\})=\{w\}\) and \(N_{G-D}(\{b\})=\{z\}\), each of size \(1\); \(N_{G-D}(X)=\{w,z\}\), of size \(2\). These are exactly the Hall lower bounds for the three nonempty subsets.

Strict Hall as an Exact Single-Deletion Test

When \(Y\ne\varnothing\), the strict condition is not only sufficient: it is equivalent to having a saturating matching after every single right-side deletion. This gives a useful characterization of what the extra neighbor means.

Theorem: Suppose \(G=(X\cup Y,E)\) is a finite bipartite graph and \(Y\ne\varnothing\). Then \(G\) satisfies the strict Hall condition on \(X\) if and only if \(G-y\) has a matching saturating \(X\) for every \(y\in Y\).

Proof. The forward direction is the robustness theorem. For the reverse direction, suppose that every \(G-y\), for \(y\in Y\), has a matching saturating \(X\). Fix a nonempty set \(S\subseteq X\). First, \(N_G(S)\ne\varnothing\): choose any \(y_0\in Y\), which is possible because \(Y\ne\varnothing\). A matching in \(G-y_0\) saturating \(X\) matches every vertex of \(S\) to a right-side vertex, so \(S\) has a neighbor in \(G\). Now choose \(y\in N_G(S)\). A matching saturating \(X\) in \(G-y\) matches the vertices of \(S\) to \(|S|\) distinct vertices of \(N_G(S)\setminus\{y\}\). Hence \(|N_G(S)\setminus\{y\}|\ge |S|\), and therefore \(|N_G(S)|\ge |S|+1\). Since this holds for every nonempty \(S\), the strict Hall condition follows. \(\square\)

The assumption \(Y\ne\varnothing\) makes the family of single-deletion tests nonempty. If \(X=\varnothing\), the strict condition is vacuous and every deletion leaves the empty matching; the equivalence remains valid when \(Y\ne\varnothing\).

Worked Example: A Tight Set That Loses Robustness

Let \(X=\{a,b,c\}\), \(Y=\{1,2,3\}\), and \(E=\{a1,a2,b1,b2,c3\}\). In the original graph, \(\{a1,b2,c3\}\) is a matching saturating \(X\). But for \(S=\{a,b\}\), \(N(S)=\{1,2\}\), so \(|N(S)|=2=|S|\), not \(|S|+1=3\).

Delete vertex \(1\). The only remaining neighbor of each of \(a\) and \(b\) is \(2\); vertex \(c\) has neighbor \(3\). A matching can use at most one of \(a2\) and \(b2\), because they share endpoint \(2\). Thus at least one of \(a,b\) is unsaturated, and no matching in \(G-1\) saturates \(X\).

Check: In \(G-1\), the neighborhood of \(\{a,b\}\) is \(\{2\}\), of size \(1<2\). Hall’s necessary condition fails for this set, confirming that deletion has destroyed the possibility of a saturating matching.

Common Pitfall: Checking Only the Whole Left Side

The strict inequality must hold for every nonempty subset of \(X\), not just for \(X\) itself. For example, let \(X=\{a,b,c\}\), \(Y=\{1,2,3,4\}\), and \(E=\{a1,a2,b1,b2,c3,c4\}\). The whole set has four neighbors, so \(|N(X)|=4=|X|+1\). But for \(S=\{a,b\}\), \(N(S)=\{1,2\}\), and \(|N(S)|=2<|S|+1=3\). Deleting \(1\) leaves \(a\) and \(b\) with only the shared neighbor \(2\), so they cannot both be matched.

A related counting error is to assume deletion always removes exactly one neighbor from every set. The correct identity is \(N_{G-y}(S)=N_G(S)\setminus\{y\}\): the neighborhood loses one vertex if \(y\in N_G(S)\), and loses none otherwise. In either case its size is at least \(|N_G(S)|-1\), which is the inequality used in the proof.

Robust representatives are useful when one option may become unavailable but the remaining choices must still permit a distinct assignment. The key question is not merely whether the original graph has a saturating matching. It is whether every group \(S\) has enough neighbors to absorb the loss. Strict Hall gives exactly one unit of protection against a single deletion; a surplus of \(r\) gives protection against up to \(r\) deletions.

Check Your Understanding

Use Hall’s condition and the deletion argument to justify your answers.

  1. For \(X=\{a,b\}\), \(Y=\{1,2,3\}\), and \(E=\{a1,a2,b2,b3\}\), verify the strict Hall condition for every nonempty subset of \(X\).
  2. In the graph in Question 1, give a matching saturating \(X\) after deleting each of \(1,2,3\).
  3. Suppose \(|N(S)|\ge |S|+2\) for every nonempty \(S\subseteq X\). What does the proposition guarantee after deleting two right-side vertices?
  4. Why is the hypothesis \(Y\ne\varnothing\) included in the equivalence with the single-deletion test?
  5. Give a set \(S\) witnessing failure of strict Hall for the graph with \(X=\{a,b,c\}\), \(Y=\{1,2,3,4\}\), and \(E=\{a1,a2,b1,b2,c3,c4\}\). What happens after deleting \(1\)?