Jump to content
Wikipedia The Free Encyclopedia

Pseudo-polynomial transformation

From Wikipedia, the free encyclopedia
This article has multiple issues. Please help improve it or discuss these issues on the talk page . (Learn how and when to remove these messages)
This article is an orphan, as no other articles introduce links to this page from related articles ; try the Find link tool for suggestions. (November 2020)
This article relies largely or entirely on a single source . Relevant discussion may be found on the talk page. Please help improve this article by introducing citations to additional sources.
Find sources: "Pseudo-polynomial transformation" – news · newspapers · books · scholar · JSTOR
(October 2018)
(Learn how and when to remove this message)
Function used in computational complexity theory

In computational complexity theory, a pseudo-polynomial transformation is a function which maps instances of one strongly NP-complete problem into another and is computable in pseudo-polynomial time.[1]

Definitions

[edit ]

Maximal numerical parameter

[edit ]

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 {\displaystyle {\sqrt {n}}} {\displaystyle {\sqrt {n}}} in n 1 {\displaystyle {\sqrt {n}}-1} {\displaystyle {\sqrt {n}}-1} divisions, therefore exponentially more than the input size O ( log ( n ) ) {\displaystyle O(\log(n))} {\displaystyle O(\log(n))}. Suppose that L {\displaystyle L} {\displaystyle L} is an encoding of a computational problem Π {\displaystyle \Pi } {\displaystyle \Pi } over alphabet Σ {\displaystyle \Sigma } {\displaystyle \Sigma }, then

Num Π : Σ N {\displaystyle \operatorname {Num} _{\Pi }:\Sigma ^{*}\to \mathbb {N} } {\displaystyle \operatorname {Num} _{\Pi }:\Sigma ^{*}\to \mathbb {N} }

is a function that maps w I Σ {\displaystyle w_{I}\in \Sigma ^{*}} {\displaystyle w_{I}\in \Sigma ^{*}}, being the encoding of an instance I {\displaystyle I} {\displaystyle I} of the problem Π {\displaystyle \Pi } {\displaystyle \Pi }, to the maximal numerical parameter of I {\displaystyle I} {\displaystyle I}.

Pseudo-polynomial transformation

[edit ]

Suppose that Π 1 {\displaystyle \Pi _{1}} {\displaystyle \Pi _{1}} and Π 2 {\displaystyle \Pi _{2}} {\displaystyle \Pi _{2}} are decision problems, L 1 {\displaystyle L_{1}} {\displaystyle L_{1}} and L 2 {\displaystyle L_{2}} {\displaystyle L_{2}} are their encodings over correspondingly Σ 1 {\displaystyle \Sigma _{1}} {\displaystyle \Sigma _{1}} and Σ 2 {\displaystyle \Sigma _{2}} {\displaystyle \Sigma _{2}} alphabets.

A pseudo-polynomial transformation from Π 1 {\displaystyle \Pi _{1}} {\displaystyle \Pi _{1}} to Π 2 {\displaystyle \Pi _{2}} {\displaystyle \Pi _{2}} is a function f : Σ 1 Σ 2 {\displaystyle f:\Sigma _{1}\to \Sigma _{2}} {\displaystyle f:\Sigma _{1}\to \Sigma _{2}} such that

  1. w Σ 1 w L 1 f ( w ) L 2 {\displaystyle \forall w\in \Sigma _{1}\quad w\in L_{1}\iff f(w)\in L_{2}} {\displaystyle \forall w\in \Sigma _{1}\quad w\in L_{1}\iff f(w)\in L_{2}}
  2. w Σ 1 f ( w ) {\displaystyle \forall w\in \Sigma _{1}\quad f(w)} {\displaystyle \forall w\in \Sigma _{1}\quad f(w)} can be computed in time polynomial in two variables Num Π 1 ( w ) {\displaystyle \operatorname {Num} _{\Pi _{1}}(w)} {\displaystyle \operatorname {Num} _{\Pi _{1}}(w)} and | w | {\displaystyle |w|} {\displaystyle |w|}
  3. Q A N [ X ] w Σ 1 | w | Q A ( | f ( w ) | ) {\displaystyle \exists Q_{A}\in \mathbb {N} [X]\quad \forall w\in \Sigma _{1}\quad |w|\leq Q_{A}(|f(w)|)} {\displaystyle \exists Q_{A}\in \mathbb {N} [X]\quad \forall w\in \Sigma _{1}\quad |w|\leq Q_{A}(|f(w)|)}
  4. Q B N [ X , Y ] w Σ 1 Num Π 2 ( f ( w ) ) Q B ( Num Π 1 ( w ) , | w | ) {\displaystyle \exists Q_{B}\in \mathbb {N} [X,Y]\quad \forall w\in \Sigma _{1}\quad \operatorname {Num} _{\Pi _{2}}(f(w))\leq Q_{B}(\operatorname {Num} _{\Pi _{1}}(w),|w|)} {\displaystyle \exists Q_{B}\in \mathbb {N} [X,Y]\quad \forall w\in \Sigma _{1}\quad \operatorname {Num} _{\Pi _{2}}(f(w))\leq Q_{B}(\operatorname {Num} _{\Pi _{1}}(w),|w|)}

