Documentation

CslibFrontier.Computability.QueryComplexity.NisanSzegedy

The Nisan–Szegedy bounds #

Block sensitivity is at most quadratic in the degree and in the approximate degree: bs(f) ≤ 2 deg(f)² and bs(f) ≤ 6 adeg(f)² with adeg = adeg_{1/3} [NS94].

Both follow from one argument (QueryComplexity.one_sub_two_mul_mul_blockSensitivity_le). Let a real function p of degree at most D be within ε < 1/2 of f, and let x have b = bs(f) pairwise disjoint sensitive blocks B₁, …, B_b. Normalizing so that f(x) reads as 0, the function g(y) = p(x ⊕ ⋃_{yⱼ = 1} Bⱼ) on {0,1}ᵇ still has degree at most D (BitString.comp_mem_lowDegree), lies in [-ε, 1 + ε], is at most ε at 0 and at least 1 - ε at each unit vector. Its Minsky–Papert symmetrization q (BitString.exists_natDegree_le_eval_eq_layerAverage) is a univariate polynomial of degree at most D with the same bounds at the integers 0, …, b, and the mean value theorem gives a point of [0, 1] where q' ≥ 1 - 2ε. The Nisan–Szegedy lemma, a consequence of Markov's inequality (Polynomial.mul_le_sq_mul_of_le_abs_eval_derivative), then gives (1 - 2ε) b ≤ D² (1 - 2ε + 1 + 2ε) = 2 D². If p takes values in [-δ, 1 + δ], the same argument gives (1 - 2ε) b ≤ (2 - 2ε + 2δ) D² (QueryComplexity.one_sub_two_mul_mul_blockSensitivity_le_of_mem_Icc). The case δ = 0, of a polynomial that is a probability, is the step in the proof of Theorem 4.13 of [BBC+01] (arXiv:quant-ph/9802049v3) that gives bs(f) ≤ 16 T² for T-query quantum algorithms (Cslib.Quantum.blockSensitivity_le_sixteen_mul_sq).

With Huang's theorem deg(f) ≤ s(f)² this gives bs(f) ≤ 2 s(f)⁴, and with D(f) ≤ bs(f)³ [BBC+01] it gives D(f) ≤ 216 adeg(f)⁶. The sharper exact-degree bound D(f) ≤ 2 deg(f)³ is proved in CslibFrontier.Computability.QueryComplexity.Midrijanis.

Main results #

References #

theorem Cslib.QueryComplexity.one_sub_two_mul_mul_blockSensitivity_le_of_mem_Icc {n : ℕ} {f : BooleanFunction n} {p : BitString n → ℝ} {D : ℕ} (hp : p ∈ BitString.lowDegree ℝ (Fin n) D) {ε δ : ℝ} (hpf : ∀ (x : BitString n), |p x - BitString.bitVal ℝ (f x)| ≤ ε) (hpI : ∀ (x : BitString n), p x ∈ Set.Icc (-δ) (1 + δ)) (hε2 : 2 * ε < 1) :
(1 - 2 * ε) * ↑(blockSensitivity f) ≤ (2 - 2 * ε + 2 * δ) * ↑D ^ 2

The Nisan–Szegedy argument with a range: if a real function of degree at most D is within ε < 1/2 of f at every input and takes values in [-δ, 1 + δ], then (1 - 2ε) bs(f) ≤ (2 - 2ε + 2δ) D². A function within ε of f takes values in [-ε, 1 + ε], which gives 2 D²; a probability, with values in [0, 1], gives (2 - 2ε) D².

theorem Cslib.QueryComplexity.one_sub_two_mul_mul_blockSensitivity_le_of_mem_lowDegree {n : ℕ} {f : BooleanFunction n} {p : BitString n → ℝ} {D : ℕ} (hp : p ∈ BitString.lowDegree ℝ (Fin n) D) {ε : ℝ} (hpf : ∀ (x : BitString n), |p x - BitString.bitVal ℝ (f x)| ≤ ε) :
(1 - 2 * ε) * ↑(blockSensitivity f) ≤ 2 * ↑D ^ 2

The Nisan–Szegedy argument: if a real function of degree at most D is within ε of f at every input, then (1 - 2ε) bs(f) ≤ 2 D².

Nisan–Szegedy: bs(f) ≤ 2 deg(f)².

Nisan–Szegedy for approximate degree: (1 - 2ε) bs(f) ≤ 2 adeg_ε(f)² for ε ≥ 0.

Nisan–Szegedy: bs(f) ≤ 6 adeg(f)², for the approximate degree adeg = adeg_{1/3}.

bs(f) ≤ 2 s(f)⁴, from Nisan–Szegedy and Huang's theorem deg(f) ≤ s(f)².

D(f) ≤ 216 adeg(f)⁶ for the approximate degree adeg = adeg_{1/3}, from D(f) ≤ bs(f)³ and bs(f) ≤ 6 adeg(f)².