# Infinity-Borel set

In set theory, a subset of a Polish space $X$ is ∞-Borel if it can be obtained by starting with the open subsets of $X$, and transfinitely iterating the operations of complementation and well-ordered union. This concept is usually considered without the assumption of the axiom of choice, which means that the ∞-Borel sets may fail to be closed under well-ordered union; see below.

## Formal definition

We define the set of ∞-Borel codes $C$ and the interpretation function $\left\|-\right\|:C\to {\mathcal {P}}(X)$ below. A ∞-Borel set is a subset of $X$ which is in the image of the interpretation function $\left\|-\right\|$.
The set of ∞-Borel codes is an inductive type $C$ generated by functions ${\mathtt {open}}:{\mathcal {O}}(X)\to C$, ${\mathtt {comp}}:C\to C$ and ${\mathtt {union}}_{\alpha }:C^{\alpha }\to C$ for each $\alpha <\Xi$; the interpretation function is defined inductively as $\left\|{\mathtt {open}}(U)\right\|=U$, $\left\|{\mathtt {comp}}(c)\right\|=X\setminus \left\|c\right\|$ and $\left\|{\mathtt {union}}_{\alpha }({\vec {c}})\right\|=\cup _{\beta <\alpha }\left\|c_{\beta }\right\|$. Here $\Xi$ denotes the Hartogs number of ${\mathcal {P}}(X)$: a sufficiently large ordinal such that there is no injection from $\Xi$ to ${\mathcal {P}}(X)$. Restricting to unions of length below $\Xi$ doesn't affect the possible unions (as any union of length $\geq \Xi$ can be replaced by one of length $<\Xi$ by removing duplicates), but ensures that the ∞-Borel codes form a set, not a proper class.
This can be phrased more set-theoretically as a definition by transfinite recursion as follows:
* For every open subset $U\subseteq X$, the ordered pair $\left\langle 0,U\right\rangle$ is an ∞-Borel code; its interpretation is $U$.
* If $c$ is an ∞-Borel code, then the ordered pair $\left\langle 1,c\right\rangle$ is also an ∞-Borel code; its interpretation is the complement of $\left\|c\right\|$, that is, $X\setminus \left\|c\right\|$.
* If ${\vec {c}}$ is a length-α sequence of ∞-Borel codes for some ordinal α < Ξ (that is, if for every β<α, $c_{\beta }$ is an ∞-Borel code), then the ordered pair $\left\langle 2,{\vec {c}}\right\rangle$ is an ∞-Borel code; its interpretation is $\bigcup _{\beta <\alpha }\left\|c_{\beta }\right\|$.
The axiom of choice implies that every set can be well-ordered, and therefore that every subset of every Polish space is ∞-Borel. Therefore, the notion is interesting only in contexts where the axiom of choice does not hold (or is not known to hold). Unfortunately, without the axiom of choice, it is not clear that the ∞-Borel sets are closed under well-ordered union. This is because, given a well-ordered union of ∞-Borel sets, each of the individual sets may have many ∞-Borel codes, and there may be no way to choose one code for each of the sets, with which to form the code for the union.
The assumption that every set of reals is ∞-Borel is part of AD$^+$, an extension of the axiom of determinacy studied by Woodin.

## Incorrect definition

It is very tempting to read the informal description at the top of this article as claiming that the ∞-Borel sets are the smallest class of subsets of $X$ containing all the open sets and closed under complementation and well-ordered union. That is, one might wish to dispense with the ∞-Borel codes altogether and try a definition like this:
    For each ordinal α define by transfinite recursion B$_α$ as follows:
   * B$_0$ is the collection of all open subsets of $X$.
   * For a given even ordinal α, B$_{α+1}$ is the union of B$_α$ with the set of all complements of sets in B$_α$.
   * For a given even ordinal α, B$_{α+2}$ is the set of all well-ordered unions of sets in B$_{α+1}$.
   * For a given limit ordinal λ, B$_λ$ is the union of all B$_α$ for α<λ
    B$_β$ equals B$_Ξ$ for every β>Ξ; B$_Ξ$ would then be the collection of "∞-Borel sets".
This set is manifestly closed under well-ordered unions, but without the axiom of choice it cannot be proved equal to the ∞-Borel sets (as defined in the previous section). Specifically, this set may contain unions of sequences ${\vec {b}}$ of ∞-Borel sets for which it is not possible to choose a code for each $b_{\beta }$; it is the closure of the ∞-Borel sets under all well-ordered unions (and complements), even those for which a choice of codes cannot be made.

## Alternative characterization

For subsets of Baire space or Cantor space, there is a more concise (if less transparent) alternative definition, which turns out to be equivalent. A subset A of Baire space is ∞-Borel just in case there is a set of ordinals S and a first-order formula φ of the language of set theory such that, for every x in Baire space,
    $x\in A\iff L[S,x]\models \phi (S,x)$
where L[S,x] is Gödel's constructible universe relativized to S and x. When using this definition, the ∞-Borel code is made up of the set S and the formula φ, taken together.