Hardness magnification from sublinear zero-error average-case formulas #
This module states [OliveiraSanthanam2018, Section 1.2, Theorem 5, p. 8] with its concrete threshold and a conventional ternary device:
If
MCSP[2^{√n}]onN-bit inputs cannot be solved on average with zero error by formulas of sizeo(N), then NP does not have polynomial size formulas.
Here N = 2 ^ n. The device answers 0, 1 or "?", is never incorrect, and answers "?" on a
bounded fraction of inputs. We use the stronger average-case notion of
[OliveiraSanthanam2018, Appendix A, Definition 43, p. 34]: correctness for every large enough n
with "?" on at most a 1 / n fraction of truth tables. Ruling out such devices is a weaker
hypothesis than ruling out the devices of Section 1.2, which may answer "?" on half of the
inputs, so the headline theorem implies the Section 1.2 form, recorded as a corollary.
The threshold 2 ^ √n is rounded down to MCSP.sqrtThreshold n = ⌊2 ^ √n⌋₊. Circuit sizes are
natural numbers, so a size is at most ⌊2 ^ √n⌋₊ exactly when it is at most the real 2 ^ √n
(MCSP.le_sqrtThreshold_iff): the rounding loses nothing. The general theorem accepts every
subexponential threshold, so other roundings such as 2 ^ ⌊√n⌋ are covered as well.
Modelling choices #
- A ternary formula device,
ZeroErrorFormula, is a pair of De Morgan formulas: an unknown mask selecting "?" and an answer bit. Its size is the total leaf size. Any encoding of the outputs 0, 1 and "?" by two output formulas converts to this one, and back, with at most a constant factor in size, which does not affect ano(N)bound. - Size
o(N)is a real little-o bound,(D n).leafSize =o[atTop] 2 ^ n, for a nonuniform familyDwith one device for each arity. - Circuits are De Morgan circuits counting every gate, as in
CslibFrontier.Computability.MCSP.Basic. - No constructibility assumption on the threshold is needed: the single binary NP language
receives thresholds and samples in its input
(
Cslib.SuccinctMCSP.exists_language_mem_NP).
The proof is the instantiation [OliveiraSanthanam2018, Section 3.3, p. 20] of the asymptotic
one-sided projection in CslibFrontier.Computability.MCSP.FormulaMagnification.AverageCase, with
the ternary device of [OliveiraSanthanam2018, Section 3.3, Theorem 27, p. 21]: it answers 0 where
the one-sided formula rejects and "?" elsewhere (ZeroErrorFormula.ofMask).
Main definitions #
Cslib.MCSP.sqrtThreshold: the threshold⌊2 ^ √n⌋₊.Cslib.Circuits.Boolean.ZeroErrorFormula: a De Morgan formula device answering 0, 1 or "?".Cslib.Circuits.Boolean.ZeroErrorFormula.ofMask: the device answering 0 where a one-sided formula rejects and "?" elsewhere.
Main results #
Cslib.MCSP.le_sqrtThreshold_iff: the rounding is exact for natural sizes.Cslib.MCSP.subexponentiallyBounded_sqrtThreshold: the threshold is subexponential.Cslib.Circuits.Boolean.isZeroErrorDecider_ofMask: translation from the one-sided unknown-mask formulation to a zero-error decider.Cslib.Circuits.Boolean.exists_zeroErrorFormula_solvesOnAverage_of_mem_FormulaPoly: forward form, with devices of at most2 ^ (n / 2)leaves.Cslib.Circuits.Boolean.exists_NP_not_mem_FormulaPoly_of_zero_error_average_case_sublinear_hard: the magnification theorem for any subexponential threshold and any unknown fraction1 / k nwithk n ≤ 2 ^ n.Cslib.Circuits.Boolean.exists_NP_not_mem_FormulaPoly_of_sqrtThreshold_average_case_hard: Theorem 5 with Definition 43.Cslib.Circuits.Boolean.exists_NP_not_mem_FormulaPoly_of_sqrtThreshold_half_average_case_hard: Theorem 5 with the half-unknown devices of Section 1.2.
References #
The circuit-size threshold ⌊2 ^ √n⌋₊ of [OliveiraSanthanam2018, Section 1.2, Theorem 5,
p. 8], for truth tables of n-input functions.
A natural number is at most ⌊2 ^ √n⌋₊ exactly when it is at most the real 2 ^ √n.
A truth table lies in the yes-set at threshold ⌊2 ^ √n⌋₊ exactly when its function has
circuit complexity at most the real 2 ^ √n.
At perfect squares the threshold is exact: ⌊2 ^ √(m ^ 2)⌋₊ = 2 ^ m.
The threshold is at least 2 ^ ⌊√n⌋.
The threshold is at most 2 ^ (⌊√n⌋ + 1).
The threshold ⌊2 ^ √n⌋₊ is subexponential.
The output of the device: none for "?" and some b for the answer b.
The size of the device: the total leaf size of its two formulas.
The device answering 0 where the formula F is false and "?" where it is true, as in the
proof of [OliveiraSanthanam2018, Section 3.3, Theorem 27, p. 21].
Translation from the one-sided unknown-mask formulation to a zero-error decider. If F
accepts every truth table in the yes-set and accepts at most 2 ^ (2 ^ n - r) truth tables, then
ZeroErrorFormula.ofMask F is a zero-error decider answering "?" on at most a 1 / k fraction
of truth tables whenever k ≤ 2 ^ r and r ≤ 2 ^ n.
Forward form of [OliveiraSanthanam2018, Section 3.3, Theorem 27, p. 21] for ternary devices.
If a binary language agreeing with succinct MCSP has polynomial-size formulas, then for every
subexponential threshold s there are devices of at most 2 ^ (n / 2) leaves, eventually, that
solve MCSP[s] on average with zero error and unknown fraction 1 / k n, for any k n ≤ 2 ^ n.
Hardness magnification from sublinear zero-error average-case formulas, for any
subexponential threshold s and unknown fraction 1 / k n with k n ≤ 2 ^ n: if no family of
ternary De Morgan formula devices of size o(2 ^ n) solves MCSP[s] on average with zero error,
then some binary NP language has no polynomial-size formulas. This is a library generalization of
[OliveiraSanthanam2018, Section 1.2, Theorem 5, p. 8], proved as in
[OliveiraSanthanam2018, Section 3.3, Theorem 27, p. 21].
[OliveiraSanthanam2018, Section 1.2, Theorem 5, p. 8] with the average-case notion of
[OliveiraSanthanam2018, Appendix A, Definition 43, p. 34]: if no family of ternary De Morgan
formula devices of size o(N), N = 2 ^ n, solves MCSP[⌊2 ^ √n⌋₊] with zero error and
"?" on at most a 1 / n fraction of truth tables for every large enough n, then some binary NP
language has no polynomial-size formulas.
[OliveiraSanthanam2018, Section 1.2, Theorem 5, p. 8] with the devices of Section 1.2, which
answer "?" on at most half of the inputs. This follows from the Definition 43 form, since a device
with unknown fraction at most 1 / n has unknown fraction at most 1 / 2 once n ≥ 2.