# Analytical hierarchy

In mathematical logic and descriptive set theory, the analytical hierarchy is an extension of the arithmetical hierarchy. The analytical hierarchy of formulas includes formulas in the language of second-order arithmetic, which can have quantifiers over both the set of natural numbers, $\mathbb {N}$, and over functions from $\mathbb {N}$ to $\mathbb {N}$. The analytical hierarchy of sets classifies sets by the formulas that can be used to define them; it is the lightface version of the projective hierarchy.

## The analytical hierarchy of formulas

The notation $\Sigma _{0}^{1}=\Pi _{0}^{1}=\Delta _{0}^{1}$ indicates the class of formulas in the language of second-order arithmetic with number quantifiers but no set quantifiers. This language does not contain set parameters. The Greek letters here are lightface symbols, indicating the language choice. Each corresponding boldface symbol denotes the corresponding class of formulas in the extended language with a parameter for each real; see projective hierarchy for details.
A formula in the language of second-order arithmetic is defined to be $\Sigma _{n+1}^{1}$ if it is logically equivalent to a formula of the form $\exists X_{1}\cdots \exists X_{k}\psi$ where $\psi$ is $\Pi _{n}^{1}$. A formula is defined to be $\Pi _{n+1}^{1}$ if it is logically equivalent to a formula of the form $\forall X_{1}\cdots \forall X_{k}\psi$ where $\psi$ is $\Sigma _{n}^{1}$. This inductive definition defines the classes $\Sigma _{n}^{1}$ and $\Pi _{n}^{1}$ for every natural number $n$.
Kuratowski and Tarski showed in 1931 that every formula in the language of second-order arithmetic has a prenex normal form, and therefore is $\Sigma _{n}^{1}$ or $\Pi _{n}^{1}$ for some $n$. Because meaningless quantifiers can be added to any formula, once a formula is given the classification $\Sigma _{n}^{1}$ or $\Pi _{n}^{1}$ for some $n$ it will be given the classifications $\Sigma _{m}^{1}$ and $\Pi _{m}^{1}$ for all $m$ greater than $n$.

## The analytical hierarchy of sets of natural numbers

A set of natural numbers is assigned the classification $\Sigma _{n}^{1}$ if it is definable by a $\Sigma _{n}^{1}$ formula (with one free number variable and no free set variables). The set is assigned the classification $\Pi _{n}^{1}$ if it is definable by a $\Pi _{n}^{1}$ formula. If the set is both $\Sigma _{n}^{1}$ and $\Pi _{n}^{1}$ then it is given the additional classification $\Delta _{n}^{1}$.
The $\Delta _{1}^{1}$ sets are called hyperarithmetical. An alternate classification of these sets by way of iterated computable functionals is provided by the hyperarithmetical theory.

## The analytical hierarchy on subsets of Cantor and Baire space

The analytical hierarchy can be defined on any effective Polish space; the definition is particularly simple for Cantor and Baire space because they fit with the language of ordinary second-order arithmetic. Cantor space is the set of all infinite sequences of 0s and 1s; Baire space is the set of all infinite sequences of natural numbers. These are both Polish spaces.
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 $\Sigma _{n}^{1}$ if it is definable by a $\Sigma _{n}^{1}$ formula (with one free set variable and no free number variables). The set is assigned the classification $\Pi _{n}^{1}$ if it is definable by a $\Pi _{n}^{1}$ formula. If the set is both $\Sigma _{n}^{1}$ and $\Pi _{n}^{1}$ then it is given the additional classification $\Delta _{n}^{1}$.
A subset of Baire space has a corresponding subset of Cantor space under the map that takes each function from $\omega$ to $\omega$ to the characteristic function of its graph. A subset of Baire space is given the classification $\Sigma _{n}^{1}$, $\Pi _{n}^{1}$, or $\Delta _{n}^{1}$ 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.
Because Cantor space is homeomorphic to any finite Cartesian power of itself, and Baire space is homeomorphic to any finite Cartesian power of itself, the analytical hierarchy applies equally well to finite Cartesian powers of one of these spaces. A similar extension is possible for countable powers and to products of powers of Cantor space and powers of Baire space.

## Extensions

As is the case with the arithmetical hierarchy, a relativized version of the analytical hierarchy can be defined. The language is extended to add a constant set symbol A. A formula in the extended language is inductively defined to be $\Sigma _{n}^{1,A}$ or $\Pi _{n}^{1,A}$ using the same inductive definition as above. Given a set $Y$, a set is defined to be $\Sigma _{n}^{1,Y}$ if it is definable by a $\Sigma _{n}^{1,A}$ formula in which the symbol $A$ is interpreted as $Y$; similar definitions for $\Pi _{n}^{1,Y}$ and $\Delta _{n}^{1,Y}$ apply. The sets that are $\Sigma _{n}^{1,Y}$ or $\Pi _{n}^{1,Y}$, for any parameter Y, are classified in the projective hierarchy, and often denoted by boldface Greek letters to indicate the use of parameters.

## Examples

