Documentation

CslibFrontier.Computability.Complexity.Reduction.Word

Reductions that edit the word of an instance–word pair #

Quantifier and certificate arguments work with problems on pairs (a, w) of an instance and a bit string, encoded by encPair enc encBits. Cutting the word to a prefix or suffix whose length is computed from a, or appending a second word to it, is polynomial-time, so each operation reduces the edited problem to the original one.

Main results #

Keeping the first N a bits of the word of (a, w) is a polynomial-time reduction, for N computable in polynomial time in unary.

Dropping the first N a bits of the word of (a, w) is a polynomial-time reduction, for N computable in polynomial time in unary.