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.

DECIDABILITY OF ARITHMETIC WITHOUT MULTIPLICATION 299<br />

m divides n, for any number a,ifa leaves remainder j on division by n, a will<br />

leave remainder i on division by m if <strong>and</strong> only if j does.<br />

(23) Repeat the preceding step until for any two conjuncts D m (x --- i) <strong>and</strong> D n (x --- j)ina<br />

single disjunct, m <strong>and</strong> n are powers of distinct primes, <strong>and</strong> therefore have no<br />

common factors.<br />

(24) Replace each D m (x --- i)byD m (x --- i*), where i* is the remainder on dividing i<br />

by m.<br />

(25) Rewrite each disjunct so that all atomic formulas with with Ds <strong>and</strong> involving x are<br />

on the left.<br />

(26) At this point each disjunct has the form<br />

D m1 (x --- i 1 )& ... & D mk (x --- i k ) & (other conjuncts)<br />

where 0 ≤ i 1 < m 1 ,...,0 ≤ i k < m k . Let m = m 1 ·····m k . According to the<br />

Chinese remainder theorem (see Lemma 15.5), there exists a (unique) i with<br />

0 ≤ i < m such that i leaves remainder i 1 on division by m 1 ,...,i leaves<br />

remainder i k on division by m k . Replace the conjuncts involving Ds by the single<br />

formula D m (x --- i).<br />

(27) At this point we have a disjunction F 1 ∨···∨F k each of whose disjuncts is a<br />

conjunction containing at most one lower inequality, at most one upper inequality,<br />

<strong>and</strong> at most one formula of form D m (x − i). Rewrite ∃x(F 1 ∨···∨F k )as<br />

∃xF 1 ∨···∨∃xF k .<br />

(28) Within each disjunct ∃xF, rewrite the conjunction F so that any <strong>and</strong> all conjuncts<br />

involving x occur on the left, <strong>and</strong> confine the quantifier to these conjuncts, of<br />

which there are at most three; if there are none, simply omit the quantifier.<br />

(29) At this point, the only occurrences of x are in sentences of one of the seven types<br />

listed in Table 24-1. Replace these by the sentences listed on the right.<br />

Table 24-1. Elimination of quantifiers<br />

∃x s< jx 0

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

Saved successfully!

Ooh no, something went wrong!