Documentation

CslibFrontier.Computability.Circuit.Boolean.UniformFanIn

Uniform fan-in reduction #

Replacing a gate of unbounded fan-in by equal-width layers of binary disjunctions makes the gate addresses and the incoming wires accessible by arithmetic on indices. At round t, wire i reads the disjunction of 2^t consecutive leaves, starting at 2^t i modulo the layer width. Thus the first wire reads all leaves after a logarithmic number of rounds.

Main definitions #

Main results #

References #

Arora and Barak, §6.7.1, Definitions 6.24–6.25 and the following paragraph (pp. 117–118), gives the fan-in simulation. Here the generator of Definition 6.14, §6.2, writes the complete circuit on a write-only output tape. The layer construction makes the logspace uniformity of the simulation explicit.

Compile a single-output unbounded fan-in circuit into a fan-in-two circuit. All gate replacements have the same length, determined by the source circuit's encoding.

The compiled circuit computes the same Boolean function on every assignment.

Each source depth level costs at most three plus the logarithm of one more than the source encoding length. This also bounds gates with repeated incoming wires.

A deterministic logspace generator for the native circuit also generates its fan-in-two compilation. The new generator enumerates gate blocks and writes their binary wire numbers.

Logspace-uniform ACⁱ ⊆ logspace-uniform NCⁱ⁺¹. Counting the length of the generated input circuit bounds every occurring gate arity, including repeated wires. Each replacement has logarithmic depth, and a single logspace transducer tabulates every wire of the new circuit.