Closure properties of P/poly #
This module proves closure properties of PPolyOn enc that go beyond its Boolean operations
(Cslib.Circuits.Boolean.PPolyOn.compl, Cslib.Circuits.Boolean.PPolyOn.sup,
Cslib.Circuits.Boolean.PPolyOn.inf). These are the facts that circuit lower-bound and
magnification arguments need to take from the Karp–Lipton theorem without importing its proof.
Preimages of P/poly are closed under polynomial-time many-one reductions
(Cslib.Complexity.PolyTimeReducible.mem_PPolyOn). The proof evaluates the circuits for the target
language from an advice string (Cslib.Circuits.Boolean.PPoly.exists_evalAdvice) and then hardwires
that string (Cslib.Circuits.Boolean.PPoly.of_advice).
The same advice-string mechanism eliminates quantifiers nonuniformly. Suppose M ∈ P/poly, and
replace M by an advice string listing its circuits up to length 2 |x| + 1 + p |x|. This turns
the existential quantifier over w of length p |x| in frame x ++ w ∈ M into a language in NP.
Hence the existential projection remains in P/poly when NP ⊆ P/poly
(Cslib.Complexity.mem_PPoly_of_exists_frame_append)
Karp and Lipton, Section 3. Combined with closure under reductions and complement,
this gives existential and universal quantifier elimination over polynomial-length witnesses for any
instance encoding.
Main results #
Cslib.Circuits.Boolean.PPolyOn.of_computableInPolyTime: a predicate decided in polynomial time is inPPolyOn, a form ofP ⊆ P/poly(Cslib.Circuits.Boolean.P_subset_PPolyOn).Cslib.Circuits.Boolean.PPolyOn.imp: closure ofPPolyOnunder implication.Cslib.Complexity.PolyTimeReducible.mem_PPolyOn: preimages ofP/polyare closed under polynomial-time many-one reductions.Cslib.Complexity.mem_PPoly_of_exists_frame_append,Cslib.Complexity.PPolyOn.exists_of_computableInPolyTime_length,Cslib.Complexity.PPolyOn.forall_of_computableInPolyTime_length: nonuniform existential and universal quantifier elimination inP/polyunderNP ⊆ P/poly.
References #
Polynomial-time predicates are in P/poly. If f is computable in polynomial time, then
the set of instances on which f is true is in PPolyOn enc.
Preimages of P/poly are closed under polynomial-time reductions. If A reduces to B
in polynomial time and B is the preimage under encB of a language in P/poly, then A is
the preimage under enc of a language in P/poly: evaluating the circuits for B up to the
polynomial output-length bound of the reduction from an advice string is polynomial-time, and
hardwiring the advice string (PPoly.of_advice) gives circuits of polynomial size.
Nonuniform quantifier elimination. If every language in NP over Bool is in P/poly
and M is in P/poly, then the language of words x for which frame x ++ w ∈ M for some w of
length p |x| is in P/poly: replacing M by an advice string listing its circuits up to length
2 |x| + 1 + p |x| turns the existential quantifier over w into a language in NP, and
hardwiring the advice string (Cslib.Circuits.Boolean.PPoly.of_advice) gives circuits of
polynomial size Karp and Lipton, Section 3.
Nonuniform existential quantifier elimination in PPolyOn. Under NP ⊆ P/poly, if a
relation P : α → List Bool → Prop is in PPolyOn (encPair enc encBits) and the witness length
N : α → ℕ is computable in polynomial time in unary, then {a | ∃ u, u.length = N a ∧ P a u} is
in PPolyOn enc.
Nonuniform universal quantifier elimination in PPolyOn. Under NP ⊆ P/poly, if a
relation P : α → List Bool → Prop is in PPolyOn (encPair enc encBits) and the bound N : α → ℕ
is computable in polynomial time in unary, then {a | ∀ u, u.length = N a → P a u} is in
PPolyOn enc.