Rice’s Theorem and Semantic Properties

Distinguish a property of an accepted language from a property of code and prove why every nontrivial language property is undecidable.

Source
Anbloq
Language
English
Created
Updated
Chapters
2
Reading time
1 min
In this article2 chapters
  1. The property must depend only on behavior
  2. Gate a fixed recognizer behind another computation

The property must depend only on behavior

A semantic property accepts two machines together whenever they recognize exactly the same language. “The language contains the empty string” is semantic. “The transition table has at most ten rows” depends on representation. A property of recognizable languages is nontrivial when some recognizable languages satisfy it and others fail it.

Gate a fixed recognizer behind another computation

Assume first that the empty language fails the property, and choose a recognizer for a language that satisfies it. Given \(M,w\), make a machine on input \(x\) run \(M(w)\) first. It runs the fixed recognizer on \(x\) only after acceptance. The resulting language is empty or the chosen language according to that acceptance event. A property decider would decide the source event. If the empty language satisfies the property, apply the argument to its complement. Mapping reductions explain the construction, and recognizability separates this impossibility from one-sided search.[1][2]

References

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