Jump to content

Tarski–Kuratowski algorithm

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by David Eppstein (talk | contribs) at 07:08, 6 January 2019 (Algorithm: elaborate non-determinism). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

In computability theory and mathematical logic the Tarski–Kuratowski algorithm is a non-deterministic algorithm which produces an upper bound for the complexity of a given formula in the arithmetical hierarchy and analytical hierarchy.

The algorithm is named after Alfred Tarski and Kazimierz Kuratowski.

Algorithm

The Tarski–Kuratowski algorithm for the arithmetical hierarchy consists of the following steps:

  1. Convert the formula to prenex normal form. (This is the non-deterministic part of the algorithm, as there may be more than one valid prenex normal form for the given formula.)
  2. If the formula is quantifier-free, it is in and .
  3. Otherwise, count the number of alternations of quantifiers; call this k.
  4. If the first quantifier is , the formula is in .
  5. If the first quantifier is , the formula is in .

References

  • Rogers, H. The Theory of Recursive Functions and Effective Computability, MIT Press. ISBN 0-262-68052-1; ISBN 0-07-053522-1