The weft of a circuit #
A gate is large when it has more than two arguments. The weft of a circuit is the largest number
of large gates on a path to an output Cygan et al., Section 13.3. It is the depth
with costs (Cslib.Circuits.Circuit.depthWith) in which a large gate costs one and every other gate
costs nothing. Weft and depth bound the circuits of the classes W[t] of the W-hierarchy
(Cslib.Complexity.W).
Main definitions #
Cslib.Circuits.largeGateCost: cost one for a gate with more than two arguments.Cslib.Circuits.Circuit.weft: the largest number of large gates on a path to an output.
Main results #
Cslib.Circuits.Circuit.weft_le_depth: the weft is at most the depth.Cslib.Circuits.Circuit.weft_le_iff: a bound on the weft is a bound on every output.
References #
The cost of a gate for the weft: one for a large gate, of more than two arguments, and zero otherwise.
A gate costs at most one for the weft.
The weft of a circuit: the largest number of large gates, of more than two arguments, on a path to an output Cygan et al., Section 13.3.
A circuit has weft at most t exactly when all its outputs do.