Giảm Karp có giống với Giảm Levin không


12

Định nghĩa: Giảm Karp

Một ngôn ngữ MộtA là Karp rút gọn về một ngôn ngữ BB nếu có một thời gian đa thức chức năng tính toán f : { 0 , 1 } * → { 0 , 1 } *f:{0,1}∗→{0,1}∗ như vậy mà cho mỗi xx , x ∈ Ax∈A khi và chỉ khi f ( x ) ∈ Bf(x)∈B .

Định nghĩa: Giảm Levin

Một vấn đề tìm kiếm V AVA có thể giảm Levin thành một vấn đề tìm kiếm V BVB nếu có hàm thời gian đa thức ff mà Karp giảm L ( V A )L(VA) thành L ( V B )L(VB) và có các hàm tính toán thời gian đa thức gg và hh sao cho

  1. ⟨ X , y ⟩ ∈ V Một⟹⟨ F ( x ) , g ( x , y ) ⟩ ∈ V B⟨x,y⟩∈VA⟹⟨f(x),g(x,y)⟩∈VB ,

  2. ⟨ F ( x ) , z ⟩ ∈ V B⟹⟨ X , h ( x , z ) ⟩ ∈ V Một⟨f(x),z⟩∈VB⟹⟨x,h(x,z)⟩∈VA

Là những mức giảm tương đương?


Tôi nghĩ rằng hai định nghĩa là tương đương. Đối với bất kỳ hai N PNP ngôn ngữ MộtA và BB , nếu AA là Karp rút gọn về BB , sau đó AA là Levin rút gọn về BB .

Đây là bằng chứng của tôi:

Hãy x và ¯ x là trường hợp độc đoán của A khi x ' là của B . Giả sử V Một và V B là cán bộ kiểm tra của A và B . Hãy để y và ¯ y được giấy chứng nhận độc đoán của x và ¯ x theo V Một . Hãy z là của x ' theo V B .xx¯¯¯Ax′BVAVBAByy¯¯¯xx¯¯¯VAzx′VB

Xây dựng thẩm tra mới V ' Một và V ' B với giấy chứng nhận mới y ' và z ' :V′AV′By′z′

V ′ A ( x , y ′ ) :V′A(x,y′):

  1. y ' = ⟨ 0 , ¯ x , ¯ y ⟩ : Nếu f ( x ) ≠ f ( ¯ x ) , từ chối. Nếu đầu ra V Một ( ¯ x , ¯ y ) .y′=⟨0,x¯¯¯,y¯¯¯⟩f(x)≠f(x¯¯¯)VA(x¯¯¯,y¯¯¯)
  2. y ' = ⟨ 1 , z ⟩ : Output V B ( f ( x ) , z ) .y′=⟨1,z⟩VB(f(x),z)

V ′ B ( x ′ , z ′ ) :V′B(x′,z′):

  1. z ' = ⟨ 0 , z ⟩ : Output V B ( x ' , z ) .z′=⟨0,z⟩VB(x′,z)

  2. z ' = ⟨ 1 , x , y ⟩ : Nếu x ' ≠ f ( x ) , từ chối. Nếu không thì đầu ra V A ( x , y ) .z′=⟨1,x,y⟩x′≠f(x)VA(x,y)

Các hàm tính toán thời gian đa thức g và h được định nghĩa như sau:gh

