2011-05-16

Re: Practice Final Problem 10 .

'''Originally Posted By: chinukamboj'''

Gobinder Kamboj<br>Raghav Baldania<br>Caterinal Petre

'''Originally Posted By: chinukamboj''' Gobinder Kamboj<br>Raghav Baldania<br>Caterinal Petre

Practice Final Problem 10

&#039;&#039;&#039;Originally Posted By: lambert&#039;&#039;&#039;

P = { | K(w) . &lt;br&gt;S on input :&lt;br&gt;&lt;br&gt;Step 1. Construct a TM N using M and w&lt;br&gt;N on input x: &lt;br&gt;i. Simulate M on w. If M rejects w, N will halt and reject. When M accepts w go to Step ii&lt;br&gt;ii. Simulate the TM T on input x. When T accepts N will accept&lt;br&gt;&lt;br&gt;Step 2. Run decider R on . When R accepts, S accepts. When R rejects, S rejects.&lt;br&gt;Notes: When M accepts w, L(N) = L(T) and when M rejects w, L(N) = L(T_empty).&lt;br&gt;So L(N) in P iff L(T) in P&lt;br&gt;&lt;br&gt;S decides A_TM, and A_TM is undecidable therefore P is undecidable. &lt;br&gt;&lt;br&gt;Hope this is worth at least 1 point this time&lt;br&gt;&lt;br&gt;group&lt;br&gt;Lambert Fong&lt;br&gt;Gobinder Kamboj&lt;br&gt;Raghav Baldania&lt;br&gt;Caterinal Petre

'''Originally Posted By: lambert''' P = { | K(w) . <br>S on input :<br><br>Step 1. Construct a TM N using M and w<br>N on input x: <br>i. Simulate M on w. If M rejects w, N will halt and reject. When M accepts w go to Step ii<br>ii. Simulate the TM T on input x. When T accepts N will accept<br><br>Step 2. Run decider R on . When R accepts, S accepts. When R rejects, S rejects.<br>Notes: When M accepts w, L(N) = L(T) and when M rejects w, L(N) = L(T_empty).<br>So L(N) in P iff L(T) in P<br><br>S decides A_TM, and A_TM is undecidable therefore P is undecidable. <br><br>Hope this is worth at least 1 point this time<br><br>group<br>Lambert Fong<br>Gobinder Kamboj<br>Raghav Baldania<br>Caterinal Petre
2011-05-18

-- Practice Final Problem 10

I think the proposed solution would not receive much credit. So let me try to give a solution... &lt;br&gt;&lt;br&gt;The property we are considering is:&lt;br&gt;P = { | K(w) , such that in P and not in P.&lt;br&gt;To see this, let M be the Turing Machine that rejects all strings. Then every string that it accepts&lt;br&gt;(which is none) has Kolmogorov complexity less than 10. On the other hand, let M&#039; be &lt;br&gt;the machine that accepts all strings. From class we know that there are incompressible strings&lt;br&gt;of every length. So M&#039; will accept one of these of length greater than 10 and so will not have the&lt;br&gt;property.&lt;br&gt;&lt;br&gt;The second criteria for Rice&#039;s Theorem is that if two machine M1 and M2 accept the same language&lt;br&gt;then they either both have property P or both don&#039;t have property P.&lt;br&gt;Well, if M1 accepts only strings w of K(w) 10 then as M2 has the same language as M1, it too would&lt;br&gt;accept this string so neither M1 nor M2 would have property P.&lt;br&gt;&lt;br&gt;So we have shown both of the conditions for Rice&#039;s theorem hold, therefore, we can conclude P is&lt;br&gt;undecidable.

I think the proposed solution would not receive much credit. So let me try to give a solution... <br><br>The property we are considering is:<br>P = { | K(w) , such that in P and not in P.<br>To see this, let M be the Turing Machine that rejects all strings. Then every string that it accepts<br>(which is none) has Kolmogorov complexity less than 10. On the other hand, let M' be <br>the machine that accepts all strings. From class we know that there are incompressible strings<br>of every length. So M' will accept one of these of length greater than 10 and so will not have the<br>property.<br><br>The second criteria for Rice's Theorem is that if two machine M1 and M2 accept the same language<br>then they either both have property P or both don't have property P.<br>Well, if M1 accepts only strings w of K(w) 10 then as M2 has the same language as M1, it too would<br>accept this string so neither M1 nor M2 would have property P.<br><br>So we have shown both of the conditions for Rice's theorem hold, therefore, we can conclude P is<br>undecidable.
X