请输入您要查询的百科知识:

 

词条 Hall's marriage theorem
释义

  1. Combinatorial formulation

      Examples    Application to marriage  

  2. Graph theoretic formulation

      Proof of the graph theoretic version    Constructive proof of the hard direction    Equivalence of the combinatorial formulation and the graph-theoretic formulation  

  3. Applications

  4. Logical equivalences

  5. Infinite families

      Marshall Hall Jr. variant   Marriage condition does not extend 

  6. General graphs

  7. Notes

  8. References

  9. External links

Hall's marriage theorem, proved by {{harvs|txt|first=Philip|last=Hall|authorlink=Philip Hall|year=1935}}, is a theorem with two equivalent formulations:

  • The combinatorial mathematics formulation deals with a collection of finite sets. It gives a necessary and sufficient condition for being able to select a distinct element from each set.
  • The graph theoretic formulation deals with a bipartite graph. It gives a necessary and sufficient condition for finding a matching that covers at least one side of the graph.

Combinatorial formulation

Let be a (possibly infinite) family of finite subsets of , where the members of are counted with multiplicity. (That is, may contain the same set several times.)[1]

A transversal for is the image of an injective function from to such that is an element of the set for every in the family . In other words, selects one representative from each set in in such a way that no two sets from get the same representative. An alternative term for transversal is system of distinct representatives.

The collection S satisfies the marriage condition when for each subfamily ,

Restated in words, the marriage condition asserts that every subfamily of covers at least different members of .

If the marriage condition fails then there cannot be a transversal of .

{{collapse top|title=Proof|width=50%}}

Suppose that the marriage condition fails, i.e., that for some subcollection of , Suppose, by way of contradiction, that a transversal of also exists.

The restriction of to the offending subcollection would be an injective function from into . This is impossible by the pigeonhole principle since . Therefore no transversal can exist if the marriage condition fails.

{{collapse bottom}}

Hall's theorem states that the converse is also true:

