![]() | This article includes alist of references,related reading, orexternal links,but its sources remain unclear because it lacksinline citations. Please helpimprove this article byintroducing more precise citations.(June 2021) (Learn how and when to remove this message) |
Inmathematical logic, thearithmetical hierarchy,arithmetic hierarchy orKleene–Mostowski hierarchy (after mathematiciansStephen Cole Kleene andAndrzej Mostowski) classifies certainsets based on the complexity offormulas thatdefine them. Any set that receives a classification is calledarithmetical. The arithmetical hierarchy was invented independently by Kleene (1943) and Mostowski (1946).[1]
The arithmetical hierarchy is important incomputability theory,effective descriptive set theory, and the study offormal theories such asPeano arithmetic.
TheTarski–Kuratowski algorithm provides an easy way to get an upper bound on the classifications assigned to a formula and the set it defines.
Thehyperarithmetical hierarchy and theanalytical hierarchy extend the arithmetical hierarchy to classify additional formulas and sets.
The arithmetical hierarchy assigns classifications to the formulas in the language offirst-order arithmetic. The classifications are denoted and fornatural numbersn (including 0). The Greek letters here arelightface symbols, which indicates that the formulas do not containset parameters.[clarification needed]
If a formula islogically equivalent to a formula having no unbounded quantifiers, i.e. in which all quantifiers arebounded quantifiers then is assigned the classifications and.
The classifications and are defined inductively for every natural numbern using the following rules:
A formula is equivalent to a formula that begins with someexistential quantifiers and alternates times between series of existential anduniversal quantifiers; while a formula is equivalent to a formula that begins with some universal quantifiers and alternates analogously.
Because every first-order formula has aprenex 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 or it will be assigned the classifications and for everym >n. The only relevant classification assigned to a formula is thus the one with the leastn; all the other classifications can be determined from it.
A setX of natural numbers is defined by a formulaφ in the language ofPeano 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 ofX are exactly the numbers that satisfyφ. That is, for all natural numbersn,
where is the numeral in the language of arithmetic corresponding to. A set is definable in first-order arithmetic if it is defined by some formula in the language of Peano arithmetic.
Each setX of natural numbers that is definable in first-order arithmetic is assigned classifications of the form,, and, where is a natural number, as follows. IfX is definable by a formula thenX is assigned the classification. IfX is definable by a formula thenX is assigned the classification. IfX is both and then is assigned the additional classification.
Note that it rarely makes sense to speak of formulas; the first quantifier of a formula is either existential or universal. So a set is not necessarily defined by a formula in the sense of a formula that is both and; rather, there are both and formulas that define the set. For example, the set of odd natural numbers is definable by either or.
A parallel definition is used to define the arithmetical hierarchy on finiteCartesian powers of the set of natural numbers. Instead of formulas with one free variable, formulas withk free first-order variables are used to define the arithmetical hierarchy on sets ofk-tuples of natural numbers. These are in fact related by the use of apairing function.
The following meanings can be attached to the notation for the arithmetical hierarchy on formulas.
The subscript in the symbols and 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 formulas and universal in formulas.
The superscript in the symbols,, and indicates the type of the objects being quantified over. Type 0 objects are natural numbers, and objects of type are functions that map the set of objects of type 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 theanalytical 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.
Just as we can define what it means for a setX to berecursive relative to another setY by allowing the computation definingX to consultY as anoracle we can extend this notion to the whole arithmetic hierarchy and define what it means forX to be, or inY, denoted respectively, and. To do so, fix a set of natural numbersY and add apredicate for membership ofY to the language of Peano arithmetic. We then say thatX is in if it is defined by a formula in this expanded language. In other words,X is if it is defined by a formula allowed to ask questions about membership ofY. Alternatively one can view the sets as those sets that can be built starting with sets recursive inY and alternately takingunions andintersections of these sets up ton times.
For example, letY be a set of natural numbers. LetX be the set of numbersdivisible by an element ofY. ThenX is defined by the formula soX is in (actually it is in as well, since we could bound both quantifiers byn).
Arithmetical reducibility is an intermediate notion betweenTuring reducibility andhyperarithmetic reducibility.
A set isarithmetical (alsoarithmetic andarithmetically definable) if it is defined by some formula in the language of Peano arithmetic. EquivalentlyX is arithmetical ifX is or for some natural numbern. A setXis arithmetical in a setY, denoted, ifX is definable as some formula in the language of Peano arithmetic extended by a predicate for membership ofY. Equivalently,X is arithmetical inY ifX is in or for some natural numbern. A synonym for is:X isarithmetically reducible toY.
The relation isreflexive andtransitive, and thus the relation defined by the rule
is anequivalence relation. Theequivalence classes of this relation are called thearithmetic degrees; they arepartially ordered under.
TheCantor space, denoted, is the set of all infinite sequences of 0s and 1s; theBaire space, denoted or, 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 ofsecond-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 if it is definable by a formula. The set is assigned the classification if it is definable by a formula. If the set is both and then it is given the additional classification. For example, let be the set of all infinite binary strings that aren't all 0 (or equivalently the set of all non-empty sets of natural numbers). As we see that is defined by a formula and hence is a 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 elements of the Cantor space are not (in general) the same as the elements of the Cantor space so that is a 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 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 anyeffective 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 is just the union of for all sets of natural numbersY. Note that the boldface hierarchy is just the standard hierarchy ofBorel sets.
It is possible to define the arithmetical hierarchy of formulas using a language extended with a function symbol for eachprimitive recursive function. This variation slightly changes the classification of, sinceusing primitive recursive functions in first-order Peano arithmetic requires, in general, an unbounded existential quantifier, and thus some sets that are in by this definition are strictly in by the definition given in the beginning of this article. The class 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. The classifications and are defined inductively with the following rules.
This variation slightly changes the classification of some sets. In particular,, as a class of sets (definable by the relations in the class), is identical to as the latter was formerly defined. It can be extended to cover finitary relations on the natural numbers, Baire space, and Cantor space.
The following properties hold for the arithmetical hierarchy of sets of natural numbers and the arithmetical hierarchy of subsets of Cantor or Baire space.
IfS is aTuring computable set, then bothS and itscomplement are recursively enumerable (ifT is a Turing machine giving 1 for inputs inS and 0 otherwise, we may build a Turing machine halting only on the former, and another halting only on the latter).
ByPost's theorem, bothS and its complement are in. This means thatS is both in and in, and hence it is in.
Similarly, for every setS in, bothS and its complement are in and are therefore (byPost's theorem) recursively enumerable by some Turing machinesT1 andT2, respectively. For every numbern, exactly one of these halts. We may therefore construct a Turing machineT that alternates betweenT1 andT2, halting and returning 1 when the former halts or halting and returning 0 when the latter halts. ThusT halts on everyn and returns whether it is inS; soS is computable.
The Turing computable sets of natural numbers are exactly the sets at level of the arithmetical hierarchy. The recursively enumerable sets are exactly the sets at level.
Nooracle machine is capable of solving its ownhalting problem (a variation of Turing's proof applies). The halting problem for a oracle in fact sits in.
Post's theorem establishes a close connection between the arithmetical hierarchy of sets of natural numbers and theTuring degrees. In particular, it establishes the following facts for alln ≥ 1:
Thepolynomial 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 of the arithmetical hierarchy.
Lightface | Boldface | ||
---|---|---|---|
Σ0 0 = Π0 0 = Δ0 0 (sometimes the same as Δ0 1) | Σ0 0 =Π0 0 =Δ0 0 (if defined) | ||
Δ0 1 =recursive | Δ0 1 =clopen | ||
Σ0 1 =recursively enumerable | Π0 1 = co-recursively enumerable | Σ0 1 =G =open | Π0 1 =F =closed |
Δ0 2 | Δ0 2 | ||
Σ0 2 | Π0 2 | Σ0 2 =Fσ | Π0 2 =Gδ |
Δ0 3 | Δ0 3 | ||
Σ0 3 | Π0 3 | Σ0 3 =Gδσ | Π0 3 =Fσδ |
⋮ | ⋮ | ||
Σ0 <ω = Π0 <ω = Δ0 <ω = Σ1 0 = Π1 0 = Δ1 0 =arithmetical | Σ0 <ω =Π0 <ω =Δ0 <ω =Σ1 0 =Π1 0 = Δ1 0 = boldface arithmetical | ||
⋮ | ⋮ | ||
Δ0 α (αrecursive) | Δ0 α (αcountable) | ||
Σ0 α | Π0 α | Σ0 α | Π0 α |
⋮ | ⋮ | ||
Σ0 ωCK 1 = Π0 ωCK 1 = Δ0 ωCK 1 = Δ1 1 =hyperarithmetical | Σ0 ω1 =Π0 ω1 =Δ0 ω1 =Δ1 1 =B =Borel | ||
Σ1 1 = lightface analytic | Π1 1 = lightface coanalytic | Σ1 1 = A =analytic | Π1 1 = CA =coanalytic |
Δ1 2 | Δ1 2 | ||
Σ1 2 | Π1 2 | Σ1 2 = PCA | Π1 2 = CPCA |
Δ1 3 | Δ1 3 | ||
Σ1 3 | Π1 3 | Σ1 3 = PCPCA | Π1 3 = CPCPCA |
⋮ | ⋮ | ||
Σ1 <ω = Π1 <ω = Δ1 <ω = Σ2 0 = Π2 0 = Δ2 0 =analytical | Σ1 <ω =Π1 <ω =Δ1 <ω =Σ2 0 =Π2 0 = Δ2 0 =P =projective | ||
⋮ | ⋮ |