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.1. SOLVABLE AND UNSOLVABLE DECISION PROBLEMS 271<br />

Church’s theorem need be recalled for purposes of this chapter. We are going to prove<br />

sharper results than Church’s theorem, to the effect that the satisfiability problem is<br />

unsolvable for narrower classes K than the class of all first-order sentences; but in<br />

no case will we prove these sharper results by going back to the proof of Church’s<br />

theorem <strong>and</strong> sharpening the proof. Instead, we are simply going to prove that if the<br />

satisfiability problem for K were solvable, then the satisfiability problem for full<br />

first-order logic would be solvable, as Church’s theorem tells us it is not. And we<br />

are going to prove this simply by showing how one can effectively associate to any<br />

arbitrary sentence a sentence in K that is equivalent to it for satisfiability.<br />

We have in fact already done this in one case in section 19.4, where we showed<br />

how one can effectively associate to any arbitrary sentence a sentence of predicate<br />

logic (that is, one not involving constants or function symbols), <strong>and</strong> indeed one of<br />

predicate logic without identity, that is equivalent to it for satisfiability. Thus we have<br />

already proved the following slight sharpening of Church’s theorem.<br />

21.1 Lemma. The satisfiability problem for predicate logic without identity is unsolvable.<br />

Sharper results will be obtained by considering narrower classes of sentences:<br />

dyadic logic, the part of predicate logic without identity where only two-place predicates<br />

are allowed; the logic of a triadic predicate, where only a single three-place<br />

predicate is allowed; <strong>and</strong> finally the logic of a dyadic predicate, where only a single<br />

two-place predicate is allowed. Section 21.3 will be devoted to proving the following<br />

three results.<br />

21.2 Lemma. The satisfiability problem for dyadic logic is unsolvable.<br />

21.3 Lemma. The satisfiability problem for the logic of a triadic predicate is unsolvable.<br />

21.4 Theorem (The Church–Herbr<strong>and</strong> theorem). The satisfiability problem for the<br />

logic of a dyadic predicate is unsolvable.<br />

Let us now turn to positive results. Call a sentence n-satisfiable if has a model of<br />

some size m ≤ n. Now note three things. First, we know from section 12.2 that if a<br />

sentence comes out true in some interpretation of size m, then it comes out true in<br />

some interpretation whose domain is the set of natural numbers from 1 to m. Second,<br />

for a given finite language, there are only finitely many interpretations whose domain<br />

is the set of natural numbers from 1 to m. Third, for any given one of them we<br />

can effectively determine for any sentence whether or not it comes out true in that<br />

interpretation.<br />

[It is easy to see this last claim holds for quantifier-free sentences: the specification<br />

of the model tells us which atomic sentences are true, <strong>and</strong> then we can easily work out<br />

whether a given truth-functional compound of them is true. Perhaps the easiest way to<br />

see the claim holds for all sentences is to reduce the general case to the special case of<br />

quantifier-free sentences. To do so, for each 1 ≤ k ≤ m add to the language a constant k<br />

denoting k. To any sentence A of the exp<strong>and</strong>ed language we can effectively associate<br />

a quantifier-free sentence A* as follows. If A is atomic, A* isA. IfA is a truthfunctional<br />

compound, then A* is the same compound of the quantifier-free sentences

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

Saved successfully!

Ooh no, something went wrong!