We next define a images -counterpart of images * and images images * and look into some of its closure properties.

2.5.0.3 Definition. (Semi-computable Relations) A relation P ( images ) is called semi-computable or semi-recursive iff for some f images images , we have, for all images n ,

images

The set of all semi-computable relations is denoted by images * .

If images in (1) above, then we say that “a” is a semi-computable index or just a semi-index of P ( images n )”. If n = 1 (thus P ⊆ images ) and a is one of the semi-indices of P , then we write P = W a [Rogers (1967)].           images

images We are making the symbol images * up, in complete analogy with the symbols images images * and images * . It is not standard in the literature.           images

We have at once:

2.5.0.4 Theorem. (Normal Form Theorem for Semi-computable Relations) P ( images n ) images images * iff, for some a images images , we have (for all images n ) P ( images n ) ≡ (∃ z ) T ( n ) ( a , images n , z ).

Proof. Only if -part. Let P ( images n ) ≡ f ( images n ) ↓, with f images images . By Remark 2.3.0.12 , images for some a images images . We conclude by Corollary 2.3.0.8 (1).

If -part: By 2.5.0.3 and 2.3.0.12 , the given equivalence translates into P ( images n ) ≡ images But images images images .

Rephrasing the above theorem (hiding the images -index “ a ”, and remembering that images images * ⊆ images * ), we have:

2.5.0.5 Corollary. (Strong Projection Theorem) P ( images n ) images images * iff, for some recursive predicate Q ( images n , z ), we have (for all images n ) P ( images n ) ≡ (∃ z ) Q ( images n , z ).

Proof . For the only if, take Q ( images n , z ) to be λ images n , z . T ( n ) ( a , images n , z ) for appropriate a images images . For the if, take f = λ images n .( μ z ) Q ( images n , z ) (cf. 2.1.2.39 ). Then f images images and P ( images n ) ≡ f ( images n ) ↓.

2.5.0.6 Corollary. P ( images n ) images images * iff, for some λ images n . g ( images n ) images images , we have ( for all images n ) P ( images n ) ≡ g ( images n ) = 0.

Proof . The only if is immediate from 2.5.0.3 : Let f images images such that, for all images n , P ( images n ) ≡ f ( images n ) ↓. Take g = λ images n .1 ∸ (1 ∸ f ( images n )).

For the if , note that f = images for some i , thus

images

We are done by 2.5.0.5.            images

images The preceding corollary is the analogue of 2.1.2.16 and 2.1.2.17 for images * . It provides, among other things, easy proofs for the facts images images * ⊆ images * and images * ⊆ images * . For example, say, Q ( images ) images images images * . Then, for some g images images images , Q ( images ) ≡ g ( images ) = 0, for all images . But g images images as well, and we can invoke 2.5.0.6.            images

2.5.0.7 Corollary. (Graphs of Partial Recursive Functions) λ images n . f ( images n ) images images iff y = f ( images n ) is semi-recursive .

Proof . For the only if, let images . Then

images

We conclude by 2.5.0.5. For the if part, let (again, 2.5.0.5 )

images

To compute f ( images n )—given images n —we enumerate all pairs 〈z, y〉 and stop at the “first“, if any, that satisfies Q ( z , images n , y ); we output y . Mathematically,

images

Clearly f images images .           images

Pause. Why not argue the if part more simply, in view of 2.5.0.6 ? Let g images images such that

images

Then f ( images n ) = ( μ y ) g ( y , images n ), for all images n , and thus f images images . images

See Exercise 2.12.33 .

2.5.0.8 Remark. (Deciders and Verifiers) A computable relation P ( images n ) is, by definition, one for which xp images images ; thus it has an associated URM M that decides membership of any images n in P both ways : “yes” (output 0) if it is in; “no” (output 1) if it is not. Thus this M is a decider for P ( images n ).

A semi-computable relation Q ( images m ), on the other hand, comes equipped only with a verifier, i.e., a URM N that verifies images m images Q , if true, by virtue of halting on input images m . A verifier gives no tangible information about the non membership cases, which cause it to enter a so-called “infinite loop” (it enters a non terminating computation).

