Nonuniform circuit families #
Circuit lower bounds are finite statements about one input width, while complexity classes quantify over a sequence of circuits. This module supplies that missing bridge without fixing a gate basis.
A Circuit.Family sigma m chooses one m-output circuit for every input width.
Its gate count at each width is the member circuit's size, so size agrees
definitionally with the finite circuit model. Polynomial size and constant depth are expressed by
exact natural-number bounds. The factor (n + 1) ^ degree makes the definition
well behaved at input width zero and avoids burying finite-prefix adjustments
inside asymptotic notation.
An m-output target at every input width.
Equations
- Algebraic.Target.Family U m = ((n : ℕ) → Algebraic.Target U n m)
Instances For
Regard a family of scalar functions as a one-output target family.
Equations
- Algebraic.Target.scalarFamily family n input x✝ = family n input
Instances For
A natural-valued resource is bounded by one fixed polynomial.
The coefficient and degree do not depend on the input width. Using n + 1
gives an exact all-width statement equivalent to the usual eventual polynomial
bound for natural-valued resources.
Equations
Instances For
A natural-valued resource is bounded by one constant at every width.
Equations
- Cslib.Circuits.Circuit.Resource.ConstantlyBounded resource = ∃ (bound : ℕ), ∀ (n : ℕ), resource n ≤ bound
Instances For
A resource eventually strictly exceeds every fixed natural polynomial.
Equations
Instances For
A pointwise smaller resource inherits a polynomial upper bound.
Every constant resource bound is a degree-zero polynomial bound.
Eventual domination of every polynomial rules out a polynomial bound.
Weighted gate cost of every member of a circuit family.
Instances For
Pointwise exact computation of a target family.
Equations
- family.Computes interpretation target = ∀ (n : ℕ), (family.circuit n).ComputesWith interpretation (target n)
Instances For
The family has polynomially bounded gate-count size.
Equations
Instances For
The family has polynomially bounded weighted cost.
Equations
- family.HasPolynomialCost operationCost = Cslib.Circuits.Circuit.Resource.PolynomiallyBounded (family.cost operationCost)
Instances For
The family has one depth bound independent of the input width.
Equations
Instances For
A pointwise size budget yields polynomial size when the budget is polynomially bounded.
A pointwise depth budget yields constant depth when the budget is constantly bounded.