# Borel hierarchy

In mathematical logic, the Borel hierarchy is a stratification of the Borel algebra generated by the open subsets of a Polish space; elements of this algebra are called Borel sets. Each Borel set is assigned a unique countable ordinal number called the rank of the Borel set. The Borel hierarchy is of particular interest in descriptive set theory.
One common use of the Borel hierarchy is to prove facts about the Borel sets using transfinite induction on rank. Properties of sets of small finite ranks are important in measure theory and analysis.

## Borel sets

The Borel algebra in an arbitrary topological space is the smallest collection of subsets of the space that contains the open sets and is closed under countable unions and complementation. It can be shown that the Borel algebra is closed under countable intersections as well.
A short proof that the Borel algebra is well-defined proceeds by showing that the entire powerset of the space is closed under complements and countable unions, and thus the Borel algebra is the intersection of all families of subsets of the space that have these closure properties. This proof does not give a simple procedure for determining whether a set is Borel. A motivation for the Borel hierarchy is to provide a more explicit characterization of the Borel sets.

## Boldface Borel hierarchy

The Borel hierarchy or boldface Borel hierarchy on a space X consists of classes $\mathbf {\Sigma } _{\alpha }^{0}$, $\mathbf {\Pi } _{\alpha }^{0}$, and $\mathbf {\Delta } _{\alpha }^{0}$ for every countable ordinal $\alpha$ greater than zero. Each of these classes consists of subsets of X. The classes are defined inductively from the following rules:
* A set is in $\mathbf {\Sigma } _{1}^{0}$ if and only if it is open.
* A set is in $\mathbf {\Pi } _{\alpha }^{0}$ if and only if its complement is in $\mathbf {\Sigma } _{\alpha }^{0}$.
* A set $A$ is in $\mathbf {\Sigma } _{\alpha }^{0}$ for $\alpha >1$ if and only if there is a sequence of sets $A_{1},A_{2},\ldots$ such that each $A_{i}$ is in $\mathbf {\Pi } _{\alpha _{i}}^{0}$ for some $\alpha _{i}<\alpha$ and $A=\bigcup A_{i}$.
* A set is in $\mathbf {\Delta } _{\alpha }^{0}$ if and only if it is both in $\mathbf {\Sigma } _{\alpha }^{0}$ and in $\mathbf {\Pi } _{\alpha }^{0}$.
The motivation for the hierarchy is to follow the way in which a Borel set could be constructed from open sets using complementation and countable unions. A Borel set is said to have finite rank if it is in $\mathbf {\Sigma } _{\alpha }^{0}$ for some finite ordinal $\alpha$; otherwise it has infinite rank.
If $\mathbf {\Sigma } _{1}^{0}\subseteq \mathbf {\Sigma } _{2}^{0}$ then the hierarchy can be shown to have the following properties:
* For every α, $\mathbf {\Sigma } _{\alpha }^{0}\cup \mathbf {\Pi } _{\alpha }^{0}\subseteq \mathbf {\Delta } _{\alpha +1}^{0}$. Thus, once a set is in $\mathbf {\Sigma } _{\alpha }^{0}$ or $\mathbf {\Pi } _{\alpha }^{0}$, that set will be in all classes in the hierarchy corresponding to ordinals greater than α
* $\bigcup _{\alpha <\omega _{1}}\mathbf {\Sigma } _{\alpha }^{0}=\bigcup _{\alpha <\omega _{1}}\mathbf {\Pi } _{\alpha }^{0}=\bigcup _{\alpha <\omega _{1}}\mathbf {\Delta } _{\alpha }^{0}$. Moreover, a set is in this union if and only if it is Borel.
* If $X$ is an uncountable Polish space, it can be shown that $\mathbf {\Sigma } _{\alpha }^{0}$ is not contained in $\mathbf {\Pi } _{\alpha }^{0}$ for any $\alpha <\omega _{1}$, and thus the hierarchy does not collapse.

### Borel sets of small rank

The classes of small rank are known by alternate names in classical descriptive set theory.
* The $\mathbf {\Sigma } _{1}^{0}$ sets are the open sets. The $\mathbf {\Pi } _{1}^{0}$ sets are the closed sets.
* The $\mathbf {\Sigma } _{2}^{0}$ sets are countable unions of closed sets, and are called F$_σ$ sets. The $\mathbf {\Pi } _{2}^{0}$ sets are the dual class, and can be written as a countable intersection of open sets. These sets are called G$_δ$ sets.

