Documentation

CslibFrontier.Foundations.BooleanAnalysis.TribesInfluence

The influences of Tribes #

Flipping bit i₀ of tribe j₀ changes the value of the Tribes function Tribes_{w,s} exactly when the other bits of tribe j₀ are true and every other tribe has a false bit (Cslib.BitString.tribes_update_ne_iff). These events concern the separate tribes, which are independent (Cslib.BitString.expect_prod_tribe), so every bit has influence 2 ^ (-(w - 1)) (1 - 2 ^ (-w)) ^ (s - 1) (Cslib.BitString.influence_tribes), the value computed in the proof of O'Donnell, Proposition 4.13; the total influence is s w times this (Cslib.BitString.totalInfluence_tribes).

For the nearly balanced choice s = tribesSize w of O'Donnell, Definition 4.11 and n = s w bits, O'Donnell states that each influence is (ln n / n) (1 ± o(1)) O'Donnell, Proposition 4.13. We prove the explicit non-asymptotic form log n / (4 n) ≤ Inf_k[Tribes] ≤ 6 log n / n (Cslib.BitString.log_div_le_influence_tribes, Cslib.BitString.influence_tribes_le), from 2 ^ (w - 1) ≤ s < 2 ^ w; the constants 1 / 4 and 6 are ours. Tribes then has variance at least 3 / 4 read as signs (Cslib.BitString.three_div_four_le_expect_sub_expect_sq_tribes, with our constant), so every influence is at most 8 Var log n / n (Cslib.BitString.influence_tribes_le_mul_log_div). This is the sense in which the Kahn–Kalai–Linial theorem Cslib.BitString.exists_expect_sub_expect_sq_mul_log_card_div_le_influence, which finds an influence of at least Var log n / (4 n), is sharp up to the constant [KKL88] O'Donnell, Sections 4.2 and 9.6: no constant above 8 can replace 1 / 4 for all large n (Cslib.BitString.exists_forall_influence_lt_mul_log_div). The asymptotic 1 ± o(1) form is not formalized.

Main results #

References #

Pivotal bits #

theorem Cslib.BitString.tribes_update_ne_iff {w s : ℕ} (x : BitString (s * w)) (j₀ : Fin s) (i₀ : Fin w) :
tribes w s (Function.update x (finProdFinEquiv (j₀, i₀)) !x (finProdFinEquiv (j₀, i₀))) ≠ tribes w s x ↔ (∀ (i : Fin w), i ≠ i₀ → x (finProdFinEquiv (j₀, i)) = true) ∧ ∀ (j : Fin s), j ≠ j₀ → ∃ (i : Fin w), x (finProdFinEquiv (j, i)) = false

Pivotality in Tribes: flipping bit i₀ of tribe j₀ changes the value of Tribes exactly when the other bits of tribe j₀ are true and every other tribe has a false bit.

The influences #

theorem Cslib.BitString.influence_finProdFinEquiv_tribes {w s : ℕ} (j₀ : Fin s) (i₀ : Fin w) :
(influence (finProdFinEquiv (j₀, i₀)) fun (x : Fin (s * w) → Bool) => signVal (tribes w s x)) = 2⁻¹ ^ (w - 1) * (1 - 2⁻¹ ^ w) ^ (s - 1)

The influence of a bit on Tribes O'Donnell, proof of Proposition 4.13: bit i₀ of tribe j₀ has influence 2 ^ (-(w - 1)) (1 - 2 ^ (-w)) ^ (s - 1) on Tribes_{w,s}, the probability that the other bits of its tribe are true and every other tribe has a false bit.

theorem Cslib.BitString.influence_tribes {w s : ℕ} (k : Fin (s * w)) :
(influence k fun (x : Fin (s * w) → Bool) => signVal (tribes w s x)) = 2⁻¹ ^ (w - 1) * (1 - 2⁻¹ ^ w) ^ (s - 1)

The influences of Tribes O'Donnell, proof of Proposition 4.13: every bit has influence 2 ^ (-(w - 1)) (1 - 2 ^ (-w)) ^ (s - 1) on Tribes_{w,s}.