While, mathematically speaking, images m images Q is also “verified” by virtue of looping forever on input images m , algorithmically speaking this is no verification at all as we do not have a way of knowing whether N is looping forever as opposed to simply being awfully slow, planning perhaps to halt in a couple of trillion years (cf. halting problem 2.5.0.16 ).

In the algorithmic sense, a verifier (of a semi-computable set of m -tuples) verifies only the “yes” instances of questions such as “Is images m images Q ?”—hence its name.           images

images Thus, the output of a verifier for a semi-computable relation Q ( images ), when it halts, is irrelevant. It has verified membership of its input to Q simply by virtue of terminating its computation . images

2.5.0.9 Definition. (Undecidable Problems) A problem is a question of the form images images Q. Synonymously, a question of the form Q ( images ).

images

Figure 2.1 A decider and a verifier, pictorially, for handling the query, “ images n images A ?”, by a URM.

Thus, a problem is a predicate .

We say that a problem Q ( images ) is decidable or (recursively) 82 solvable, iff there is a decider for it, which mathematically is expressed by “ Q ( images ) images images * ”—i.e., Q is recursive. In the opposite case we say that Q ( images ) is undecidable or (recursively) unsolvable .

A problem Q ( images ) is semi-decidable iff there is a a verifier for it, that is, iff Q ( images ) is semi-computable.           images

Intuitively, we see that if we have a verifier for a relation Q ( images n ) and also have a verifier for its complement (negation) ¬ Q ( images n ), then we can build a decider for Q ( images n ): On input images n we simply run both verifiers simultaneously. If the one for Q halts, then we print 0 and stop the computation. If, on the other hand, the one for ¬ Q halts, then we print 1 and stop. Of course, one or the other will halt, since one of Q ( images n ) or ¬ Q ( images n ) is true!

This process computes XQ ( images n ). Put more mathematically,

2.5.0.10 Proposition. If Q ( images n ) and ¬ Q ( images n ) are in images * , then both are in images * .

Proof. Let i and j be semi-indices of Q and ¬ Q respectively, that is ( 2.5.0.4 ),

images

Define

images

images Intuitively, g implements (mathematically) the process in which we run the two verifiers simultaneously, (coded as) i and j , and look for one that halts, by looking for the smallest z that codes a computation 83 of i or j as the case may be. images

Trivially, g images images . Hence, g images images , since it is total (why?). We are done by noticing that Q ( images n ) ≡ T ( n ) ( i , images n , g ( images n ))—cf. 2.1.2.24. By closure properties of images * ( 2.1.2.21 ), ¬ Q ( images n ) is in images * , too.           images

2.5.0.11 Proposition. images * ⊆ images * .

Proof . Let Q ( images ) images images * and y be a new variable (other than any of the images ). Since Q does not depend on y , we have Q ( images ) ≡ (∃ y ) Q ( images ). By 2.5.0.5 , Q ( images ) images images * .           images

images 2.5.0.12 Remark. An intuitive way to see the truth of the preceding proposition is this: Given a URM M that decides Q ( images ), that is, computes XQ , modify it to compute instead

images

How do we do this? Easy: Using M as a subprogram, we build a new URM, G , for g that

(1) Given the input images , G first computes XQ ( images )—using M .

(2) If the computed answer is 0, then it halts (jumps to the stop instruction of G ).

If the answer is 1 then it enters an infinite loop.

How do we enter an infinite loop deliberately? Well, say that the output variable of M and G is Y . We just need the following program “logic” (as programmers say):

images Comment. Above k − 1 we have just M , with its stop removed k − 1 : if Y = 0 goto k else goto k − 1

k :     stop            images images

images 2.5.0.13 Remark. (Undecidable Problems and Uncomputable Functions Exist)

We can readily show, albeit in a somewhat intangible manner, that undecidable problems and therefore uncomputable total functions (their characteristic functions) exist.

