Rename the old halt state as a nonhalting state , including every occurrence of in the original program, and introduce a new halt state . Attach the following output-flipping routine:
Because the original machine computes a characteristic function, it reaches with register containing exactly or . The routine tests that symbol, removes it, and appends its complement. It therefore halts with .

Articles by others on the same topic (0)

There are currently no matching articles.