Discharging CountingTreeBound for Counting Sparsification #
We discharge the quantitative depth and leaf-count hypothesis CountingSparsify.CountingTreeBound
of CountingSparsification from the actual path budgets and binomial leaf-word bounds in
CountingBounds and the first-success threshold base countingThresholdBase in
CountingParameters (Appendix A.2–A.3, Lemmas A.2–A.3, printed pp. 46–47 of [OAI26k]).
Specifically:
- For any parameters
M, K, B : ℕwith2 ≤ M,1 ≤ K, and1 ≤ Bsatisfying the integer parameter budgetcountingBChoiceCoeff K ≤ MandB * countingBChoiceCoeff K * Nat.clog 2 (4 * countingDepthCoeff K M * M) ≤ Mwhenever2 ≤ K,CountingSparsify.countingTreeBound_of_budgetprovesCountingSparsify.CountingTreeBound M K B (countingDepthCoeff K M) hM hK. - Instantiating
M = countingThresholdBase K BviacountingThresholdBase_spec,CountingSparsify.countingTreeBound_countingThresholdBaseprovesCountingTreeBoundunconditionally for every1 ≤ Kand1 ≤ B.
We then specialize the correctness and native ComputableInO transfer theorems of
CountingSparsification and ThreeOccurrenceReduction both for any budget-satisfying M and
unconditionally at M = countingThresholdBase K B.
Main results #
Cslib.Complexity.CountingSparsify.countingTreeBound_of_budget,Cslib.Complexity.CountingSparsify.countingTreeBound_countingThresholdBase: dischargeCountingTreeBoundwith linear depth coefficientcountingDepthCoeff K Mfrom the integer parameter budget and unconditionally atM = countingThresholdBase K B.Cslib.Complexity.CountingSparsify.search_eq_ite_modelCount_of_budget,Cslib.Complexity.CountingSparsify.search_eq_modelCount_of_budget,Cslib.Complexity.CountingSparsify.search_eq_modelCount_countingThresholdBase: model-count correctness ofCountingSparsify.searchwithout an externalCountingTreeBoundwitness.Cslib.Complexity.CountingSparsify.exists_computableInO_search_of_budget,Cslib.Complexity.CountingSparsify.exists_computableInO_search_countingThresholdBase: nativeComputableInO ... T Ttime-and-space transfer certificates forCountingSparsify.search.Cslib.Complexity.CountingSparsify.exists_computableInO_search_threeOccurrence_promise_of_budget,Cslib.Complexity.CountingSparsify.exists_computableInO_search_threeOccurrence_of_budget,Cslib.Complexity.CountingSparsify.exists_computableInO_search_threeOccurrence_thresholdBase: end-to-end counting-sparsification reduction from a dense occurrence-≤ 3model counter.
References #
Discharging CountingTreeBound from the integer parameter budget.
For 2 ≤ M, 1 ≤ K, and 1 ≤ B, if 2 ≤ K implies countingBChoiceCoeff K ≤ M and
B * countingBChoiceCoeff K * Nat.clog 2 (4 * countingDepthCoeff K M * M) ≤ M, then
CountingTreeBound M K B (countingDepthCoeff K M) hM hK holds (Appendix A.3, Lemma A.3, printed
p. 47 [OAI26k]).
Unconditional CountingTreeBound at countingThresholdBase K B.
For any 1 ≤ K and 1 ≤ B, the first-success dyadic base countingThresholdBase K B satisfies
CountingTreeBound with linear depth coefficient
countingDepthCoeff K (countingThresholdBase K B).
Model-count correctness of search under the integer parameter budget.
If g computes ψ.modelCount on sparse formulas ψ of width at most k, then
search M K k B g φ returns φ.modelCount on formulas of width at most k and 0 otherwise.
Model-count correctness of search on width-≤ k formulas under the integer parameter
budget.
Unconditional model-count correctness of search at countingThresholdBase K B.
Time and space of search under the integer parameter budget.
Given a total leaf routine g with hg : ComputableInO g encCNF encNat t t satisfying the global
bound ht (O(2 ^ (δ * ψ.length) * (|encCNF ψ| + 1) ^ e)) for every ψ : CNF ℕ and bounded by
2 ^ ψ.numVars on sparse width-≤ k formulas, search M K k B g has a combined time-and-space
certificate ComputableInO (search M K k B g) encCNF encNat T T with fixed-parameter transfer
bound T φ ≤ C₀ * (2 ^ ((1 / B + occBound K M * δ) * φ.numVars) * (|encCNF φ| + 1) ^ E) + C₀.
Unconditional time and space of search at countingThresholdBase K B.
End-to-end counting sparsification from a dense 3-occurrence model counter under the integer
parameter budget (promised runtime).
Given 2 ≤ k ≤ K and a total model counter f : CNF ℕ → ℕ with a combined time-and-space
certificate ComputableInO f encCNF encNat tf tf that on every dense formula χ of width ≤ k
and variable occurrence ≤ 3 computes χ.modelCount and satisfies
(tf χ : ℝ) ≤ c * (2 ^ (δ * χ.numVars) * (|encCNF χ| + 1) ^ e) + c, the search
search M K k B (guardOccurrenceCounter k f) computes φ.modelCount on every formula φ of width
≤ k and has a combined time-and-space certificate with fixed-parameter transfer bound
O(2 ^ ((1 / B + occBound K M * (k * δ)) * φ.numVars) * (|encCNF φ| + 1) ^ E).
End-to-end counting sparsification from a dense 3-occurrence model counter under the integer
parameter budget.
Given 2 ≤ k ≤ K and a total model counter f : CNF ℕ → ℕ that computes χ.modelCount on every
dense formula χ of width ≤ k and variable occurrence ≤ 3 and has a combined time-and-space
certificate ComputableInO f encCNF encNat tf tf with global bound
(tf χ : ℝ) ≤ c * (2 ^ (δ * χ.numVars) * (|encCNF χ| + 1) ^ e) + c, the search
search M K k B (guardOccurrenceCounter k f) computes φ.modelCount on every formula φ of width
≤ k and has a combined time-and-space certificate with fixed-parameter transfer bound
O(2 ^ ((1 / B + occBound K M * (k * δ)) * φ.numVars) * (|encCNF φ| + 1) ^ E).
Unconditional end-to-end counting sparsification from a dense 3-occurrence model counter at
countingThresholdBase K B (promised runtime).
Unconditional polynomial-workspace counting sparsification at
countingThresholdBase K B.
Unconditional polynomial-workspace counting sparsification from a dense 3-occurrence counter
at countingThresholdBase K B.
Unconditional declared-variable correctness of searchDeclaredWith at
countingThresholdBase K (BOf p).
Unconditional declared-variable correctness of searchDeclaredWith on valid inputs at
countingThresholdBase K (BOf p).
Unconditional declared-variable correctness of searchDeclaredWith composed with
normalizeDeclaredLeaf at countingThresholdBase K (BOf p).
Unconditional declared-variable correctness of searchDeclaredWith composed with
normalizeDeclaredLeaf on valid inputs at countingThresholdBase K (BOf p).