Documentation

CslibFrontier.Computability.Complexity.FineGrained.CountingScaleBounds

Monotonicity and linear-scaling bounds for interpolationScale #

Elementary order and scaling inequalities for Cslib.Complexity.SubexponentialSAT.interpolationScale. While CountingScale.lean establishes interpolationScale =o[atTop] id, reductions into the bounded-width model counter (such as circuit-to-CNF compilation with numVars ≤ k * s + m, or binary domain encodings with numVars ≤ b * n) bound the target variable count linearly in a source parameter. Because interpolationScale is monotone and doubles by at most a factor of 8, any affine bound a ≤ C * b + D lifts 2 ^ (A * interpolationScale a) into O(2 ^ (A' * interpolationScale b)) for an explicit natural multiplier A'.

Main results #

References #

interpolationScale is monotone on all natural numbers.

Doubling the argument multiplies interpolationScale by at most 8.

Scaling the argument by 2 ^ k multiplies interpolationScale by at most 8 ^ k.

Scaling the argument by C multiplies interpolationScale by at most 8 ^ C.

Any affine relation a ≤ C * b + D yields a linear bound on interpolationScale a in terms of interpolationScale b plus a constant depending only on D.

theorem Cslib.Complexity.SubexponentialSAT.ceil_two_pow_interpolationScale_le_of_linear (A C D : ℕ) :
∃ (K : ℕ), 1 ≤ K ∧ ∀ {a b : ℕ}, a ≤ C * b + D → ⌈2 ^ (↑A * interpolationScale a)⌉₊ ≤ K * ⌈2 ^ (↑(A * 8 ^ (2 * C)) * interpolationScale b)⌉₊

Under an affine bound a ≤ C * b + D, the ceiling ⌈2 ^ (A * interpolationScale a)⌉₊ is at most a constant natural multiple of ⌈2 ^ ((A * 8 ^ (2 * C)) * interpolationScale b)⌉₊.