Английская Википедия:Arithmetical hierarchy
Шаблон:No footnotes Шаблон:Short description Шаблон:Distinguish
In mathematical logic, the arithmetical hierarchy, arithmetic hierarchy or Kleene–Mostowski hierarchy (after mathematicians Stephen Cole Kleene and Andrzej Mostowski) classifies certain sets based on the complexity of formulas that define them. Any set that receives a classification is called arithmetical. The arithmetical hierarchy was invented independently by Kleene (1943) and Mostowski (1946).[1]
The arithmetical hierarchy is important in computability theory, effective descriptive set theory, and the study of formal theories such as Peano arithmetic.
The Tarski–Kuratowski algorithm provides an easy way to get an upper bound on the classifications assigned to a formula and the set it defines.
The hyperarithmetical hierarchy and the analytical hierarchy extend the arithmetical hierarchy to classify additional formulas and sets.
The arithmetical hierarchy of formulas
The arithmetical hierarchy assigns classifications to the formulas in the language of first-order arithmetic. The classifications are denoted <math>\Sigma^0_n</math> and <math>\Pi^0_n</math> for natural numbers n (including 0). The Greek letters here are lightface symbols, which indicates that the formulas do not contain set parameters.
If a formula <math>\phi</math> is logically equivalent to a formula with only bounded quantifiers, then <math>\phi</math> is assigned the classifications <math>\Sigma^0_0</math> and <math>\Pi^0_0</math>.
The classifications <math>\Sigma^0_n</math> and <math>\Pi^0_n</math> are defined inductively for every natural number n using the following rules:
- If <math>\phi</math> is logically equivalent to a formula of the form <math>\exists m_1 \exists m_2\cdots \exists m_k \psi</math>, where <math>\psi</math> is <math>\Pi^0_n</math>, then <math>\phi</math> is assigned the classification <math>\Sigma^0_{n+1}</math>.
- If <math>\phi</math> is logically equivalent to a formula of the form <math>\forall m_1 \forall m_2\cdots \forall m_k \psi</math>, where <math>\psi</math> is <math>\Sigma^0_n</math>, then <math>\phi</math> is assigned the classification <math>\Pi^0_{n+1}</math>.
A <math>\Sigma^0_n</math> formula is equivalent to a formula that begins with some existential quantifiers and alternates <math>n-1</math> times between series of existential and universal quantifiers; while a <math>\Pi^0_n</math> formula is equivalent to a formula that begins with some universal quantifiers and alternates analogously.
Because every first-order formula has a prenex normal form, every formula is assigned at least one classification. Because redundant quantifiers can be added to any formula, once a formula is assigned the classification <math>\Sigma^0_n</math> or <math>\Pi^0_n</math> it will be assigned the classifications <math>\Sigma^0_m</math> and <math>\Pi^0_m</math> for every m > n. The only relevant classification assigned to a formula is thus the one with the least n; all the other classifications can be determined from it.
Meaning of the notation
The following meanings can be attached to the notation for the arithmetical hierarchy on formulas.
The subscript <math>n</math> in the symbols <math>\Sigma^0_n</math> and <math>\Pi^0_n</math> indicates the number of alternations of blocks of universal and existential number quantifiers that are used in a formula. Moreover, the outermost block is existential in <math>\Sigma^0_n</math> formulas and universal in <math>\Pi^0_n</math> formulas.
The superscript <math>0</math> in the symbols <math>\Sigma^0_n</math>, <math>\Pi^0_n</math>, and <math>\Delta^0_n</math> indicates the type of the objects being quantified over. Type 0 objects are natural numbers, and objects of type <math>i+1</math> are functions that map the set of objects of type <math>i</math> to the natural numbers. Quantification over higher type objects, such as functions from natural numbers to natural numbers, is described by a superscript greater than 0, as in the analytical hierarchy. The superscript 0 indicates quantifiers over numbers, the superscript 1 would indicate quantification over functions from numbers to numbers (type 1 objects), the superscript 2 would correspond to quantification over functions that take a type 1 object and return a number, and so on.
Examples
- The <math>\Sigma^0_1</math> sets of numbers are those definable by a formula of the form <math>\exists n_1 \cdots \exists n_k \psi(n_1,\ldots,n_k,m)</math> where <math>\psi</math> has only bounded quantifiers. These are exactly the recursively enumerable sets.
- The set of natural numbers that are indices for Turing machines that compute total functions is <math>\Pi^0_2</math>. Intuitively, an index <math>e</math> falls into this set if and only if for every <math>m</math> "there is an <math>s</math> such that the Turing machine with index <math>e</math> halts on input <math>m</math> after <math>s</math> steps". A complete proof would show that the property displayed in quotes in the previous sentence is definable in the language of Peano arithmetic by a <math>\Sigma^0_1</math> formula.
- Every <math>\Sigma^0_1</math> subset of Baire space or Cantor space is an open set in the usual topology on the space. Moreover, for any such set there is a computable enumeration of Gödel numbers of basic open sets whose union is the original set. For this reason, <math>\Sigma^0_1</math> sets are sometimes called effectively open. Similarly, every <math>\Pi^0_1</math> set is closed and the <math>\Pi^0_1</math> sets are sometimes called effectively closed.
- Every arithmetical subset of Cantor space or Baire space is a Borel set. The lightface Borel hierarchy extends the arithmetical hierarchy to include additional Borel sets. For example, every <math>\Pi^0_2</math> subset of Cantor or Baire space is a <math>G_\delta</math> set (that is, a set which equals the intersection of countably many open sets). Moreover, each of these open sets is <math>\Sigma^0_1</math> and the list of Gödel numbers of these open sets has a computable enumeration. If <math>\phi(X,n,m)</math> is a <math>\Sigma^0_0</math> formula with a free set variable <math>X</math> and free number variables <math>n,m</math> then the <math>\Pi^0_2</math> set <math>\{X \mid \forall n \exists m \phi(X,n,m)\}</math> is the intersection of the <math>\Sigma^0_1</math> sets of the form <math>\{ X \mid \exists m \phi(X,n,m)\}</math> as <math>n</math> ranges over the set of natural numbers.
- The <math>\Sigma^0_0=\Pi^0_0=\Delta^0_0</math> formulas can be checked by going over all cases one by one, which is possible because all their quantifiers are bounded. The time for this is polynomial in their arguments (e.g. polynomial in <math>n</math> for <math>\varphi(n)</math>); thus their corresponding decision problems are included in E (as <math>n</math> is exponential in its number of bits). This no longer holds under alternative definitions of <math>\Sigma^0_0=\Pi^0_0=\Delta^0_0</math>, which allow the use of primitive recursive functions, as now the quantifiers may be bound by any primitive recursive function of the arguments.
- The <math>\Sigma^0_0=\Pi^0_0=\Delta^0_0</math> formulas under an alternative definition, that allows the use of primitive recursive functions with bounded quantifiers, correspond to sets of natural numbers of the form <math>\{n: f(n) = 0\}</math> for a primitive recursive function <math>f</math>. This is because allowing bounded quantifier adds nothing to the definition: for a primitive recursive <math>f</math>, <math>\forall k<n: f(k)=0</math> is the same as <math>f(0)+f(1)+...f(n)=0</math>, and <math>\exists k<n: f(k)=0</math> is the same as <math> f(0)*f(1)*...f(n)=0</math>; with course-of-values recursion each of these can be defined by a single primitive recursion function.
The arithmetical hierarchy of sets of natural numbers
A set X of natural numbers is defined by a formula φ in the language of Peano arithmetic (the first-order language with symbols "0" for zero, "S" for the successor function, "+" for addition, "×" for multiplication, and "=" for equality), if the elements of X are exactly the numbers that satisfy φ. That is, for all natural numbers n,
- <math>n \in X \Leftrightarrow \mathbb{N} \models \varphi(\underline n),</math>
where <math>\underline n</math> is the numeral in the language of arithmetic corresponding to <math>n</math>. A set is definable in first-order arithmetic if it is defined by some formula in the language of Peano arithmetic.
Each set X of natural numbers that is definable in first-order arithmetic is assigned classifications of the form <math>\Sigma^0_n</math>, <math>\Pi^0_n</math>, and <math>\Delta^0_n</math>, where <math>n</math> is a natural number, as follows. If X is definable by a <math>\Sigma^0_n</math> formula then X is assigned the classification <math>\Sigma^0_n</math>. If X is definable by a <math>\Pi^0_n</math> formula then X is assigned the classification <math>\Pi^0_n</math>. If X is both <math>\Sigma^0_n</math> and <math>\Pi^0_n</math> then <math>X</math> is assigned the additional classification <math>\Delta^0_n</math>.
Note that it rarely makes sense to speak of <math>\Delta^0_n</math> formulas; the first quantifier of a formula is either existential or universal. So a <math>\Delta^0_n</math> set is not necessarily defined by a <math>\Delta^0_n</math> formula in the sense of a formula that is both <math>\Sigma^0_n</math> and <math>\Pi^0_n</math>; rather, there are both <math>\Sigma^0_n</math> and <math>\Pi^0_n</math> formulas that define the set. For example, the set of odd natural numbers <math>n</math> is definable by either <math>\forall k(n\neq 2\times k)</math> or <math>\exists k(n=2\times k+1)</math>.
A parallel definition is used to define the arithmetical hierarchy on finite Cartesian powers of the set of natural numbers. Instead of formulas with one free variable, formulas with k free number variables are used to define the arithmetical hierarchy on sets of k-tuples of natural numbers. These are in fact related by the use of a pairing function.
Relativized arithmetical hierarchies
Just as we can define what it means for a set X to be recursive relative to another set Y by allowing the computation defining X to consult Y as an oracle we can extend this notion to the whole arithmetic hierarchy and define what it means for X to be <math>\Sigma^0_n</math>, <math>\Delta^0_n</math> or <math>\Pi^0_n</math> in Y, denoted respectively <math>\Sigma^{0,Y}_n</math>, <math>\Delta^{0,Y}_n</math> and <math>\Pi^{0,Y}_n</math>. To do so, fix a set of natural numbers Y and add a predicate for membership of Y to the language of Peano arithmetic. We then say that X is in <math>\Sigma^{0,Y}_n</math> if it is defined by a <math>\Sigma^0_n</math> formula in this expanded language. In other words, X is <math>\Sigma^{0,Y}_n</math> if it is defined by a <math>\Sigma^{0}_n</math> formula allowed to ask questions about membership of Y. Alternatively one can view the <math>\Sigma^{0,Y}_n</math> sets as those sets that can be built starting with sets recursive in Y and alternately taking unions and intersections of these sets up to n times.
For example, let Y be a set of natural numbers. Let X be the set of numbers divisible by an element of Y. Then X is defined by the formula <math>\phi(n)=\exists m \exists t (Y(m)\land m\times t = n)</math> so X is in <math>\Sigma^{0,Y}_1</math> (actually it is in <math>\Delta^{0,Y}_0</math> as well, since we could bound both quantifiers by n).
Arithmetic reducibility and degrees
Arithmetical reducibility is an intermediate notion between Turing reducibility and hyperarithmetic reducibility.
A set is arithmetical (also arithmetic and arithmetically definable) if it is defined by some formula in the language of Peano arithmetic. Equivalently X is arithmetical if X is <math>\Sigma^0_n</math> or <math>\Pi^0_n</math> for some natural number n. A set X is arithmetical in a set Y, denoted <math>X \leq_A Y</math>, if X is definable as some formula in the language of Peano arithmetic extended by a predicate for membership of Y. Equivalently, X is arithmetical in Y if X is in <math>\Sigma^{0,Y}_n</math> or <math>\Pi^{0,Y}_n</math> for some natural number n. A synonym for <math>X \leq_A Y</math> is: X is arithmetically reducible to Y.
The relation <math>X \leq_A Y</math> is reflexive and transitive, and thus the relation <math>\equiv_A</math> defined by the rule
- <math> X \equiv_A Y \iff X \leq_A Y \land Y \leq_A X</math>
is an equivalence relation. The equivalence classes of this relation are called the arithmetic degrees; they are partially ordered under <math>\leq_A</math>.
The arithmetical hierarchy of subsets of Cantor and Baire space
The Cantor space, denoted <math>2^{\omega}</math>, is the set of all infinite sequences of 0s and 1s; the Baire space, denoted <math>\omega^{\omega}</math> or <math>\mathcal{N}</math>, is the set of all infinite sequences of natural numbers. Note that elements of the Cantor space can be identified with sets of natural numbers and elements of the Baire space with functions from natural numbers to natural numbers.
The ordinary axiomatization of second-order arithmetic uses a set-based language in which the set quantifiers can naturally be viewed as quantifying over Cantor space. A subset of Cantor space is assigned the classification <math>\Sigma^0_n</math> if it is definable by a <math>\Sigma^0_n</math> formula. The set is assigned the classification <math>\Pi^0_n</math> if it is definable by a <math>\Pi^0_n</math> formula. If the set is both <math>\Sigma^0_n</math> and <math>\Pi^0_n</math> then it is given the additional classification <math>\Delta^0_n</math>. For example, let <math>O\subset 2^{\omega}</math> be the set of all infinite binary strings which aren't all 0 (or equivalently the set of all non-empty sets of natural numbers). As <math>O=\{ X\in 2^\omega | \exists n (X(n)=1) \} </math> we see that <math>O</math> is defined by a <math>\Sigma^0_1</math> formula and hence is a <math>\Sigma^0_1</math> set.
Note that while both the elements of the Cantor space (regarded as sets of natural numbers) and subsets of the Cantor space are classified in arithmetic hierarchies, these are not the same hierarchy. In fact the relationship between the two hierarchies is interesting and non-trivial. For instance the <math>\Pi^0_n</math> elements of the Cantor space are not (in general) the same as the elements <math>X</math> of the Cantor space so that <math>\{X\}</math> is a <math>\Pi^0_n</math> subset of the Cantor space. However, many interesting results relate the two hierarchies.
There are two ways that a subset of Baire space can be classified in the arithmetical hierarchy.
- A subset of Baire space has a corresponding subset of Cantor space under the map that takes each function from <math>\omega</math> to <math>\omega</math> to the characteristic function of its graph. A subset of Baire space is given the classification <math>\Sigma^1_n</math>, <math>\Pi^1_n</math>, or <math>\Delta^1_n</math> if and only if the corresponding subset of Cantor space has the same classification.
- An equivalent definition of the analytical hierarchy on Baire space is given by defining the analytical hierarchy of formulas using a functional version of second-order arithmetic; then the analytical hierarchy on subsets of Cantor space can be defined from the hierarchy on Baire space. This alternate definition gives exactly the same classifications as the first definition.
A parallel definition is used to define the arithmetical hierarchy on finite Cartesian powers of Baire space or Cantor space, using formulas with several free variables. The arithmetical hierarchy can be defined on any effective Polish space; the definition is particularly simple for Cantor space and Baire space because they fit with the language of ordinary second-order arithmetic.
Note that we can also define the arithmetic hierarchy of subsets of the Cantor and Baire spaces relative to some set of natural numbers. In fact boldface <math>\mathbf{\Sigma}^0_n</math> is just the union of <math>\Sigma^{0,Y}_n</math> for all sets of natural numbers Y. Note that the boldface hierarchy is just the standard hierarchy of Borel sets.
Extensions and variations
It is possible to define the arithmetical hierarchy of formulas using a language extended with a function symbol for each primitive recursive function. This variation slightly changes the classification of <math>\Sigma^0_0=\Pi^0_0=\Delta^0_0</math>, since using primitive recursive functions in first-order Peano arithmetic requires, in general, an unbounded existential quantifier, and thus some sets that are in <math>\Sigma^0_0</math> by this definition are in <math>\Sigma^0_1</math> by the definition given in the beginning of this article. <math>\Sigma^0_1</math> and thus all higher classes in the hierarchy remain unaffected.
A more semantic variation of the hierarchy can be defined on all finitary relations on the natural numbers; the following definition is used. Every computable relation is defined to be <math>\Sigma^0_0=\Pi^0_0=\Delta^0_0</math>. The classifications <math>\Sigma^0_n</math> and <math>\Pi^0_n</math> are defined inductively with the following rules.
- If the relation <math>R(n_1,\ldots,n_l,m_1,\ldots, m_k)\,</math> is <math>\Sigma^0_n</math> then the relation <math>S(n_1,\ldots, n_l) = \forall m_1\cdots \forall m_k R(n_1,\ldots,n_l,m_1,\ldots,m_k)</math> is defined to be <math>\Pi^0_{n+1}</math>
- If the relation <math>R(n_1,\ldots,n_l,m_1,\ldots, m_k)\,</math> is <math>\Pi^0_n</math> then the relation <math>S(n_1,\ldots,n_l) = \exists m_1\cdots \exists m_k R(n_1,\ldots,n_l,m_1,\ldots,m_k)</math> is defined to be <math>\Sigma^0_{n+1}</math>
This variation slightly changes the classification of some sets. In particular, <math>\Sigma^0_0=\Pi^0_0=\Delta^0_0</math>, as a class of sets (definable by the relations in the class), is identical to <math>\Delta^0_1</math> as the latter was formerly defined. It can be extended to cover finitary relations on the natural numbers, Baire space, and Cantor space.
Properties
The following properties hold for the arithmetical hierarchy of sets of natural numbers and the arithmetical hierarchy of subsets of Cantor or Baire space.
- The collections <math>\Pi^0_n</math> and <math>\Sigma^0_n</math> are closed under finite unions and finite intersections of their respective elements.
- A set is <math>\Sigma^0_n</math> if and only if its complement is <math>\Pi^0_n</math>. A set is <math>\Delta^0_n</math> if and only if the set is both <math>\Sigma^0_n</math> and <math>\Pi^0_n</math>, in which case its complement will also be <math>\Delta^0_n</math>.
- The inclusions <math>\Pi^0_n \subsetneq \Pi^0_{n+1}</math> and <math>\Sigma^0_n \subsetneq \Sigma^0_{n+1}</math> hold for all <math>n</math>. Thus the hierarchy does not collapse. This is a direct consequence of Post's theorem.
- The inclusions <math>\Delta^0_n \subsetneq \Pi^0_n</math>, <math>\Delta^0_n \subsetneq \Sigma^0_n</math> and <math>\Sigma^0_n \cup \Pi^0_n \subsetneq \Delta^0_{n+1}</math> hold for <math>n \geq 1</math>.
- For example, for a universal Turing machine T, the set of pairs (n,m) such that T halts on n but not on m, is in <math>\Delta^0_2</math> (being computable with an oracle to the halting problem) but not in <math>\Sigma^0_1 \cup \Pi^0_1</math>.
- <math>\Sigma^0_0 = \Pi^0_0 = \Delta^0_0 = \Sigma^0_0 \cup \Pi^0_0 \subset \Delta^0_1</math>. The inclusion is strict by the definition given in this article, but an identity with <math>\Delta^0_1</math> holds under one of the variations of the definition given above.
Relation to Turing machines
Computable sets
If S is a Turing computable set, then both S and its complement are recursively enumerable (if T is a Turing machine giving 1 for inputs in S and 0 otherwise, we may build a Turing machine halting only on the former, and another halting only on the latter).
By Post's theorem, both S and its complement are in <math>\Sigma^0_1</math>. This means that S is both in <math>\Sigma^0_1</math> and in <math>\Pi^0_1</math>, and hence it is in <math>\Delta^0_1</math>.
Similarly, for every set S in <math>\Delta^0_1</math>, both S and its complement are in <math>\Sigma^0_1</math> and are therefore (by Post's theorem) recursively enumerable by some Turing machines T1 and T2, respectively. For every number n, exactly one of these halts. We may therefore construct a Turing machine T that alternates between T1 and T2, halting and returning 1 when the former halts or halting and returning 0 when the latter halts. Thus T halts on every n and returns whether it is in S, So S is computable.
Summary of main results
The Turing computable sets of natural numbers are exactly the sets at level <math>\Delta^0_1</math> of the arithmetical hierarchy. The recursively enumerable sets are exactly the sets at level <math>\Sigma^0_1</math>.
No oracle machine is capable of solving its own halting problem (a variation of Turing's proof applies). The halting problem for a <math>\Delta^{0,Y}_n</math> oracle in fact sits in <math>\Sigma^{0,Y}_{n+1}</math>.
Post's theorem establishes a close connection between the arithmetical hierarchy of sets of natural numbers and the Turing degrees. In particular, it establishes the following facts for all n ≥ 1:
- The set <math>\emptyset^{(n)}</math> (the nth Turing jump of the empty set) is many-one complete in <math>\Sigma^0_n</math>.
- The set <math>\mathbb{N} \setminus \emptyset^{(n)}</math> is many-one complete in <math>\Pi^0_n</math>.
- The set <math>\emptyset^{(n-1)}</math> is Turing complete in <math>\Delta^0_n</math>.
The polynomial hierarchy is a "feasible resource-bounded" version of the arithmetical hierarchy in which polynomial length bounds are placed on the numbers involved (or, equivalently, polynomial time bounds are placed on the Turing machines involved). It gives a finer classification of some sets of natural numbers that are at level <math>\Delta^0_1</math> of the arithmetical hierarchy.
Relation to other hierarchies
See also
- Analytical hierarchy
- Lévy hierarchy
- Hierarchy (mathematics)
- Interpretability logic
- Polynomial hierarchy
References
Шаблон:Reflist Шаблон:Refbegin
Шаблон:- Шаблон:ComplexityClasses
- ↑ P. G. Hinman, Recursion-Theoretic Hierarchies (p.89), Perspectives in Logic, 1978. Springer-Verlag Berlin Heidelberg, ISBN 3-540-07904-1.
- Английская Википедия
- Страницы с неработающими файловыми ссылками
- Mathematical logic hierarchies
- Computability theory
- Effective descriptive set theory
- Hierarchy
- Complexity classes
- Страницы, где используется шаблон "Навигационная таблица/Телепорт"
- Страницы с телепортом
- Википедия
- Статья из Википедии
- Статья из Английской Википедии