## Lightface hierarchy

The lightface Borel hierarchy (also called the effective Borel hierarchy$^{pp.163--164}$) is an effective version of the boldface Borel hierarchy. It is important in effective descriptive set theory and recursion theory. The lightface Borel hierarchy extends the arithmetical hierarchy of subsets of an effective Polish space. It is closely related to the hyperarithmetical hierarchy.
The lightface Borel hierarchy can be defined on any effective Polish space. It consists of classes $\Sigma _{\alpha }^{0}$, $\Pi _{\alpha }^{0}$ and $\Delta _{\alpha }^{0}$ for each nonzero countable ordinal $\alpha$ less than the Church–Kleene ordinal $\omega _{1}^{\mathrm {CK} }$. Each class consists of subsets of the space. The classes, and codes for elements of the classes, are inductively defined as follows:
* A set is $\Sigma _{1}^{0}$ if and only if it is effectively open, that is, an open set which is the union of a computably enumerable sequence of basic open sets. A code for such a set is a pair (0,e), where e is the index of a program enumerating the sequence of basic open sets.
* A set is $\Pi _{\alpha }^{0}$ if and only if its complement is $\Sigma _{\alpha }^{0}$. A code for one of these sets is a pair (1,c) where c is a code for the complementary set.
* A set is $\Sigma _{\alpha }^{0}$ if there is a computably enumerable sequence of codes for a sequence $A_{1},A_{2},\ldots$ of sets such that each $A_{i}$ is $\Pi _{\alpha _{i}}^{0}$ for some $\alpha _{i}<\alpha$ and $A=\bigcup A_{i}$. A code for a $\Sigma _{\alpha }^{0}$ set is a pair (2,e), where e is an index of a program enumerating the codes of the sequence $A_{i}$.
A code for a lightface Borel set gives complete information about how to recover the set from sets of smaller rank. This contrasts with the boldface hierarchy, where no such effectivity is required. Each lightface Borel set has infinitely many distinct codes. Other coding systems are possible; the crucial idea is that a code must effectively distinguish between effectively open sets, complements of sets represented by previous codes, and computable enumerations of sequences of codes.
It can be shown that for each $\alpha <\omega _{1}^{\mathrm {CK} }$ there are sets in $\Sigma _{\alpha }^{0}\setminus \Pi _{\alpha }^{0}$, and thus the hierarchy does not collapse. No new sets would be added at stage $\omega _{1}^{\mathrm {CK} }$, however.
A famous theorem due to Spector and Kleene states that a set is in the lightface Borel hierarchy if and only if it is at level $\Delta _{1}^{1}$ of the analytical hierarchy. These sets are also called hyperarithmetic. Additionally, for all natural numbers $n>0$, the classes $\Sigma _{n}^{0}$ and $\Pi _{n}^{0}$ of the effective Borel hierarchy are the same as the classes $\Sigma _{n}^{0}$ and $\Pi _{n}^{0}$ of the arithmetical hierarchy of the same name.$^{p.168}$
The code for a lightface Borel set A can be used to inductively define a tree whose nodes are labeled by codes. The root of the tree is labeled by the code for A. If a node is labeled by a code of the form (1,c) then it has a child node whose code is c. If a node is labeled by a code of the form (2,e) then it has one child for each code enumerated by the program with index e. If a node is labeled with a code of the form (0,e) then it has no children. This tree describes how A is built from sets of smaller rank. The ordinals used in the construction of A ensure that this tree has no infinite path, because any infinite path through the tree would have to include infinitely many codes starting with 2, and thus would give an infinite decreasing sequence of ordinals. Conversely, if an arbitrary subtree of $\omega ^{<\omega }\,$ has its nodes labeled by codes in a consistent way, and the tree has no infinite paths, then the code at the root of the tree is a code for a lightface Borel set. The rank of this set is bounded by the order type of the tree in the Kleene–Brouwer order. Because the tree is arithmetically definable, this rank must be less than $\omega _{1}^{\mathrm {CK} }$. This is the origin of the Church–Kleene ordinal in the definition of the lightface hierarchy.

## Relation to other hierarchies

* 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 |