Uniform resources for counting sparsification #
Resource composition for the existing captured-context search. The threshold and leaf machines are fixed before the runtime context and formula. The original occurring-support accumulator is retained; the declared-variable wrapper applies its final correction exactly once.
The polynomial numerical-depth premise is explicit. A short binary parameter encoding alone does not establish that premise. This module does not construct the leaf counter or establish the final subexponential counting endpoint of [OAI26k], Section 6.4 (pp. 43–44).
Main results #
Cslib.Complexity.CountingSparsify.computableInPolyTime_roundsWith: the binary loop clock with a runtime binary divisor, without materializing the number of rounds in unary.Cslib.Complexity.CountingSparsify.exists_computableInO_normalizeDeclaredLeaf: independent time and workspace for exact leaf normalization, charging the intermediate declared count.Cslib.Complexity.CountingSparsify.length_encNat_searchDeclaredWith_le: the final output occupies at most the externally declared count plus one bits.Cslib.Complexity.CountingSparsify.exists_computableInO_searchDeclaredWith: one plain search certificate on the full context, unary declared size and formula, with independent resources.
References #
- OpenAI, The Exponential Time Hypothesis is False, Section 6.4 and Appendix A.
Compute the existing search clock with a runtime binary divisor. Saturating the divisor at the unary support size plus one preserves the quotient, so no unary exponential is produced.
Normalize one total declared-count leaf implementation. The intermediate declared count is
charged explicitly in both resource bounds; semantic correctness still requires the support and
counting promises of Cslib.Logic.PL.CNF.normalizeDeclaredLeaf_eq_modelCount.
The declared wrapper's binary output fits in NOf p + 1 bits, even when the supplied leaf
routine is only a diagnostic. The old accumulator cap and the support guard suffice.
Independent resources for the existing declared-variable search on one full runtime input.
The threshold-comparison and leaf certificates precede every input (context, N, formula);
N is encoded in unary. The numerical depth envelope is polynomial in that complete encoded
input, and the leaf promises concern every active prefix i ≤ rounds, including the terminal
prefix. The original occurring-support state and cap are unchanged.
The time bound charges a polynomial in the encoded input and, on valid inputs, the round count times a per-step allowance. The workspace bound contains the independent leaf-workspace allowance and a polynomial for initialization, retained context, all prefix states, binary clock, leaf output and final declared-variable scaling. It has no factor of the number of rounds or the leaf time, and is polynomial if the leaf-workspace allowance is polynomial. Any prior preparation of a larger context must be composed separately and charged against its own original external input.