Concrete switching parameters for parity depth reduction #
This module records a simple source-faithful choice of parameters. For target
tree depth t >= 1, use
- tree bounds
1, t, t, ..., - restriction probabilities
1/10, 1/(10t), 1/(10t), ..., and - retained ratios
1/20, 1/(20t), 1/(20t), ....
In every round the switching base 5 * p_i * t_i is exactly 1/2, while the
retained ratio is half of p_i. Hence every charged failure bound is
S * (1/2)^(t+1),
and the single sufficient smallness condition is that this be below the
minimum ratio 1/(20t). Constants are intentionally conservative so exact
first-moment slack remains visible; optimizing them is not mathematically
important for the lower-bound exponent.
Width one before any switching step, then the common target depth t.
Equations
Instances For
Constant first-round restriction probability, followed by probability inversely proportional to the common tree depth.
Equations
- Algebraic.AC0.ParityParameters.probability t 0 = 1 / 10
- Algebraic.AC0.ParityParameters.probability t n.succ = 1 / (10 * ↑t)
Instances For
Keep half of the expected live fraction available as failure slack.
Equations
- Algebraic.AC0.ParityParameters.retentionRatio t 0 = 1 / 20
- Algebraic.AC0.ParityParameters.retentionRatio t n.succ = 1 / (20 * ↑t)
Instances For
The smallest retained ratio occurring in the schedule.
Equations
- Algebraic.AC0.ParityParameters.minimumRatio t = 1 / (20 * ↑t)
Instances For
Every scheduled restriction parameter is a probability.
Exact switching base, first proved in the finite nonnegative reals.
Exact switching base in the extended nonnegative reals used by finite probabilities.
The retention ratio is exactly half the restriction probability.
The half-probability identity after coercion to exact finite probabilities.
The later-round ratio is no larger than the first-round ratio.
Common charged switching failure bound for every round.
Equations
- Algebraic.AC0.ParityParameters.switchingFailure program t = ↑(Cslib.Circuits.Program.cost Algebraic.AC0.andOrCost program) * (1 / 2) ^ (t + 1)
Instances For
Every concrete round has the same charged failure bound.
One uniform small-failure hypothesis supplies the probability slack for every concrete round.