This readily follows from a so-called cardinality argument: By Kleene’s Normal Form theorem, we have only a countable set of partial recursive functions

images

Thus the subset (recall 1.3.0.44) of total (computable) 0-1-valued functions (and hence, decidable problems) is countable. However, by 1.3.0.50, the set of all total functions f : images → {0, 1} is uncountable. So there must be many such functions that do not belong to the enumeration (1)! Each such function f not only provides an example of an uncomputable function, but being 0-1-valued provides an example of an undecidable problem, this one: f ( x ) = 0.

We called this an “intangible demonstration” of the existence of undecidable problems as it produced no specific meaningful problem that is undecidable. We remedy this below.           images images

2.5.0.14 Definition. (The Halting Problem) The halting problem has central significance in computability. It is the question whether “ program x will ever halt if it starts computing on input x ”. That is, if we set K = { x : images x (x) ↓}, then the halting problem is x images K . We denote the complement of K by images .           images

2.5.0.15 Exercise. The halting problem x images K is semi-recursive.

Hint. The problem is “ images x ( x ) ↓”. Now invoke the normal form theorem ( 2.3.0.8 (1)).           images

2.5.0.16 Theorem. (Unsolvability of the Halting Problem) The halting problem is undecidable .

Proof . In view of the preceding exercise (and 2.5.0.10 ), it suffices to show that images is not semi-computable. Suppose instead that i is a semi-index of this set. Thus, x images images ≡ (∃ z ) T ( i, x, z ), or, making the part x images images —that is, images x ( x ) ↑—explicit:

images

Substituting i into x in (1) we get a contradiction.           images

images 2.5.0.17 Remark. (1) By 2.5.0.3 a set S ⊆ images is semi-recursive iff “it is a W i ”, that is, for some i , S = W i . The above proof says that “ images is not a W i ”. Is this surprising? Well, no!

This goes back to the Cantor diagonalization that shows that D (⊆ images ), below,

D = { x : x images S x }

is not an S i (cf. 1.3.0.52 ), where each S i is a subset of images . Indeed,

images

hence x images W i ≡¬(∃ y ) T ( i,x,y ) and, in particular, i images W i ≡¬(∃ y ) T ( i,i,y ). But the right hand side says “ images i ( i ) ↑”, that is, i images images . Thus

images

and Cantor’s diagonalization argument shows that “ images is not a W i ”. So the proof of 2.5.0.16 was a well-concealed diagonalization argument!

(2) Since K images images * , we conclude that the inclusion images * ⊆ images * ( 2.5.0.11 ) is proper, i.e., images * ⊂ images * .

(3) The characteristic function of K provides an example of a total uncomputable function.

(4) In 2.1.2.14 we saw an example of how to remove “points of non definition” from a function so that it remains computable after it has been extended to a total function. Can we always do that?

No. For example, the function f = λ x . images x ( x ) + 1 cannot be extended to a total computable function. Of course, by 2.3.0.8 , f images images , since, for all x, f ( x ) ⋍ d (( μ y ) T ( x, x, y )) + 1. Here is why: Suppose that g images images extends f . Thus, g = images i for some i . Let us look at g ( i ): We have

images

But since f ( i ) ↓, we also have g ( i ) = f ( i ) as g extends f , a contradiction.           images

Once we have built a class of functions or predicates, we next look at their closure properties.

2.5.0.18 Theorem. (Closure Properties of images * ) images * is closed under ∨, ∧,(∃ y ) < z , (∃ y ), and (∀ y ) < z . It is not closed under either ¬ or (∀ y ).

Proof. Given semi-computable relations P ( images n ), Q ( images m ), and R ( y , images k ) of semi-indices p, q, r, respectively. In each case we will express the relation we want to prove semi-computable as a strong projection ( 2.5.0.5 ):

images

images

