Documentation

CslibFrontier.Foundations.Combinatorics.SetFamily.BeckFiala

Beck–Fiala discrepancy and integer-making theorems #

Let A : ι → Finset κ be a finite family of subsets of a ground type κ in which every element v : κ belongs to at most t sets (#{i : ι | v ∈ A i} ≤ t).

The proof iteratively updates x inside the hypercube over the finite union U = ⋃ i, A i along a nonzero kernel vector of the incidence matrix restricted to active sets {i | t < #(A i ∩ F)} on the floating variables F = {v ∈ U | 0 < x v ∧ x v < 1}. Double counting incidences against F gives (t + 1) * #𝒮 ≤ t * #F, so #𝒮 < #F whenever F is nonempty; moving to the first cube face fixes at least one coordinate in {0, 1} while keeping every active set's sum invariant, and once a set drops to at most t floating elements its total future change is strictly bounded by t.

Main results #

References #

theorem Cslib.Combinatorics.beckFiala_rounding {ι : Type u_1} {κ : Type u_2} {𝕜 : Type u_3} [Fintype ι] [DecidableEq κ] [Field 𝕜] [LinearOrder 𝕜] [IsStrictOrderedRing 𝕜] (A : ι → Finset κ) {t : ℕ} (ht : 0 < t) (hdeg : ∀ (v : κ), {i : ι | v ∈ A i}.card ≤ t) (x : κ → 𝕜) (hx0 : ∀ (v : κ), 0 ≤ x v) (hx1 : ∀ (v : κ), x v ≤ 1) :
∃ (χ : κ → ℤ), (∀ (v : κ), χ v = 0 ∨ χ v = 1) ∧ (∀ (v : κ), x v = 0 → χ v = 0) ∧ (∀ (v : κ), x v = 1 → χ v = 1) ∧ ∀ (i : ι), |∑ v ∈ A i, (↑(χ v) - x v)| < ↑t

Beck–Fiala integer-making (fractional rounding) theorem ([AS16]; exact theorem number and page locator not verified against a primary PDF). Given a finite set family A : ι → Finset κ in which every element belongs to at most t sets (0 < t) and weights x : κ → 𝕜 in [0, 1] over a linearly ordered field 𝕜 (for example ℝ or ℚ), there exists a {0, 1} rounding χ : κ → ℤ fixing all already-integral 0/1 coordinates such that every set's sum changes by strictly less than t: |∑ v ∈ A i, ((χ v : 𝕜) - x v)| < t.

theorem Cslib.Combinatorics.beckFiala {ι : Type u_1} {κ : Type u_2} [Fintype ι] [DecidableEq κ] (A : ι → Finset κ) {t : ℕ} (hdeg : ∀ (v : κ), {i : ι | v ∈ A i}.card ≤ t) :
∃ (χ : κ → ℤ), (∀ (v : κ), χ v = 1 ∨ χ v = -1) ∧ ∀ (i : ι), (∑ v ∈ A i, χ v).natAbs ≤ 2 * t - 1

Beck–Fiala discrepancy theorem ([AS16]; exact theorem number and page locator not verified against a primary PDF). Every finite set family A : ι → Finset κ in which each element belongs to at most t sets admits a two-coloring χ : κ → ℤ with χ v ∈ {-1, 1} such that (∑ v ∈ A i, χ v).natAbs ≤ 2 * t - 1 for every i : ι.