Manuscript VIII-ST@1 · VIII-ST.tex · theorem · fe979f3b

Theorem: Exact reversible implementation with retained inputs

Finite encodings and reversible composition · lines 1761–1798 · proof included or linked

VIII-ST@1#thm:reversible, VIII-ST@1#eq:gatebound

Back to manuscript

Every has a NOT–CNOT–Toffoli realization of

with at most clean work bits and the conservative gate bound

Five commands can be composed with six -bit snapshot blocks, one -bit work reserve, and at most gates. The original input snapshots are retained; the work is returned to zero. The circuit acts as identity on internal matter and every untouched reference.

Proof. For each output bit, express its Boolean function as the XOR of its accepting input minterms. Each minterm is a NOT on the target conditioned on one complete -bit pattern. Negative controls use at most NOTs. A ladder of at most clean work bits computes and uncomputes the conjunction with at most further Toffoli-type steps, with CNOT or NOT handling the small cases. Thus gates per minterm is sufficient. There are at most minterms. The resulting transformation is the total permutation .

Apply this construction from snapshot into blank snapshot . The six snapshots retain all information needed for a reversal; no many-to-one erasure is asserted. Tensor every gate with identity on matter and reference.

Displayed formulas in this passage

  • VIII-ST@1#eq:gatebound · line 1770

  • unlabeled · line 1764

Nearby in this section