Documentation

CslibFrontier.Computability.MCSP.AntiChecker.Efficient

The efficient anti-checker #

Oliveira, Pich and Santhanam, Lemma 4.1 (ECCC TR18-158, Lemma 17) states: if NP ⊆ Circuit[poly], there is a constant k such that for every small enough β > 0 there is a circuit C of size at most 2 ^ (n + k β n) that, given the truth table of f : {0,1}^n → {0,1}, outputs t = 2 ^ (10 β n) strings y₁, …, y_t ∈ {0,1}^n such that if f ∉ Circuit[2 ^ (β n)], every circuit of size at most s = 2 ^ (β n) / 10 n fails to compute f on one of them. This is Cslib.MCSP.AntiChecker.exists_antiChecker_circuit_of_NP_subset_PPoly.

The circuit is the anti-checker generator (Cslib.MCSP.AntiChecker.generator) with its oracle gates replaced by P/poly circuits for a language that agrees with the anti-checker oracle on its queries (Cslib.MCSP.AntiChecker.exists_mem_PPoly_agrees_antiCheckerOracle), followed by wires that copy the input bits of each sample into t output blocks of n bits. The explicit form Cslib.MCSP.AntiChecker.exists_antiChecker_circuit_le_of_NP_subset_PPoly bounds the size by 2 ^ n · c (n + s + 1) ^ c for every n > 0, every s and every t at least the number of rounds, and makes the hardness assumption explicit: f needs more gates than n circuits with s gates and their strict majority.

Proof route. The statement is OPS's; the proof is not. The anti-checker is the library's deterministic greedy against the hash threshold oracle (Cslib.MCSP.AntiChecker.greedy), whose termination uses the good-string lemma with constant 1/16 and the tensor-power amplification of Chen, Hirahara, Oliveira, Pich, Rajgopal and Santhanam. OPS select samples by approximate counting instead.

Translation. Sizes count all De Morgan gates. f ∉ Circuit[2 ^ (β n)] is ⌊2 ^ (β n)⌋₊ < complexity f, which is equivalent because complexity is a natural number, and the size bound 2 ^ (β n) / 10 n is rounded down. The t strings are the t blocks of n outputs of one circuit, read with Cslib.BitString.block. The statement holds for every β > 0 and all large n, which is stronger than "every sufficiently small β".

Main results #

References #

The efficient anti-checker, explicit form. If NP ⊆ P/poly, there is c such that for all n > 0, s, and t at least the number of rounds of the anti-checker generator, a De Morgan circuit with at most 2 ^ n · c (n + s + 1) ^ c gates maps the truth table of f to t blocks of n bits that form an anti-checker for the circuits with at most s gates, whenever f needs more gates than n such circuits and their strict majority.

theorem Cslib.MCSP.AntiChecker.eventually_mul_floor_div_add_le_floor {β : ℝ} (hβ : 0 < β) :
∀ᶠ (n : ℕ) in Filter.atTop, n * ⌊2 ^ (β * ↑n) / (10 * ↑n)⌋₊ + 2 + 2 * n * (n + 2) ≤ ⌊2 ^ (β * ↑n)⌋₊

The parameters of OPS Lemma 4.1 leave room for the hardness assumption. For β > 0 and all large n, n ⌊2 ^ (β n) / 10 n⌋₊ + 2 + 2 n (n + 2) ≤ ⌊2 ^ (β n)⌋₊. So a function with no circuit of ⌊2 ^ (β n)⌋₊ gates needs more gates than n circuits with ⌊2 ^ (β n) / 10 n⌋₊ gates and their strict majority.

The efficient anti-checker [Oliveira, Pich and Santhanam, Lemma 4.1] [OPS19] (OPS ToC 2021 Lemma 4.1; ECCC TR18-158 Lemma 17). If NP ⊆ P/poly, there is k such that for every β > 0 and all large n, a De Morgan circuit with at most 2 ^ (n + k β n) gates maps the truth table of f : {0,1}^n → {0,1} to t = ⌊2 ^ (10 β n)⌋₊ strings of n bits such that if f has no circuit with ⌊2 ^ (β n)⌋₊ gates, every circuit with at most ⌊2 ^ (β n) / 10 n⌋₊ gates fails to compute f on one of them.

OPS state this for every sufficiently small β; it holds here for every β > 0, which is a genuine strengthening. The proof is the library's hash-threshold greedy (see the module docstring), not OPS's approximate counting.