As for possible closure under ¬ and ∀ y , K provides a counterexample to ¬: K images images * ( 2.5.0.15 ) but images images images * ( 2.5.0.16 ). Closure under ∀ y is also untenable as ¬ T ( x,x,y ) provides a counterexample: Being primitive recursive, it is in images * . However, (∀ y )¬ T ( x,x,y ) is not, since this is ¬(∃ y ) T ( x,x,y )—that is, x images images .           images

images 2.5.0.9 Remark. The case for ∨ in the proof above is straightforward since ∃ distributes with images .

However, it does not distribute with ∧, hence the complication in the ∧ case. We want to say that images is true precisely when two independent computations z 1 and z 2 exist for the machines (coded by) p and q, if the inputs are images n and images m , respectively.

One way to say this is just as we did, by saying that there is a number w , bigger than both of z 1 and z 2 —for example w = max( z 1 , z 2 ) + 1 will do—and then use “(∃ z ) < w ” in each case.

Pause . Why not forget about these acrobatics and just rest the case with the first line of the ∧ case above? images

But surely, because we want to express the left hand side as a formula of the form (∃ w ) S ( w ,...)—in order to invoke 2.5.0.5 —that is, a formula with a single existential quantifier up in front and with a recursive S [confirmed due to bounded quantifications, “(∃ z ) < w ”, being employed].

An alternative way of saying “I have two computations z 1 and z 2 ” is to use coding:

images

For the (∃ y ) < z case we used the commutativity betwee the two ∃.

Pause. But one is bounded! Can it commute with an unbounded one? (See Exercise 2.12.26 ) images

In the double-∃ case we reduce the two quantifiers to one, as needed for a form (∃ w ) S ( w ,...) with recursive S , by using a z > y , w (e.g., z = max( y, w ) + 1 will do). Alternatively, we can use z = [ y, w ] and thus say

images

Regarding the (∀ y ) < z case, commuting ∃ and ∀ is not on.

Pause . Think of (∀ x )(∃ y ) x < y vs. (∃ y )(∀ x ) x < y . images

Yet, we wanted to bring

images

in the form (∃ w ) S ( w ,. . .) with a recursive S . Thus, we argued (implicitly) as follows: (1) says that for every y = 0, 1,..., z −1 there is a w -value—possibly dependent on the y—that is, there is a sequence of numbers w 0 , w 1 ,..., w z −1 that make the predicate T (k+1) ( r, i, images k , w i ) true. If we set u = max{ w 0 , w 1 ,..., w z −1 } + 1 then we can capture this observation by making the quantifier prefix of (1) “(∃ u )(∀ y ) < z (∃ w ) <u ”. Incidentally, this expresses (1) in the form required: (∃ w ) S ( w ,. . .) with a recursive S . This is precisely what we did in our proof above.

An alternative technique, using coding, is often encountered in the literature: (1) is equivalent to

images

which has the proper form.           images images

2.5.0.20 Proposition. If λ images . f ( images ) images images and Q ( z , images ) images images * , then Q ( f ( images ), images ) images images * .

Proof . By 1.2.0.10,

images

By 2.5.0.7 and 2.5.0.18 , the right hand side, and hence the left hand side, of ≡ is semi-recursive.           images

For a more direct proof, see Exercise 2.12.32 .

2.5.0.21 Example. This is our first example of a reduction argument, a trivial one. We introduce a generalization, K 0 , of the halting set K , by

images

We show that the problem 〈 x , y 〉 images K 0 is undecidable, that is,

images

Suppose that (1) is false. Then the characteristic function, λ xy .χ K 0 ( x , y ) of K 0 is in images . But then so is the function f = λ x .χ K 0 ( x , x ) obtained from χ K 0 by identification of variables (cf. 2.1.2.6 ). However, f is the characteristic function of the halting set, and we just have shown that the halting problem is decidable!

This contradiction shows that (1) is correct, after all.

We have just witnessed an instance of an argument that went like this: If I have an algorithm that solves problem B, 85 then I know how to build another algorithm that uses the one for B and solves problem A. 86

