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.

21.3. DYADIC LOGIC 275<br />

to a quantified formula ∃xB(x) in terms of the associate (B(x)) © of the subformula<br />

B(x), <strong>and</strong> analogously for ∀.<br />

∃xB(x) will of course be equivalent to ∃x(B(x)) © . And (B(x)) © will be a truthfunctional<br />

compound of clear formulas A 1 ,...,A n , each of which either is atomic or<br />

begins with a quantifier. Consider a formula equivalent to (B(x)) © that is in disjunctive<br />

normal form in the A i . It will be a disjunction B 1 ∨···∨B r of formulas B j , each of<br />

which is a conjunction of some of the A i <strong>and</strong> their negations. We may assume each<br />

B j has the form<br />

C j,1 & ... & C j,r & D j,1 & ... & D j,s<br />

where the Cs are the conjuncts in which the variable x does occur <strong>and</strong> the Ds those in<br />

which it does not; by clarity, the Ds will include all conjuncts that begin with or are<br />

the negations of formulas beginning with quantifiers, <strong>and</strong> the Cs will all be atomic.<br />

Then as ∃x(B(x)) © we may take the disjunction B ′ 1 ∨···∨B′ r , where B′ j is<br />

∃x(C j,1 & ··· & C j,r )&D j,1 & ... & D j,s .<br />

(In the degenerate case where r = 0, B ′ j is thus the same as B j.)<br />

Again we go straight to work.<br />

21.3 Dyadic <strong>Logic</strong><br />

Proof of Lemma 21.2: Lemma 21.1 tells us the satisfiability problem is unsolvable<br />

for predicate logic, <strong>and</strong> we want to show it is unsolvable for dyadic logic. It will be<br />

enough to show how one can effectively associate to any sentence of predicate logic a<br />

sentence of dyadic logic such that the former will be satisfiable if <strong>and</strong> only if the latter<br />

is. What we are going to do is to show how to eliminate one three-place predicate<br />

(at the cost of introducing new two- <strong>and</strong> one-place predicates). The same method<br />

will work for k-place predicates for any k ≥ 3, <strong>and</strong> applying it over <strong>and</strong> over we<br />

can eliminate all but two- <strong>and</strong> one-place predicates. The one-place ones can also be<br />

eliminated one at a time, since given a sentence S containing a one-place predicate<br />

P, introducing a new two-place predicate P* <strong>and</strong> replacing each atomic subformula<br />

Px by P*xx clearly produces a sentence S* that is satisfiable if <strong>and</strong> only if S is. Thus<br />

we can eliminate all but two-place predicates.<br />

To indicate the method for eliminating a three-place predicate, let S be a sentence<br />

containing such a predicate P. Let P* be a new one-place predicate, <strong>and</strong> Q i for<br />

i = 1, 2, 3 a trio of new two-place predicates. Let w be a variable not appearing in<br />

S, <strong>and</strong> let S* be the result of replacing each atomic subformula of form Px 1 x 2 x 3<br />

in S by<br />

∃w(Q 1 wx 1 & Q 2 wx 2 & Q 3 wx 3 & P ∗ w).<br />

We claim S is satisfiable if <strong>and</strong> only if S* is satisfiable. The ‘if’ direction is easy.<br />

For if S is unsatisfiable, then ∼S is valid, <strong>and</strong> substitution (of a formula with the<br />

appropriate free variables for a predicate) preserves validity, so ∼S* is valid, <strong>and</strong> S*<br />

is unsatisfiable.

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

Saved successfully!

Ooh no, something went wrong!