Hausdorff decompositions of bounded truth-table reductions #
A bounded truth-table reduction of L to B writes L as a Boolean combination of conjunctive
conditions on B, and Hausdorff's theorem writes such a combination as a union of differences
C (2 d) \ C (2 d + 1) of a decreasing chain of sets [Arvind, Köbler and Mundhenk, Theorem 3.1]
[AKM92]. Here the chain is built directly from the truth table. Let the
reduction ask r a ≤ k queries of a, with answers b, and accept when the truth table
f = d (a, ·) takes the value true at b. The set C j
(Cslib.Complexity.BTT.Hausdorff f b j) holds when there are answer vectors
h > v₁ > ⋯ > v_j, strictly decreasing componentwise with h ≤ b, on which f alternates and
ends with true (Cslib.Complexity.BTT.StepBelow). Then:
- the sets decrease (
Cslib.Complexity.BTT.Hausdorff.of_succ): droph; f b = trueexactly whenblies inC (2 d) \ C (2 d + 1)for somed(Cslib.Complexity.BTT.eq_true_iff_exists_hausdorff): a longest chain belowbhas the valuef bat its top, since otherwisebwould extend it, sof bistrueexactly when it has odd length. The number oftrueanswers strictly decreases along a chain, so a chain has at mostr a + 1vectors, andd ≤ k / 2.
Each C j is a union, over the finitely many candidate chains of vectors of length at most k, of
a polynomial-time condition (the chain is valid for f and r a) and the conjunctive condition
that the queries answered true at h lie in B. If B reduces conjunctively to a tally
problem, so does each C j (Cslib.Complexity.BTT.exists_polyTimeCTTReducible_hausdorff), by the
closure of these reductions under intersection and finite unions
Arvind, Köbler and Mundhenk, Lemma 3.2.
The source obtains the decomposition from Hausdorff's theorem for the Boolean closure of the set
ring R_ctt(SPARSE), together with the fact that bounded truth-table reductions to a class with
suitable closure properties give its Boolean closure [Arvind, Köbler and Mundhenk, Fact 3.3]
[AKM92]; the chains of answer vectors above are this library's direct
construction for a single reduction.
Main definitions #
Cslib.Complexity.BTT.StepBelow: one step of an alternating chain of answer vectors.Cslib.Complexity.BTT.Hausdorff: the Hausdorff sets of a truth table at given answers.
Main results #
Cslib.Complexity.BTT.Hausdorff.of_succ,Cslib.Complexity.BTT.Hausdorff.mono: the sets decrease.Cslib.Complexity.BTT.le_length_of_hausdorff: thej-th set is empty unlessjis at most the number of answers.Cslib.Complexity.BTT.eq_true_iff_exists_hausdorff: the Hausdorff decomposition of the truth table.Cslib.Complexity.BTT.forall₂_le_truthTableAnswers_iff: lying below the answers of a truth-table reduction is a conjunctive condition.Cslib.Complexity.BTT.exists_polyTimeCTTReducible_hausdorff: the Hausdorff sets of a bounded truth-table reduction to a problem with a conjunctive reduction to a tally problem reduce conjunctively to tally problems.
References #
Alternating chains of answer vectors #
The j-th Hausdorff set of the truth table f at the answers b: there are answer
vectors h, v₁, …, v_j, each strictly below the previous one with the opposite value of f, such
that h ≤ b componentwise and f is true at v_j; that is, f h is true exactly when j is
even.
At the last Hausdorff set containing the answers b, the value of f at b is the parity of
its index: the top of a longest chain has the value f b, since otherwise b would extend the
chain.
The Hausdorff decomposition of a truth table: f b = true exactly when b lies in the
2 d-th Hausdorff set but not in the next one, for some d < D, provided b has fewer than
2 D answers.
Answers of truth-table reductions #
Lying below the answers of a truth-table reduction is a conjunctive condition: a vector
lies below the answers componentwise exactly when it has one entry per query and every query at
which it is true is in the target.
Conjunctive reductions of the Hausdorff sets #
The Hausdorff sets of a bounded truth-table reduction reduce conjunctively to tally
problems, when the target of the reduction does. Here r, q and d are the query count, the
queries and the truth table of a reduction making at most k queries, and the target B has a
conjunctive reduction to a set of natural numbers written in unary
Arvind, Köbler and Mundhenk, Lemma 3.2.