theorem Cslib.BitString.totalInfluence_tribes (w s : ℕ) :
(totalInfluence fun (x : Fin (s * w) → Bool) => signVal (tribes w s x)) = ↑(s * w) * (2⁻¹ ^ (w - 1) * (1 - 2⁻¹ ^ w) ^ (s - 1))

The total influence of Tribes: s w 2 ^ (-(w - 1)) (1 - 2 ^ (-w)) ^ (s - 1).

Explicit bounds for the nearly balanced Tribes #

theorem Cslib.BitString.totalInfluence_tribes_le (w : ℕ) :
(totalInfluence fun (x : Fin (tribesSize w * w) → Bool) => signVal (tribes w (tribesSize w) x)) ≤ 2 * ↑w

The nearly balanced Tribes on s w bits has total influence at most 2 w. The bound is ours.

theorem Cslib.BitString.influence_tribes_le {w : ℕ} (hw : 2 ≤ w) (k : Fin (tribesSize w * w)) :
(influence k fun (x : Fin (tribesSize w * w) → Bool) => signVal (tribes w (tribesSize w) x)) ≤ 6 * Real.log ↑(tribesSize w * w) / ↑(tribesSize w * w)

Upper bound on the influences of Tribes O'Donnell, Proposition 4.13, in explicit form: on n = s w bits with s = tribesSize w and w ≥ 2, every bit has influence at most 6 log n / n. The constant is ours.

theorem Cslib.BitString.log_div_le_influence_tribes {w : ℕ} (hw : 1 ≤ w) (k : Fin (tribesSize w * w)) :
Real.log ↑(tribesSize w * w) / (4 * ↑(tribesSize w * w)) ≤ influence k fun (x : Fin (tribesSize w * w) → Bool) => signVal (tribes w (tribesSize w) x)

Lower bound on the influences of Tribes O'Donnell, Proposition 4.13, in explicit form: on n = s w bits with s = tribesSize w and w ≥ 1, every bit has influence at least log n / (4 n). The constant is ours.

The nearly balanced Tribes with w ≥ 2 has variance at least 3 / 4, read as signs. The bound is ours.

Sharpness of the Kahn–Kalai–Linial theorem #

theorem Cslib.BitString.influence_tribes_le_mul_log_div {w : ℕ} (hw : 2 ≤ w) (k : Fin (tribesSize w * w)) :
(influence k fun (x : Fin (tribesSize w * w) → Bool) => signVal (tribes w (tribesSize w) x)) ≤ (8 * Finset.univ.expect fun (x : BitString (tribesSize w * w)) => (signVal (tribes w (tribesSize w) x) - Finset.univ.expect fun (y : BitString (tribesSize w * w)) => signVal (tribes w (tribesSize w) y)) ^ 2) * Real.log ↑(tribesSize w * w) / ↑(tribesSize w * w)

Tribes witnesses the sharpness of KKL O'Donnell, Sections 4.2 and 9.6: on n = s w bits with s = tribesSize w and w ≥ 2, every influence of Tribes is at most 8 Var log n / n, against the influence of at least Var log n / (4 n) that Cslib.BitString.exists_expect_sub_expect_sq_mul_log_card_div_le_influence provides for every Boolean function. The constant 8 is ours.

theorem Cslib.BitString.exists_forall_influence_lt_mul_log_div {c : ℝ} (hc : 8 < c) (n₀ : ℕ) :
∃ (n : ℕ) (f : BitString n → Bool), n₀ ≤ n ∧ ∀ (k : Fin n), (influence k fun (x : Fin n → Bool) => signVal (f x)) < (c * Finset.univ.expect fun (x : BitString n) => (signVal (f x) - Finset.univ.expect fun (y : BitString n) => signVal (f y)) ^ 2) * Real.log ↑n / ↑n

The constant in KKL is at most 8: for every c > 8 and every n₀ there are n ≥ n₀ and a Boolean function on n bits all of whose influences are less than c Var log n / n, so no constant above 8 can replace 1 / 4 in Cslib.BitString.exists_expect_sub_expect_sq_mul_log_card_div_le_influence for all large n [KKL88] O'Donnell, Sections 4.2 and 9.6. The constant 8 is ours.