Beck–Fiala theorem


In mathematics, the Beck–Fiala theorem is a major theorem in discrepancy theory due to József Beck and Tibor Fiala. Discrepancy is concerned with coloring elements of a ground set such that each set in a certain set system is as balanced as possible, i.e., has approximately the same number of elements of each color. The Beck–Fiala theorem is concerned with the case where each element doesn't appear many times across all sets. The theorem guarantees that if each element appears at most times, then the elements can be colored so that the imbalance is at most.

Statement

Formally, given a universe
and a collection of subsets
such that for each,
then one can find an assignment
such that

Proof sketch

The proof is based on a simple linear-algebraic argument. Start with for all elements and call all variables active in the beginning.
Consider only sets with. Since each element appears at most times in a set, there are less than such sets. Now, enforce linear constraints for them. Since it is a non-trivial linear subspace of with fewer constraints than variables, there is a non-zero solution. Normalize this solution, and at least one of the values is either. Set this value and inactivate this variable. Now, ignore the sets with less than active variables. And repeat the same procedure enforcing the linear constraints that the sum of active variables of each remaining set is still the same. By the same counting argument, there is a non-trivial solution, so one can take linear combinations of this with the original one until some element becomes. Repeat until all variables are set.
Once a set is ignored, the sum of the values of its variables is zero and there are at most unset variables. The change in those can increase to at most.