Lably
Skip to content

Pseudo-polynomial transformation

  • 2 min read
  • 2 chapters

Related on Lably

Through Primality test

Definitions

Maximal numerical parameter

Some computational problems are parameterized by numbers whose magnitude exponentially exceed size of the input. For example, the problem of testing whether a number n is prime can be solved by naively checking candidate factors from 2 to n in n−1 divisions, therefore exponentially more than the input size O(log⁡(n)). Suppose that L is an encoding of a computational problem Π over alphabet Σ, then

NumΠ:Σ∗→N

is a function that maps wI∈Σ∗, being the encoding of an instance I of the problem Π, to the maximal numerical parameter of I.

Pseudo-polynomial transformation

Suppose that Π1 and Π2 are decision problems, L1 and L2 are their encodings over correspondingly Σ1 and Σ2 alphabets.

A pseudo-polynomial transformation from Π1 to Π2 is a function f:Σ1→Σ2 such that

  1. ∀w∈Σ1w∈L1⟺f(w)∈L2
  2. ∀w∈Σ1f(w) can be computed in time polynomial in two variables NumΠ1⁡(w) and |w|
  3. ∃QA∈N[X]∀w∈Σ1|w|≤QA(|f(w)|)
  4. ∃QB∈N[X,Y]∀w∈Σ1NumΠ2⁡(f(w))≤QB(NumΠ1⁡(w),|w|)

Intuitively, (1) allows one to reason about instances of Π1 in terms of instances of Π2 (and back), (2) ensures that deciding L1 using the transformation and a pseudo-polynomial decider for L2 is pseudo-polynomial itself, (3) enforces that f grows fast enough so that L2 must have a pseudo-polynomial decider, and (4) enforces that a subproblem of L1 that testifies its strong NP-completeness (i.e. all instances have numerical parameters bounded by a polynomial in input size and the subproblem is NP-complete itself) is mapped to a subproblem of L2 whose instances also have numerical parameters bounded by a polynomial in input size.

Sign in to keep reading

One more chapter is free with a Lably account.

More in Computing and communication