Circuit wires and renamings #
A Wire inputCount gateCount refers to an original input or an internal gate.
A valuation of wires is assembled with Wire.elim from values for the inputs and
values for the gates.
Wire.Renaming fixes the original inputs and maps each gate to an input or gate
in the target namespace. This file provides identity and composition, extension
by a gate, replacement of the last gate, and renaming by a permutation.
A wire in a namespace with one additional gate is either the new last gate or an earlier wire.
Instances For
A renaming of gate wires that fixes every original input. Gate wires may be sent to either inputs or gates in the target namespace.
The target wire representing each source gate.
Instances For
The identity wire renaming.
Instances For
Compose input-fixing wire renamings.
Instances For
Include all wires into a namespace with one additional gate.
Instances For
Extend a renaming while replacing the new last gate by an existing wire.
Instances For
Extend a renaming and retain the new last gate as a fresh target gate.
Instances For
Rename gate wires by a permutation.
Instances For
A source and target gate valuation agree along a renaming when they agree on the image of every source gate. Original inputs agree automatically.