Composing polynomial-time truth-table reductions #
Polynomial-time efficiency certificates for the resource-free truth-table composition operators
Cslib.Complexity.truthTableCompQuery and Cslib.Complexity.truthTableCompCombiner from
CslibFrontier.Computability.Reduction.TruthTable, together with transitivity of
Cslib.Complexity.PolyTimeTruthTableReducible.
Given (r, q, d) from L to B and (r', q', d') from B to C, summing r' (q (a, i)) over
i < r a gives a polynomial-time unary block stride M a bounding every inner query count, and
unary division and remainder evaluate truthTableCompQuery q q' M directly without materializing
a flattened query list.
Main results #
Cslib.Complexity.computableInPolyTime_truthTableCompQuery,Cslib.Complexity.computableInPolyTime_truthTableCompCombiner,Cslib.Complexity.exists_polyTime_truthTableComp_bound: polynomial-time certificates for the block-indexed composite query map, composite combiner, and uniform inner-count bound.Cslib.Complexity.PolyTimeTruthTableReducible.trans: polynomial-time truth-table reductions compose.
References #
Quotient/remainder block-indexed composite queries are computable in polynomial time when the
outer and inner query generators and the unary block stride M are.
The composite combiner is computable in polynomial time when the component counts, outer query
generator, component combiners, and unary block stride M are.
Summing the inner query counts across i < r a supplies a polynomial-time unary block stride
M bounding every active second-stage query count.
Polynomial-time truth-table reductions compose.