That is, we reduced problem A to problem B (this makes A “more decidable” than B ; and makes B “more undecidable” than A ).

Images This reduction shows that if we know that A is undecidable, then so must be B.            Images

We will encounter many more reduction arguments in Section 2.7 .           images

Images 2.5.0.22 Example. (A Very Hard Problem) The equivalence problem is: given two programs, decide if they compute the same function or not.

A “program” here can be any finite way of describing a function. This finite way could be an actual program, such as a URM or a loop program. Or it could be a derivation (cf. 2.1.2.1 and Corollary 2.3.0.11 ), say, within images or images , which defines a function.

To fix ideas, let us focus attention on primitive recursive functions, finitely defined via loop programs. We ask: Is the problem of determining whether two such functions are equal decidable?

Well, if it is, then in particular so will be the special case of determining whether λ y .1 and λ y .χ T ( x , x , y )—where T is the Kleene predicate—are the same function or not, for any given x. The reader may readily imagine—due to the primitive recursiveness of both functions—that they are given by loop programs.

The question, mathematically, is (∀ y ) (1 = χ T ( x , x , y )). In terms of T this says (∀ y )¬ T ( x , x , y ), or ¬(∃ y ) T ( x x , y ).

We recognize the last expression as x images images , which we know that is not semi-computable ( 2.5.0.16 ), let alone recursive!

Pause. Why “let alone”? Images

Thus the equivalence problem of primitive recursive functions is incredibly hard: There is not even a verifier for it!            images Images

2.5.0.23 Remark. (Computably Enumerable Sets) There is an interesting characterization of non-empty semi-computable sets that is found in all introductions to the theory of computation. These sets are precisely those that can be “enumerated effectively” or “computably”, that is, we can prove that

A non-empty set S ⊆ images is semi-computable iff it is the range (cf. Definition 1.2.0.5 ) of some f images images .

Images The enumeration is not required to be 1-1, so there may be repetitions. Notice that since the enumerating function is total, there will necessarily be repetitions in the case when S is finite.           Images

What is the intuition for this? Well,

(1) Assume first that we have an algorithmic enumeration of all the members of S . Here is then how to verify (semi-decide) the question x images S : Given x , start the algorithmic enumeration and keep an eye on what it “prints”. If and when x is printed, then stop. We have verified x images S . What if x images S ? Well, then it will never be printed by the enumeration and we will never stop our process.

(2) Conversely, assume that we have a verifier, M (a URM), for x images S . We write a new program N that behaves as follows: It systematically generates all pairs of numbers 〈 x , y 〉, one at a time.

For example, one can enumerate all numbers

0, 1, 2, 3, … , z , …

in turn, and, for each z generated, one can generate the pair 〈( z ) 0 , ( z ) 1 〉.

For each pair generated, N checks whether M , on input x, halts within y computation steps. 87 If so, x is printed (as it clearly belongs to S ).

Pause. Why make it so complicated and not instead enumerate all numbers x in turn, and if M halts on x , then print x ? Images

The technique in (2) above is called dovetailing several computations (of M ) for several inputs “at once”. Well, strictly speaking, not “at once”. The method implements, indeed sequentially simulates, a “poor person’s parallelism” , because, in essence, it simulates the in parallel examination of several questions of the type “does M halt on x ?”.

Images The essential feature of parallelism is not the temporal simultaneity of testing the questions “does M halt on x ?” for various x , but rather the fact that if an input x = a causes M to run forever, this does not affect, nor block, the testing of other inputs for which M halts. A true parallel “environment” allocates one process to each input x . On the other hand, dovetailing captures this key property of parallelism and does so with a single computation process (or “single processor”)!           Images

The simulation of parallelism is effected by allowing to each question gradually more and more time (number of steps) to reach an answer. Notice that since there are infinitely many pairs 〈 a , y 〉 with first component a , if M ever halts on a —say, using y = b computation steps—then this fact will be eventually verified in the process (2): It will happen precisely when we will be testing the pair 〈 a , b 〉.

