Recognizers, Deciders, and Parallel Simulation

Use simultaneous simulation of recognizers for a language and its complement to derive a termination guarantee.

Source
Anbloq
Language
English
Created
Updated
Chapters
2
Reading time
1 min
In this article2 chapters
  1. Acceptance and rejection must be specified separately
  2. Recognizing both sides is enough to decide

Acceptance and rejection must be specified separately

A recognizer for \(L\) eventually accepts every member of \(L\). On a nonmember it can reject or continue forever, provided it never accepts. A decider halts on all inputs and reports membership correctly. Simulation of a machine on one input recognizes the event that the machine eventually accepts. A currently unfinished simulation leaves its eventual behavior unresolved.

Recognizing both sides is enough to decide

Suppose both \(L\) and its complement have recognizers. Alternate one simulation step of each on the same input, proceeding until one accepts. Exactly one side has a valid acceptance and that acceptance occurs after finitely many steps. Return membership according to who accepted. Sequentially waiting for one recognizer first would lose the termination proof. This scheduling technique is called dovetailing. Computable enumeration uses it across infinitely many inputs. Undecidability reductions can rule out a decider while leaving a recognizer possible.[1][2]

References

  1. Michael Sipser, Introduction to the Theory of Computation ↩
  2. MIT OpenCourseWare, Automata, Computability, and Complexity: Lecture Notes ↩