Documentation

Complexitylib.Circuits.AndOrNot

AND/OR/NOT Basis #

This module provides the AND/OR basis definitions and completeness results.

Definitions (from Complexitylib.Circuits.AndOrNot.Defs) #

Main results #

@[simp]

Compiling unbounded fan-in AND/OR gates to fan-in two preserves the circuit's complete multi-output semantics.

@[simp]

The compiled circuit has one public output gate for each source output, in addition to the internal gate chains.

Gate-chain simulation has size at most source total fan-in plus source size plus one passthrough gate per output.