Let be prime and set . If a bipartite graph has edge-disjoint perfect matchings on nested nonempty vertex sets, and , then the union of consecutive matchings in a graph has maximum degree at most and more than edges. The prime-regular subgraph from Boolean polynomial constraints gives a -regular subgraph. Its perfect matching decomposition gives a -regular subgraph for every . If none exists, every steps shrink the vertex set by factor at most , bounding by a constant times .
Choose a fixed prime , and put . We first derive the polynomial step: a graph on vertices and edges, with maximum degree at most , contains a nonempty -regular subgraph. Use a Boolean variable for each edge and work over . Define
The first product has degree at most , while the full squarefree monomial has coefficient in the second term with its minus sign. The Combinatorial Nullstellensatz, with every grid , gives a nonzero value of . Since , this is a nonempty edge selection. The second product is then zero, so the first is nonzero. Fermat's little theorem makes each selected vertex degree zero modulo . The maximum-degree bound implies that every positive selected degree is precisely . This proves the prime-regular subgraph from Boolean polynomial constraints.
We next turn density into an almost-regular bipartite subgraph, keeping the logarithmic loss explicit. Let the original graph have vertices and edges. Some bipartition retains at least edges: choose the sides independently with probability and average the number crossing. Its average degree is at least . Repeatedly delete a vertex of degree at most half the current average degree. Such a deletion cannot lower that average, since
The process cannot delete the last positive-density graph, because the maintained average is positive. At termination the minimum degree is an integer .
Choose the larger side of this remaining bipartite graph, with opposite side . Keep exactly edges at each vertex of ; choices at different vertices of do not conflict. Remove any now-isolated vertices of . Thus , and every vertex of has degree .
Such a half-regular graph contains a half-regular restriction with a perfect matching. Choose a minimal nonempty satisfying , which exists because the whole side satisfies this inequality. In fact equality holds: if it were strict, deleting a vertex of would retain the inequality, contradicting minimality; the singleton case has at least one neighbor. Every proper subset satisfies . Hall's marriage theorem therefore supplies a perfect matching on . All edges incident with each vertex of remain inside that restriction.
Delete this perfect matching and repeat the restriction argument. The left degrees decrease by one at each step. We obtain edge-disjoint perfect matchings on nested nonempty vertex sets, with sizes
For any with , the union of consecutive matchings in a graph has maximum degree at most and at least edges on vertices. If
it has more than edges, so the polynomial step yields a -regular bipartite subgraph. Every regular bipartite graph decomposes into perfect matchings: for a set in one part, counting incident edges gives Hall's inequality, so a perfect matching exists; remove it and repeat. Choosing of these matchings in a graph gives a nonempty -regular subgraph. This is the nested matching criterion for a regular subgraph.
If no -regular subgraph exists, every displayed size ratio must therefore satisfy the reverse inequality. Iterating at indices gives, with ,
Consequently and
Combining with proves the required edge bound. For example the finite constant
works for every , and the case has no edges. Thus
The logarithm comes from how often a nested matching in a graph vertex set can shrink by a fixed factor before becoming empty; it is not supplied by the polynomial step alone.