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.

276 MONADIC AND DYADIC LOGIC<br />

For the ‘only if’ direction, suppose S has a model M. By the canonical domains<br />

theorem (Corollary 12.18) we may take the domain of M be the set of natural numbers.<br />

We want to show that S* has a model M*. We will take M* to have domain the<br />

set of natural numbers, <strong>and</strong> to assign to every predicate in S other than P the same<br />

denotation that M assigns. It will suffice to show that we can assign denotations to<br />

P* <strong>and</strong> the Q i in such a way that natural numbers a 1 , a 2 , a 3 will satisfy ∃w(Q 1 wx 1 &<br />

Q 2 wx 2 & Q 3 wx 3 & P ∗ w)inM* if <strong>and</strong> only if they satisfy Px 1 x 2 x 3 in M. To achieve<br />

this, fix a function f from the natural numbers onto the set of all triples of natural<br />

numbers. It then suffices to take as the denotation of P*inM* the relation that holds<br />

of a number b if <strong>and</strong> only if f (b) is a triple a 1 , a 2 , a 3 for which the relation that is the<br />

denotation of P in M holds, <strong>and</strong> to take as the denotation of Q i in M* the relation<br />

that holds of b <strong>and</strong> a if <strong>and</strong> only if a is the ith component of the triple f (b).<br />

Proof of Lemma 21.3: We want next to show that we can eliminate any number<br />

of two-place predicates P 1 ,...,P k in favour of a single three-place predicate Q. So<br />

given a sentence S containing the P i , let u 1 ,...,u k be variables not occurring in S,<br />

<strong>and</strong> let S* be the result of replacing each atomic subformula of form P i x 1 x 2 in S by<br />

Qv i x 1 x 2 , <strong>and</strong> let S † be the result of prefixing S*by∃v 1 ···∃v k . For instance, if S is<br />

then S † will be<br />

∀x∃y(P 2 yx & ∀z(P 1 xz& P 3 zy))<br />

∃v 1 ∃v 2 ∃v 3 ∀x∃y(Qv 2 yx & ∀z(Qv 1 xz& Qv 3 zy)).<br />

We claim S is satisfiable if <strong>and</strong> only if S † is satisfiable. As in the preceding proof,<br />

the ‘if’ direction is easy, using the fact that substitution preserves validity. (More<br />

explicitly, if there is a model M † of S † , some elements a 1 ,...,a k of its domain<br />

satisfy the formula S*. We can now get a model M of S by taking the same domain,<br />

<strong>and</strong> assigning as denotation to P i in M the relation that holds between b 1 <strong>and</strong> b 2<br />

if <strong>and</strong> only if the relation that is the denotation of Q in M † holds among a i <strong>and</strong> b 1<br />

<strong>and</strong> b 2 .)<br />

For the ‘only if’ direction, suppose M is a model of S. As in the preceding proof,<br />

we may take the domain of M to be the set of natural numbers, using the canonical<br />

domains theorem. We can now get a model M † of S † , also with domain the natural<br />

numbers, by taking as the denotation of Q in M † the relation that holds among natural<br />

numbers a <strong>and</strong> b 1 <strong>and</strong> b 2 if <strong>and</strong> only if 1 ≤ a ≤ k, <strong>and</strong> as the denotation of P a in M<br />

the relation that holds between b 1 <strong>and</strong> b 2 . From the fact that M is a model of S, it<br />

follows that 1, ..., k satisfy S*inM † , <strong>and</strong> hence S † is true in M † .<br />

Proof of Theorem 21.4: We want next to show that we can eliminate a single threeplace<br />

predicate P in favour of a single two-place predicate Q. So given a sentence<br />

S containing the P, let u 1 , u 2 , u 3 , u 4 be variables not occurring in S, <strong>and</strong> let S* be<br />

the result of replacing each atomic subformula of form P i x 1 x 2 x 3 in S by a certain<br />

formula P ∗ (x 1 , x 2 , x 3 ), namely<br />

∃u 1 ∃u 2 ∃u 3 ∃u 4 (∼Qu 1 u 1 & Qu 1 u 2 & Qu 2 u 3 & Qu 3 u 4<br />

& Qu 4 u 1 & Qu 1 x 1 & Qu 2 x 2 & Qu 3 x 3 & ∼Qx 1 u 2 & ∼Qx 2 u 3 & ∼Qx 3 u 4 & Qu 4 x 1 ).

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

Saved successfully!

Ooh no, something went wrong!