Skip to content
ConceptModern European

Arithmetical hierarchy

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.

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).

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 Σn0 and Πn0 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 ϕ is logically equivalent to a formula in which all quantifiers are bounded then ϕ is assigned the classifications Σ00 and Π00.

The classifications Σn0 and Πn0 are defined inductively for every natural number n using the following rules:

If ϕ is logically equivalent to a formula of the form ∃m1∃m2⋯∃mkψ, where ψ is Πn0, then ϕ is assigned the classification Σn+10.

If ϕ is logically equivalent to a formula of the form ∀m1∀m2⋯∀mkψ, where ψ is Σn0, then ϕ is assigned the classification Πn+10.

A Σn0 formula is equivalent to a formula that begins with some existential quantifiers and alternates n−1 times between series of existential and universal quantifiers; while a Πn0 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 Σn0 or Πn0 it will be assigned the classifications Σm0 and Πm0 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.

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,

n∈X⇔ℕ⊨φ(n_),

where n_ is the numeral in the language of arithmetic corresponding to n. 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 Σn0, Πn0, and Δn0, where n is a natural number, as follows. If X is definable by a Σn0 formula then X is assigned the classification Σn0. If X is definable by a Πn0 formula then X is assigned the classification Πn0. If X is both Σn0 and Πn0 then X is assigned the additional classification Δn0.

It rarely makes sense to speak of Δn0 formulas; the first quantifier of a formula is either existential or universal. So a Δn0 set is not necessarily defined by a Δn0 formula in the sense of a formula that is both Σn0 and Πn0; rather, there are both Σn0 and Πn0 formulas that define the set. For example, the set of odd natural numbers n is definable by either ∀k(n≠2×k) or ∃k(n=2×k+1).

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 first-order 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.

Meaning of the notation

The following meanings can be attached to the notation for the arithmetical hierarchy on formulas.

The subscript n in the symbols Σn0 and Πn0 indicates the number of alternations of blocks of universal and existential first-order quantifiers that are used in a formula. Moreover, the outermost block is existential in Σn0 formulas and universal in Πn0 formulas.

The superscript 0 in the symbols Σn0, Πn0, and Δn0 indicates the type of the objects being quantified over. Type 0 objects are natural numbers, and objects of type i+1 are functions that map the set of objects of type i 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 Σ10 sets of numbers are those definable by a formula of the form ∃n1⋯∃nkψ(n1,…,nk,m) where ψ 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 Π20. Intuitively, an index e falls into this set if and only if for every m "there is an s such that the Turing machine with index e halts on input m after s 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 Σ10 formula.

Every Σ10 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, Σ10 sets are sometimes called effectively open. Similarly, every Π10 set is closed and the Π10 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 Π20 subset of Cantor or Baire space is a Gδ set, that is, a set that equals the intersection of countably many open sets. Moreover, each of these open sets is Σ10 and the list of Gödel numbers of these open sets has a computable enumeration. If ϕ(X,n,m) is a Σ00 formula with a free set variable X and free number variables n,m then the Π20 set {X∣∀n∃mϕ(X,n,m)} is the intersection of the Σ10 sets of the form {X∣∃mϕ(X,n,m)} as n ranges over the set of natural numbers.

The Σ00=Π00=Δ00 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 n for φ(n)); thus their corresponding decision problems are included in E (as n is exponential in its number of bits). This no longer holds under alternative definitions of Σ00=Π00=Δ00 that allow the use of primitive recursive functions, as now the quantifiers may be bounded by any primitive recursive function of the arguments.

The Σ00=Π00=Δ00 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 {n:f(n)=0} for a primitive recursive function f. This is because allowing bounded quantifier adds nothing to the definition: for a primitive recursive f, ∀k<n:f(k)=0 is the same as f(0)+f(1)+...+f(n−1)=0, and ∃k<n:f(k)=0 is the same as f(0)⋅f(1)⋅…⋅f(n−1)=0; with course-of-values recursion each of these can be defined by a single primitive recursive 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 Σn0, Δn0 or Πn0 in Y, denoted respectively Σn0,Y, Δn0,Y and Πn0,Y. 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 Σn0,Y if it is defined by a Σn0 formula in this expanded language. In other words, X is Σn0,Y if it is defined by a Σn0 formula allowed to ask questions about membership of Y. Alternatively one can view the Σn0,Y 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.

Continue reading the full article on Wikipedia

Adapted from the Wikipedia article Arithmetical hierarchy, available under CC BY-SA 4.0.

Connections

You might also explore