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.

21.2. MONADIC LOGIC 273<br />

the forms of such arguments comes at a price, namely, that of the undecidability<br />

of the contemporary notions of validity <strong>and</strong> satisfiability. For, as the results listed<br />

above make plain, undecidability sets in precisely when two-place predicates are<br />

allowed.<br />

Let us get straight to work.<br />

21.2 Monadic <strong>Logic</strong><br />

Proof of Lemma 21.9: Let S be a sentence of monadic logic with identity involving<br />

k one-place predicates (possibly k = 0) <strong>and</strong> r variables. Let P 1 ,...,P k be predicates<br />

<strong>and</strong> v 1 ,...,v r the variables. Suppose M is a model of S.<br />

For each d in the domain M =|M| let the signature σ (d) ofd be the sequence<br />

( j 1 ,..., j k ) whose ith entry j i is 1 or 0 according as Pi<br />

M does or does not hold<br />

of d [if k = 0, then σ (d) is the empty sequence ( )]. There are at most 2 k possible<br />

signatures. Call e <strong>and</strong> d similar if they have the same signature. Clearly similarity is<br />

an equivalence relation. There are at most 2 k equivalence classes.<br />

Now let N be a subset of M containing all the elements of any equivalence class<br />

that has ≤r elements, <strong>and</strong> exactly r elements of any equivalence class that has ≥r<br />

elements. Let N be the subinterpretation of M with domain |N |=N. Then N has<br />

size ≤2 k · r. To complete the proof, it will suffice to prove that N is a model of S.<br />

Towards this end we introduce an auxiliary notion. Let a 1 ,...,a s <strong>and</strong> b 1 ,...,b s<br />

be sequences of elements of M. We say they match if for each i <strong>and</strong> j between 1<br />

<strong>and</strong> n, a i <strong>and</strong> b i are similar, <strong>and</strong> a i = a j if <strong>and</strong> only if b i = b j . We claim that if<br />

R(u 1 ,...,u s ) is a subformula of S (which implies that s ≤ r <strong>and</strong> that each of the us<br />

is one of the vs) <strong>and</strong> a 1 ,...,a s <strong>and</strong> b 1 ,...,b s are matching sequences of elements<br />

of M, with the b i all belonging to N, then the a i satisfy R in M if <strong>and</strong> only if the b i<br />

satisfy R in N . To complete the proof it will suffice to prove this claim, since, applied<br />

with s = 0, it tells us that since S is true in M, S is true in N , as desired.<br />

The proof of the claim is by induction on complexity. If R is atomic, it is either of<br />

the form P j (u i ) or of the form u i = u j . In the former case, the claim is true because<br />

matching requires that a i <strong>and</strong> b i have the same signature, so that Pj<br />

M holds of the<br />

one if <strong>and</strong> only if it holds of the other. In the latter case, the claim is true because<br />

matching requires that a i = a j if <strong>and</strong> only if b i = b j .<br />

If R is of form ∼Q, then the as satisfy R in M if <strong>and</strong> only if they do not satisfy<br />

Q, <strong>and</strong> by the induction hypothesis the as fail to satisfy Q in M if <strong>and</strong> only if the bs<br />

fail to satisfy Q in N , which is the case if <strong>and</strong> only if the bs satisfy R in N , <strong>and</strong> we<br />

are done. Similarly for other truth-functional compounds.<br />

It remains to treat the case of universal quantification (<strong>and</strong> of existential quantification,<br />

but that is similar <strong>and</strong> is left to the reader). So let R (u 1 ,...,u s ) be of form<br />

∀u s+1 Q(u 1 ,...,u s , u s+1 ), where s + 1 ≤ r <strong>and</strong> each of the us is one of the vs. We<br />

need to show that a 1 ,...,a s satisfy R in M (which is to say that for any a s+1 in<br />

M, the longer sequence of elements a 1 ,...,a s , a s+1 satisfies Q in M) if <strong>and</strong> only if<br />

b 1 ,...,b s satisfy R in N (which is to say that for all b s+1 in N, the longer sequence<br />

of elements b 1 ,...,b s , b s+1 satisfies Q in N ). We treat the ‘if’ direction <strong>and</strong> leave<br />

the ‘only if’ direction to the reader.

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

Saved successfully!

Ooh no, something went wrong!