State and prove Hall's theorem.
Let n be an even positive integer. Let X={A:A⊂[n]} be the power set of [n]={1,2,…,n}. For 1⩽i⩽n, let Xi={A∈X:∣A∣=i}. Let Q be the graph with vertex set X where A,B∈X are adjacent if and only if ∣A△B∣=1. [Here, A△B denotes the symmetric difference of A and B, given by A△B:=(A∪B)\(A∩B).]
Let 1⩽i⩽2n. Why is the induced subgraph Q[Xi∪Xi−1] bipartite? Show that it contains a matching from Xi−1 to Xi.
A chain in X is a subset C⊂X such that whenever A,B∈C we have A⊂B or B⊂A. What is the least positive integer k such that X can be partitioned into k pairwise disjoint chains? Justify your answer.