Intuitively, (1) allows one to reason about instances of Π 1 {\displaystyle \Pi _{1}} {\displaystyle \Pi _{1}} in terms of instances of Π 2 {\displaystyle \Pi _{2}} {\displaystyle \Pi _{2}} (and back), (2) ensures that deciding L 1 {\displaystyle L_{1}} {\displaystyle L_{1}} using the transformation and a pseudo-polynomial decider for L 2 {\displaystyle L_{2}} {\displaystyle L_{2}} is pseudo-polynomial itself, (3) enforces that f {\displaystyle f} {\displaystyle f} grows fast enough so that L 2 {\displaystyle L_{2}} {\displaystyle L_{2}} must have a pseudo-polynomial decider, and (4) enforces that a subproblem of L 1 {\displaystyle L_{1}} {\displaystyle L_{1}} 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 L 2 {\displaystyle L_{2}} {\displaystyle L_{2}} whose instances also have numerical parameters bounded by a polynomial in input size.

Proving strong NP-completeness

[edit ]

The following lemma allows to derive strong NP-completeness from existence of a transformation:

If Π 1 {\displaystyle \Pi _{1}} {\displaystyle \Pi _{1}} is a strongly NP-complete decision problem, Π 2 {\displaystyle \Pi _{2}} {\displaystyle \Pi _{2}} is a decision problem in NP, and there exists a pseudo-polynomial transformation from Π 1 {\displaystyle \Pi _{1}} {\displaystyle \Pi _{1}} to Π 2 {\displaystyle \Pi _{2}} {\displaystyle \Pi _{2}}, then Π 2 {\displaystyle \Pi _{2}} {\displaystyle \Pi _{2}} is strongly NP-complete

Proof of the lemma

[edit ]

Suppose that Π 1 {\displaystyle \Pi _{1}} {\displaystyle \Pi _{1}} is a strongly NP-complete decision problem encoded by L 1 {\displaystyle L_{1}} {\displaystyle L_{1}} over Σ 1 {\displaystyle \Sigma _{1}} {\displaystyle \Sigma _{1}} alphabet and Π 2 {\displaystyle \Pi _{2}} {\displaystyle \Pi _{2}} is a decision problem in NP encoded by L 2 {\displaystyle L_{2}} {\displaystyle L_{2}} over Σ 2 {\displaystyle \Sigma _{2}} {\displaystyle \Sigma _{2}} alphabet.

Let f : L 1 L 2 {\displaystyle f:L_{1}\to L_{2}} {\displaystyle f:L_{1}\to L_{2}} be a pseudo-polynomial transformation from Π 1 {\displaystyle \Pi _{1}} {\displaystyle \Pi _{1}} to Π 2 {\displaystyle \Pi _{2}} {\displaystyle \Pi _{2}} with Q A {\displaystyle Q_{A}} {\displaystyle Q_{A}}, Q B {\displaystyle Q_{B}} {\displaystyle Q_{B}} as specified in the definition.

