Documentation

CslibFrontier.Computability.Circuit.Boolean.FiniteSimulation

Boolean simulation over every finite nonempty carrier #

Any bounded-arity interpreted circuit over a finite nonempty carrier has a Boolean circuit preserving all outputs on valid encoded inputs. The fixed carrier encoding is fintypeEncoding, using Nat.clog 2 (Fintype.card F) bits per value. The per-gate Boolean cost therefore depends only on the carrier, not on the circuit or its input count. Constants count as gates and wires are free. The total decoder is supplied by the generic inverse-function construction.

For arithmetic circuits over finite fields this establishes the arithmetic-to-Boolean direction of Arora–Barak, web draft 2007-01-08, Chapter 14 Exercise 1, printed p. 265/PDF p. 281, with the encoding and size convention explicit. The reverse simulation is separate. Neither uniform runtime nor formal-polynomial equality is claimed; the encoding uses a noncomputable finite enumeration.

Main results #

A finite nonempty carrier has a single fixed encoding under which every circuit whose operations have arity at most two admits constant-factor Boolean simulation. The constant is bitBlastCost (Nat.clog 2 (Fintype.card F)); correctness is on valid encoded inputs.