g ( x , y ' )g(x,y′)

  1. y′=⟨0,¯x,¯y⟩y′=⟨0,x¯¯¯,y¯¯¯⟩: Output ⟨1,¯x,¯y⟩⟨1,x¯¯¯,y¯¯¯⟩.

  2. y′=⟨1,z⟩y′=⟨1,z⟩: Output ⟨0,z⟩⟨0,z⟩.

h(x′,z′)h(x′,z′)

  1. z′=⟨0,z⟩z′=⟨0,z⟩: Output ⟨1,z⟩⟨1,z⟩.

  2. z′=⟨1,x,y⟩z′=⟨1,x,y⟩: Output ⟨0,x,y⟩⟨0,x,y⟩.

Let YxYx be the set of all certificates of xx according to VAVA and Zx′Zx′ be the set of all certificates of x′x′ according to VBVB. Then the set of all certificates of xx according to V′AV′A is 0¯xY¯x+1Zf(x)0x¯¯¯Yx¯¯¯+1Zf(x) such that f(x)=f(¯x)f(x)=f(x¯¯¯), and the set of all certificates of x′x′ according to V′BV′B is 0Zx′+1¯xY¯x0Zx′+1x¯¯¯Yx¯¯¯ such that x′=f(¯x)x′=f(x¯¯¯).

(This is derived from the accepting language of V′AV′A and V′BV′B.)

Now let x′=f(x)x′=f(x), the rest part is easy to check.


Before proving your claim, you should define what it means by a language being Levin reducible to another.
— Tsuyoshi Ito

Câu trả lời:


14

No. First note that Levin reduction only makes sense with respect to classes which certificate has a meaning, e.g. NPNP while Karp reduction is general. The word "certificate" for a problem makes sense only when a verifier is fixed. Levin's reduction assumes that the verifiers are fixed. You cannot change the verifiers. (In the following I assume that certificate verifiers are fixed as required by definition of Levin reduction.)

Second, Levin reduction means that one can find the certificate for one from the certificate for the other. It is true that the well-known Karp reductions between natural problems turn out to be Levin reduction but this does not need to be true in general.

If we can reduce instances of a problem AA to problem BB it doesn't mean we have a way of computing a certificate for one from a certificate for the other.

For this to be true we need the fact that a certificate search problem corresponding to the decision problem is polynomial time reducible to the decision problem. This is true for NP-completeNP-complete problems but not known to be true generally even for NPNP problems.


I agree on your first point that Karp reduction is more general than Karp reduction. According to it, I think my problem should be modified as "Let L1L1 and L2L2 be two languages in NPNP. If L1L1 is Karp reducible to L2L2, then L1L1 is Levin reducible to L2L2." However, I don't agree on your other comments.
— c c

In my prove, first let L1L1 and L2 be arbitrary such two languages. Since they are in NP, there are P TM M1 and M2. For every instances x∈L1, the set of all certificates are Yx for TM1. Similarly, we define Zx′ for x′∈L2. Since L1 is Karp reducible to L2, there is such f as defined.
— c c

Now, we constructed new M′1 and M′2. For every instance x∈L1, the new set of all certificates are 0Yx+1Zf(x), while for every instance f(x)∈L2, the new set of all certificates are 0Zf(x)+1xYx.(Here we use regular expressions) These are legal and all certificates for M′1 and M′2. By the way, there is P functions g and h as defined transform all possible certificate from one problem to the other.
— c c

ps: We don't need to give a transformation from x′∈L2 where there is no x∈L1 such that x′=f(x), since Karp and Levin reductions are both many to one mappings. I think this can answer the second last paragraph.
— c c

@cc, it seems that you still think that you can change the verifiers, you cannot, the definition of Levin reduction is for search problems, i.e. the verifiers are fixed.
— Kaveh

5

A quick counterexample for your proof: suppose that x1,x2∈L1, f(x1)=f(x2)∈L2, and w is a valid certificate for x1 but not for x2

M′1(x1,⟨0,w⟩)=M1(x1,w)=1

M′1(x2,⟨0,w⟩)=M1(x2,w)=0

By definition g(x1,⟨0,w⟩)=⟨1,x1,w⟩

f(x1)=f(x2) so M′2(f(x2),⟨1,x1,w⟩))=M1(x1,w)=1 so ⟨1,x1,w⟩ is a valid certificate for f(x2) but

h(f(x2),⟨1,x1,w⟩)=⟨0,w⟩ which is not a valid certificate for x2


Thanks very much for pointing out the counterexample. I have modified the construction and I think it works now. Could you please have a look at it?
— c c
Khi sử dụng trang web của chúng tôi, bạn xác nhận rằng bạn đã đọc và hiểu Chính sách cookie và Chính sách bảo mật của chúng tôi.
Licensed under cc by-sa 3.0 with attribution required.