Internal logarithmic parameter estimates for asymptotic bounds #
Internal parameter selection and remainder estimates (exists_log_threshold, log_param_props,
div_two_sub_add_rem_le, Additive.matrixRem_mul_sq_le, Boolean.Zhegalkin.zhegRem_mul_sq_le)
consumed by AdditiveBound and UpperBound; never re-exported through Zhegalkin.
Main results #
Cslib.Circuits.exists_log_threshold,log_param_props,div_two_sub_add_rem_le,Cslib.Circuits.Additive.matrixRem_mul_sq_le,Cslib.Circuits.Boolean.Zhegalkin.zhegRem_mul_sq_le: logarithmic parameter bounds and remainder estimates.
theorem Cslib.Circuits.div_two_sub_add_rem_le {M S U rem K : ℕ} {ε : ℝ} (hε : 0 < ε) (hL8 : 8 ≤ Nat.log 2 M) (h6log : 6 * Nat.log 2 (Nat.log 2 M) ≤ Nat.log 2 M) (hpow2 : Nat.log 2 M ^ 2 ≤ 2 ^ Nat.log 2 M) (hClog : (⌈↑(4 + 2 * K) / ε⌉₊ + 10) * Nat.log 2 (Nat.log 2 M) ≤ Nat.log 2 M) (hSU : S ≤ U) (hrem : Nat.log 2 M ^ 2 * rem ≤ K * U) :