Documentation

CslibFrontier.Computability.Circuit.Boolean.UniformDepth

Logspace-uniform Boolean circuit families #

A logspace-uniform family has one deterministic transducer that, given the input length in unary, writes the circuit for that length. We use the native serialization in program order, with binary wire numbers. This is the generator convention for logspace uniformity Arora and Barak, Definition 6.14. The transducer's logarithmic workspace already implies that every circuit it writes has polynomial size.

Main definitions #

Main results #

def Cslib.Circuits.Circuit.IsLogspaceUniform {σ : Signature} {m : ℕ} (encOp : σ.Op ↪ List Bool) (C : (n : ℕ) → Circuit σ n m) :

A single logarithmic-space machine writes the native circuit, with binary wire numbers, on input the length in unary. The number of outputs is fixed throughout the family.

theorem Cslib.Circuits.Circuit.IsLogspaceUniform.polynomiallyBounded_length {σ : Signature} {encOp : σ.Op ↪ List Bool} {m : ℕ} {C : (n : ℕ) → Circuit σ n m} (h : IsLogspaceUniform encOp C) :
PolynomiallyBounded fun (n : ℕ) => ((encCircuit encOp m) ⟨n, C n⟩).length

The full serialization produced by a logspace-uniform family has polynomial length.

theorem Cslib.Circuits.Circuit.IsLogspaceUniform.polynomiallyBounded_size {σ : Signature} {encOp : σ.Op ↪ List Bool} {m : ℕ} {C : (n : ℕ) → Circuit σ n m} (h : IsLogspaceUniform encOp C) :
PolynomiallyBounded fun (n : ℕ) => (C n).size

A logspace-uniform family has polynomially many gates, since the generator's output is polynomially long and each gate contributes to the encoded length.

Languages decided by logspace-uniform circuits over the given encoded basis and of depth at most a constant multiple of D n. The transducer bound supplies polynomial size.

Forgetting the generator gives a family with the same depth bound and polynomial size.

Logspace-uniform ACⁱ, with unbounded fan-in and depth O((log n) ^ i).

Logspace-uniform NCⁱ, with the De Morgan basis of fan-in two and depth O((log n) ^ i).