27.04.2015 Views

Computability and Logic

Computability and Logic

Computability and Logic

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

7.1. RECURSIVE RELATIONS 75<br />

Given a relation R(y 1 , ..., y m ) <strong>and</strong> total functions f 1 (x 1 , ..., x n ), ..., f m (x 1 , ...,<br />

x n ), the relation defined by substitution of the f i in R is the relation R ∗ (x 1 , ..., x n )<br />

that holds of x 1 , ..., x n if <strong>and</strong> only if R holds of f 1 (x 1 , ..., x n ), ..., f m (x 1 , ..., x n ),<br />

or in symbols,<br />

R ∗ (x 1 ,...,x n ) ↔ R( f 1 (x 1 ,...,x n ),..., f m (x 1 ,...,x n )).<br />

If the relation R ∗ is thus obtained by substituting functions f i in the relation R, then<br />

the characteristic function c ∗ of R ∗ is obtainable by composition from the f i <strong>and</strong> the<br />

characteristic function c of R:<br />

c ∗ (x 1 ,...,x n ) = c( f 1 (x 1 ,...,x n ),..., f n (x 1 ,...,x n )).<br />

Therefore, the result of substituting recursive total functions in a recursive relation is<br />

itself a recursive relation. (Note that it is important here that the functions be total.)<br />

An illustration may make this important notion of substitution clearer. For a given<br />

function f , the graph relation of f is the relation defined by<br />

G(x 1 ,...,x n , y) ↔ f (x 1 ,...,x n ) = y.<br />

Let f ∗ (x 1 ,...,x n , y) = f (x 1 ,...,x n ). Then f ∗ is recursive if f is, since<br />

Now f (x 1 , ..., x n ) = y if <strong>and</strong> only if<br />

f ∗ = Cn [ f, id n+1<br />

1<br />

,...,id n+1 ]<br />

n .<br />

f ∗ (x 1 ,...,x n , y) = id n+1<br />

n+1 (x 1,...,x n , y).<br />

Indeed, the latter condition is essentially just a long-winded way of writing the former<br />

condition. But this shows that if f is a recursive total function, then the graph relation<br />

f (x 1 , ..., x n ) = y is obtainable from the identity relation u = v by substituting the<br />

recursive total functions f ∗ <strong>and</strong> id n+1<br />

n+1<br />

. Thus the graph relation of a recursive total<br />

function is a recursive relation. More compactly, if less strictly accurately, we can<br />

summarize by saying that the graph relation f (x) = y is obtained by substituting the<br />

recursive total function f in the identity relation. (This compact, slightly inaccurate<br />

manner of speaking, which will be used in future, suppresses mention of the role of<br />

the identity functions in the foregoing argument.)<br />

Besides substitution, there are several logical operations for defining new relations<br />

from old. To begin with the most basic of these, given a relation R, its negation or<br />

denial is the relation S that holds if <strong>and</strong> only if R does not:<br />

S(x 1 ,...,x n ) ↔∼R(x 1 ,...,x n ).<br />

Given two relations R 1 <strong>and</strong> R 2 , their conjunction is the relation S that holds if <strong>and</strong><br />

only if R 1 holds <strong>and</strong> R 2 holds:<br />

S(x 1 ,...,x n ) ↔ R 1 (x 1 ,...,x n )&R 2 (x 1 ,...,x n )

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!