{{math_theorem|name=Hall's Marriage Theorem|math_statement=A family S of finite sets has a transversal if and only if S satisfies the marriage condition.}}

Examples

Example 1: Consider S = {A1, A2, A3} with

A1 = {1, 2, 3}

A2 = {1, 4, 5}

A3 = {3, 5}.

A valid transversal would be (1, 4, 5). (Note this is not unique: (2, 1, 3) works equally well, for example.)

Example 2: Consider S = {A1, A2, A3, A4} with

A1 = {2, 3, 4, 5}

A2 = {4, 5}

A3 = {5}

A4 = {4}.

No valid transversal exists; the marriage condition is violated as is shown by the subcollection W = {A2, A3, A4}. Here the number of sets in the subcollection |W| = 3 while the union of the three sets A2 U A3 U A4 contain only 2 elements of X.

Example 3: Consider S= {A1, A2, A3, A4} with

A1 = {a, b, c}

A2 = {b, d}

A3 = {a, b, d}

A4 = {b, d}.

The only valid transversals are (c, b, a, d) and (c, d, a, b).

Application to marriage

The standard example of an application of the marriage theorem is to imagine two groups; one of n men, and one of n women. For each woman, there is a subset of the men, any one of which she would happily marry; and any man would be happy to marry a woman who wants to marry him. Consider whether it is possible to pair up (in marriage) the men and women so that every person is happy.

If we let Ai be the set of men that the i-th woman would be happy to marry, then the marriage theorem states that each woman can happily marry a man if and only if the collection of sets {Ai} meets the marriage condition.

Note that the marriage condition is that, for any subset of the women, the number of men whom at least one of the women would be happy to marry, , be at least as big as the number of women in that subset, . It is obvious that this condition is necessary, as if it does not hold, there are not enough men to share among the women. What is interesting is that it is also a sufficient condition.

Graph theoretic formulation

Let G be a finite bipartite graph with bipartite sets X and Y ( G:= (X + Y, E)). An X-saturating matching is a matching which covers every vertex in X.

For a subset W of X, let denote the neighborhood of W in G, i.e. the set of all vertices in Y adjacent to some element of W. The marriage theorem in this formulation states that there is an X-saturating matching if and only if for every subset W of X:

In other words: every subset W of X has sufficiently many adjacent vertices in Y.

Proof of the graph theoretic version

Easy direction: we assume that some matching M saturates every vertex of X, and prove that Hall's condition is satisfied for all W ⊆ X. Let M(W) denote the set of all vertices in Y matched by M to a given W. By definition of a matching, |M(W)|=|W|. But M(W) ⊆ NG(W), since all elements of M(W) are neighbours of W. So, |NG(W)| ≥ |M(W)| and hence, |NG(W)| ≥ |W|.

Hard direction: we assume that there is no X-saturating matching and prove that Hall's condition is violated for at least one W ⊆ X. Let M be a maximum matching, and u a vertex not saturated by M. Consider all alternating paths (i.e., paths in G alternately using edges outside and inside M) starting from u. Let the set of all points in Y connected to u by these alternating paths be Z, and the set of all points in X connected to u by these alternating paths (including u itself) be W. No maximal alternating path can end in a vertex in Y, lest it would be an augmenting path, so that we could augment M to a strictly larger matching by toggling the status (belongs to M or not) of all the edges of the path. Thus every vertex in Z is matched by M to a vertex in W \\ {u}. Conversely, every vertex v in W \\ {u} is matched by M to a vertex in Z (namely, the vertex preceding v on an alternating path ending at v). Thus, M provides a bijection of W \\ {u} and Z, which implies |W| = |Z| + 1. On the other hand, NG(W) ⊆ Z: let v in Y be connected to a vertex w in W. If the edge (w,v) is in M, then v is in Z by the previous part of the proof, otherwise we can take an alternating path ending in w and extend it with v, getting an augmenting path and showing that v is in Z. Hence, |NG(W)| ≤ |Z| = |W| − 1<|W|.

Constructive proof of the hard direction

The following algorithm either finds an X-saturating matching M, or finds a Hall violator W (a subset of X for which |NG(W)| < |W|.[2]

  1. Initialize M := {}.
  2. Assert: M is a matching in G.
  3. If M covers all vertices of X, return M (it is an X-saturating matching).
  4. Let x0 be an unmatched vertex (in X \\ V(M)).
  5. Set k=0, Wk := {x0}, Zk := {}.
  6. Assert:
    • Wk = {x0,...,xk} where the xi are distinct vertices of X;
    • Zk = {y1,...,yk} where the yi are distinct vertices of Y;
    • For all i ≥ 1, yi is matched to xi by M.
    • For all i ≥ 1, yi is connected to some xj by an edge not in M.
  7. If NG(Wk) ⊆ Zk, return Wk (it is a Hall violator since |Wk| = k+1 > k = |Zk| ≥ |NG(Wk)|).
  8. Otherwise, let yk+1 be a vertex in NG(Wk) \\ Zk. Consider the following two cases:
  9. Case 1: yk+1 is matched by M.
    • Since x0 is unmatched, and every xi in Wk is matched to yi in Zk, the partner of this yk+1 must be some vertex of X that is not in Wk. Denote it by xk+1.
    • Let Wk+1 := Wk U {xk+1} and Zk+1 := Zk U {yk+1} and k := k+1.
    • Go back to step 6.
  10. Case 2: yk+1 is unmatched by M.
    • Since yk+1 is in NG(Wk), it is connected to some xi (for i) by an edge not in M. xi is connected to yi by an edge in M. yi is connected to some xj (for j<i) by an edge not in M, and so on. Following these connections must eventually lead to x0, which is unmatched. Hence we have an M-augmenting path.
    • Use this M-augmenting path to increase the size of M (by one edge).
    • Go back to step 2.

At each iteration, either Wk and Zk grow by one vertex, or M grows by one edge (and Wk, Zk are reset). Hence, this algorithm must end after at most |E||X| steps. It ends either with an X-saturating matching or with a Hall violator. The runtime complexity is similar to the Ford-Fulkerson method for finding a maximum cardinality matching.

Equivalence of the combinatorial formulation and the graph-theoretic formulation

Let S = (A1, A2, ..., An) where the Ai are finite sets which need not be distinct. Let the set X = {A1, A2, ..., An} (that is, the set of names of the elements of S) and the set Y be the union of all the elements in all the Ai.

We form a finite bipartite graph G:= (X + Y, E), with bipartite sets X and Y by joining any element in Y to each Ai which it is a member of. A transversal of S is an X-saturating matching (a matching which covers every vertex in X) of the bipartite graph G. Thus a problem in the combinatorial formulation can be easily translated to a problem in the graph-theoretic formulation.

Applications

The theorem has many other interesting "non-marital" applications. For example, take a standard deck of cards, and deal them out into 13 piles of 4 cards each. Then, using the marriage theorem, we can show that it is always possible to select exactly 1 card from each pile, such that the 13 selected cards contain exactly one card of each rank (Ace, 2, 3, ..., Queen, King).

More abstractly, let G be a group, and H be a finite subgroup of G. Then the marriage theorem can be used to show that there is a set T such that T is a transversal for both the set of left cosets and right cosets of H in G.

The marriage theorem is used in the usual proofs of the fact that an (r × n) Latin rectangle can always be extended to an ((r+1) × n) Latin rectangle when r < n, and so, ultimately to a Latin square.

Logical equivalences

This theorem is part of a collection of remarkably powerful theorems in combinatorics, all of which are related to each other in an informal sense in that it is more straightforward to prove one of these theorems from another of them than from first principles. These include:

  • The König–Egerváry theorem (1931) (Dénes Kőnig, Jenő Egerváry)
  • König's theorem[3]
  • Menger's theorem (1927)
  • The max-flow min-cut theorem (Ford–Fulkerson algorithm)
  • The Birkhoff–Von Neumann theorem (1946)
  • Dilworth's theorem.

In particular,[4][5] there are simple proofs of the implications Dilworth's theorem ⇔ Hall's theorem ⇔ König–Egerváry theorem ⇔ König's theorem.

Infinite families

Marshall Hall Jr. variant

By examining Philip Hall's original proof carefully, Marshall Hall, Jr. (no relation to Philip Hall) was able to tweak the result in a way that permitted the proof to work for infinite S.[6] This variant refines the marriage theorem and provides a lower bound on the number of transversals that a given S may have. This variant is:[7]

Suppose that (A1, A2, ..., An), where the Ai are finite sets that need not be distinct, is a family of sets satisfying the marriage condition, and suppose that |Ai| ≥ r for i = 1, ..., n. Then the number of different transversals for the family is at least r ! if rn and r(r - 1) ... (r - n +1) if r > n.

Recall that a transversal for a family S is an ordered sequence, so two different transversals could have exactly the same elements. For instance, the family A1 = {1,2,3}, A2 = {1,2,5} has both (1,2) and (2,1) as distinct transversals.

Marriage condition does not extend

The following example, due to Marshall Hall, Jr., shows that the marriage condition will not guarantee the existence of a transversal in an infinite family in which infinite sets are allowed.

Let S be the family, A0 = {1, 2, 3, ...}, A1 = {1}, A2 = {2}, ..., Ai = {i}, ...

The marriage condition holds for this infinite family, but no transversal can be constructed.[8]

The more general problem of selecting a (not necessarily distinct) element from each of a collection of nonempty sets (without restriction as to the number of sets or the size of the sets) is permitted in general only if the axiom of choice is accepted.

The marriage theorem does extend to the infinite case if stated properly. Given a bipartite graph with sides A and B, we say that a subset C of B is smaller than or equal in size to a subset D of A in the graph if there exists an injection in the graph (namely, using only edges of the graph) from C to D, and that it is strictly smaller in the graph if in addition there is no injection in the graph in the other direction. Note that omitting in the graph yields the ordinary notion of comparing cardinalities. The infinite marriage theorem states that there exists an injection from A to B in the graph, if and only if there is no subset C of A such that N(C) is strictly smaller than C in the graph.[9]

General graphs

A generalization of Hall's theorem to general graphs (that are not necessarily bipartite) is provided by the Tutte theorem.

Notes

1. ^{{harvnb|Hall, Jr.|1986|loc=pg. 51}}. It is also possible to have infinite sets in the family, but the number of sets in the family must then be finite, counted with multiplicity. Only the situation of having an infinite number of sets while allowing infinite sets is not allowed.
2. ^{{Cite web|url=https://www.cse.ust.hk/~golin/COMP572/Notes/Matching.pdf|title=Bipartite Matching & the Hungarian Method|last=Mordecai J. Golin|date=2006|website=|archive-url=|archive-date=|dead-url=|access-date=}}
3. ^The naming of this theorem is inconsistent in the literature. There is the result concerning matchings in bipartite graphs and its interpretation as a covering of (0,1)-matrices. {{harvtxt|Hall, Jr.|1986}} and {{harvtxt|van Lint|Wilson|1992}} refer to the matrix form as König's theorem, while {{harvtxt|Roberts|Tesman|2009}} refer to this version as the Kőnig-Egerváry theorem. The bipartite graph version is called Kőnig's theorem by {{harvtxt|Cameron|1994}} and {{harvtxt|Roberts|Tesman|2009}}.
4. ^Equivalence of seven major theorems in combinatorics
5. ^{{harvnb|Reichmeider|1984}}
6. ^{{harvnb|Hall, Jr.|1986|loc=pg. 51}}
7. ^{{harvnb|Cameron|1994|loc=pg.90}}
8. ^{{harvnb|Hall, Jr.|1986|loc=pg. 51}}
9. ^{{Cite journal|last=Aharoni|first=Ron|date=February 1984|title=König's Duality Theorem for Infinite Bipartite Graphs|journal=Journal of the London Mathematical Society|volume=s2-29|issue=1|pages=1–12|doi=10.1112/jlms/s2-29.1.1|issn=0024-6107}}

References

  • {{Citation|first=Richard A.|last=Brualdi|title=Introductory Combinatorics|publisher=Prentice-Hall/Pearson|place=Upper Saddle River, NJ|year=2010|isbn=978-0-13-602040-0}}
  • {{Citation|first=Peter J.|last=Cameron|title=Combinatorics: Topics, Techniques, Algorithms|publisher= Cambridge University Press|place=Cambridge|year=1994|isbn=978-0-521-45761-3}}
  • {{Citation | last1=Dongchen | first1=Jiang | last2=Nipkow | first2=Tobias | author2-link=Tobias Nipkow|title=Hall's Marriage Theorem | journal=The Archive of Formal Proofs | year=2010 | url=http://afp.sourceforge.net/entries/Marriage.shtml | issn=2150-914X | postscript=. Computer-checked proof.}}
  • {{Citation|last=Hall, Jr.|first=Marshall|title=Combinatorial Theory|edition=2nd|publisher=John Wiley & Sons|place=New York|year=1986|isbn=978-0-471-09138-7}}
  • {{Citation | last1=Hall | first1=Philip | author1-link=Philip Hall | title=On Representatives of Subsets | doi=10.1112/jlms/s1-10.37.26 | year=1935 | journal=J. London Math. Soc. | volume=10 | issue=1 | pages=26–30}}
  • {{citation | last1 = Halmos | first1 = Paul R. | author1-link = Paul Halmos | last2 = Vaughan | first2 = Herbert E. | doi = 10.2307/2372148 | journal = American Journal of Mathematics | mr = 0033330 | pages = 214–215 | title = The marriage problem | volume = 72 | issue = 1 | year = 1950| jstor = 2372148 }}
  • {{Citation|last=Reichmeider|first=P.F.|title=The Equivalence of Some Combinatorial Matching Theorems|publisher=Polygonal Publishing House|year=1984|isbn=978-0-936428-09-3}}
  • {{Citation|last1=Roberts|first1=Fred S.|last2=Tesman|first2=Barry|title=Applied Combinatorics|edition=2nd|publisher=CRC Press|place=Boca Raton|year=2009|isbn=978-1-4200-9982-9}}
  • {{Citation|last1=van Lint|first1=J. H.|last2=Wilson|first2=R.M.|title=A Course in Combinatorics|publisher=Cambridge University Press|place=Cambridge|year=1992|isbn=978-0-521-42260-4}}

External links

  • Marriage Theorem at cut-the-knot
  • Marriage Theorem and Algorithm at cut-the-knot
  • Hall's marriage theorem explained intuitively at Lucky's notes.
{{PlanetMath attribution|id=3059|title=proof of Hall's marriage theorem}}

4 : Matching|Theorems in combinatorics|Theorems in graph theory|Articles containing proofs

随便看

 

开放百科全书收录14589846条英语、德语、日语等多语种百科知识,基本涵盖了大多数领域的百科知识,是一部内容自由、开放的电子版国际百科全书。

 

Copyright © 2023 OENC.NET All Rights Reserved
京ICP备2021023879号 更新时间:2024/11/16 11:03:00