Let A be a set. Recall that the set of all finite sequences over A
is denoted by A<N, while AN denotes the set of all
infinite sequences over A. Given α∈AN, n∈N,
α↾n denotes the initial segment of α of length
n.
We call the elements of Tnodes.
A sequence α∈AN is an infinite path through or infinite branch ofT if for all n, α↾n=(α0,α1,…,αn−1)∈T. We denote the set of infinite paths through T by [T].
An important criterion for a tree to have infinite paths is the following.
Proof
We construct an infinite path inductively.
Let Tσ denote the tree “above” σ, i.e. Tσ={τ∈A<N:σ⌢τ∈T}. If T is finitely branching, by the pigeonhole principle, at least one of the sets Tσ for ∣σ∣=1 must be infinite. Pick such a σ and let α↾1=σ.
Repeat the argument for T=Tσ and continue inductively. This yields a sequence α∈[T].
If [T]=∅, we call Twell-founded. The motivation behind this is that T is well-founded if and only if the inverse prefix relation
Now suppose A is linearly ordered by a relation ≤A.
The lexicographical ordering≤lex of A<N is defined as
σ≤lexτ:⇔σ=τ or ∃i<∣σ∣,∣τ∣(σi<Aτi and ∀j<iσj=τj)
This ordering extends to AN in a natural way.
Proof
We prune the tree T by deleting any node that is not on an infinite branch. This yields a subtree T′⊆T with [T′]=[T].
Let Tn′={σ∈T′:∣σ∣=n}. Since ≤A is a well-ordering on A, T1′ must have a ≤lex-least element. Denote it by α↾1. Since T′ is pruned, α↾1 must have an extension in T, and we can repeat the argument to obtain α↾2.
Continuing inductively, we define an infinite path α through T′, and it is straightforward to check that α is a ≤lex-minimal element of [T′] and hence of [T].
We can combine the ≤lex-ordering with the inverse prefix order to obtain a linear ordering of A<N. This ordering has the nice property that if A is well-ordered and T is well-founded, then the ordering restricted to T is a well-ordering.
This means σ is smaller than τ if it is a proper extension of τ or “to the left” of τ.
We now have
Proof
Suppose T is not well-founded. Let α∈[T]. Then α↾0,α↾1,… is an infinite descending sequence with respect to ≤KB.
Conversely, suppose σ0>KBσ1>KB… is an infinite descending sequence in T. By the definition of >KB, this implies σ1(0)≥Aσ2(0)≥A… as a sequence in A. Since A is well-ordered, this sequence must eventually be constant, say σn(0)=a0 for all n≥n0.
Since the σn are descending, by the definition of ≤KB it follows that ∣σn∣≥2 for n>n0. Hence we can consider the sequence σn0+1(1)≥Aσn0+2(1)≥A… in A. Again, this must be constant =a1 eventually. Inductively, we obtain a sequence α=(a0,a1,a2,…)∈[T], that is, T is not well-founded.
We can also define an ordering on A<N via an injective mapping from A<N to some linearly ordered set A. We will use this repeatedly for the case A=N and A={0,1}.
For A=N, we can use the standard coding mapping
π:(a0,a1,…,an)↦p0a0+1p1a1+1⋯pnan+1,
where pk is the kth prime number. This embeds N<N into N, and we can well-order N<N by letting σ<τ if and only if π(σ)<π(τ).
For A={0,1} we set
π:(b0,b1,…,bn−1)↦(2n−1)+i=0∑n−1bi2i.
These two mappings allows us henceforth to see trees as subsets of the natural numbers. This will be an important component in exploring the relation between topological and arithmetical complexity.
Let A be a set with the discrete topology. Consider AN with the product topology (and compatible metric) defined in Lecture 2.
Proof
Suppose F is closed. Let
TF={σ∈A<N:σ⊂α for some α∈F}.
Then clearly F⊆[TF]. Suppose α∈[TF]. This means for any n, α↾n∈TF, which implies that there exists βn∈F such that α↾n⊂βn. The sequence (βn) converges to α, and since F is closed, α∈F.
For the other direction, suppose F=[T]. Let α∈AN∖F. Then there exists an n such that α↾n∈/T. Since a tree is closed under prefixes, no extension of α↾n can be in T. This implies Nα↾n⊆AN∖F, and hence AN∖F is open.