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.

296 DECIDABILITY OF ARITHMETIC WITHOUT MULTIPLICATION<br />

Given a sentence S of L without ·, replace ′ everywhere in it by +1, <strong>and</strong> replace<br />

every quantification ∀x or ∃x by a relativized quantification<br />

∀x((x = 0 ∨ 0 < x) →···) ∃x((x = 0 ∨ 0 < x)& ...).<br />

to obtain a sentence S* ofK . Then S will be true in N if <strong>and</strong> only if S* is true in<br />

M. Thus to prove Presburger’s theorem, it will be sufficient to describe an effective<br />

procedure for determining whether or not a given sentence of K is true in M.<br />

For the remainder of this chapter, therefore, term or formula or sentence will always<br />

mean term or formula or sentence of K, while denotation or satisfaction or truth<br />

will always mean denotation or satisfaction or truth in M. We call two terms r <strong>and</strong><br />

s coextensive if ∀v 1 ...∀v n r = s is true, where the v i are all the variables occurring<br />

in r or s. We call two formulas F <strong>and</strong> G coextensive if ∀v 1 ...∀v n (F ↔ G) is true,<br />

where the v i are all the free variables occurring in F or G.<br />

Given any closed term, we can effectively calculate its denotation. Given any<br />

atomic sentence, we can effectively determine its truth value; <strong>and</strong> we can therefore<br />

do the same for any quantifier-free sentence. We are going to show how one can<br />

effectively decide whether a given sentence S is true by showing how one can effectively<br />

associate to S a coextensive quantifier-free sentence T : once T is found, its<br />

truth value, which is also the truth value of S, can be effectively determined.<br />

The method to be used for finding T ,givenS, is called elimination of quantifiers.<br />

It consists in showing how one can effectively associate to a quantifier-free<br />

formula F(x), which may contain other free variables besides x, <strong>and</strong> quantifier-free<br />

G such that G is coextensive with ∃xF(x) <strong>and</strong> G contains no additional free variables<br />

beyond the free variables in ∃xF(x). This shown, given S, we put it in prenex form,<br />

then replace each quantification ∀x by ∼∃x ∼, <strong>and</strong> work from the inside outward,<br />

successively replacing existential quantifications of quantifier-free formulas by coextensive<br />

quantifier-free formulas with no additional free variables, until at last a<br />

sentence with no free variables, which is to say, a quantifier-free sentence T ,is<br />

obtained.<br />

So let F(x) be a quantifier-free formula. We obtain G, coextensive with ∃xF(x)<br />

<strong>and</strong> containing no addition free variables beyond those in ∃xF(x), by performing, in<br />

order, a sequence of 30 operations, each of which replaces a formula by a coextensive<br />

formula with no additional free variables.<br />

In describing the operations to be gone through, we make use of certain notational<br />

conventions. When writing of a positive integer k <strong>and</strong> a term t we allow ourselves to<br />

write<br />

−t instead of 0 --- t<br />

k instead of 1+1+···+ 1 (k times)<br />

kt instead of t + t + ···+ t (k times)<br />

for instance. With such notation, the 30 operations are as follows:<br />

(1) Put F into disjunctive normal form. (See section 19.1.) Thus we get a disjunction<br />

of conjunctions of atomic formulas of the forms r = s or r < s or D m s (where r<br />

<strong>and</strong> s are terms) <strong>and</strong> negations of such.

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

Saved successfully!

Ooh no, something went wrong!