Arity profiles for circuit counting #
This file records the basis information used by closed-form counting bounds. The exact counting theorems remain independent of these estimates.
Every symbol in a signature has arity at most r.
Equations
- σ.ArityAtMost r = ∀ (op : σ.Op), σ.Arity op ≤ r
Instances For
The finite signature has maximum arity exactly r. Packaging the upper
bound and an operation attaining it gives the closed Shannon theorem a natural
basis-level hypothesis.
- arity_le : σ.ArityAtMost r
No primitive operation has arity greater than
r. Some primitive operation has arity
r.
Instances For
theorem
Cslib.Circuits.Signature.lineCount_le_card_mul_pow
(σ : Signature)
[Fintype σ.Op]
{r : ℕ}
(arity : σ.ArityAtMost r)
(w : ℕ)
:
Arity-only upper bound for the number of lines. The successor on w
handles zero wires and nullary operations uniformly.