We prove that if a closed subset X of the Baire space is searchable in the sense of Escardó [Logical Methods in Computer Science4(3) (2008), 3], and by a functional definable in Gödel’s , then X is countable, and the Cantor–Bendixson rank of X is bounded by the ordinal . To this end we introduce evaluation trees, well founded decorated trees that induce operators from the full set-theoretical class to . We prove that when a search operator for a set X is induced from an evaluation tree T, then the Cantor–Bendixson rank of X is bounded by the Kleene–Brouwer order type of T. Further we use a theorem due to Howard [Journal of Symbolic Logic45(3) (1980), 493–504], estimating the ordinal complexity of the reduction tree of a term in system , to show that all functionals of type definable in can be computed using an evaluation tree of ordinal rank below .
In this paper, we will give partial answers to the following question:
Let X be a set. Assuming that there is a procedure Φ that to a predicate P on X decides if P is empty on X or not, what can we say about X?
The question is not very precise, and in order to turn it into a mathematical problem we have to specify:
What kind of sets X will we consider?
What do we mean with a “procedure”?
Will we consider all predicates or just a natural collection of them?
If X is a finite set , the answer will be that as long as we allow for using oracle calls in our model for procedures, whatever this model of procedures might be, we can decide if P is empty on X or not.
If X is infinite, a procedure will essentially have to take a function
as an input, and then give one of the two values 0 or 1 as the output, so the procedure will itself be an object of type level 2 over X. This suggests that various models for computing with functionals will be of interest when we make our problem precise. When nothing else is said, we will let X be a compact subset of Baire space. X is then a topological space, and we will either let P range over all functions from X to or, as in Section 4, the continuous ones.
Escardó [5] defined the concepts of searchable and exhaustible sets originally for continuous models of [15] (or equivalently [14]). We will discuss this in more detail below. Later he also considered these concepts as induced by the computational model of Gödel’s [7]. Our main concern will be with searchable sets modulo , but we will also consider an intermediate model, Kleene’s S1–S9 [9]. We will let and S1–S9 have their standard interpretations over the full set-theoretical type structure.
For a detailed introduction to higher order computability, one may consult the forthcoming [12]. Here we will give brief introductions to , to Kleene’s S1–S9 and to the calculus we are mainly interested in, Gödel’s .
Background
The Kleene schemes S1–S9 and the corresponding concept of computability was originally defined for the full type-structure of pure types, and it is a calculus that gives meaning to expressions like
Here e may be viewed as a Gödel number of an algorithm, will range over the functionals of some pure, finite types (coded into e) in the full set-theoretical type structure and a is a non-negative integer. S1–S9 are nine clauses in a grand strictly positive inductive definition of the set of sequences such that . However, Kleene’s definition will also make sense in other reasonably closed type structures of total or partial functionals, and the strength of this model of computability will strongly depend on the typed structure it is interpreted in.
The Kleene–Kreisel continuous functionals were essentially and independently defined in Kleene [10] and Kreisel [11]. There are numerous characterizations of this typed structure. The one being most useful for our purpose is via the partial continuous functionals. We define the typed structure of partial continuous functionals over the integers within the category of Scott–Ershov domains, as initiated in Scott [15]. We then isolate the hereditarily total objects in this structure with the canonical equivalence relation of extensional equivalence. The equivalence classes will correspond to the Kleene–Kreisel continuous functionals.
In his seminal, but for a long time, unpublished note [15], Scott introduced the formal calculus , which was later transformed into a programming language by Plotkin [14]. is a formal calculus without reference to any particular model, and may be viewed as a typed λ-calculus with least fixed point operators of all types. The partial continuous functionals will serve as a model for , and in this model and S1–S9 have the same computational power. An element of the corresponding equivalence class will be a representative of a functional. We say that a Kleene–Kreisel functional is -definable if there is a representative of it among the partial continuous functionals that is the interpretation of a -term. Normann [13] proved that if a Kleene–Kreisel functional has a representative that can be approximated by a computably enumerable set of finitary elements of the Scott–Ershov domain, then it is -definable. This also means that there is a representative that is S1–S9-computable in the model of partially computable functionals. This is seemingly in contrast to the theorem in Tait [17], where it is proved that the fan functional (see discussion later) is not Kleene computable, but fortunately, only seemingly.
Martín Escardó [5] introduced searchable and exhaustible sets in the framework of , the partial continuous functionals and the Kleene–Kreisel continuous functionals. A set X of Kleene–Kreisel functionals is searchable in the original sense of Escardó if there is a -definable operator ε such that whenever P is a continuous function mapping X into then and
Escardó proved that all searchable sets are compact and that there are close analogies between being non-empty and compact and being searchable. In particular he proved an effective analogue of the Tychonoff’s theorem for countable products of searchable sets. He also considered searchable sets of hereditarily total functionals in the Scott-domains, but this will not be of relevance to us.
An important source of inspiration for Escardó’s work was a theorem due to Berger [1]:
There is a-definable representative for the fan functional.
The fan functional is a Kleene–Kreisel functional of pure type 3. We will let be our version of the Cantor set. C is compact, so every continuous functional F of type 2 will be uniformly continuous on F. This again means that there is a uniform modulus n of continuity, i.e., if agrees on , then . The fan functional Φ “computes” the least such modulus of continuity. Φ has a computable representative, but Tait [17] proved that Φ is not computable in Kleene’s original calculus based on S1–S9. The key to the argument is that a Kleene algorithm with an input F of type 2 can only utilize F restricted to a countable set, while will need to know F on the full Cantor set C.
Berger [1] proved that the fan functional is -definable. According to private information from Martin Hyland, this was known to Robin Gandy, but not published. Simpson [16] used the methods of Berger to prove that there are -programs for Riemann integration and for computing the maximal value of a continuous function on a closed, bounded interval, in the sense of the model for exact computing with reals suggested by Di Gianantonio [2–4].
Searchability in weaker systems
System
Our version of will be like this:
We consider all finite types over the base type 0. We write
for .
Our term language will be that of typed λ-calculus with extra constants of type 0, successor suc of type and recursors of types for each type σ. We write N, M, etc. for terms.
We will, by recursion, write for . The terms are called numerals.
The conversion rules will be the conversion rules of typed λ-calculus with α- and β-conversion
where we also accept conversion of subterms. We of course assume that all substitutions are legal.
We have standard conversion rules for the constants:
,
.
We will let ⇝ be reflexive and transitive. We extend to by adding a new constant of type .
We will not add conversion rules for directly, but for each instance P we may consider an infinitary P-rule: If M is a term of type and for each , then .
We finally say that a term M defines Φ of type if for every P and n, if and only if when we use the P-rule. We then say that Φ is -definable. These concepts extend trivially to functionals into .
The conjecture
Escardó [6] found examples of infinite, countable sets that are searchable by operators definable in System . The least ordinal > ω closed under addition, multiplication and exponentiation is known as . For each ordinal Escardó found a compact, well-ordered subset of the Cantor-space C of order type , such that X is searchable by a functional definable in . of course offers a weaker model of computability than , so it is remarkable that for these examples, the search algorithms will even work for all predicates, not just the continuous ones.
Escardó presented these results, later published in [6], at the workshop Types 2011 in September 2011. There he suggested that if a set X is searchable via an operator definable in , then X must be countable. He also mentioned the possibility of the Cantor–Bendixson rank of X to be bounded by the ordinal and left this as an open problem. At a Dagstuhl workshop in October 2011 he presented his results again, this time actually conjecturing that is an upper bound for the topological complexity of -searchable sets. The main result of this paper is that this conjecture is true.1
The author had intense discussions with Escardó on this conjecture during the Dagstuhl meeting. In May–June of 2012 we met again, this time at the Newton Institute in Cambridge, UK in connection with the program SAS, and we continued our discussions with some further progress.
The technical breakthrough came during the autumn of 2012 and was due to the author. We decided, after some discussion, not to write a joint paper, but the influence of Escardó is important, both as a supplier of motivation and as a discussion partner.
This paper
In Sections 2 and 3 we prove that if X is searchable in with respect to all predicates on X, then the Cantor–Bendixson rank of X is bounded by . In Section 2 we introduce the concept of an evaluation tree and, in the case where there is a search operator for all total predicates P on X computable using an evaluation tree, we show that the ordinal rank of the evaluation tree induces an ordinal bound on the Cantor–Bendixson rank of X.
In Section 3 we use a result by Howard [8] and show that when an operator of type 3 is -definable, then it is computable via an evaluation tree of rank < ε0.
In Section 4 we strengthen the result from Section 2 by only assuming that the search algorithm of the evaluation tree works for predicates that are continuous on X. This section actually makes Section 2 obsolete, but we believe that the basic intuition is easier to see from the exposition in Section 2 than it would have been if the sharpest result had been proved directly.
It is also reasonable to ask when a set X may be searchable by a functional ε definable in Kleene’s S1–S9 interpreted in the classical way. If we assume that is closed and searchable with respect to all predicates that are continuous on X in this way, results of Escardó [5] give us that X is compact.
Employing the method of Tait [17] we can show that while deciding that the empty predicate O is empty on X, the computation tree of must make an oracle call for each . Thus X has to be countable, and there will actually be an effective enumeration
of the elements in X, an enumeration extractable from the computable, infinite and well-founded computation tree of . We say that is computably enumerable when there is a computable enumeration like this. It is an open problem whether it suffices that a set X is compact and computably enumerable for X to be searchable in the original sense of Kleene computability over the hereditarily total functionals.
For the sake of completeness, we will define the Cantor–Bendixson rank in the next section. Let us consider here the set A of pairs from where g codes a total ordering on a set , h maps onto , and for each we have that has a rank in that equals the Cantor–Bendixson rank of in X. A will be an arithmetical set, and when , g will code an ordinal exceeding the Cantor–Bendixson rank of X. Thus there is a -set of codes for well orderings where each well ordering bounds the Cantor–Bendixson rank of X. By standard descriptive set theory, this shows that the Cantor–Bendixson rank of X is a computable ordinal. Since there are no original technical aspects of this argument, we omit further details.
Sets that are searchable using evaluation trees
Preliminaries
It is well known that a countable, compact Hausdorff-space X is homeomorphic to the ordering topology of a countable successor ordinal. A familiar proof will use the Cantor–Bendixson rank, CB-rank, of the elements of X defined as follows:
If x is isolated in X, then .
If , we do not have that but there is a neighbourhood B of x such that for all that are different from x, we let .
If X is a compact, countable Hausdorff space, each will have a CB-rank. By sequential compactness, there will be an element with maximal CB-rank, and there can only be finitely many of those.
We will make use of the following observation. The proof will use sequential compactness, and the observation may serve as a student exercise in general topology.
Let X and Y be countable, compact Hausdorff-spaces,be continuous and surjective.
For eachthere is ansuch that
In this paper, a tree will be a set of finite sequences from , closed under sub-sequences. The empty sequence e will be the root of the tree. The elements of the tree are called nodes.
A subtree of a tree T will be a subset that is also a tree. If , the child tree of s is the set of sequences t such that the concatenation . In the notation for concatenation, we will identify a number with the corresponding sequence of length 1.
A branch in a tree will be the set of subsequences of some node in the tree. We will not assume that a branch necessarily ends in a leaf node, but of course it may do so.
Let be the following partial variant of the lexicographical ordering on the set of finite sequences:
Let if s is a proper subsequence of t and let if s is just a subsequence of t. We sometimes write “left of” for .
We will use the Kleene–Brouwer ordering of the set of finite sequences from defined as follows: if or if . We let be the reflexive counterpart. The Kleene–Brouwer ordering is a total ordering. The key property is that a tree T is well founded if and only if the Kleene–Brouwer ordering well-orders T. A well-founded tree will have ordinal rank < ε0 if and only if the Kleene–Brouwer ordering of the tree has length < ε0.
Our trees will for the most be decorated, meaning that we attach some mathematical object to each node in the tree.
Evaluation trees
Our tool for investigating the Cantor–Bendixson rank of sets searchable in weak systems will be evaluation trees.
An evaluation tree will be a well founded, decorated tree T of finite sequences s from satisfying:
A node s in T is either a leaf node in T, or a full branching node, i.e. the nth successor for all .
If s is a leaf node, then it is decorated with a function .
If s is a branching node, it will be decorated with a continuous functional .
If T is an evaluation tree as above, and , we let be defined by transfinite recursion as follows:
If s is a leaf node then .
If s is a branching node, we let .
We will normally drop the lower index T when it is clear from the context.
The main theorem
This section is devoted to the proof our main technical result.
Letbe closed. Let T be an evaluation tree such thatis a search operator for X (where e still denotes the empty sequence).
Then X is countable, and the Cantor–Bendixson rank of the elements of X are bounded by the rank of the Kleene–Brouwer ordering of T.
We will split the proof into several lemmas, where we assume that X and T are as in the theorem. Our intuition is that in order to define a search operator, T must implicitly search through X for an f satisfying P, and, when at a node in T finds an f satisfying P, this information is brought to the top. In this section we turn this intuition, restricted to one-point predicates, into the definition of being a relevant node. Our construction will be non-constructive, because we cannot tell in an effective way which are the nodes in T actually contributing to being a search operator and which nodes are just dummy ones.
We will let O denote the everywhere zero function on and for we will let
Note that we will have that for all .
A node is relevant for if for all . A node s in T is critical for if it is ⪯-maximal among the set of nodes relevant for f.
The set of nodes s in T that are relevant for will form a subtree , and the leaf nodes of will be the nodes that are critical for f.
Since e is relevant for all , there will be at least one critical node for each .
Letand let s be critical for f.
Then.
If s is a leaf node, we have that , where the last equation follows from the assumption of the lemma.
If s is a branching node, we have that for each , and thus
This ends the proof. □
This shows in particular that X must be countable.
For each , we now let be the set of such that s is on the leftmost branch in .2
In Section 4 we will just assume that X is searchable by T with respect to continuous predicates. We will then modify our proof and also define an alternative to .
We let be the set of nodes s for which . will be a subtree of T, and the Kleene–Brouwer ordering on will be a sub-ordering of the Kleene–Brouwer ordering of T. Our aim will be to construct a surjective map ϕ from onto X that is continuous with respect to the order topology of the Kleene–Brouwer ordering of . Since the order topology of will be compact, X is compact. We then use Lemma 2.1 to obtain the theorem.
Observe that if , then .
If,for each,andis in the closure offor each, then
,
is in the closure of.
(ii) is a consequence of (i) and the fact that the closure of is a subset of the closure of for each . In order to prove (i) it is sufficient to assume that for each .
The point of selecting the leftmost path is that if , then , so when .
It follows that
This ends the proof of the lemma. □
We now define for as follows:
if is in the closure of .
is arbitrary otherwise.
ϕ is continuous and onto X, whenhas the order topology of the Kleene–Brouwer ordering on.
ϕ will be surjective because when t is the leftmost node critical for f we have that .
Let . We will prove that ϕ is continuous in the point t. If t is an isolated point in the order topology, there is nothing to prove, so assume that t is a cluster point. It suffices to prove continuity with respect to sequences where each is a proper extension of t, since any sequence of points different from t, but converging to t, will consist almost everywhere of extensions of t.
Then, for each there is an such that extends , and we will have that .
Since is in the closure of we have, by monotonicity of R, that is in the closure of , and also in the closure of .
By Lemma 2.7 we see that and thus that is in the closure of . Then , and ϕ is continuous with respect to this sequence. Since continuity is equivalent to sequential continuity in this case, this proves that ϕ is continuous. □
In Section 3 we will prove that whenever a functional Φ of type is definable in Gödel’s , then there is an evaluation tree of rank less than that computes Φ. We will use a theorem from Howard [8], where he proves that a specific tree related to a term for Φ has rank < ε0. The tree we naturally obtain from Howard’s analysis will be what we call a pre-evaluation tree. In this section we will define this concept and see that each pre-evaluation tree can be transformed to an evaluation tree with the same effect without increasing the rank.
An even pre-evaluation tree will be a well founded decorated tree T of finite sequences of natural numbers such that:
If has an even length, then for all , and there is no decoration.
If has an uneven length, the decoration will be a pair where and is continuous.
If has an uneven length, then .
An uneven pre-evaluation tree will be like an even one, except that we switch even for uneven and vice versa in the definition.
If T is an even/uneven pre-evaluation tree, and F is of pure type 2 we define if the length of t is uneven/even and if the length of t is even/uneven as follows:
() when the length of t is uneven/even.
if the length of t is even/uneven.
Given two trees T and S that either are evaluation or even pre-evaluation trees, we say that they are equivalent if is the same function for the two trees.
For even trees, the leaf nodes will be nodes s of uneven length where . We may then identify with an integer.
For every even pre-evaluation tree T of ordinal rank α there is an equivalent evaluation treeof rank.
The proof is by transfinite induction over T, but otherwise trivial. Note that we do not require the construction of from T to be effective, and for our applications, it would be irrelevant to do so.
The induction base is when e has no extensions of even length in T.
Then for all n, and is just a number . Then e will be the one and only node in . We let e be decorated with .
The induction step is when for at least one n.
Let be a surjective enumeration of all sequences in T of length 2, and for each we let be the child tree of .
Bringing the decoration along, will be an even pre-evaluation tree for . Let be the equivalent evaluation tree for each i, and let consist of e, all sequences i of length one, and all sequences where .
We bring with us all decorations from each and ad a decoration that we describe informally:
In order to compute let
Then f restricted to will induce a map . We let . Since each is continuous, will be continuous.
The verifications of the remaining properties are now trivial. □
Applications to Gödel’s
As mentioned in the Introduction, our aim is to show that if a set X is searchable with an algorithm expressible in Gödel’s , then the Cantor–Bendixson rank of X is strictly bounded by the ordinal . Using Theorem 2.4 it will be sufficient to prove that if X is searchable in this way, this search can be carried out by an evaluation tree of ordinal rank below . We will use results from Howard [8] to establish the ordinal bound, and we will be brief when explaining how we obtain a tree from a term in .
We will prove that if Φ is -definable and of type
then there is an evaluation tree for Φ of ordinal rank < .
Let M be a term in , possibly with free variables.
The Howard tree of M will be the tree of finite sequences of terms where M is at the top node and branching is generated by the following definition of successor. In all cases except (8) the term of which we define the successors will be of type 0, we assume that everything is well typed and that necessary uses of α-conversions are implicit:
If M is a numeral, then M is a leaf node.
If then is the one successor.
If then is the one successor.
If then is the one successor.
If where is not a numeral, then is a successor ( will be of type 0) and are successors for each .
If then N is the one successor.
If M is of the form where Z is a variable, then the successors are .
If M is a term of type , then the successors will be all where each either is a variable or a numeral.
Our situation will not be as general as this. The terms we consider will have one free variable at the most. Then (7) will reduce to the case where the successor will be N.
The successors of N will be all terms , where x is a variable of type 0, and for each n. Our reduced Howard tree will be the one where we only consider successors to terms N of type . These reduced trees will of course also satisfy Theorem 3.2.
Let Φ of typebe definable in Gödel’s.
Then there is an evaluation tree of rank < ε0computing Φ.
By Lemma 2.10 it is sufficient to produce an even pre-evaluation tree.
Let be a variable of type and let with at most the variable free be such that defines Φ. We will need uneven pre-evaluation trees for the terms for each n in order to produce the even pre-evaluation tree for Φ, and in order to prove their existence we give a general construction.
Let M be an arbitrary term of type 0 with only free and let H be the reduced Howard tree of M. The construction of the uneven pre-evaluation tree will be by the same cases as the definition of H, where some of the cases are treated together:
If M is a numeral , we let and be the constant n.
If M is of cases (2), (3) or (4) in Definition 3.1, let be the immediate successor and we use the uneven pre-evaluation tree for .
If and is the reduced Howard tree of , we let our pre-evaluation tree for M be constructed from , except that we increase the values of with 1.
If M is of case (5), the pre-evaluation tree will be constructed as a kind of amalgamation of the pre-evaluation trees of and each . Let J be the set of immediate successors of e and let G be the evaluation function for e in the tree for . Let , be the corresponding items for .
We imbed J and the ’s into disjoint sets and in , and let I be the union, where p and are the injective maps.
We let the child tree of in our tree for now be the child tree of , and likewise we transport child trees of to child trees of . If we compute as follows: Let and then let . This F will be our new .
If , the successors two steps down will be all terms of the form . This is where the reduction of the Howard tree comes in. Our pre-evaluation tree will now have a branching to all n and the node n is continued with the pre-evaluation tree constructed from the reduced Howard tree of the term .
It now follows by an easy transfinite induction on the reduced Howard tree that the uneven pre-evaluation tree will compute the number that is the value of M. □
Search with respect to continuous predicates only
In this section we will still let T be an evaluation tree for a search operator on a closed set , but we will only assume that is a search operator on X with respect to predicates P that are continuous on X.
The main result of the section will be that the CB-rank of X is still bounded by the Kleene–Brouwer order type of T. The idea and structure of the proof is like our proof of Theorem 2.4 with an adjusted definition of the predicate R.
We will let s, t range over nodes in T. We let Σ be the set of finite sequences with extensions in X. We let σ, possibly with indices, range over Σ. We will consider σ to be a finite partial function, so an expression like will make sense. Our argument will work for all compact sets , but to ease the use of notation, we let . Violating standard terminology, we let denote the sequence (), and not the sequence number of this sequence.
We let
and we let be the characteristic function of restricted to X. As before, we let O denote the constant zero function on X, the characteristic function of the empty predicate. We let P, possibly with an index, denote a continuous predicate on X given as a characteristic function.
We will now redefine some concepts from the proof of Theorem 2.4 and prove the analogue lemmas and theorem.
Let P be a non-empty continuous predicate on X, .
s is relevant for P if for all .
We say that s is leftmost relevant for P if s is on the leftmost branch in T consisting of t’s that are relevant for P.
We say that s is critical for P if s is relevant for P and there is no such that is relevant for P.
We observe that if s is relevant for P and s is a leaf node in T, then s is critical for P. We also observe that e is relevant for all non-empty continuous predicates P. This is a consequence of the assumption that is a search operator for X. Thus there will be a leftmost path of relevant nodes for P ending in a node that is critical for P.
If s is critical for P, then.
The proof is essentially the same as the proof of Lemma 2.6. □
We now define the alternative of R.
Let . Let if t is leftmost relevant for for infinitely many .
By the assumption
for so since we have that
Then, since is continuous,
Since for all n we have that s is relevant for each , so .
Finally we observe that since there are only finitely many σ of a fixed length and each can be repeated at most a finite number of times, the lengths of the ’s will converge to ∞. □
The claim of the lemma now follows.
If, there is a nodesuch thatand.
We know that since e is (leftmost) relevant for all continuous predicates.
Since is well founded it is sufficient to prove that if then either or for some k.
So assume that and that .
Let be an increasing sequence such that s is leftmost relevant for for each . For each we have that either is s critical for (which will be the case when s is a leaf node) or there is some such that is leftmost relevant for .
If s is critical for , we use Lemma 4.2 and see that . Since we assumed that this can only be the case for finitely many , so for all but finitely many there is a leftmost such that is relevant for .
If is unbounded we may find a strictly increasing subsequence and then, by Lemma 4.2, we have that
contradicting our assumption.
Thus is bounded, and there will be one number k and a subsequence of such that for all .
Then . This ends the proof of the lemma. □
We now let be defined as before:
if is in the closure of .
is chosen arbitrarily otherwise.
As before we have that
and then, by construction, we have that is in the closure of whenever .
By Lemma 4.5 we have that ϕ is surjective. We will prove that ϕ is continuous, and draw our main consequence as before.
Let, letfor each.
Assume thatand letbe in the closure offor each.
Then
It is sufficient to assume that for each i.
Let be a strictly increasing sequence from such that is leftmost relevant for for each i. The existence of this sequence follows from the definition of .
By Lemma 4.2 we have that
This ends the proof of the lemma. □
We now have everything we need to prove the following theorem.
Letbe closed and assume that there is an evaluation tree T such that for all continuous predicates P on X we have thatThen X is countable, and the Cantor–Bendixson rank of X is bounded by the Kleene–Brouwer order type of the tree T.
Concluding remarks
Summary
We have been investigating the topological nature of sets in that are searchable via an operator definable in Gödel’s . Howard [8] showed how terms in give rise to computation trees of rank less than , and we have transformed his trees to what we called evaluation trees. The main technical result is that if a set X is searchable for all predicates on X with the aid of an evaluation tree, then the rank of the Kleene–Brouwer ordering bounds the Cantor–Bendixson rank of X. It is sufficient to assume that this holds for continuous predicates on X.
We also discussed the consequence of X being searchable in the sense of Kleene’s original S1–S9.
Related problems
Our proof is non-constructive, even from the point of view of classical logic, since there are no algorithms for constructing the trees and used in the proofs. Thus our proofs do not say much about the internal structure of searchable sets beyond the bounds on the Cantor–Bendixson rank. We are nowhere near a characterization of when a closed set may be searchable in , neither with respect to continuous predicates nor with respect to all predicates.
If X is -searchable with respect to continuous predicates, is X then -searchable with respect to all predicates?
The problem may not be so interesting in itself, but a positive solution will probably give us more information about the structure of search algorithms. We may ask a similar question for searchability by evaluation trees.
We also discussed briefly what can be said about a set X that is searchable in S1–S9, and concluded that X is computably enumerable and compact. We sketched an argument showing that when X is compact and computably enumerable, then the Cantor–Bendixson rank of X is a computable ordinal.
The natural problem here is if we can characterize all sets that are S1–S9-searchable in Kleene’s original sense. It is easy by the methods developed in Escardó [6] to prove that we for every computable ordinal α can find a set X searchable in this sense and with a CB-rank exceeding α. We know that if X is a S1–S9-searchable subset of the Cantor space, then X is closed, computably enumerable and the set of neighbourhoods containing elements from X is decidable. It is not likely that these properties are sufficient for proving the converse. The problem will be to find some informative characterization of the compact sets X that are S1–S9-searchable.
The following problem is also open.
Assume that X is S1–S9-searchable. Is X then searchable by a computable evaluation tree?
The search operators constructed by Escardó [5,6] do not just provide an element of each non-empty set, they search through all the elements of X (or a dense subset of X when we only consider continuous predicates) until they find an element satisfying P, and then this element will be the output. This behaviour cannot be described as a denotational property of the search operator, but it is tempting to look for further properties of search operators that might be used to analyse when a set e.g. is sequentially searchable. One possible such property is the following monotonicity property:
We believe that the concept of searchability must be strengthened if we want to deduce further properties of the operational semantics from the denotational interpretation of a search operator and the mere fact that it is definable in some given calculus.
Footnotes
Acknowledgements
During the research for this note, I had, as explained in footnote , important and valuable discussions with Martín Escardó. To a large extent these discussions took place at the Isaac Newton Institute for Mathematical Sciences in Cambridge, England. I am grateful to the Institute for hosting the program Semantics and Syntax: A Legacy of Alan Turing and for inviting me to take part in this program. During this stay, I also benefited from discussions with the proof theorists Arnold Beckmann, Anton Setzer and Monica Seisenberger.
An anonymous referee gave valuable feedback on the exposition.
References
1.
U.Berger, Totale Objekte und Mengen in der Bereichtheorie, PhD thesis, München, 1990 (in German).
2.
P.Di Gianantonio, A functional approach to computability on real numbers, PhD thesis, Università di Pisa, Genova, Udine, 1993.
3.
P.Di Gianantonio, Real number computability and domain theory, Information and Computation127 (1996), 11–25.
4.
P.Di Gianantonio, An abstract data type for real numbers, Theoretical Computer Science221 (1999), 295–326.
5.
M.H.Escardó, Exhaustible sets in higher-type computation, Logical Methods in Computer Science4(3) (2008).
6.
M.H.Escardó, Infinite sets that satisfy the principle of omniscience in all varieties of constructive mathematics, Journal of Symbolic Logic78(3) (2013), 764–784.
7.
K.Gödel, Über eine bisher noch nicht benützte Erweiterung des finiten Standpunktes, Dialectica12 (1958), 280–287.
8.
W.A.Howard, Ordinal analysis of terms of finite type, Journal of Symbolic Logic45(3) (1980), 493–504.
9.
S.C.Kleene, Recursive functionals and quantifiers of finite types I, Transactions of the American Mathematical Society91(1) (1959), 1–52.
10.
S.C.Kleene, Countable functionals, in: Constructivity in Mathematics, A.Heyting, ed., North-Holland, 1959, pp. 81–100.
11.
G.Kreisel, Interpretation of analysis by means of functionals of finite type, in: Constructivity in Mathematics, A.Heyting, ed., North-Holland, 1959, pp. 101–128.
12.
J.R.Longley and D.Normann, Higher-Order Computability, Springer, to appear.
13.
D.Normann, Computability over the partial continuous functionals, Journal of Symbolic Logic65(3) (2000), 1133–1142.
14.
G.D.Plotkin, LCF considered as a programming language, Theoretical Computer Science5(3) (1977), 223–255.
15.
D.S.Scott, A type-theoretical alternative to ISWIM, CUCH, OWHY, Unpublished manuscript, Oxford, 1969.
16.
A.S.Simpson, Lazy functional algorithms for exact real functionals, in: Mathematical Foundations of Computer Science 1998, Lecture Notes in Computer Science, Vol. 1450, 1998, pp. 456–464.
17.
W.W.Tait, Continuity properties of partial recursive functionals of finite type, Unpublished manuscript, 1958.