* For a relation $\prec$ on $\mathbb {N} ^{2}$, the statement "$\prec$ is a well-order on $\mathbb {N}$" is $\Pi _{1}^{1}$. (Not to be confused with the general case for well-founded relations on sets, see Lévy hierarchy)
* The set of all natural numbers that are indices of computable ordinals is a $\Pi _{1}^{1}$ set that is not $\Sigma _{1}^{1}$.
** These sets are exactly the $\omega _{1}^{CK}$-recursively-enumerable subsets of $\omega$. [Bar75, p. 168]
* A function $f:\mathbb {N} \to \mathbb {N}$ is definable by Herbrand's 1931 formalism of systems of equations if and only if $f$ is hyperarithmetical.
* The set of continuous functions $f:[0,1]\to \mathbb { 0,1]$ that have the mean value property is no lower than $\Delta _{2}^{1}$ on the hierarchy.
* The set of elements of Cantor space that are the characteristic functions of well orderings of $\omega$ is a $\Pi _{1}^{1}$ set that is not $\Sigma _{1}^{1}$. In fact, this set is not $\Sigma _{1}^{1,Y}$ for any element $Y$ of Baire space.
* If the axiom of constructibility holds then there is a subset of the product of the Baire space with itself that is $\Delta _{2}^{1}$ and is the graph of a well ordering of Baire space. If the axiom holds then there is also a $\Delta _{2}^{1}$ well ordering of Cantor space.

## Properties

For each $n$ we have the following strict containments:
    $\Pi _{n}^{1}\subset \Sigma _{n+1}^{1}$,
    $\Pi _{n}^{1}\subset \Pi _{n+1}^{1}$,
    $\Sigma _{n}^{1}\subset \Pi _{n+1}^{1}$,
    $\Sigma _{n}^{1}\subset \Sigma _{n+1}^{1}$.
A set that is in $\Sigma _{n}^{1}$ for some n is said to be analytical. Care is required to distinguish this usage from the term analytic set, which has a different meaning, namely ${\boldsymbol {\Sigma }}_{1}^{1}$.

## Table

* view
* talk
| Lightface | Lightface | Boldface | Boldface |
| Σ$^0$ $_0$ = Π$^0$ $_0$ = Δ$^0$ $_0$ (sometimes the same as Δ$^0$ $_1$) | Σ$^0$ $_0$ = Π$^0$ $_0$ = Δ$^0$ $_0$ (sometimes the same as Δ$^0$ $_1$) | Σ$^0$ $_0$ = Π$^0$ $_0$ = Δ$^0$ $_0$ (if defined) | Σ$^0$ $_0$ = Π$^0$ $_0$ = Δ$^0$ $_0$ (if defined) |
| Δ$^0$ $_1$ = recursive | Δ$^0$ $_1$ = recursive | Δ$^0$ $_1$ = clopen | Δ$^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$ | Π$^0$ $_2$ | Σ$^0$ $_2$ = F$_σ$ | Π$^0$ $_2$ = G$_δ$ |
| Δ$^0$ $_3$ | Δ$^0$ $_3$ | Δ$^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$ = arithmetical | Σ$^0$ $_{<ω}$ = Π$^0$ $_{<ω}$ = Δ$^0$ $_{<ω}$ = Σ$^1$ $_0$ = Π$^1$ $_0$ = Δ$^1$ $_0$ = boldface arithmetical | Σ$^0$ $_{<ω}$ = Π$^0$ $_{<ω}$ = Δ$^0$ $_{<ω}$ = Σ$^1$ $_0$ = Π$^1$ $_0$ = Δ$^1$ $_0$ = boldface arithmetical |
| Δ$^0$ $_α$ (α recursive) | Δ$^0$ $_α$ (α recursive) | Δ$^0$ $_α$ (α countable) | Δ$^0$ $_α$ (α countable) |
| Σ$^0$ $_α$ | Π$^0$ $_α$ | Σ$^0$ $_α$ | Π$^0$ $_α$ |
| Σ$^0$ $_{ωCK1}$ = Π$^0$ $_{ωCK1}$ = Δ$^0$ $_{ωCK1}$ = Δ$^1$ $_1$ = hyperarithmetical | Σ$^0$ $_{ωCK1}$ = Π$^0$ $_{ωCK1}$ = Δ$^0$ $_{ωCK1}$ = Δ$^1$ $_1$ = hyperarithmetical | Σ$^0$ $_{ω1}$ = Π$^0$ $_{ω1}$ = Δ$^0$ $_{ω1}$ = Δ$^1$ $_1$ = B = Borel | Σ$^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$ | Π$^1$ $_2$ | Σ$^1$ $_2$ = PCA | Π$^1$ $_2$ = CPCA |
| Δ$^1$ $_3$ | Δ$^1$ $_3$ | Δ$^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$ = analytical | Σ$^1$ $_{<ω}$ = Π$^1$ $_{<ω}$ = Δ$^1$ $_{<ω}$ = Σ$^2$ $_0$ = Π$^2$ $_0$ = Δ$^2$ $_0$ = P = projective | Σ$^1$ $_{<ω}$ = Π$^1$ $_{<ω}$ = Δ$^1$ $_{<ω}$ = Σ$^2$ $_0$ = Π$^2$ $_0$ = Δ$^2$ $_0$ = P = projective |