Zero-error average-case devices for MCSP #
A zero-error average-case device for MCSP[s] on truth tables of n-input functions maps each
truth table of length N = 2 ^ n to some b, an answer, or to none, the answer "?"
[OliveiraSanthanam2018, Section 1.2, p. 8]. It is never incorrect: an answer some b means that
b = true exactly when the truth table has circuit complexity at most s n. It is also
correct on most inputs: the fraction of truth tables on which it answers "?" is bounded.
This module records the per-length condition and its asymptotic form. The fraction of "?"
answers is stated as an exact natural-number count: for a parameter k, at most a 1 / k
fraction of the 2 ^ (2 ^ n) truth tables receive "?". Taking k = 2 gives the bound
Pr_x[A(x) ≠ "?"] ≥ 1 / 2 of [OliveiraSanthanam2018, Section 1.2, p. 8]; taking k n = n
with correctness for every large enough n gives
[OliveiraSanthanam2018, Appendix A, Definition 43, p. 34]. The device is an arbitrary function,
so these predicates can be applied to formulas, circuits or any other model by composing with its
semantics.
Main definitions #
Cslib.MCSP.IsZeroErrorDecider: a zero-error device forMCSP[s]onn-input truth tables that answers "?" on at most a1 / kfraction of them.Cslib.MCSP.SolvesOnAverage: a family of devices, one for eachn, that is eventually a zero-error decider at unknown fraction1 / k n.
Main results #
Cslib.MCSP.IsZeroErrorDecider.mono,Cslib.MCSP.SolvesOnAverage.mono: a smaller parameterkis a weaker requirement.Cslib.MCSP.isZeroErrorDecider_decide: the exact decider, which never answers "?".
References #
D is a zero-error device for MCSP[s] on truth tables of n-input functions that answers
"?" (none) on at most a 1 / k fraction of its 2 ^ (2 ^ n) inputs. An answer some b is
always correct: b = true exactly when the truth table lies in GapMCSP.yesSet s, that is, when
its function has circuit complexity at most s n. This is the per-length condition of
[OliveiraSanthanam2018, Section 1.2, p. 8; Appendix A, Definition 43, p. 34].
The family D solves MCSP[s] on average with zero error and unknown fraction 1 / k n:
for every large enough n, the device D n is never incorrect on n-input truth tables and
answers "?" on at most a 1 / k n fraction of them. With k n = n this is
[OliveiraSanthanam2018, Appendix A, Definition 43, p. 34], for an arbitrary nonuniform device
family.
A zero-error decider at unknown fraction 1 / k is one at every larger fraction 1 / k'.
Solving on average at unknown fractions 1 / k n implies solving on average at eventually
larger fractions 1 / k' n.
The exact decider for MCSP[s] never answers "?", so it is a zero-error decider for every
unknown fraction.