Circuits for maps commuting with sparse counter modifications #
If an injective word map h commutes with a map f differing from the binary counter at r
inputs, then h has a native De Morgan circuit of at most 100 * (n + 1) * (r + 1) gates.
The displacement h x - x changes at at most 2 * r counter edges. A telescoping sum of
threshold corrections reconstructs it; comparisons, selectors, additions and constants are
all charged. In particular the bound holds for every signed fixed power of a permutation.
These are nonuniform existence results. The correction table is chosen from the whole map; no efficient table-construction algorithm is asserted. A change of coordinates additionally requires circuits for both directions, whose sizes are charged explicitly.
Main definitions #
Cslib.Circuits.Boolean.Iteration.thresholdSum: a sum of corrections at passed thresholds.Cslib.Circuits.Boolean.Iteration.displacement,displacementCuts: displacement and its changes.
Main results #
Cslib.Circuits.Boolean.Iteration.thresholdSum_displacement: exact telescoping reconstruction.Cslib.Circuits.Boolean.Iteration.sparse_counter_centralizer: the sparse-counter circuit bound.Cslib.Circuits.Boolean.Iteration.sparse_counter_power: the bound for every integer power.Cslib.Circuits.Boolean.Iteration.sparse_coordinate_power: transfer through charged coordinates.
References #
- Adapted from lean/Proofs/SparseDisplacement.lean at revision
c4cfa198of [S. Schlesinger, Square-root circuit bounds for iterated functions] [Sch26f].
Each threshold uses one comparison, one word selector, and one shared-carry addition.
The sparse derivative reconstructs the entire word function by telescoping.
Counter-coordinate changes inject into the commutation-defect set.
A sparse derivative gives an actual native Boolean circuit, including all selection gates.
Every injective map commuting with an r-edited counter has size O(n(r+1)).
No transition circuit or state-space enumeration is a hypothesis.
The bound applies uniformly to all signed fixed powers of a permutation.
Cheap orbit coordinates transfer the sparse bound, charging both conversion circuits.