Recognition by Searching for a Witness

Some recognizers answer yes once they find acceptable evidence but may keep searching when none exists.

Source
Anbloq
Language
English
Created
Updated
Chapters
4
Reading time
1 min
In this article4 chapters
  1. Trace a conceptual search
  2. Check how absence is handled
  3. Define what the positive result certifies
  4. Separate the algorithm's behavior from an impossibility theorem

Trace a conceptual search

Enumerate candidate evidence in a documented order and validate each example. If a correct witness eventually appears, the procedure accepts. See decision and witness.

Check how absence is handled

If the search space has no finite bound and the witness does not exist, failure to find it yet cannot establish no. Decidability requires an answer in both cases.[1]

Define what the positive result certifies

A search can enumerate natural numbers until it finds one satisfying a decidable predicate \(P(n)\). If a witness exists, enumeration eventually reaches it. If none exists, this search can keep running forever. See deciding a language.

Try n=0,1,2,… in order
Predicate n=4 yields accept at 4
Predicate always false gives unending search with this procedure

Separate the algorithm's behavior from an impossibility theorem

This search failing to stop on one input does not prove no other decider exists for the problem. A bounded search has a defined examined range. Report which interpretation the procedure supports.

References

  1. Michael Sipser, Introduction to the Theory of Computation ↩