← Student tools · Problem 52 · Lecture 8 · Round 1 (30 pts)

The "kamikaze" TM · self-reference for fun

A TM that prints its own description, then enters a "fictitious erased" state. Pure recursion-theorem theatre.

CLO-1R1·30 ptsL8
🔊 Listen

The recursion theorem doesn't only give us quines. It lets us build TMs that inspect, modify, and react to their own description in any computable way. This problem demonstrates one such construction.

The kamikaze construction

M on any input w:

  1. Print ⟨M⟩ on the tape (recursion-theorem guarantee).
  2. Append "I have shown my source. Now I erase." to the tape.
  3. Enter a special "qkz" state — effectively halt with the tape cleared.

M's existence shows: "self-aware" TMs aren't theoretical artefacts — they can be concretely constructed via the recursion theorem.

🔊 Listen
The 3-stage lifecycle Auto-plays
🔊 Listen
🔊 Listen
🔊 Listen

Sipser: §6.1 (recursion theorem). Lecture notes: Module 3 slide 5. Companion problems: P13 (quine), P15 (fixed point), P16 (self-aware TM).