Documentation

CslibFrontier.Foundations.BooleanAnalysis.TribesJunta

Tribes is far from every small junta #

Every Boolean function g on the n = s w bits of the nearly balanced Tribes function Tribes_{w,s}, s = tribesSize w, that depends only on a set J of at most 3 n / 4 coordinates is 1 / 256-far from Tribes (Cslib.BitString.one_div_256_le_hammingDist_tribes_div). This is O'Donnell, Exercise 4.15, which asks for some universal constant ε₀ > 0; the constant 1 / 256 and the following proof are ours.

At least a quarter of the tribes, say the set T, have a coordinate c j outside J. For j ∈ T, consider the event that the other bits of tribe j are true, every other tribe of T has a false bit off its free coordinate, and every tribe outside T has a false bit. On it, Tribes is the bit c j; flipping that bit keeps the event and g, and flips Tribes, so g disagrees with Tribes on half of it. The events for distinct tribes of T are disjoint, and each has probability 2 ^ (-(w - 1)) (1 - 2 ^ (-(w - 1))) ^ (|T| - 1) (1 - 2 ^ (-w)) ^ (s - |T|) by the independence of the tribes (Cslib.BitString.expect_prod_tribe). Bernoulli's inequality and 2 ^ (w - 1) ≤ s ≤ 4 |T|, s < 2 ^ w bound the total disagreement below by 1 / 256.

Since Tribes has total influence at most 2 w (Cslib.BitString.totalInfluence_tribes_le), this shows that the exponential junta size in Friedgut's junta theorem is necessary O'Donnell, Exercise 9.26 [Fri98]: for every K ≥ 4 there is a Boolean function of total influence at most K that is 1 / 256-close to no function of at most (3 / 16) 2 ^ (K / 2) coordinates (Cslib.BitString.exists_totalInfluence_le_lt_card_of_dependsOn), against the 3 · 2 ^ (8 K / ε) coordinates of Cslib.BitString.exists_card_le_three_mul_two_rpow_dependsOn_hammingDist_div_le. The explicit constants are ours.

Main results #

References #

theorem Cslib.BitString.one_div_256_le_hammingDist_tribes_div {w : ℕ} {J : Finset (Fin (tribesSize w * w))} {g : BitString (tribesSize w * w) → Bool} (hw : 1 ≤ w) (hJ : 4 * J.card ≤ 3 * (tribesSize w * w)) (hg : DependsOn g ↑J) :
1 / 256 ≤ ↑(hammingDist (tribes w (tribesSize w)) g) / 2 ^ (tribesSize w * w)

Tribes is far from every (3 / 4) n-junta O'Donnell, Exercise 4.15: on n = s w bits with s = tribesSize w and w ≥ 1, every Boolean function that depends only on a set J of at most 3 n / 4 coordinates disagrees with Tribes on at least a 1 / 256 fraction of the inputs. O'Donnell asks for some universal constant; the constant 1 / 256 and its proof are ours.

theorem Cslib.BitString.exists_totalInfluence_le_lt_card_of_dependsOn {K : ℝ} (hK : 4 ≤ K) :
∃ (n : ℕ) (f : BitString n → Bool), (totalInfluence fun (x : Fin n → Bool) => signVal (f x)) ≤ K ∧ ∀ (J : Finset (Fin n)) (g : BitString n → Bool), DependsOn g ↑J → ↑(hammingDist f g) / 2 ^ n < 1 / 256 → 3 / 16 * 2 ^ (K / 2) < ↑J.card

The exponential in Friedgut's junta theorem is necessary O'Donnell, Exercise 9.26 [Fri98]: for every K ≥ 4 there is a Boolean function of total influence at most K such that every function of a set J of coordinates that is 1 / 256-close to it has |J| > (3 / 16) 2 ^ (K / 2). The witness is the nearly balanced Tribes with w = ⌊K / 2⌋. Compare the upper bound 3 · 2 ^ (8 K / ε) of Cslib.BitString.exists_card_le_three_mul_two_rpow_dependsOn_hammingDist_div_le. The explicit constants are ours.