27.04.2015 Views

Computability and Logic

Computability and Logic

Computability and Logic

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

272 MONADIC AND DYADIC LOGIC<br />

associated with the sentences out of which it is compounded. For instance, (B & C)* is<br />

B*&C*, <strong>and</strong> analogously for ∨.IfA is ∀xF(x), then A*is(F(1)& ...&F(m))*, <strong>and</strong><br />

analogously for ∃. Then A comes out true in the interpretation if <strong>and</strong> only if A* does.]<br />

Putting our three observations together, we have proved the following.<br />

21.5 Lemma. For each n, the n-satisfiability problem for first-order logic is solvable.<br />

To show that the decision problem for a class Kissolvable, it is sufficent to show<br />

how one can effectively calculate for any sentence S in K a number n such that if<br />

S has a model at all, then it has a model of size ≤n. For if this can be shown, then<br />

for K the satisfiability problem is reduced to the n-satisfiability problem. The most<br />

basic positive result that can be proved in this way concerns monadic logic, where<br />

only one-place predicates are allowed.<br />

21.6 Theorem. The decision problem for monadic logic is solvable.<br />

A stronger result concerns monadic logic with identity, where in addition to oneplace<br />

predicates, the two-place logical predicate of identity is allowed.<br />

21.7 Theorem. The decision problem for monadic logic with identity is solvable.<br />

These results are immediate from the following lemmas, whose proofs will occupy<br />

section 21.2.<br />

21.8 Lemma. If a sentence involving only monadic predicates is satisfiable, then it has<br />

a model of size no greater than 2 k , where k is the number of predicates in the sentence.<br />

21.9 Lemma. If a sentence involving only n monadic predicates <strong>and</strong> identity is satisfiable,<br />

then it has a model of size no greater than 2 k · r, where k is the number of monadic<br />

predicates <strong>and</strong> r the number of variables in the sentence.<br />

Before launching into the proofs, some brief historical remarks may be in order.<br />

The first logician, Aristotle, was concerned with arguments such as<br />

All horses are mammals.<br />

All mammals are animals.<br />

Therefore, all horses are animals.<br />

The form of such an argument would in modern notation be represented using oneplace<br />

predicates. Later logicians down through George Boole in the middle 19th<br />

century considered more complicated arguments, but still ones involving only oneplace<br />

predicates. The existence had been noticed of intuitively valid arguments involving<br />

many-place predicates, such as<br />

All horses are animals.<br />

Therefore, all who ride horses ride animals.<br />

But until the later 19th century, <strong>and</strong> especially the work of Gottlob Frege, logicians<br />

did not treat such arguments systematically. The extension of logic beyond the<br />

monadic to the polyadic is indispensable if the forms of arguments used in mathematical<br />

proofs are to be represented, but the ability of contemporary logic to represent

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

Saved successfully!

Ooh no, something went wrong!