Honors Combinatorics
CMSC-27410 = Math-28410 ∼ CMSC-37200 Instructor: Laszlo Babai University of Chicago Week 8, Thursday, May 28, 2020
CMSC-27410=Math-28410∼CMSC-3720 Honors Combinatorics
Honors Combinatorics CMSC-27410 = Math-28410 CMSC-37200 Instructor: - - PowerPoint PPT Presentation
Honors Combinatorics CMSC-27410 = Math-28410 CMSC-37200 Instructor: Laszlo Babai University of Chicago Week 8, Thursday, May 28, 2020 CMSC-27410=Math-28410 CMSC-3720 Honors Combinatorics Variance of sum of random variables Var ( X ) = E
CMSC-27410=Math-28410∼CMSC-3720 Honors Combinatorics
variance Var(X) = E((X − E(X))2) = E(X 2) − (E(X))2 Var(X) ≥ 0 standard deviation σ(X) =
CMSC-27410=Math-28410∼CMSC-3720 Honors Combinatorics
variance Var(X) = E((X − E(X))2) = E(X 2) − (E(X))2 Var(X) ≥ 0 standard deviation σ(X) =
covariance Cov(X, Y) = E(XY) − E(X)E(Y) If X, Y independent then Cov(X, Y) =
CMSC-27410=Math-28410∼CMSC-3720 Honors Combinatorics
variance Var(X) = E((X − E(X))2) = E(X 2) − (E(X))2 Var(X) ≥ 0 standard deviation σ(X) =
covariance Cov(X, Y) = E(XY) − E(X)E(Y) If X, Y independent then Cov(X, Y) = 0
CMSC-27410=Math-28410∼CMSC-3720 Honors Combinatorics
variance Var(X) = E((X − E(X))2) = E(X 2) − (E(X))2 Var(X) ≥ 0 standard deviation σ(X) =
covariance Cov(X, Y) = E(XY) − E(X)E(Y) If X, Y independent then Cov(X, Y) = 0 Cov(X, X) =
CMSC-27410=Math-28410∼CMSC-3720 Honors Combinatorics
variance Var(X) = E((X − E(X))2) = E(X 2) − (E(X))2 Var(X) ≥ 0 standard deviation σ(X) =
covariance Cov(X, Y) = E(XY) − E(X)E(Y) If X, Y independent then Cov(X, Y) = 0 Cov(X, X) = Var(X)
CMSC-27410=Math-28410∼CMSC-3720 Honors Combinatorics
variance Var(X) = E((X − E(X))2) = E(X 2) − (E(X))2 Var(X) ≥ 0 standard deviation σ(X) =
covariance Cov(X, Y) = E(XY) − E(X)E(Y) If X, Y independent then Cov(X, Y) = 0 Cov(X, X) = Var(X) Y = n
i=1 Xi
Var(Y) =
CMSC-27410=Math-28410∼CMSC-3720 Honors Combinatorics
variance Var(X) = E((X − E(X))2) = E(X 2) − (E(X))2 Var(X) ≥ 0 standard deviation σ(X) =
covariance Cov(X, Y) = E(XY) − E(X)E(Y) If X, Y independent then Cov(X, Y) = 0 Cov(X, X) = Var(X) Y = n
i=1 Xi
Var(Y) =
i
i Var(Xi) + ij Cov(Xi, Xj)
If the Xi are independent then Var(Y) =
CMSC-27410=Math-28410∼CMSC-3720 Honors Combinatorics
variance Var(X) = E((X − E(X))2) = E(X 2) − (E(X))2 Var(X) ≥ 0 standard deviation σ(X) =
covariance Cov(X, Y) = E(XY) − E(X)E(Y) If X, Y independent then Cov(X, Y) = 0 Cov(X, X) = Var(X) Y = n
i=1 Xi
Var(Y) =
i
i Var(Xi) + ij Cov(Xi, Xj)
If the Xi are independent then Var(Y) =
i Var(Xi)
CMSC-27410=Math-28410∼CMSC-3720 Honors Combinatorics
variance Var(X) = E((X − E(X))2) = E(X 2) − (E(X))2 Var(X) ≥ 0 standard deviation σ(X) =
covariance Cov(X, Y) = E(XY) − E(X)E(Y) If X, Y independent then Cov(X, Y) = 0 Cov(X, X) = Var(X) Y = n
i=1 Xi
Var(Y) =
i
i Var(Xi) + ij Cov(Xi, Xj)
If the Xi are pairwise independent then Var(Y) =
i Var(Xi)
CMSC-27410=Math-28410∼CMSC-3720 Honors Combinatorics
X = ±1 with prob (1/2, 1/2) E(X) =
CMSC-27410=Math-28410∼CMSC-3720 Honors Combinatorics
X = ±1 with prob (1/2, 1/2) E(X) = 0 Var(X) =
CMSC-27410=Math-28410∼CMSC-3720 Honors Combinatorics
X = ±1 with prob (1/2, 1/2) E(X) = 0 Var(X) = E(X 2) − (E(X))2 = 1 − 0 = 1
CMSC-27410=Math-28410∼CMSC-3720 Honors Combinatorics
X = ±1 with prob (1/2, 1/2) E(X) = 0 Var(X) = E(X 2) − (E(X))2 = 1 − 0 = 1 Xi = ±1 with prob (1/2, 1/2) independent (i ∈ [n]) Y := n
i=1 Xi
CMSC-27410=Math-28410∼CMSC-3720 Honors Combinatorics
X = ±1 with prob (1/2, 1/2) E(X) = 0 Var(X) = E(X 2) − (E(X))2 = 1 − 0 = 1 Xi = ±1 with prob (1/2, 1/2) independent (i ∈ [n]) Y := n
i=1 Xi
Var(Y) =
CMSC-27410=Math-28410∼CMSC-3720 Honors Combinatorics
X = ±1 with prob (1/2, 1/2) E(X) = 0 Var(X) = E(X 2) − (E(X))2 = 1 − 0 = 1 Xi = ±1 with prob (1/2, 1/2) independent (i ∈ [n]) Y := n
i=1 Xi
Var(Y) = n
i=1 Var(Xi) = n
CMSC-27410=Math-28410∼CMSC-3720 Honors Combinatorics
X = ±1 with prob (1/2, 1/2) E(X) = 0 Var(X) = E(X 2) − (E(X))2 = 1 − 0 = 1 Xi = ±1 with prob (1/2, 1/2) independent (i ∈ [n]) Y := n
i=1 Xi
Var(Y) = n
i=1 Var(Xi) = n
standard deviation of Y:
CMSC-27410=Math-28410∼CMSC-3720 Honors Combinatorics
X = ±1 with prob (1/2, 1/2) E(X) = 0 Var(X) = E(X 2) − (E(X))2 = 1 − 0 = 1 Xi = ±1 with prob (1/2, 1/2) independent (i ∈ [n]) Y := n
i=1 Xi
Var(Y) = n
i=1 Var(Xi) = n
standard deviation of Y: √ Var Y = √ n
CMSC-27410=Math-28410∼CMSC-3720 Honors Combinatorics
X = ±1 with prob (1/2, 1/2) E(X) = 0 Var(X) = E(X 2) − (E(X))2 = 1 − 0 = 1 Xi = ±1 with prob (1/2, 1/2) independent (i ∈ [n]) Y := n
i=1 Xi
Var(Y) = n
i=1 Var(Xi) = n
standard deviation of Y: √ Var Y = √ n If k = O( √ n) and k ≡ n (mod 2) then P(Y = k) = Θ(
CMSC-27410=Math-28410∼CMSC-3720 Honors Combinatorics
X = ±1 with prob (1/2, 1/2) E(X) = 0 Var(X) = E(X 2) − (E(X))2 = 1 − 0 = 1 Xi = ±1 with prob (1/2, 1/2) independent (i ∈ [n]) Y := n
i=1 Xi
Var(Y) = n
i=1 Var(Xi) = n
standard deviation of Y: √ Var Y = √ n If k = O( √ n) and k ≡ n (mod 2) then P(Y = k) = Θ(1/ √ n)
CMSC-27410=Math-28410∼CMSC-3720 Honors Combinatorics
X = ±1 with prob (1/2, 1/2) E(X) = 0 Var(X) = E(X 2) − (E(X))2 = 1 − 0 = 1 Xi = ±1 with prob (1/2, 1/2) independent (i ∈ [n]) Y := n
i=1 Xi
Var(Y) = n
i=1 Var(Xi) = n
standard deviation of Y: √ Var Y = √ n If k = O( √ n) and k ≡ n (mod 2) then P(Y = k) = Θ(1/ √ n) If k = Θ( √ n) then P(|Y| ≤ k) =
CMSC-27410=Math-28410∼CMSC-3720 Honors Combinatorics
X = ±1 with prob (1/2, 1/2) E(X) = 0 Var(X) = E(X 2) − (E(X))2 = 1 − 0 = 1 Xi = ±1 with prob (1/2, 1/2) independent (i ∈ [n]) Y := n
i=1 Xi
Var(Y) = n
i=1 Var(Xi) = n
standard deviation of Y: √ Var Y = √ n If k = O( √ n) and k ≡ n (mod 2) then P(Y = k) = Θ(1/ √ n) If k = Θ( √ n) then P(|Y| ≤ k) = Θ(1)
CMSC-27410=Math-28410∼CMSC-3720 Honors Combinatorics
X = ±1 with prob (1/2, 1/2) E(X) = 0 Var(X) = E(X 2) − (E(X))2 = 1 − 0 = 1 Xi = ±1 with prob (1/2, 1/2) independent (i ∈ [n]) Y := n
i=1 Xi
Var(Y) = n
i=1 Var(Xi) = n
standard deviation of Y: √ Var Y = √ n If k = O( √ n) and k ≡ n (mod 2) then P(Y = k) = Θ(1/ √ n) If k = Θ( √ n) then P(|Y| ≤ k) = Θ(1) Central Limit Theorem: for k = O( √ n) P(|Y| ≤ k) ≈ 1 2π √ n k
−k
e−t2/(2n)dt
CMSC-27410=Math-28410∼CMSC-3720 Honors Combinatorics
Central Limit Theorem: for k = O( √ n) P(|Y| ≤ k) ≈ 1 2π √ n k
−k
e−t2/(2n)dt tail hard to estimate – too small against the error we may conjecture P(|Y| ≥ k) ≈ e−k2/(2n)
CMSC-27410=Math-28410∼CMSC-3720 Honors Combinatorics
Central Limit Theorem: for k = O( √ n) P(|Y| ≤ k) ≈ 1 2π √ n k
−k
e−t2/(2n)dt tail hard to estimate – too small against the error we may conjecture P(|Y| ≥ k) ≈ e−k2/(2n) Theorem (Chernoff bound) X1, . . . , Xn independent random variables, |Xi| ≤ 1 Y = n
i=1 Xi
=⇒ (∀a ∈ R) P
Xi
< 2e−a2/(2n)
CMSC-27410=Math-28410∼CMSC-3720 Honors Combinatorics
H = (V, E) hypergraph f : V → {1, −1} 2-coloring (not “legal”)
CMSC-27410=Math-28410∼CMSC-3720 Honors Combinatorics
H = (V, E) hypergraph f : V → {1, −1} 2-coloring (not “legal”) discrepancy of E ⊆ V under f: disc(E, f) = |
v∈E f(v)|
discrepancy of f on H: disc(H, f) = maxE∈E disc(E, f) discrepancy of H: disc(H) = min
f
disc(H, f) = min
f
max
E∈E disc(E, f)
Goal: keep it small
CMSC-27410=Math-28410∼CMSC-3720 Honors Combinatorics
H = (V, E) hypergraph f : V → {1, −1} 2-coloring (not “legal”) discrepancy of E ⊆ V under f: disc(E, f) = |
v∈E f(v)|
discrepancy of f on H: disc(H, f) = maxE∈E disc(E, f) discrepancy of H: disc(H) = min
f
disc(H, f) = min
f
max
E∈E disc(E, f)
Goal: keep it small Question: can f be nearly balanced simultaneously on all edges?
CMSC-27410=Math-28410∼CMSC-3720 Honors Combinatorics
f : V → {1, −1} 2-coloring (not “legal”)
CMSC-27410=Math-28410∼CMSC-3720 Honors Combinatorics
f : V → {1, −1} 2-coloring (not “legal”) discrepancy of H: disc(H) = min
f
max
E∈E
f(v)
HOW?
CMSC-27410=Math-28410∼CMSC-3720 Honors Combinatorics
f : V → {1, −1} 2-coloring (not “legal”) discrepancy of H: disc(H) = min
f
max
E∈E
f(v)
HOW? Try random f
CMSC-27410=Math-28410∼CMSC-3720 Honors Combinatorics
f : V → {1, −1} 2-coloring (not “legal”) discrepancy of H: disc(H) = min
f
max
E∈E
f(v)
HOW? Try random f Theorem disc(H) <
Proof. P(disc(E, f) > t) < 2e−t2/2|E| ≤ 2e−t2/(2n)
CMSC-27410=Math-28410∼CMSC-3720 Honors Combinatorics
f : V → {1, −1} 2-coloring (not “legal”) discrepancy of H: disc(H) = min
f
max
E∈E
f(v)
HOW? Try random f Theorem disc(H) <
Proof. P(disc(E, f) > t) < 2e−t2/2|E| ≤ 2e−t2/(2n) P((∃E ∈ E)(disc(E, f) > t)) < 2m · e−t2/(2n)
CMSC-27410=Math-28410∼CMSC-3720 Honors Combinatorics
f : V → {1, −1} 2-coloring (not “legal”) discrepancy of H: disc(H) = min
f
max
E∈E
f(v)
HOW? Try random f Theorem disc(H) <
Proof. P(disc(E, f) > t) < 2e−t2/2|E| ≤ 2e−t2/(2n) P((∃E ∈ E)(disc(E, f) > t)) < 2m · e−t2/(2n)
CMSC-27410=Math-28410∼CMSC-3720 Honors Combinatorics
f : V → {1, −1} 2-coloring (not “legal”) discrepancy of H: disc(H) = min
f
max
E∈E
f(v)
HOW? Try random f Theorem disc(H) <
Proof. P(disc(E, f) > t) < 2e−t2/2|E| ≤ 2e−t2/(2n) P((∃E ∈ E)(disc(E, f) > t)) < 2m · e−t2/(2n) if 2m · e−t2/(2n) ≤ 1 then disc(H) ≤ t
CMSC-27410=Math-28410∼CMSC-3720 Honors Combinatorics
f : V → {1, −1} 2-coloring (not “legal”) discrepancy of H: disc(H) = min
f
max
E∈E
f(v)
HOW? Try random f Theorem disc(H) <
Proof. P(disc(E, f) > t) < 2e−t2/2|E| ≤ 2e−t2/(2n) P((∃E ∈ E)(disc(E, f) > t)) < 2m · e−t2/(2n) if 2m · e−t2/(2n) ≤ 1 then disc(H) ≤ t ln(2m) − t2/(2n) ≤ 0 i.e. t ≤
QED
CMSC-27410=Math-28410∼CMSC-3720 Honors Combinatorics
f : V → {1, −1} 2-coloring (not “legal”) discrepancy of H: disc(H) = min
f
max
E∈E
f(v)
HOW? Try random f Theorem disc(H) <
CMSC-27410=Math-28410∼CMSC-3720 Honors Combinatorics
f : V → {1, −1} 2-coloring (not “legal”) discrepancy of H: disc(H) = min
f
max
E∈E
f(v)
HOW? Try random f Theorem disc(H) <
Major goal: Beat random!
CMSC-27410=Math-28410∼CMSC-3720 Honors Combinatorics
f : V → {1, −1} 2-coloring (not “legal”) discrepancy of H: disc(H) = min
f
max
E∈E
f(v)
HOW? Try random f Theorem disc(H) <
Major goal: Beat random! (a) quantitatively: reduce discrepancy (math)
CMSC-27410=Math-28410∼CMSC-3720 Honors Combinatorics
f : V → {1, −1} 2-coloring (not “legal”) discrepancy of H: disc(H) = min
f
max
E∈E
f(v)
HOW? Try random f Theorem disc(H) <
Major goal: Beat random! (a) quantitatively: reduce discrepancy (math) (b) qualitatively: find explicit coloring (TCS)
CMSC-27410=Math-28410∼CMSC-3720 Honors Combinatorics
Theorem disc(H) <
CMSC-27410=Math-28410∼CMSC-3720 Honors Combinatorics
Theorem disc(H) <
Theorem (Beck–Fiala 1981) disc(H) < 2 degmax
CMSC-27410=Math-28410∼CMSC-3720 Honors Combinatorics
Theorem disc(H) <
Theorem (Beck–Fiala 1981) disc(H) < 2 degmax Theorem (“Standard deviation bound” Spencer 1985) If m ≥ n then disc(H) = O(
In particular, if m = O(n) then disc(H) = O( √ n)
CMSC-27410=Math-28410∼CMSC-3720 Honors Combinatorics
f : V → {1, −1} 2-coloring discrepancy of H: disc(H) = minf maxE∈E
Honors Combinatorics
f : V → {1, −1} 2-coloring discrepancy of H: disc(H) = minf maxE∈E
disc(H) < 2 degmax
CMSC-27410=Math-28410∼CMSC-3720 Honors Combinatorics
f : V → {1, −1} 2-coloring discrepancy of H: disc(H) = minf maxE∈E
disc(H) < 2 degmax Proof. d := degmax. f : V → [−1, 1]. Vertex v undecided if f(v) {±1}. U = {undec vertices} Edge E unstable if |E ∩ U| > d. F = {unstab edges}
CMSC-27410=Math-28410∼CMSC-3720 Honors Combinatorics
f : V → {1, −1} 2-coloring discrepancy of H: disc(H) = minf maxE∈E
disc(H) < 2 degmax Proof. d := degmax. f : V → [−1, 1]. Vertex v undecided if f(v) {±1}. U = {undec vertices} Edge E unstable if |E ∩ U| > d. F = {unstab edges} Initialize f ≡ 0. Update f, reducing |U| in each round. Never update f(v) for v U.
CMSC-27410=Math-28410∼CMSC-3720 Honors Combinatorics
f : V → {1, −1} 2-coloring discrepancy of H: disc(H) = minf maxE∈E
disc(H) < 2 degmax Proof. d := degmax. f : V → [−1, 1]. Vertex v undecided if f(v) {±1}. U = {undec vertices} Edge E unstable if |E ∩ U| > d. F = {unstab edges} Initialize f ≡ 0. Update f, reducing |U| in each round. Never update f(v) for v U. Claim (∀f)(U ∅ =⇒ |U| > |F |) Proof If F ∅ count incidences ∈ U × F d · |U| ≥ # incidences > d · |F | qed[Claim]
CMSC-27410=Math-28410∼CMSC-3720 Honors Combinatorics
Beck–Fiala Thm. (∃f)(∀E ∈ E)(disc(E, f) < 2 degmax) Proof. d := degmax. f : V → [−1, 1]. Vertex v undecided if f(v) {±1}. U = {undec vertices} Edge E unstable if |E ∩ U| > d. F = {unstab edges} Initialize f ≡ 0. Update f, reducing # undecided vertices in each round. Never update decided vertex. Claim (∀f)(U ∅ =⇒ |U| > |F |)
CMSC-27410=Math-28410∼CMSC-3720 Honors Combinatorics
Beck–Fiala Thm. (∃f)(∀E ∈ E)(disc(E, f) < 2 degmax) Proof. d := degmax. f : V → [−1, 1]. Vertex v undecided if f(v) {±1}. U = {undec vertices} Edge E unstable if |E ∩ U| > d. F = {unstab edges} Initialize f ≡ 0. Update f, reducing # undecided vertices in each round. Never update decided vertex. Claim (∀f)(U ∅ =⇒ |U| > |F |) Loop invariant: E ∈ F =⇒ E balanced:
v∈E f(v) = 0
CMSC-27410=Math-28410∼CMSC-3720 Honors Combinatorics
Beck–Fiala Thm. (∃f)(∀E ∈ E)(disc(E, f) < 2 degmax) Proof. d := degmax. f : V → [−1, 1]. Vertex v undecided if f(v) {±1}. U = {undec vertices} Edge E unstable if |E ∩ U| > d. F = {unstab edges} Initialize f ≡ 0. Update f, reducing # undecided vertices in each round. Never update decided vertex. Claim (∀f)(U ∅ =⇒ |U| > |F |) Loop invariant: E ∈ F =⇒ E balanced:
v∈E f(v) = 0
|F | equations in |U| unknowns
CMSC-27410=Math-28410∼CMSC-3720 Honors Combinatorics
Beck–Fiala Thm. (∃f)(∀E ∈ E)(disc(E, f) < 2 degmax) Proof. d := degmax. f : V → [−1, 1]. Vertex v undecided if f(v) {±1}. U = {undec vertices} Edge E unstable if |E ∩ U| > d. F = {unstab edges} Initialize f ≡ 0. Update f, reducing # undecided vertices in each round. Never update decided vertex. Claim (∀f)(U ∅ =⇒ |U| > |F |) Loop invariant: E ∈ F =⇒ E balanced:
v∈E f(v) = 0
|F | equations in |U| unknowns x = (x1, . . . , x|U|) ∈ RU
CMSC-27410=Math-28410∼CMSC-3720 Honors Combinatorics
Beck–Fiala Thm. (∃f)(∀E ∈ E)(disc(E, f) < 2 degmax) Proof. d := degmax. f : V → [−1, 1]. Vertex v undecided if f(v) {±1}. U = {undec vertices} Edge E unstable if |E ∩ U| > d. F = {unstab edges} Initialize f ≡ 0. Update f, reducing # undecided vertices in each round. Never update decided vertex. Claim (∀f)(U ∅ =⇒ |U| > |F |) Loop invariant: E ∈ F =⇒ E balanced:
v∈E f(v) = 0
|F | equations in |U| unknowns x = (x1, . . . , x|U|) ∈ RU ∴ ∃ affine line of solutions
CMSC-27410=Math-28410∼CMSC-3720 Honors Combinatorics
Beck–Fiala Thm. (∃f)(∀E ∈ E)(disc(E, f) < 2 degmax) Proof. d := degmax. f : V → [−1, 1]. Vertex v undecided if f(v) {±1}. U = {undec vertices} Edge E unstable if |E ∩ U| > d. F = {unstab edges} Initialize f ≡ 0. Update f, reducing # undecided vertices in each round. Never update decided vertex. Claim (∀f)(U ∅ =⇒ |U| > |F |) Loop invariant: E ∈ F =⇒ E balanced:
v∈E f(v) = 0
|F | equations in |U| unknowns x = (x1, . . . , x|U|) ∈ RU ∴ ∃ affine line of solutions line hits boundary of box (∀i)(|xi| ≤ 1) (∀i)(|xi| ≤ 1)&(∃j)(|xj| = 1)
CMSC-27410=Math-28410∼CMSC-3720 Honors Combinatorics
Beck–Fiala Thm. (∃f)(∀E ∈ E)(disc(E, f) < 2 degmax) Proof. d := degmax. f : V → [−1, 1]. Vertex v undecided if f(v) {±1}. U = {undec vertices} Edge E unstable if |E ∩ U| > d. F = {unstab edges} Initialize f ≡ 0. Update f, reducing # undecided vertices in each round. Never update decided vertex. Claim (∀f)(U ∅ =⇒ |U| > |F |) Loop invariant: E ∈ F =⇒ E balanced:
v∈E f(v) = 0
|F | equations in |U| unknowns x = (x1, . . . , x|U|) ∈ RU ∴ ∃ affine line of solutions line hits boundary of box (∀i)(|xi| ≤ 1) (∀i)(|xi| ≤ 1)&(∃j)(|xj| = 1) update f(vi) := xi (vi ∈ U)
CMSC-27410=Math-28410∼CMSC-3720 Honors Combinatorics
Beck–Fiala Thm. (∃f)(∀E ∈ E)(disc(E, f) < 2 degmax) Proof. d := degmax. f : V → [−1, 1]. Vertex v undecided if f(v) {±1}. U = {undec vertices} Edge E unstable if |E ∩ U| > d. F = {unstab edges} Initialize f ≡ 0. Update f, reducing # undecided vertices in each round. Never update decided vertex. Claim (∀f)(U ∅ =⇒ |U| > |F |) Loop invariant: E ∈ F =⇒ E balanced:
v∈E f(v) = 0
|F | equations in |U| unknowns x = (x1, . . . , x|U|) ∈ RU ∴ ∃ affine line of solutions line hits boundary of box (∀i)(|xi| ≤ 1) (∀i)(|xi| ≤ 1)&(∃j)(|xj| = 1) update f(vi) := xi (vi ∈ U) progress:
CMSC-27410=Math-28410∼CMSC-3720 Honors Combinatorics
Beck–Fiala Thm. (∃f)(∀E ∈ E)(disc(E, f) < 2 degmax) Proof. d := degmax. f : V → [−1, 1]. Vertex v undecided if f(v) {±1}. U = {undec vertices} Edge E unstable if |E ∩ U| > d. F = {unstab edges} Initialize f ≡ 0. Update f, reducing # undecided vertices in each round. Never update decided vertex. Claim (∀f)(U ∅ =⇒ |U| > |F |) Loop invariant: E ∈ F =⇒ E balanced:
v∈E f(v) = 0
|F | equations in |U| unknowns x = (x1, . . . , x|U|) ∈ RU ∴ ∃ affine line of solutions line hits boundary of box (∀i)(|xi| ≤ 1) (∀i)(|xi| ≤ 1)&(∃j)(|xj| = 1) update f(vi) := xi (vi ∈ U) progress: j removed from U
CMSC-27410=Math-28410∼CMSC-3720 Honors Combinatorics
Beck–Fiala Thm. (∃f)(∀E ∈ E)(disc(E, f) < 2 degmax) Proof. d := degmax. f : V → [−1, 1]. Vertex v undecided if f(v) {±1}. U = {undec vertices} Edge E unstable if |E ∩ U| > d. F = {unstab edges} Initialize f ≡ 0. Update f, reducing # undecided vertices in each round. Never update decided vertex. Loop invariant: E ∈ F =⇒ E balanced:
v∈E f(v) = 0
End of process: U = F = ∅
CMSC-27410=Math-28410∼CMSC-3720 Honors Combinatorics
Beck–Fiala Thm. (∃f)(∀E ∈ E)(disc(E, f) < 2 degmax) Proof. d := degmax. f : V → [−1, 1]. Vertex v undecided if f(v) {±1}. U = {undec vertices} Edge E unstable if |E ∩ U| > d. F = {unstab edges} Initialize f ≡ 0. Update f, reducing # undecided vertices in each round. Never update decided vertex. Loop invariant: E ∈ F =⇒ E balanced:
v∈E f(v) = 0
End of process: U = F = ∅ Need to verify: (∀E ∈ E)(|
v∈E f(v)| < 2d)
CMSC-27410=Math-28410∼CMSC-3720 Honors Combinatorics
Beck–Fiala Thm. (∃f)(∀E ∈ E)(disc(E, f) < 2 degmax) Proof. d := degmax. f : V → [−1, 1]. Vertex v undecided if f(v) {±1}. U = {undec vertices} Edge E unstable if |E ∩ U| > d. F = {unstab edges} Initialize f ≡ 0. Update f, reducing # undecided vertices in each round. Never update decided vertex. Loop invariant: E ∈ F =⇒ E balanced:
v∈E f(v) = 0
End of process: U = F = ∅ Need to verify: (∀E ∈ E)(|
v∈E f(v)| < 2d)
time t: round when E became stable
CMSC-27410=Math-28410∼CMSC-3720 Honors Combinatorics
Beck–Fiala Thm. (∃f)(∀E ∈ E)(disc(E, f) < 2 degmax) Proof. d := degmax. f : V → [−1, 1]. Vertex v undecided if f(v) {±1}. U = {undec vertices} Edge E unstable if |E ∩ U| > d. F = {unstab edges} Initialize f ≡ 0. Update f, reducing # undecided vertices in each round. Never update decided vertex. Loop invariant: E ∈ F =⇒ E balanced:
v∈E f(v) = 0
End of process: U = F = ∅ Need to verify: (∀E ∈ E)(|
v∈E f(v)| < 2d)
time t: round when E became stable ft: function f after round t E was still balanced under ft:
# undecided vertices in E after round t?
CMSC-27410=Math-28410∼CMSC-3720 Honors Combinatorics
Beck–Fiala Thm. (∃f)(∀E ∈ E)(disc(E, f) < 2 degmax) Proof. d := degmax. f : V → [−1, 1]. Vertex v undecided if f(v) {±1}. U = {undec vertices} Edge E unstable if |E ∩ U| > d. F = {unstab edges} Initialize f ≡ 0. Update f, reducing # undecided vertices in each round. Never update decided vertex. Loop invariant: E ∈ F =⇒ E balanced:
v∈E f(v) = 0
End of process: U = F = ∅ Need to verify: (∀E ∈ E)(|
v∈E f(v)| < 2d)
time t: round when E became stable ft: function f after round t E was still balanced under ft:
# undecided vertices in E after round t? ≤ d
CMSC-27410=Math-28410∼CMSC-3720 Honors Combinatorics
Beck–Fiala Thm. (∃f)(∀E ∈ E)(disc(E, f) < 2 degmax) Proof. d := degmax. f : V → [−1, 1]. Vertex v undecided if f(v) {±1}. U = {undec vertices} Edge E unstable if |E ∩ U| > d. F = {unstab edges} Initialize f ≡ 0. Update f, reducing # undecided vertices in each round. Never update decided vertex. Loop invariant: E ∈ F =⇒ E balanced:
v∈E f(v) = 0
End of process: U = F = ∅ Need to verify: (∀E ∈ E)(|
v∈E f(v)| < 2d)
time t: round when E became stable ft: function f after round t E was still balanced under ft:
# undecided vertices in E after round t? ≤ d |ft(v)| < 1, |f(v)| = 1 =⇒ |f(v) − ft(v)| < 2
CMSC-27410=Math-28410∼CMSC-3720 Honors Combinatorics
Beck–Fiala Thm. (∃f)(∀E ∈ E)(disc(E, f) < 2 degmax) Proof. d := degmax. f : V → [−1, 1]. Vertex v undecided if f(v) {±1}. U = {undec vertices} Edge E unstable if |E ∩ U| > d. F = {unstab edges} Initialize f ≡ 0. Update f, reducing # undecided vertices in each round. Never update decided vertex. Loop invariant: E ∈ F =⇒ E balanced:
v∈E f(v) = 0
End of process: U = F = ∅ Need to verify: (∀E ∈ E)(|
v∈E f(v)| < 2d)
time t: round when E became stable ft: function f after round t E was still balanced under ft:
# undecided vertices in E after round t? ≤ d |ft(v)| < 1, |f(v)| = 1 =⇒ |f(v) − ft(v)| < 2 total imbalance at finish < 2d QED[Beck-Fiala]
CMSC-27410=Math-28410∼CMSC-3720 Honors Combinatorics
Theorem (József Beck–Tibor Fiala 1981) disc(H) < 2 degmax Source of proof presented:
Cambridge University Press, 2000
CMSC-27410=Math-28410∼CMSC-3720 Honors Combinatorics
Theorem (Beck–Fiala 1981) disc(H) < 2 degmax
CMSC-27410=Math-28410∼CMSC-3720 Honors Combinatorics
Theorem (Beck–Fiala 1981) disc(H) < 2 degmax Conjecture (Beck–Fiala 1981) disc(H) = O(
CMSC-27410=Math-28410∼CMSC-3720 Honors Combinatorics
Theorem (Beck–Fiala 1981) disc(H) < 2 degmax Conjecture (Beck–Fiala 1981) disc(H) = O(
STILL OPEN
CMSC-27410=Math-28410∼CMSC-3720 Honors Combinatorics
Theorem (Beck–Fiala 1981) disc(H) < 2 degmax Conjecture (Beck–Fiala 1981) disc(H) = O(
STILL OPEN Theorem (Wojciech Banaszczyk 1998) disc(H) = O(
CMSC-27410=Math-28410∼CMSC-3720 Honors Combinatorics
Theorem (Beck–Fiala 1981) disc(H) < 2 degmax Conjecture (Beck–Fiala 1981) disc(H) = O(
STILL OPEN Theorem (Wojciech Banaszczyk 1998) disc(H) = O(
Banaszczyk: “Balancing vectors and Gaussian measures
CMSC-27410=Math-28410∼CMSC-3720 Honors Combinatorics
Conjecture (József Beck–Tibor Fiala 1981) disc(H) = O(
CMSC-27410=Math-28410∼CMSC-3720 Honors Combinatorics
Conjecture (József Beck–Tibor Fiala 1981) disc(H) = O(
x = (x1, . . . , xn) x2 = n
i=1 x2 i
x∞ = maxn
i=1 |xi|
unit ball in Rn: Bn := {u ∈ Rn : u2 ≤ 1} m(u1, . . . , un) := min{
i ǫiui∞ : ǫi = ±1}
Conjecture (János Komlós 1980s) (∃K ∈ R)(∀u1, . . . , un ∈ Bm)(m(u1, . . . , un) ≤ K)
CMSC-27410=Math-28410∼CMSC-3720 Honors Combinatorics
Conjecture (József Beck–Tibor Fiala 1981) disc(H) = O(
x = (x1, . . . , xn) x2 = n
i=1 x2 i
x∞ = maxn
i=1 |xi|
unit ball in Rn: Bn := {u ∈ Rn : u2 ≤ 1} m(u1, . . . , un) := min{
i ǫiui∞ : ǫi = ±1}
Conjecture (János Komlós 1980s) (∃K ∈ R)(∀u1, . . . , un ∈ Bm)(m(u1, . . . , un) ≤ K) Komlós’s conjecture =⇒ the Beck–Fiala conjecture
CMSC-27410=Math-28410∼CMSC-3720 Honors Combinatorics
Conjecture (József Beck–Tibor Fiala 1981) disc(H) = O(
x = (x1, . . . , xn) x2 = n
i=1 x2 i
x∞ = maxn
i=1 |xi|
unit ball in Rn: Bn := {u ∈ Rn : u2 ≤ 1} m(u1, . . . , un) := min{
i ǫiui∞ : ǫi = ±1}
Conjecture (János Komlós 1980s) (∃K ∈ R)(∀u1, . . . , un ∈ Bm)(m(u1, . . . , un) ≤ K) Komlós’s conjecture =⇒ the Beck–Fiala conjecture Exercise (∀u1, . . . , un ∈ Bn)(m(u1, . . . , un) ≤ √ n)
CMSC-27410=Math-28410∼CMSC-3720 Honors Combinatorics
x = (x1, . . . , xn) Norms: x1 = n
i=1 |xi|
x2 = n
i=1 x2 i
x∞ = maxn
i=1 |xi|
m(u1, . . . , un) := min{
i ǫiui∞ : ǫi = ±1}
Beck–Fiala theorem rephrased Theorem (Beck–Fiala 1981) If u1, . . . , un ∈ Rm, ui1 ≤ 1 then m(u1, . . . , un) < 2
CMSC-27410=Math-28410∼CMSC-3720 Honors Combinatorics
x = (x1, . . . , xn) Norms: x1 = n
i=1 |xi|
x2 = n
i=1 x2 i
x∞ = maxn
i=1 |xi|
m(u1, . . . , un) := min{
i ǫiui∞ : ǫi = ±1}
Beck–Fiala theorem rephrased Theorem (Beck–Fiala 1981) If u1, . . . , un ∈ Rm, ui1 ≤ 1 then m(u1, . . . , un) < 2 Komlós’s conjecture restated Conjecture (János Komlós 1980s) ∃K ∈ R s.t. if u1, . . . , un ∈ Rm, ui2 ≤ 1 then m(u1, . . . , un) < K
CMSC-27410=Math-28410∼CMSC-3720 Honors Combinatorics
x = (x1, . . . , xn) Norms: x1 = n
i=1 |xi|
x2 = n
i=1 x2 i
x∞ = maxn
i=1 |xi|
m(u1, . . . , un) := min{
i ǫiui∞ : ǫi = ±1}
Beck–Fiala theorem rephrased Theorem (Beck–Fiala 1981) If u1, . . . , un ∈ Rm, ui1 ≤ 1 then m(u1, . . . , un) < 2 Komlós’s conjecture restated Conjecture (János Komlós 1980s) ∃K ∈ R s.t. if u1, . . . , un ∈ Rm, ui2 ≤ 1 then m(u1, . . . , un) < K The difference: assumption in ℓ1-norm (Beck–Fiala Thm) assumption in ℓ2-norm (Komlós Conj)
CMSC-27410=Math-28410∼CMSC-3720 Honors Combinatorics
Theorem (Joel H. Spencer 1985) If m ≥ n then disc(H) = O(
In particular, if m = O(n) then disc(H) = O( √ n)
CMSC-27410=Math-28410∼CMSC-3720 Honors Combinatorics
Theorem (Joel H. Spencer 1985) If m ≥ n then disc(H) = O(
In particular, if m = O(n) then disc(H) = O( √ n) method: Beck 1981: “pigeonhole on discrepancy vector”
CMSC-27410=Math-28410∼CMSC-3720 Honors Combinatorics
Theorem (Joel H. Spencer 1985) If m ≥ n then disc(H) = O(
In particular, if m = O(n) then disc(H) = O( √ n) method: Beck 1981: “pigeonhole on discrepancy vector” partial coloring f : V → {1, 0, −1} “uncolored”: f(v) = 0 disc(H, f) = maxE∈E |
v∈E f(v)|
Lemma If m ≥ n then ∃ partial coloring f s.t. disc(H, f) = O(
|f −1(0)| ≤ 0.9n (at most 90% of vertices is uncolored)
CMSC-27410=Math-28410∼CMSC-3720 Honors Combinatorics
Theorem (Joel H. Spencer 1985) If m ≥ n then disc(H) = O(
In particular, if m = O(n) then disc(H) = O( √ n) method: Beck 1981: “pigeonhole on discrepancy vector” partial coloring f : V → {1, 0, −1} “uncolored”: f(v) = 0 disc(H, f) = maxE∈E |
v∈E f(v)|
Lemma If m ≥ n then ∃ partial coloring f s.t. disc(H, f) = O(
|f −1(0)| ≤ 0.9n (at most 90% of vertices is uncolored) Exercise: Lemma =⇒ Theorem
CMSC-27410=Math-28410∼CMSC-3720 Honors Combinatorics
partial coloring f : V → {1, 0, −1} “uncolored”: f(v) = 0 Lemma If m ≥ n then ∃ partial coloring f s.t. disc(H, f) = O(
|f −1(0)| ≤ 0.9n (at most 90% of vertices is uncolored)
CMSC-27410=Math-28410∼CMSC-3720 Honors Combinatorics
partial coloring f : V → {1, 0, −1} “uncolored”: f(v) = 0 Lemma If m ≥ n then ∃ partial coloring f s.t. disc(H, f) = O(
|f −1(0)| ≤ 0.9n (at most 90% of vertices is uncolored) Proof: Let f : V → {±1} be a 2-coloring. Signed discrepancy: σ(E, f) =
v∈E f(v)
Normalized, rounded, signed discrepancy: d(E, f) = σ(E, f) c
Let E = {E1, . . . , Em} discrepancy vector: D(f) = (d(E1, f), . . . , d(Em, f)) ∈ Zm
CMSC-27410=Math-28410∼CMSC-3720 Honors Combinatorics
Signed discrepancy: σ(E, f) =
v∈E f(v)
Normalized, rounded, signed discrepancy of 2-coloring f : V → {±1} d(E, f) = σ(E, f) c
Let E = {E1, . . . , Em} discrepancy vector: D(f) = (d(E1, f), . . . , d(Em, f)) ∈ Zm
CMSC-27410=Math-28410∼CMSC-3720 Honors Combinatorics
Signed discrepancy: σ(E, f) =
v∈E f(v)
Normalized, rounded, signed discrepancy of 2-coloring f : V → {±1} d(E, f) = σ(E, f) c
Let E = {E1, . . . , Em} discrepancy vector: D(f) = (d(E1, f), . . . , d(Em, f)) ∈ Zm Technique (Beck 1981): many 2-colorings give the same discrepancy vector → use Pigeonhole
CMSC-27410=Math-28410∼CMSC-3720 Honors Combinatorics
Signed discrepancy: σ(E, f) =
v∈E f(v)
Normalized, rounded, signed discrepancy of 2-coloring f : V → {±1} d(E, f) = σ(E, f) c
Let E = {E1, . . . , Em} discrepancy vector: D(f) = (d(E1, f), . . . , d(Em, f)) ∈ Zm Technique (Beck 1981): many 2-colorings give the same discrepancy vector → use Pigeonhole Lemma (concentration of discrepancy vectors) (∃ℓ ∈ Zm)(P(D(f) = ℓ) > 2−n/5) Proof: Chernoff bound and entropy argument “QED”[Lemma]
CMSC-27410=Math-28410∼CMSC-3720 Honors Combinatorics
Signed discrepancy: σ(E, f) =
v∈E f(v)
Normalized, rounded, signed discrepancy: d(E, f) = σ(E, f) c
discrepancy vector: D(f) = (d(E1, f), . . . , d(Em, f)) ∈ Zm Lemma (concentration of discrepancy vectors) (∃ℓ ∈ Zm)(P(D(f) = ℓ) > 2−n/5) In other words, (∃ℓ ∈ Zm)(|D−1(ℓ)| > 24n/5)
CMSC-27410=Math-28410∼CMSC-3720 Honors Combinatorics
Signed discrepancy: σ(E, f) =
v∈E f(v)
Normalized, rounded, signed discrepancy: d(E, f) = σ(E, f) c
discrepancy vector: D(f) = (d(E1, f), . . . , d(Em, f)) ∈ Zm Lemma (concentration of discrepancy vectors) (∃ℓ ∈ Zm)(P(D(f) = ℓ) > 2−n/5) In other words, (∃ℓ ∈ Zm)(|D−1(ℓ)| > 24n/5) D−1(ℓ) = {f | D(f) = ℓ}
CMSC-27410=Math-28410∼CMSC-3720 Honors Combinatorics
Signed discrepancy: σ(E, f) =
v∈E f(v)
Normalized, rounded, signed discrepancy of 2-coloring f : V → {±1} d(E, f) = σ(E, f) c
Let E = {E1, . . . , Em} discrepancy vector: D(f) = (d(E1, f), . . . , d(Em, f)) ∈ Zm Lemma: (∃ℓ ∈ Zm)(|D−1(ℓ)|) > 24n/5
CMSC-27410=Math-28410∼CMSC-3720 Honors Combinatorics
Signed discrepancy: σ(E, f) =
v∈E f(v)
Normalized, rounded, signed discrepancy of 2-coloring f : V → {±1} d(E, f) = σ(E, f) c
Let E = {E1, . . . , Em} discrepancy vector: D(f) = (d(E1, f), . . . , d(Em, f)) ∈ Zm Lemma: (∃ℓ ∈ Zm)(|D−1(ℓ)|) > 24n/5 Pick f1 ∈ D−1(ℓ) and let f ′ = (f − f1)/2 for f ∈ D−1(ℓ). f ′: partial coloring disc(f ′) < (c/2)
b/c σ(f ′) = (1/2)(σ(f) − σ(f1))
CMSC-27410=Math-28410∼CMSC-3720 Honors Combinatorics
Signed discrepancy: σ(E, f) =
v∈E f(v)
Normalized, rounded, signed discrepancy of 2-coloring f : V → {±1} d(E, f) = σ(E, f) c
Let E = {E1, . . . , Em} discrepancy vector: D(f) = (d(E1, f), . . . , d(Em, f)) ∈ Zm Lemma: (∃ℓ ∈ Zm)(|D−1(ℓ)|) > 24n/5 Pick f1 ∈ D−1(ℓ) and let f ′ = (f − f1)/2 for f ∈ D−1(ℓ). f ′: partial coloring disc(f ′) < (c/2)
b/c σ(f ′) = (1/2)(σ(f) − σ(f1)) as desired
CMSC-27410=Math-28410∼CMSC-3720 Honors Combinatorics
Signed discrepancy: σ(E, f) =
v∈E f(v)
Normalized, rounded, signed discrepancy of 2-coloring f : V → {±1} d(E, f) = σ(E, f) c
Let E = {E1, . . . , Em} discrepancy vector: D(f) = (d(E1, f), . . . , d(Em, f)) ∈ Zm Lemma: (∃ℓ ∈ Zm)(|D−1(ℓ)|) > 24n/5 Pick f1 ∈ D−1(ℓ) and let f ′ = (f − f1)/2 for f ∈ D−1(ℓ). f ′: partial coloring disc(f ′) < (c/2)
b/c σ(f ′) = (1/2)(σ(f) − σ(f1)) as desired Need to show: (∃f ′)(|f ′−1(0)| < 9n/10) f ′ leaves < 9n/10 vertices uncolored
CMSC-27410=Math-28410∼CMSC-3720 Honors Combinatorics
Lemma If m ≥ n then ∃ partial coloring f s.t. disc(H, f) = O(
|f −1(0)| ≤ 0.9n (at most 90% of vertices is uncolored) We found a set of > 24n/5 partial colorings f ′ satisfying the discrepancy condition. Need to show at least one of them colors at least 10%
CMSC-27410=Math-28410∼CMSC-3720 Honors Combinatorics
Lemma If m ≥ n then ∃ partial coloring f s.t. disc(H, f) = O(
|f −1(0)| ≤ 0.9n (at most 90% of vertices is uncolored) We found a set of > 24n/5 partial colorings f ′ satisfying the discrepancy condition. Need to show at least one of them colors at least 10% # partial functions that color ≤ 10% is < 24n/5 In fact, much fewer. So pick f ′ in the difference. QED[Standard deviation bound]
CMSC-27410=Math-28410∼CMSC-3720 Honors Combinatorics
Lemma If m ≥ n then ∃ partial coloring f s.t. disc(H, f) = O(
|f −1(0)| ≤ 0.9n (at most 90% of vertices is uncolored) We found a set of > 24n/5 partial colorings f ′ satisfying the discrepancy condition. Need to show at least one of them colors at least 10% # partial functions that color ≤ 10% is < 24n/5 In fact, much fewer. So pick f ′ in the difference. QED[Standard deviation bound] Theorem (Spencer, Beck) If m = O(n) then disc(H) = O( √ n)
CMSC-27410=Math-28410∼CMSC-3720 Honors Combinatorics
T(k) = {partial functions that color ≤ k vertices} Claim: |T(n/10)| < 23n/5
CMSC-27410=Math-28410∼CMSC-3720 Honors Combinatorics
T(k) = {partial functions that color ≤ k vertices} Claim: |T(n/10)| < 23n/5 Exercise: |T(k)| =
k
j
2en k k
CMSC-27410=Math-28410∼CMSC-3720 Honors Combinatorics
T(k) = {partial functions that color ≤ k vertices} Claim: |T(n/10)| < 23n/5 Exercise: |T(k)| =
k
j
2en k k Set k = n/10 so |T(n/10)| < 2en n/10 n/10 = (20e)n/10 < 1.5n < 20.585n
CMSC-27410=Math-28410∼CMSC-3720 Honors Combinatorics