Size-depth-alternation tradeoffs for circuits - Semantic Scholar

Report 2 Downloads 28 Views
og re ss

Size-depth-alternation tradeoffs for circuits Jeffrey Finkelstein October 16, 2014

k-

• u = w0

in -

pr

A Boolean circuit is a directed acyclic graph with some designated input gates of fan-in zero and one designated output gate of fan-out zero in which all non-input nodes are labeled with or, and, or not. All or and and gates have fan-in two, and all not gates fan-in one. We assume that the gates of a Boolean circuit are arranged in layers; each layer consists of gates whose inputs come only from the previous layer and whose outputs feed only the following layer. The depth, or layer number, of a gate is the length of the shortest path from any input node to the gate; the depth of the circuit is the depth of the output gate. The input gates are in the first layer and the output gate is in the last layer. We assume that the first layer after the input layer consists of only not gates, and no not gates appear anywhere else. A configuration of a Boolean circuit is a triple (1n , i, w), where n is the number of inputs, i is the layer number (in binary), and w is the contents of the wires after layer i (given as a single binary string). If C is a circuit, configuration (1n , i, u) yields configuration (1n , i + 1, v) if layer i + 1 of the circuit produces output bits v when provided with input bits w. Configuration (1n , i, u) yields configuration (1n , i + t, v) within t steps of there is a sequence of binary strings w0 , . . . , wt such that • (1n , i + k, wk ) yields (1n , i + k + 1, wk+1 ) for all k ∈ {0, . . . , t − 1} • wt = v

W or

A family of circuits {Cn }n∈N is L-uniform if there is a Turing machine M such that M (1n ) halts within O(log n) space and outputs Cn . Definition 1. A language L is decided by a Σk circuit family {Cn }n∈N if for any input string x, x ∈ L ⇐⇒ ∃w1 ∀w2 · · · Qk wk : Cn (x, w1 , . . . , wk ) = 1,

where Qk is ∃ if k is odd and ∀ if k is even. Copyright 2014 Jeffrey Finkelstein 〈[email protected]〉. This document is licensed under the Creative Commons Attribution-ShareAlike 4.0 International License, which is available at https://creativecommons.org/licenses/by-sa/4.0/. The LATEX markup that generated this document can be downloaded from its website at https://github.com/jfinkels/sizedepth. The markup is distributed under the same license.

1

Definition 2. Σk SDG(s, d, g) is the class of languages that are decidable by an L-uniform Σk circuit family of size s(n), depth d(n), and g(n) existential or universal bits at each quantifier. Lemma 3. Let n be a natural number and let An be a circuit on n inputs of size s and depth d. The problem of deciding whether configuration Ci of circuit An yields configuration Cj within t layers is in SD((n + s + log d) + t(d + s), t + log s). Proof. The circuit that decides this problem simulates An for t layers, then checks if any of those layers matches the target configuration Cj . Suppose Ci = (1n , i, wi ) and Cj = (1m , j, wj ). The circuit we construct will check that • n=m • j