Documentation

CslibFrontier.Computability.MCSP.FormulaMagnification.Locality

Locality of the Oliveira–Santhanam formula construction #

Chen, Hirahara, Oliveira, Pich, Rajgopal and Santhanam observe that the known hardness magnification reductions are local: they compute the hard problem with few oracle gates of small fan-in on cheap projections of the input [ChenHiraharaOliveiraPichRajgopalSanthanam2020, Appendix A.2, Proposition 63, p. 52]. This file proves their [OS18] bullet for the library's Oliveira–Santhanam formula construction (FormulaMagnification.lean): the approximate MCSP promise problem is in [N, poly(s / δ), 1]–Formula[N · poly(s / δ)].

The oracle is succinctMCSPOracle, the encoded SuccinctMCSP yes-instances. It is one language for all input lengths, as Definition 11 requires. On N = 2 ^ n input bits the formula is a conjunction of 2 ^ n oracle gates. Each gate reads a word of constants and single input leaves: the encoding of a SuccinctMCSP instance that samples the truth table at a fixed set of seed points (exists_seeds_approxMCSP). No oracle gate lies below another, so the adaptivity is one.

The paper's bound on oracle gates is exactly N. The library's De Morgan form exists_formula_separating_approxMCSP_of_agrees still states (2 ^ n + 1) * B; both are derived from the same seed lemma, which supplies 2 ^ n seeds.

Main definitions #

Main results #

The paper requires n ≤ s(n) ≤ 2 ^ n / poly(n), 0 < δ(n) < 1 / 2 and a constructive s. Only n ≤ s(n) and 0 < δ(n) are used here; constructivity plays no role in this nonuniform statement. As the paper remarks, the uniform complexity of the oracle gates is not considered.

References #

@[reducible, inline]

The oracle language of the Oliveira–Santhanam construction: the encoded SuccinctMCSP yes-instances.

The oracle gate on succinctWord n S s answers whether the sampled instance is a SuccinctMCSP yes-instance.

The Oliveira–Santhanam construction is local, at one input length [ChenHiraharaOliveiraPichRajgopalSanthanam2020, Appendix A.2, Proposition 63, [OS18] bullet, p. 52]. If 1 ≤ k n and s₁ n ≤ s₂ n, some oracle formula on 2 ^ n inputs with at most 2 ^ n oracle gates, each of fan-in at most approxMCSPQueryEncLength n (s₂ n) (k n), at most one oracle gate on any path, and at most 2 ^ n times that fan-in leaves, accepts GapMCSP.yesSet s₁ and rejects ApproxMCSP.noSet s₂ k under succinctMCSPOracle.

theorem Cslib.Circuits.Boolean.localFormulaClass_approxMCSP {s₁ s₂ k : ℕ → ℕ} (hk : ∀ (n : ℕ), 1 ≤ k n) (hs : ∀ (n : ℕ), s₁ n ≤ s₂ n) :
LocalFormulaClass (fun (m : ℕ) => m) (fun (m : ℕ) => approxMCSPQueryEncLength (Nat.log 2 m) (s₂ (Nat.log 2 m)) (k (Nat.log 2 m))) (fun (x : ℕ) => 1) (fun (m : ℕ) => m * approxMCSPQueryEncLength (Nat.log 2 m) (s₂ (Nat.log 2 m)) (k (Nat.log 2 m))) (GapMCSP.yesSet s₁) (ApproxMCSP.noSet s₂ k)

The Oliveira–Santhanam construction in LocalFormulaClass form [ChenHiraharaOliveiraPichRajgopalSanthanam2020, Appendix A.2, Proposition 63, [OS18] bullet, p. 52]. With n = Nat.log 2 m at input length m, approximate MCSP is in [m, ℓ, 1]–Formula[m · ℓ] for the fan-in ℓ = approxMCSPQueryEncLength n (s₂ n) (k n). Input lengths that are not powers of two have no yes- or no-instances.

theorem Cslib.Circuits.Boolean.approxMCSPQueryEncLength_le_poly {n s k : ℕ} (hn : n ≤ s) (hk : 1 ≤ k) :
approxMCSPQueryEncLength n s k ≤ 98 * (k * (s + 1)) ^ 3

An explicit polynomial bound on the fan-in of the oracle gates, poly(s * k), when n ≤ s.

The no-instances of MCSP[(s, 0), (s, δ)] with a real error δ [ChenHiraharaOliveiraPichRajgopalSanthanam2020, Section 2.3, Definition 6, p. 13]: truth tables of functions f such that no function of circuit complexity at most s n agrees with f on at least a (1 - δ n)-fraction of inputs.

theorem Cslib.ApproxMCSP.noSetReal_le_noSet {s : ℕ → ℕ} {δ : ℕ → ℝ} (hδ : ∀ (n : ℕ), 0 < δ n) :
noSetReal s δ ≤ noSet s fun (n : ℕ) => ⌈1 / δ n⌉₊

With k n = ⌈1 / δ n⌉₊, the real-error no-instances are integer-parameter no-instances.

theorem Cslib.Circuits.Boolean.localFormulaClass_approxMCSP_real {s : ℕ → ℕ} {δ : ℕ → ℝ} (hδ : ∀ (n : ℕ), 0 < δ n) :
LocalFormulaClass (fun (m : ℕ) => m) (fun (m : ℕ) => approxMCSPQueryEncLength (Nat.log 2 m) (s (Nat.log 2 m)) ⌈1 / δ (Nat.log 2 m)⌉₊) (fun (x : ℕ) => 1) (fun (m : ℕ) => m * approxMCSPQueryEncLength (Nat.log 2 m) (s (Nat.log 2 m)) ⌈1 / δ (Nat.log 2 m)⌉₊) (GapMCSP.yesSet s) (ApproxMCSP.noSetReal s δ)

Proposition 63, [OS18] bullet, with a real error [ChenHiraharaOliveiraPichRajgopalSanthanam2020, Appendix A.2, p. 52]: for 0 < δ n, MCSP[(s, 0), (s, δ)] is in [N, ℓ, 1]–Formula[N · ℓ] with ℓ = approxMCSPQueryEncLength n (s n) ⌈1 / δ n⌉₊.

theorem Cslib.Circuits.Boolean.localFormulaClass_approxMCSP_real_poly {s : ℕ → ℕ} {δ : ℕ → ℝ} (hδ : ∀ (n : ℕ), 0 < δ n) (hs : ∀ (n : ℕ), n ≤ s n) :
LocalFormulaClass (fun (m : ℕ) => m) (fun (m : ℕ) => 98 * (⌈1 / δ (Nat.log 2 m)⌉₊ * (s (Nat.log 2 m) + 1)) ^ 3) (fun (x : ℕ) => 1) (fun (m : ℕ) => m * (98 * (⌈1 / δ (Nat.log 2 m)⌉₊ * (s (Nat.log 2 m) + 1)) ^ 3)) (GapMCSP.yesSet s) (ApproxMCSP.noSetReal s δ)

Proposition 63, [OS18] bullet, with explicit polynomials [ChenHiraharaOliveiraPichRajgopalSanthanam2020, Appendix A.2, p. 52]: if 0 < δ n and n ≤ s n, then MCSP[(s, 0), (s, δ)] is in [N, ℓ, 1]–Formula[N · ℓ] with ℓ = 98 * (⌈1 / δ n⌉₊ * (s n + 1)) ^ 3, which is poly(s / δ).