[Theoretical computer science] Regular Turing Machine undecidable proof

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
1 reply · 2K views
blob84
Messages
25
Reaction score
0
Hello the proof of the Spiser's book (introduction to theory of computation):
PROOF
We let R be a TM that decides REGULARTM and construct TM S to
decide ATM. Then S works in the following manner.
S = "On input (M, w), where M is a TM and w is a string:
1. Construct the following TM M2 .
M2 = "On input x:
1. If x has the form o^i 1^i , accept.
2. If x does not have this form, run M on input w and
accept if M accepts w."
2. R on input (M2 ).
3. Run R if accepts, accept; if R rejects, reject."
I don't understand how it works.
If x has that form accept and R will reject because 0^i1^i is not regular.
What happens when M rejects?
 
Physics news on Phys.org
Could you be a little more clear on what this is trying to prove?