Abstract
In this paper, we highlight a new computational aspect of Nonstandard Analysis relating to higher-order computability theory. In particular, we prove that the Gandy–Hyland functional equals a primitive recursive functional involving nonstandard numbers inside Nelson’s internal set theory. From this classical and ineffective proof in Nonstandard Analysis, a term from Gödel’s system
Introduction
Our aim is to highlight a new computational aspect of Nonstandard Analysis relating to (higher-order) computability theory. We study the Gandy–Hyland functional, which was introduced in [10] as an example of a higher-type functional not computable, in the sense of Kleene’s S1-S9 (see [17], 1.10 or [15], 5.1.1), in the fan functional over the total continuous functionals (see [17], 4.61 or [15], 8.3.3). The Gandy–Hyland functional Γ is defined as:
In Section 4.2, we show that in Nelson’s internal set theory (see Section 2.1), the primitive recursive1
The functional G is primitive recursive in the sense of Gödel’s system
We work in
From the aforementioned proof in
Finally, it is a natural ‘Reverse Mathematics2
For Friedman’s foundational program Reverse Mathematics, we refer to Simpson’s monograph [24], which provides an excellent overview.
In conclusion, while these relative computability results are not necessarily deep or surprising in and of themselves, the methodology by which we arrive at them constitutes the real surprise of this paper, namely a new computational aspect of Nonstandard Analysis: From a classical-logic proof in which no attention to computability is given at all, and in which Nonstandard Analysis is freely used, we obtain a relative computability result in a straightforward way. With some attention to detail, a natural relative computability result, called the Herbrandisation, allows us to re-obtain the original nonstandard theorem. In this way, we establish a direct two-way connection between the field Computability (in particular theoretical computer science) and Nonstandard Analysis. As such, our results differ significantly from known applications of Nonstandard Analysis in Computability, as discussed in Section 2.5.
In this section, we introduce the system
Nelson’s internal set theory
In this section, we discuss Nelson’s internal set theory
The superscript ‘fin’ in
The system
Gödel’s system
In this section, we briefly introduce Gödel’s system
In his Dialectica paper [11], Gödel defines an interpretation of intuitionistic arithmetic into a quantifier-free calculus of functionals. This calculus is now known as ‘Gödel’s system
(Equality).
The system
Next, we introduce
(Finite sequences).
The system
Finally, we discuss an alternative way of formulating Gödel’s system In [8], Cor. 20, it is shown that Intuitively speaking, the operator (Alternatives to primitive recursion).
The classical system
In this section, we introduce the system
Firstly, as in [27], Def. 6.1, we have the following definition of
(The system
).
The set The schema The schema providing for each closed term The schema
The external induction axiom
Secondly, to guarantee that
Thirdly, Nelson’s axiom Idealisation requires no weakening and appears in [27] as follows:
Fourth, we introduce the system
(The classical system
).
For internal and quantifier-free The system
The system
Assume
Let
Immediate by [27], Theorem 7.7. □
The proofs of the soundness theorems in [27], Sections 5–7 actually provide an algorithm to obtain the term t from the theorem. In other words, one can just ‘read off’ the term t from the proof mentioned in (2.3).
The following corollary is only mentioned in [27] for Heyting arithmetic, but it also turns out to be valid for Peano arithmetic. The proof of the corollary takes place in the same meta-theory as Theorem 2.8.
For internal ψ and
A tedious but straightforward verification using (i)-(v) from Definition 2.7 establishes that
With regard to notation, for the rest of this paper, a normal form refers to a formula of the form
Finally, the previous corollary is central to this paper. Indeed, a large number of theorems in Nonstandard Analysis can be brought into a normal form (see also Remark 3.5), and therefore fall within the scope of Corollary 2.9.
We finish this section with remarks on notation in
(Nonstandard Analysis).
We write
As suggested by its name, Nelson’s internal set theory deals with internal sets, i.e. sets can only be formed in
Secondly, we introduce an ‘approximate’ notion of equality.
We define ‘approximate equality
Finally, we introduce the following (strictly speaking ‘abuse of’) notation. As in [27], we sometimes use intuitive set-theoretic notation, although Secondly, the notation ‘ Thirdly, we sometimes block quantifiers together to save space; In this way, the formula (Set-theoretic notation).
Applications of Nonstandard Analysis in computability
We discuss known applications of Nonstandard Analysis in Computability, in particular [18–20].
First of all, as suggested by its title, the main goal of [18] is characterising the continuous functionals in highly elementary nonstandard terms in Robinson’s semantic approach to Nonstandard Analysis. In particular, Normann defines a class
While Normann’s approach is similar in spirit to ours (representing complicated objects via elementary nonstandard ones), his nonstandard proofs do not obviously carry computational content. In particular, the use of Standard Part is problematic, as discussed in the final paragraph of this section.
Secondly, as again suggested by its title, the main goal of [19] is also the characterisation of a certain type structure in terms of elementary nonstandard objects. The authors state the following: The novelty [compared to [18]] here is that we use a constructive version of hyperfinite functionals and also generalise the method to transfinite types. Many of the results of this paper are constructive, though not the characterisation theorems themselves. (See [19], p. 1216)
Thirdly, the author and Dag Normann explore the connection between higher-order computability theory and Nonstandard Analysis in [20]. The special fan functional Θ from Section 3.1.1 (and related functionals based on
Thus, the special fan functional exhibits extreme computational hardness compared to its first-order strength, but applying the so-called
Preliminaries
In this section, we prove some preliminary results needed below. In particular, we study useful fragments of Standard Part and Transfer from
The theme of this paper is the extraction of relative computability results from theorems of Nonstandard Analysis. To further understanding, we will treat in Corollary 3.4 a very simple example of this theme. We also formulate a template for later term extraction results based on this corollary.
Fragments of standard part and transfer
In this section, we discuss several useful fragments of Standard Part and Transfer from
The system
Immediate by [27], Prop. 3.3 and Section 5. □
We apply underspill often as follows: From
In this section, we study the following fragment of the Standard part principle of
The system
Assume
STP
and apply overspill to
For the final equivalence,
The function
The axiom
STP
can be proved in
First of all, note that
NUC
implies by Remark 2.11 that
The following is a more direct proof of Theorem 3.3, not requiring Theorem 3.2.
Working in
As explained in the Introduction, the theme of this paper is the extraction of relative computability results from theorems of Nonstandard Analysis. We now provide the first example of this theme in Corollary 3.4, based on the proof of
The computational properties of Θ have been studied in [20] and are briefly sketched in Section 2.5. From a computability theoretic perspective, the main property of Θ is the selection of
From the proof in
By the proof of the theorem,
In the following remark, we discuss how the proof of Corollary 3.4 provides a template for the rest of the term extraction results in this paper. We will apply this template to another basic example in Section 3.1.2.
Bring antecedent and consequent in normal form (see (3.5) and (3.9)). Introduce a standard witnessing functional in the antecedent, and drop the remaining ‘st’ (see (3.10)). Bring all standard quantifiers up front to obtain a normal form (see (3.11)). Use idealisation Apply Corollary 2.9 to the proof in Bring all quantifiers inside again to obtain the sought-after relative computability result (see (3.13)).
All further term extraction results follow this template, but often in less detail. It is interesting to note that the nonstandard definitions of e.g. continuity, Riemann integration, compactness, differentiability, etc., have normal forms in (fragments of)
Nonstandard arithmetical comprehension
In this section, we apply the template from Remark 3.5 to another instructive example, involving the following fragment of Nelson’s axiom Transfer:
The system
We make essential use of the proof of [12], Prop. 4.7. In the latter, it is shown that a continuous functional on Baire space has a modulus of continuity, assuming arithmetical comprehension. With our notations and for
Applying
To apply term extraction to Theorem 3.6, the following principles are needed.
From the proof in
First of all, a normal form for
Finally, it is easy to define ν as in
As is clear from the last part of the proof,
In this section, we discuss the Standard Part principle
(Ω-invariance).
Let
(Ω-CA ).
Let
In line with
The system
Assume
We finish this section with two remarks on the above results. It is straightforward to verify that Theorem 3.10 also holds if the quantifier ‘ The axiom A similar observation applies to idealisation (Using
External bar induction
In this section, we derive various versions of bar induction inside extensions of
(
).
For internal quantifier-free
Intuitively speaking, bar induction
In
Assume (3.30)st and suppose we have
The theorem is not that surprising:
STP
is the nonstandard version of
Nonstandard Analysis also has a ‘distinct’ kind of induction, called external induction, as follows:
For standard
Intuitively speaking, (
The system
Consider (3.31) and replace ‘st’ as follows:
Note that the same proof goes through for variations of (
We now formulate external bar induction, which is bar induction on the (external) standardness predicate.
For standard
Finally, we prove external bar induction from
The system
First of all, we use Secondly, consider (3.34), and bring the latter in the form:
Introduction
In this section, we prove our main results concerning the Gandy–Hyland functional Γ from (
GH
) and its so-called canonical approximation G, defined as follows:
Using the results from the previous section, we prove in Section 4.2 that the Gandy–Hyland functional
In Section 4.4 to 4.6, we obtain similar nonstandard theorems, from which we extract the associated relative computability results. In particular, in Sections 4.4 and 4.5, we prove ‘pointwise’ versions of the above results, not involving a modulus-of-continuity functional. We introduce the well-known notion of associate of a continuous functional in Section 4.6, and use it to obtain particularly elegant results. In our opinion, the aforementioned variations of the main result establish the robustness of our approach.
Finally, we show in Section 4.3 that one can re-obtain the original nonstandard theorem (that the Gandy–Hyland functional
From Nonstandard Analysis to relative computability
In this section, we prove that the functionals
As noted in the first section, the Γ-functional corresponds to modified bar recursion of type 0 (see [4, Section 4]). Since bar recursion holds in the model of all total continuous functionals (see [3,7]), the easiest way of obtaining Γ from G seems to be adding the continuity axiom
Fix a standard
Furthermore, according to [4, p. 167], the role of the continuity principle and bar induction in [4, Theorem 2.5] is to verify the correctness of the [bar recursive] witnessing functional. As was proved in Section 3.2, the principles
STP
and
In
We sketch the proof of the theorem and then provide a detailed version.
First of all,
We first prove that
To prove (3.34), assume the antecedent of the latter for standard t, and consider
Secondly, we prove (4.2) using the previous part of the proof and
On a side-note, it seems that
The Gandy–Hyland is unique as noted in [10], Section 6 and [15], Section 8.3.3. We prove a similar result, for which we require:
In
By (4.2),
As noted above, the Gandy–Hyland functional is not computable (in the sense of Kleene’s S1-S9) in terms of the fan functional over the total continuous functionals. The following corollaries express that the Gandy–Hyland functional may be computed via a term in Gödel’s
From the proof in
The following formula is provable in
Secondly, let
Recall Remark 3.12 and note that we performed a similar procedure as in the former remark (involving a term of type
We can obtain a version of (
4.10
) with Feferman’s search operator
From Ψ as in
We now discuss a possible strengthening of the above results.
It is an interesting question if the condition ‘
In Section 4.4, we obtain relative computability results similar to (4.10) with weaker antecedents. We now discuss how the consequent of the above results can be strengthened.
(Similar results II).
It is a natural question if the consequent of (4.10) is the best possible. A careful study of the proofs of Theorem 4.1 and Corollary 4.3 reveals the existence of standard
(Similar results III).
We now discuss whether the previous results go through inside a fragment of
(Similar results IV).
We now discuss whether the use of
In conclusion, we have proved in Theorem 4.1 that the functional
From relative computability to Nonstandard Analysis
In the previous section, we showed how to extract relative computability results like (4.10) from corresponding nonstandard statements like (4.9). Now, it is a natural ‘Reverse Mathematics style’ question whether it is possible to re-obtain the nonstandard implication from (a variation of) the associated relative computability result.
Another natural question is whether we can obtain a version of (4.10) with weaker assumptions; Indeed, to compute
To answer these two questions, we define the Hebrandisation of (4.10) as follows. Let
(Herbandisation).
Let
Intuitively speaking,
From the proof of (
4.11
) in
For the first part of the theorem, consider the proof of Corollary 4.4 and note that (4.14) implies (with the same notations as in the aforementioned proof):
For the second part, if there are terms
Thus, we proved that from a proof of (4.11), terms
Obviously, the Herbrandisation
In conclusion, the correspondence exhibited in Theorem 4.11 establishes a direct two-way connection between the field Computability (in particular theoretical computer science) and the field Nonstandard Analysis. Indeed, while the relative computability result
In this section, we obtain a relative computability result for the Gandy–Hyland functional, not involving Feferman’s search operator. To this end, we shall establish that the proofs of Theorem 4.1 and Corollary 4.3 also go through ‘in a pointwise fashion’, to be understood in the sense of Theorem 4.12.
Recall
The system
Fix
To prove the first conjunct of
To prove the second conjunct of
We need the following for Corollary 4.13, by
From the proof in Theorem
4.12
, a term t can be extracted s.t.
The template from Remark 3.5 applies. We now sketch how one obtains a normal form for all principles in
Following Definition 4.10, it is easy to define the Herbrandisation of (4.25) and obtain a result similar to Theorem 4.11. In particular, this Hebrandisation tells us on which part of Baire space the functional Y should be continuous (with modulus Z) to guarantee that Γ and G coincide at Y.
In conclusion, we have obtained a ‘pointwise’ relative computability result for the Gandy–Hyland functional not involving Feferman’s search operator. In particular, the term t from Corollary 4.13 allows us to compute approximations of the Gandy–Hyland functional in terms of the special fan functional for any functional Y with a modulus of (pointwise) continuity, and a given upper bound on
In this section, we show that the approximation of the Gandy–Hyland functional as in (4.19) implies
First of all, consider the following principle and theorem.
(
).
There is
In
In a nutshell, to obtain
NPC
from
Now define
From the proof ‘
Analogous to the proof of Corollary 4.4, i.e. follow the template from Remark 3.5. The normal form of
Next, we sketch a ‘pointwise’ version of Theorem 4.15 and Corollary 4.16, similar to the results in Section 4.4. Define the ‘pointwise’ version of
We have
Recall the definition of
In
In a nutshell, the proof of Theorem 4.15 goes through with minor modifications. In more detail, fix standard
Now define
From the proof in Theorem
4.18
, a term t can be extracted such that
Analogous to the proof of Corollary 4.4. □
Note that (4.35) expresses that if for
Following the proof of Corollary 4.5, Feferman’s search operator may be defined in terms of a modulus-of-continuity functional, i.e. there is a version of (4.33) with consequent
Introduction
In this section, we study the equivalences between a version of
We introduce the notion of associate in Section 4.6.2, and prove an equivalence between
Continuity and associates
In this section, we introduce the notion of associate and prove a first equivalence involving
We introduce the definition of associate from [12], Def. 4.3; See also [15], Section 8.2.1.
(Associate).
The function
We assume an associate
We now argue why working with associates, rather than continuous functionals, is natural in our context. Recall the following fragment of the axiom of choice.
(
).
For internal and quantifier-free
Applying
Secondly, as noted above, the proof of [12], Prop. 4.4 contains an explicit definition for obtaining an associate from a functional and its modulus of pointwise continuity. Hence, in the presence of a modulus-of-continuity functional (as in Section 4.2) or if a modulus is assumed to be given (as in Section 4.4), working with associates rather than the continuous functionals themselves, amounts to the same.
Thirdly, the logical framework for Reverse Mathematics [24] is second-order arithmetic, and one is thence forced to work with associates (called codes by Simpson in [24]) to study e.g. continuous functionals on Baire or Cantor space, or
Finally, we note that associates play an important role in higher-order computability theory (see e.g. [15], Section 8.2.1), i.e. they are of independent interest besides the above pragmatic motivations.
In light of the previous observations, it seems acceptable to work with associates directly, in the context of this paper. Thus, we may introduce the following.
We denote ‘
The previous notations are in line with those used in Reverse Mathematics, as can be gleaned from [24], II.6.1. With these conventions in place, we can introduce a nonstandard continuity principle on associates, as follows.
The system
For the implication
Working in
Recall
From the proof of
To obtain a normal form for
Finally, we discuss the conceptual meaning of
In this section, we shall study the connection between arithmetical comprehension and the Gandy–Hyland functional defined on associates. Now, in the previous section, we observed that type one associates may be viewed as type two functionals; In particular, for
In the presence of
As will become clear, mathematics practice does not change much when working with associates; This has been previously observed in the development of Reverse Mathematics (see e.g. [24], I.4, p. 15).
First of all, we study the following principle regarding the Gandy–Hyland functional and associates:
In light of Theorem 4.1 and Theorem 4.23, it is easy to obtain a proof of
The system
Working in
The previous nonstandard theorem gives rise to the following term extraction corollary, for which we need:
From the proof of
Analgous to the proof of Corollary 4.24; We provide a more detailed sketch to show that Notation 4.25 does not interfere with term extraction as in Remark 3.5. To this end, note that the second conjunct of
By studying the proof of Theorem 4.26 in more detail, one observes that ‘Γ is standard’ in
Next, we study a variation of
The system
As in the proof of Theorem 4.26, suppose
Recall the notion of ‘extensionality functional’ from Section 2.4 and define:
From the proof of
Analogous to the proof of Corollary 4.27. We again show that Notation 4.25 does not cause problems for term extraction as in Remark 3.5. First of all, the second conjunct of
Following the proof of Theorem 4.28 in detail, it becomes clear that the condition ‘Γ is standard’ is superfluous, implying that the term in (4.49) only depends on Ξ.
The previous results are not satisfactory since extensionality for associates as in
The system
Assume
From the proof of
Analogous to Corollary 4.27 and 4.29. We show that Notation 4.25 does not cause problems for term extraction as in Remark 3.5. First of all, the second conjunct of
In conclusion, (4.53) expresses that a term from Gödel’s
In this paper, we have shown that certain theorems from Nonstandard Analysis give rise to (effective) relative computability results. This resonates nicely with the longstanding (but speculative) claim that Nonstandard Analysis is somehow ‘constructive’ or ‘effective’, captured well by the quote: It has often been held that Nonstandard Analysis is highly non-constructive, thus somewhat suspect, depending as it does upon the ultrapower construction to produce a model [
By contrast, the following final remark is somewhat vague and speculative, but partially explains the connection between the totality of the Gandy–Hyland functional mentioned in [15], Theorem 9.5.4, p. 460 and Corollary 4.31.
(Partiality in
).
The class of partial computable functions is a central object of study in computability theory ([25], I.2.2). As discussed in the latter, there are good reasons to study partial functions. We now discuss how
First of all, consider the well-known predicate ‘
Secondly, the basic axioms of
Assume
Thirdly, in light of the previous, we are led to the following definition: For standard
Finally, we arrive at the motivation for the definitions in the previous remark: Consider the standard associates
Furthermore, assuming that the Γ-functional has its usual defining property
In conclusion, we have introduced the notion of ‘standard partiality’ which allows
Footnotes
Acknowledgements
This research was sponsored by the John Templeton Foundation, the FWO Flanders, the University of Oslo, and the Alexander von Humboldt Foundation. The author is grateful to these institutions for their support. This work was done partially while the author was visiting the Institute for Mathematical Sciences, National University of Singapore in 2016. The visit was supported by the Institute. The author thanks Dag Normann and Paulo Oliva for their valuable advice. Finally, the referees of this paper deserve thanks for their many helpful suggestions.
