Optimizing the checkpoint parameter #
Balancing the two terms of powerBudget over the integer parameter L gives a fixed-power
circuit of size at most 120000 * (s' + √((n + 1) ^ 3 * M * s')) with s' = s + (n + 1) ^ 3
(fixed_power_on_optimized): rounding the real balancing point costs a factor three. In
particular every fixed power has a circuit of size at most
120000 * (s + (n + 1) ^ 3) * 2 ^ ((n + 1) / 2) (fixed_power_half_exponent), and transition
circuits of polynomial size give fixed powers of polynomial times half-exponential size
(fixed_power_polynomial).
Main definitions #
Cslib.Circuits.Boolean.Iteration.optimizedBudget: the balanced square-root budget.
Main results #
Cslib.Circuits.Boolean.Iteration.fixed_power_optimized,fixed_power_on_optimized: the square-root bounds.Cslib.Circuits.Boolean.Iteration.fixed_power_half_exponent: a closed-form bound.Cslib.Circuits.Boolean.Iteration.fixed_power_polynomial: polynomial transition circuits.
References #
- Adapted from lean/Proofs/Optimization.lean in S. Schlesinger, Square-root circuit bounds for iterated functions.
The balanced budget s' + √((n + 1) ^ 3 * M * s') with s' = s + (n + 1) ^ 3.
Instances For
For any M ≤ 2 ^ n, there is a checkpoint parameter 0 < L ≤ 2 ^ n with
powerBudget n s M L ≤ 3 * optimizedBudget n s M.
Square-root fixed powers on an invariant set.
A closed-form half-exponential bound.