The functions of the CIKK generator in AC⁰[2] #
Carmosino, Impagliazzo, Kabanets and Kolokolova build a black-box generator within AC⁰[p]
(Definition 3.1 and Theorem 3.2, p. 10:10) from the Nisan–Wigderson generator of the amplified
function Amp(f). For a seed z, the function g_z maps i to bit i of the generator's output
on z, that is g_z(i) = Amp(f)(z|S_i), and each g_z has small circuits relative to f
(Nonuniform AC⁰[p]-Efficiency, proof of Theorem 3.2, p. 10:11)
[CIKK16]. This file proves that efficiency clause for p = 2,
the amplification Amp(f) = Cslib.Circuits.Boolean.glAmp f k on n' = k n + k bits and the design
Cslib.Crypto.PRG.NisanWigderson.Design.binaryPolynomial n' ℓ.
From a circuit C for f, glAmpGeneratorCircuit φ C k ℓ z computes g_z. Its ℓ inputs i,
together with the seed z fixed by two constant gates, feed the selection
Cslib.Crypto.PRG.NisanWigderson.mxCircuit (Theorem 3.7, p. 10:13). Its n' outputs z|S_i feed
the amplification circuit Cslib.Circuits.Boolean.glAmpCircuit (proof of Theorem 4.3, p. 10:16).
It has at most k |C| + 6 n'² + 3 gates and depth at most C.depth + 7.
The construction is generic in the basis, as glAmpCircuit is: C is a circuit over any
signature σ, and the rest is built over Unbounded.extSignature and translated into σ along a
map φ that keeps its meaning under MOD₂ gates. For AC⁰[2] circuits take
σ = Unbounded.extSignature, I = Unbounded.extInterpretation (modGate 2) and
φ = Signature.Hom.id _.
This differs from the source in these ways:
- only
p = 2is built, overBinaryField ewithe = binaryFieldDegree n', so fork ≥ 1the field has betweenn'and2 n'elements and the seed hasn' 2 ^ e ≤ 2 n'²bits, where the source hasn'²; - the design has overlap
ℓ - 1and2 ^ ℓblocks, numbered byBitString.equivFin(least significant bit first), where the source has overlap at mostℓ; - the bounds are explicit where the source has
poly(m): gates are counted (Cslib.Circuits.Circuit.size), not wires, and depth is the unit-costCslib.Circuits.Circuit.depth, negations included; - the source puts
g_zinAC⁰[2]^f(Definition 3.1). No oracle-circuit statement is formalized here. Because the construction is generic in the basis, taking forCthe one-gate circuit of anf-oracle operation makesglAmpGeneratorCircuitthat oracle circuit, withkoracle gates; - only the efficiency clause of Definition 3.1 is proved here, and no uniformity is claimed.
Main definitions #
Cslib.Crypto.PRG.NisanWigderson.glAmpGeneratorCircuit: the circuit forg_zbuilt from a circuit forf.
Main results #
Cslib.Crypto.PRG.NisanWigderson.eval_glAmpGeneratorCircuit,Cslib.Circuits.Circuit.Computes.glAmpGeneratorCircuit: it computesg_z.Cslib.Crypto.PRG.NisanWigderson.size_glAmpGeneratorCircuit,Cslib.Crypto.PRG.NisanWigderson.size_glAmpGeneratorCircuit_le: it hask |C| + k + 3 + n' (2 e + 2 ^ e + 1) ≤ k |C| + 6 n'² + 3gates.Cslib.Crypto.PRG.NisanWigderson.depth_glAmpGeneratorCircuit_le: its depth is at mostC.depth + 7.Cslib.Crypto.PRG.NisanWigderson.exists_circuit_generator_glAmp: Theorem 3.2's Nonuniform AC⁰[2]-Efficiency for this generator.
References #
- M. L. Carmosino, R. Impagliazzo, V. Kabanets, A. Kolokolova, Learning algorithms from natural proofs, Definition 3.1, Theorems 3.2, 3.7 and 4.3
- N. Nisan, A. Wigderson, Hardness vs randomness
The circuit for g_z(i) = glAmp f k (z|S_i) from a circuit C for f: the inputs i and the
fixed seed z feed the selection mxCircuit, whose outputs feed glAmpCircuit φ C k. The
selection and the constant gates are translated into σ along φ.
glAmpGeneratorCircuit φ C k ℓ z has k |C| + k + 3 + n' (2 e + 2 ^ e + 1) gates, where
n' = k n + k and e = binaryFieldDegree n'.
glAmpGeneratorCircuit φ C k ℓ z has at most k |C| + 6 n'² + 3 gates, where n' = k n + k,
whatever ℓ.
glAmpGeneratorCircuit φ C k ℓ z is at most seven deeper than C: one for the constants,
four for the selection and two for the amplification.
glAmpGeneratorCircuit φ C k ℓ z computes g_z: on i it outputs bit equivFin ℓ i of the
Nisan–Wigderson generator of glAmp f k on the seed z, where f is the function C
computes.
g_z has small circuits relative to f [CarmosinoImpagliazzoKabanetsKolokolova2016,
proof of Thm 3.2, p. 10:11]: if C computes f, then glAmpGeneratorCircuit φ C k ℓ z computes
the function whose truth table is the Nisan–Wigderson generator of glAmp f k on the seed z.
Nonuniform AC⁰[2]-Efficiency of the CIKK generator
[CarmosinoImpagliazzoKabanetsKolokolova2016, Def 3.1 and proof of Thm 3.2, pp. 10:10–10:11], for
p = 2, Amp(f) = glAmp f k and the design Design.binaryPolynomial (k n + k) ℓ. If C
computes f, then for every seed z the function g_z, whose truth table is the Nisan–Wigderson
generator of glAmp f k on z, is computed from k copies of C with at most 6 n'² + 3 more
gates (n' = k n + k) and at most 7 more depth. The basis is any σ into which φ translates
the unbounded fan-in basis with MOD₂ gates; σ = Unbounded.extSignature with
φ = Signature.Hom.id _ gives AC⁰[2] circuits.