In this chapter, we take a further look at Borel subsets of . As is common in this setting, we call the elements of reals. This is motivated by the fact that, via the continued fration expansion, is homeomorphic to the set of irrational real numbers. Suppose is open. Then there exists a set such that
Using a standard (effective) coding procedure, we can identify a finite sequence of natural numbers with a natural number, and thus can see as a subset of .
If we provide a Turing machine with oracle , we can semi-effectively test for membership in as follows. Assume we want to determine whether some is in . Write on another oracle tape, and start scanning the oracle. If we retrieve a that coincides with an initial segment of , we know . On the other hand, if , then we will eventually find some in . If , then the search will run forever. In other words, given , is semi-decidable, or, extending terminology from subsets of to subsets of , is recusively enumerable (r.e.) relative to .
Similarly, we can identify a closed set with the code for the tree
Then determining whether is co-r.e. in (the code of) . If we will learn so after a finite amount of time.
These simple observations suggest the following general approach to Borel sets.
- Borel sets can be coded by a single infinite sequence in (or ).
- Given the code, we can recover the Borel set effectively, by means of oracle computations.
- The connection between degrees of unsolvability and definability results in a close correspondence between arithmetical sets () and Borel sets of finite order ().
In this lecture we will fully develop this correspondence. Later, we will see that it even extends beyond the finite level.
Some notation for reals, strings, and numbers¶
We fix a computable bijection . In general, we will often use string and their images under interchangeably, that is, for example, if , we will write to denote . We will also freely identify infinite binary sequences with the set of natural numbers they represent as their characteristic function.
Furthermore, let be the standard coding function for pairs,
Finally, let us define the following operations on elements of Baire (or Cantor) space: Given ,
- Let be the real defined by . (We cut the first entry.)
- On the other hand, if and , we obtain a new element of , which we denote by , by concatenating and .
- For , let be the -th column of , .
Borel codes of finite order¶
Borel codes are defined inductively.
The first position in each code indicates the kind of set it codes - an open set, a complement, or a union.
Note that the definition of Borel code actually assigns codes to representations of sets. A Borel set can have (and has) multiple codes, just as it has multiple representations. We can, for example, represent an open set by different sets of initial segments.
Moreover, every set is also , and thus a set has codes which reflect the more complicated definition of the set as a union of closed sets. It is useful to keep this distinction between a Borel set and its Borel representation in mind.
The following is a straightforward induction.
Computing with Borel codes¶
Suppose is a computable code for an set . We may assume is of the form , with each column being of the form , coding a closed set .
With this, we can express membership in as follows:
Note that, since we assume to be computable, the inner predicate given by
is decidable, that is, it can be decided by a Turing machine.
Hence any set with a computable code can be represented in the following form:
There exists a decidable predicate such that
Conversely, if is a (decidable) predicate, let
We claim that is closed: Define a tree by letting
Then . Moreover,
Thus, there seems to be a close connection between sets with computable Borel codes and sets definable by formulas over computable predicates. Given that we introduced the notation for sets earlier, this is perhaps not very surprising.
In this analysis, there seems to be nothing specific about the set used in the example. Indeed, it can be extended to Borel sets of finite order, which we will do next.
We will introduce the lightface Borel hierarchy and show that it corresponds to Borel sets of finite order with recursive codes. Using relativization, we then obtain a complete characterization of Borel sets of finite order: They are precisely those sets definable by arithmetical formulas, relative to a real parameter.
But before we do that, we observe a basic fact about how we can compute with codes.
The effective Borel hierarchy¶
The following is an easy induction.
The following result is at the heart of the effective theory.
Proof
() We proceed by induction on the Borel complexity.
Suppose is . Let be computable such that . Let
We have if and only if . Since is decidable, is computable and given by
is a computable code for .
If is , then for some . By inductive hypothesis, has a computable code . Then is a computable code for .
Finally, assume that is . Let be such that .
By inductive hypothesis, has a computable code . If we let , then . Thus, it suffices to show that we can uniformly obtain codes for .
We leave the proof as an exercise. Proceed by induction on the Borel complexity of .
() We proceed by induction on the complexity of the code .
If is of the form , with coding an open set . Then
Since is assumed to be computable, the computable relation
witnesses that is .
If is a code, then is a code. By inductive hypothesis, the set coded by is , so by definition of the effective hierarchy and the Borel codes, codes a set.
Finally, assume is a code for a set . Then each is a code for a set .
The proof is similar to Lemma 1
By inductive hypothesis, the set as in the Lemma is and we have
which implies is .
Relativization¶
Using relativized computations via oracles, we can define a relativized version of the effective Borel hierarchy. This way we can capture all Borel sets of finite order, not just the ones with computable codes.
A straightforward relativization gives the following analogue of Proposition 3.
We can now present the fundamental theorem of effective descriptive set theory.
Proof
If is , then by Proposition 1 it has a -code , and by Proposition 4, is . The other direction follows immediately from Proposition 4.
The argument for is analogous.
The theorem facilitates working with Borel sets considerably. As an example, consider the set
We have
The predicate in the square brackets is computable and depends only on . Therefore, is Borel set.