An intuitively more immediate rearrangement of the dovetailing process of (2), which demonstrates the sense in which dovetailing is approaching true parallelism “in the limit”, is captured by the matrix below:

0; 1
0,1; 2
0,1,2; 3
0,1,2,3; 4
.
.
.
0,1,2,3,…, i ; i + 1
.
.
.

The number at the far right in each row is the number of steps that we let M run. The other numbers in each row are the inputs we test for said number of steps. In the “limit”, it is as if we are testing all inputs “simultaneously”: input 0 for one step; inputs 0 and 1 for two steps; inputs 0, 1 and 2 for three steps; …, inputs 0, 1, …, i for i + 1 steps; and so on.           images

Mathematically, we repeat the above informal argument, (1) and (2), in 2.5.0.24 below to prove the italicized statement at the beginning of the previous remark. Central in our preceding discussion was the concept of “step”. But what is a step mathematically? We take as “step” to be the entire computation, coded as y in the Kleene predicate T ( i , x , y ). That is, for any images i , its step-counting or complexity function is

images

This is reasonable, since the computation y is a strictly increasing function of how many ID-to-ID “real steps” took place in the (terminating) computation.

In fact, Blum (1967) takes as the key, indeed defining , properties of the concept of complexity of images i the following two:

(I) images i ( x ) ↓ iff Φ i ( x ) ↓; that is, the program i halts on input x if a complexity of computation can be assigned for said input.

(II) Φ i ( x ) ≤ y is recursive ; that is, we can decide whether machine i halts within y (i.e., in ≤ y ) “steps”.

Blum (1967) takes (I)–(II) as the axioms for complexity theory, that is, without specifying Φ explicitly. Many concrete choices of Φ that satisfy the axioms are possible. By the way, for our chosen Φ in (*), (I) is trivially obtained directly from 2.3.0.8 . As for (II), Φ i ( x ) ≤ y ≡ (∃ z ) ≤ y T ( i , x , z ) which is more than recursive: primitive recursive.

On the other hand y < Φ i ( x ) ≡ ¬Φ i ( y ) ≤ y ; also in images * .

Images It is important to observe that we bypass (I), above, when we assess

images

We do not compute Φ i ( x ) (which may diverge!) to figure out the answer.           Images

2.5.0.24 Theorem. A non-empty set S ⊆ images is semi-computable iff it is the range of some f images images .

Proof . For the part (1), let f be primitive recursive such that ran( f ) = S . That is,

y images S ≡ (∃ x ) f ( x ) = y

Given that f ( x ) = y is in images * (2.1.2.25), y images S is semi-computable by the projection theorem ( 2.5.0.5 ).

For the dovetailing part, (2) of 2.5.0.23 , assume that the non-empty S is semi-computable. Let i be a semi-index for S , thus,

images

for all x. Following directly on the idea in (2), with the concept of “step” made mathematically precise in the preceding remarks, we define the enumerating function by:

images

where “ a ” is some fixed member of S that we keep outputting every time the condition “ T ( i , ( z ) 0 , ( z ) 1 )” fails, 88 ensuring that f is total. Of course f is primitive recursive.

Is it true that ran( f ) = S ?

Indeed, as ran( f ) contains only numbers of the form ( z ) 0 such that T ( i , ( z ) 0 , ( z ) 1 ) holds, it is immediate by (*) that ran( f ) ⊆ S. Conversely, let x images S and let b be a value of y that makes (*) true. But then f ([ x , b ]) = x , so x images ran( f ).           images

The above result justifies the following nomenclature:

2.5.0.25 Definition. A set S ⊆ images is called computably enumerable (c.e.) or recursively enumerable (r.e.) iff it is either empty, or is the range of a primitive recursive function.           images

Images There is no loss of generality in presenting the above definition for subsets of images since via coding […] it can be trivially and naturally extended to sets of n -tuples for n > 1. A set S ⊆ images n is c.e. iff there is a primitive recursive f such that ran( f ) = {[ images ] : S ( images )}.           Images