From the definition of strong NP-completeness there exists a polynomial P N [ X ] {\displaystyle P\in \mathbb {N} [X]} {\displaystyle P\in \mathbb {N} [X]} such that L 1 / P = { w L 1 : Num Π 1 ( w ) P ( | w | ) } {\displaystyle L_{1/P}=\{w\in L_{1}:\operatorname {Num} _{\Pi _{1}}(w)\leq P(|w|)\}} {\displaystyle L_{1/P}=\{w\in L_{1}:\operatorname {Num} _{\Pi _{1}}(w)\leq P(|w|)\}} is NP-complete.

For P ^ ( n ) = Q B ( P ( Q A ( n ) ) , Q A ( n ) ) {\displaystyle {\widehat {P}}(n)=Q_{B}(P(Q_{A}(n)),Q_{A}(n))} {\displaystyle {\widehat {P}}(n)=Q_{B}(P(Q_{A}(n)),Q_{A}(n))} and any w L 1 / P {\displaystyle w\in L_{1/P}} {\displaystyle w\in L_{1/P}} there is

Num Π 2 ( f ( w ) ) Q B ( Num Π 1 ( w ) , | w | ) (definition of  f ) Q B ( P ( w ) , | w | ) (property of  L 1 / P ) Q B ( P ( Q A ( | f ( w ) | ) ) , Q A ( | f ( w ) | ) ) (definition of  f ) P ^ ( | f ( w ) | ) (definition of  P ^ ) {\displaystyle {\begin{aligned}\operatorname {Num} _{\Pi _{2}}(f(w))&\leq Q_{B}(\operatorname {Num} _{\Pi _{1}}(w),|w|)&&{\text{(definition of }}f{\text{)}}\\[4pt]&\leq Q_{B}(P(w),|w|)&&{\text{(property of }}L_{1/P}{\text{)}}\\[4pt]&\leq Q_{B}(P(Q_{A}(|f(w)|)),Q_{A}(|f(w)|))&&{\text{(definition of }}f{\text{)}}\\[4pt]&\leq {\widehat {P}}(|f(w)|)&&{\text{(definition of }}{\widehat {P}}{\text{)}}\end{aligned}}} {\displaystyle {\begin{aligned}\operatorname {Num} _{\Pi _{2}}(f(w))&\leq Q_{B}(\operatorname {Num} _{\Pi _{1}}(w),|w|)&&{\text{(definition of }}f{\text{)}}\\[4pt]&\leq Q_{B}(P(w),|w|)&&{\text{(property of }}L_{1/P}{\text{)}}\\[4pt]&\leq Q_{B}(P(Q_{A}(|f(w)|)),Q_{A}(|f(w)|))&&{\text{(definition of }}f{\text{)}}\\[4pt]&\leq {\widehat {P}}(|f(w)|)&&{\text{(definition of }}{\widehat {P}}{\text{)}}\end{aligned}}}

Therefore,

f ( L 1 / P ) = { w L 2 : Num Π 2 ( w ) P ^ ( | w | ) } = L 2 / P ^ {\displaystyle f(L_{1/P})=\{w\in L_{2}:\operatorname {Num} _{\Pi _{2}}(w)\leq {\widehat {P}}(|w|)\}=L_{2/{\widehat {P}}}} {\displaystyle f(L_{1/P})=\{w\in L_{2}:\operatorname {Num} _{\Pi _{2}}(w)\leq {\widehat {P}}(|w|)\}=L_{2/{\widehat {P}}}}

Since L 1 / P {\displaystyle L_{1/P}} {\displaystyle L_{1/P}} is NP-complete and f | L 1 / P {\displaystyle f|L_{1/P}} {\displaystyle f|L_{1/P}} is computable in polynomial time, L 2 / P ^ {\displaystyle L_{2/{\widehat {P}}}} {\displaystyle L_{2/{\widehat {P}}}} is NP-complete.

From this and the definition of strong NP-completeness it follows that L 2 {\displaystyle L_{2}} {\displaystyle L_{2}} is strongly NP-complete.

References

[edit ]
  1. ^ Garey, M. R.; Johnson, D. S. (1979). Victor Klee (ed.). Computers and Intractability: A Guide to the Theory of NP-Completeness. A Series of Books in the Mathematical Sciences. San Francisco, Calif.: W. H. Freeman and Co. pp. 101–102. ISBN 978-0-7167-1045-5. MR 0519066.

AltStyle によって変換されたページ (->オリジナル) /