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

 Main article: Borel set

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 ${\displaystyle \mathbf {\Sigma } _{\alpha }^{0))$, ${\displaystyle \mathbf {\Pi } _{\alpha }^{0))$, and ${\displaystyle \mathbf {\Delta } _{\alpha }^{0))$ for every countable ordinal ${\displaystyle \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 ${\displaystyle \mathbf {\Sigma } _{1}^{0))$ if and only if it is open.
• A set is in ${\displaystyle \mathbf {\Pi } _{\alpha }^{0))$ if and only if its complement is in ${\displaystyle \mathbf {\Sigma } _{\alpha }^{0))$.
• A set ${\displaystyle A}$ is in ${\displaystyle \mathbf {\Sigma } _{\alpha }^{0))$ for ${\displaystyle \alpha >1}$ if and only if there is a sequence of sets ${\displaystyle A_{1},A_{2},\ldots }$ such that each ${\displaystyle A_{i))$ is in ${\displaystyle \mathbf {\Pi } _{\alpha _{i))^{0))$ for some ${\displaystyle \alpha _{i}<\alpha }$ and ${\displaystyle A=\bigcup A_{i))$.
• A set is in ${\displaystyle \mathbf {\Delta } _{\alpha }^{0))$ if and only if it is both in ${\displaystyle \mathbf {\Sigma } _{\alpha }^{0))$ and in ${\displaystyle \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 ${\displaystyle \mathbf {\Sigma } _{\alpha }^{0))$ for some finite ordinal ${\displaystyle \alpha }$; otherwise it has infinite rank.

If ${\displaystyle \mathbf {\Sigma } _{1}^{0}\subseteq \mathbf {\Sigma } _{2}^{0))$ then the hierarchy can be shown to have the following properties:

• For every α, ${\displaystyle \mathbf {\Sigma } _{\alpha }^{0}\cup \mathbf {\Pi } _{\alpha }^{0}\subseteq \mathbf {\Delta } _{\alpha +1}^{0))$. Thus, once a set is in ${\displaystyle \mathbf {\Sigma } _{\alpha }^{0))$ or ${\displaystyle \mathbf {\Pi } _{\alpha }^{0))$, that set will be in all classes in the hierarchy corresponding to ordinals greater than α
• ${\displaystyle \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 ${\displaystyle X}$ is an uncountable Polish space, it can be shown that ${\displaystyle \mathbf {\Sigma } _{\alpha }^{0))$ is not contained in ${\displaystyle \mathbf {\Pi } _{\alpha }^{0))$ for any ${\displaystyle \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 ${\displaystyle \mathbf {\Sigma } _{1}^{0))$ sets are the open sets. The ${\displaystyle \mathbf {\Pi } _{1}^{0))$ sets are the closed sets.
• The ${\displaystyle \mathbf {\Sigma } _{2}^{0))$ sets are countable unions of closed sets, and are called Fσ sets. The ${\displaystyle \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[1]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 ${\displaystyle \Sigma _{\alpha }^{0))$, ${\displaystyle \Pi _{\alpha }^{0))$ and ${\displaystyle \Delta _{\alpha }^{0))$ for each nonzero countable ordinal ${\displaystyle \alpha }$ less than the Church–Kleene ordinal ${\displaystyle \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:[2]

• A set is ${\displaystyle \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 ${\displaystyle \Pi _{\alpha }^{0))$ if and only if its complement is ${\displaystyle \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 ${\displaystyle \Sigma _{\alpha }^{0))$ if there is a computably enumerable sequence of codes for a sequence ${\displaystyle A_{1},A_{2},\ldots }$ of sets such that each ${\displaystyle A_{i))$ is ${\displaystyle \Pi _{\alpha _{i))^{0))$ for some ${\displaystyle \alpha _{i}<\alpha }$ and ${\displaystyle A=\bigcup A_{i))$. A code for a ${\displaystyle \Sigma _{\alpha }^{0))$ set is a pair (2,e), where e is an index of a program enumerating the codes of the sequence ${\displaystyle 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 ${\displaystyle \alpha <\omega _{1}^{\mathrm {CK} ))$ there are sets in ${\displaystyle \Sigma _{\alpha }^{0}\setminus \Pi _{\alpha }^{0))$, and thus the hierarchy does not collapse. No new sets would be added at stage ${\displaystyle \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 ${\displaystyle \Delta _{1}^{1))$ of the analytical hierarchy. These sets are also called hyperarithmetic. Additionally, for all natural numbers ${\displaystyle n>0}$, the classes ${\displaystyle \Sigma _{n}^{0))$ and ${\displaystyle \Pi _{n}^{0))$ of the effective Borel hierarchy are the same as the classes ${\displaystyle \Sigma _{n}^{0))$ and ${\displaystyle \Pi _{n}^{0))$ of the arithmetical hierarchy of the same name.[1]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 ${\displaystyle \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 ${\displaystyle \omega _{1}^{\mathrm {CK} ))$. This is the origin of the Church–Kleene ordinal in the definition of the lightface hierarchy.

## Relation to other hierarchies

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