2.5.0.26 Corollary. A non-empty set S ⊆ images is semi-recursive iff it is c.e. (r.e.)

2.5.0.27 Corollary. A non-empty set S ⊆ images n is semi-recursive iff it is c.e. (r.e.)

Proof . The if is straightforward, while the only if is a direct adaptation of the proof of 2.5.0.24 : Let

images

for all x. The enumerator f is given by

images

where “ images n ” is some fixed member of S.            images

2.5.0.28 Corollary. A set S ⊆ images n is semi-recursive iff it the range of an f images images .

Proof. The only if is proved as above, where we just drop the “[ images n ] otherwise”. For the if , suppose that

y images S ≡ (∃ x ) f ( x ) = y

By 2.5.0.7 and 2.5.0.18 , the above yields S images images * .           images

Images 2.5.0.29 Example. (Another Very Hard Problem) The set images = { x : images x images images }— which trivially is the same as { x : images x is total}; cf. 2.1.1.2 —is very important in computability. One certainly wants to know whether or not we can “tell” if a program x computes a total function. We can tell in one of two ways: We can fully (algorithmically) decide the question x images images , or we can just verify it when true. Which one is it here?

Neither. images is not semi-recursive, hence nor is it recursive ( 2.5.0.11 ). In that sense this is another very hard—and very meaningful—problem of which we cannot even verify the positive instances.

We prove the non semi-recursiveness by proving that images is not c.e. using diagonalization (cf. Subsection 2.2.2 and 1.3.0.50 ). So, by way of contradiction, let f images images be such that images = ran( f ). This means that { images f ( x ) : x images images } is the set of all total computable functions of one variable. Consider the function d = λ x . images f ( x ) ( x ) + 1.

By the preceding remark, and composition with the successor function, d images images . Thus, for some i ,

images

since images is the set of all programs that compute total 1-argument functions, thus a program m for d must be an f ( i ).

What do we know of images f ( i ) ( i )? Well,

images

A contradiction, since all sides of = are defined. So no such f exists, and images is not c.e.           images Images

The above example concludes a discussion we have started in the images -enclosed passage on p. 147 .

Quite apart from the empirical question of whether or not “Church’s Thesis” is correct, we note that within the formalization of images , in which the functions images z of images have finite descriptions z images images , it is impossible to have an enumeration of all such descriptions via a recursive function of images .

So, at least, within the images -formalism we cannot diagonalize out of images by an argument like the one given in 2.2.2. This observation will be proved mathematically without invoking any “beliefs”.

2.5.0.30 Exercise. (Definition by Positive Cases) Consider a set of mutually exclusive relations R i ( images ), i = 1, …, n , that is, R i ( images ) ∧ R j ( images ) is false for each images as long as i ≠ j .

Then we can define a function f by positive cases R i from given functions f j by the requirement (for all images ) given below:

images

Prove that if each f i is in images and each of the R i ( images ) is in images * , then f images images .

Hint. Use 2.5.0.7 along with closure properties of images * relations to examine y = f ( images ).

Images A semi-recursive predicate is “positive” having the form (∃ y ) Q ( y , images ) for some recursive Q ( 2.5.0.5 ). It is also known as a Σ 1 predicate.

It is important to note about the last case in the definition:

(1) The otherwise condition, is the negation of a positive predicate, namely, of the semi-recursive R 1 ∨ … ∨ R n . A “negative” predicate such as this negation has the form (∀ y ) R ( y , images ), for some recursive R , since it is the negation of one of the form (∃ y ) Q ( y , images ), for some recursive Q. Such negative predicates are also called Π 1 predicates.

(2) Note that the “output” in the last case is ↑. This, intuitively, is as much as is expected in general, given that, for example, the “otherwise” of some positive cases, such as x images K , are not even semi-recursive so that the obvious “program” for the function f will enter into an infinite loop when pondering the condition “otherwise”.

This last observation is firmed up mathematically in Exercise 2.12.35 via two examples.           Images