Oracle circuits for Gap-MCSP from the anti-checker generator #
[Chen, Hirahara, Oliveira, Pich, Rajgopal and Santhanam, Proposition 63, sixth bullet]
[CHO+20] reads [Oliveira, Pich and Santhanam]
[OPS19] as an oracle circuit: for s(n) ≤ 2 ^ n / poly(n), Gap-MCSP has
oracle circuits with N · poly(s) gates, of which N · poly(s) are oracle gates, each of fan-in
poly(s), with poly(s) oracle gates on any path, where N = 2 ^ n
(Chen et al., Definition 11).
Cslib.MCSP.exists_oracleCircuit_gapMCSP is this bullet with explicit parameters and constants.
The circuit runs the anti-checker generator (Cslib.MCSP.AntiChecker.generator) for circuits with
at most s₁ gates on the truth table of f, then makes one more query: whether some function with
at most s₁ gates agrees with f on all the chosen samples, which the oracle answers at power 1
and threshold 0
(Cslib.MCSP.AntiChecker.encQuery_ofSamples_one_zero_notMem_antiCheckerOracle_iff).
The circuit outputs the negation of that answer. With the oracle antiCheckerOracle, every sample
is a correct pair (y, f y), so a yes-instance (complexity at most s₁) is accepted. When f
needs more gates than n circuits with s₁ gates and their strict majority, which holds for the
no-instances once n s₁ + 2 + 2 n (n + 2) ≤ s₂, the samples are an anti-checker, so no function
with s₁ gates agrees with them and f is rejected. One fixed oracle answers both the generator's
queries and the final query, as Definition 11 (iii) requires.
The statement is unconditional, and its gap is explicit. The bullet's s is s₂ here. The
statement differs from the source in three ways. The first drops a uniformity condition, the
second drops a size restriction, and the third is a difference of presentation:
- "constructive" is dropped: the circuits are nonuniform, so
s₁ands₂are arbitrary; s ≤ 2 ^ n / poly(n)is not needed: the bounds hold for everys₂above the gap;- the four bounds of Definition 11 are stated directly here: size, oracle-gate count
(
Program.costwithOracleOp.queryWeight), fan-in (Circuit.FanInAtMost) and oracle depth (Circuit.depthWith).
Cslib.MCSP.localCircuitClass_gapMCSP restates the bullet in the class
Cslib.Circuits.Boolean.LocalCircuitClass, at input length m, with n = Nat.log 2 m
and the gap condition at every n. Its oracle is antiCheckerOracle at every length. The fan-in
bound bounds the oracle gates (Circuit.QueryArityAtMost.of_fanInAtMost). Every truth-table length
2 ^ n is covered by exists_oracleCircuit_gapMCSP, including n = 0 (N = 1), where the circuit
is a constant gate. The class also asks for a circuit at the lengths that are not powers of two,
which carry no instances; only length 0 needs a gate there, so the class's size bound has a
+ 1.
Source locator: ECCC TR19-168, Appendix A.2, Proposition 63, sixth bullet (p. 52).
Main results #
Cslib.MCSP.exists_oracleCircuit_gapMCSP: Gap-MCSP oracle circuits with5000 N s₂ ^ 5gates, at most610 N s₂ ^ 4 + 1oracle gates, each of fan-in at most5000 s₂ ^ 5, and at most610 s₂ ^ 4 + 1oracle gates on any path, under the oracleantiCheckerOracle.Cslib.MCSP.localCircuitClass_gapMCSP:Gap-MCSP[s₁, s₂]is in[610 m s₂ ^ 4 + 1, 5000 s₂ ^ 5, 610 s₂ ^ 4 + 1]–Circuit[5000 m s₂ ^ 5 + 1]on input lengthm, withs₂evaluated atlog₂ m.
References #
Gap-MCSP has efficient oracle circuits Chen, Hirahara, Oliveira, Pich, Rajgopal and
Santhanam, Proposition 63, sixth bullet (from
Oliveira, Pich and Santhanam). For thresholds with
n s₁ + 2 + 2 n (n + 2) ≤ s₂ at length n, there is an oracle circuit on 2 ^ n inputs with at
most 5000 · 2 ^ n · s₂ ^ 5 gates, at most 2 ^ n · 610 s₂ ^ 4 + 1 oracle gates, each gate of
fan-in at most 5000 s₂ ^ 5, and at most 610 s₂ ^ 4 + 1 oracle gates on any path, which with the
oracle antiCheckerOracle accepts the yes-instances of Gap-MCSP[s₁, s₂] and rejects its
no-instances.
Gap-MCSP in a local circuit class [ChenHiraharaOliveiraPichRajgopalSanthanam2020,
Appendix A.2, Proposition 63, [OPS19] Gap-MCSP bullet, p. 52; Section 2.5, Definition 11, p. 13].
Whenever n s₁(n) + 2 + 2 n (n + 2) ≤ s₂(n) for every n, Gap-MCSP[s₁, s₂] is in the local
circuit class with, at input length m and n = Nat.log 2 m,
- at most
610 m s₂(n) ^ 4 + 1oracle gates (quantity), - each of fan-in at most
5000 s₂(n) ^ 5(locality), - at most
610 s₂(n) ^ 4 + 1oracle gates on any path (adaptivity), - at most
5000 m s₂(n) ^ 5 + 1gates.
The oracle is antiCheckerOracle at every length. Each truth-table length m = 2 ^ n is
covered by exists_oracleCircuit_gapMCSP at that n, under the parameter bound
n s₁(n) + 2 + 2 n (n + 2) ≤ s₂(n) at that n. This includes n = 0 (m = 1): every function
of no variables is constant, so there are no no-instances, and that theorem uses one constant gate.
The other lengths carry no instances, so any circuit within the bounds will do
(LocalCircuitClass.of_two_pow). For m ≥ 2 it is a circuit with no gates that outputs an input.
At m = 0 there is no input wire, so the output needs one constant gate. The + 1 in the size
bound pays for it and is needed only there: without it the bound at m = 0 would be 0.