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.

298 DECIDABILITY OF ARITHMETIC WITHOUT MULTIPLICATION<br />

contain the variable x.) Repeat these three steps over <strong>and</strong> over until no disjunct has<br />

more than one lower inequality among its conjuncts.<br />

(15) Carry out an analogous process for upper inequalities, until no disjunct has more<br />

than one lower or upper inequality among its conjuncts.<br />

(16) Replace each formula of form<br />

by<br />

D m (kx), D m (---kx), D m (kx+t), or D m (---kx+t)<br />

D m (kx --- 0), D m (kx --- 0), D m (kx --- (---t)), or D m (kx --- t)<br />

as the case may be. This step is justified because for any number a, m divides a if<br />

<strong>and</strong> only if m divides −a.<br />

(17) At this point all atomic formulas with D m <strong>and</strong> involving x have the form<br />

D m (kx --- t), where k is a positive integer. Replace any formula of this form by the<br />

disjunction of all conjunctions<br />

D m (kx --- i)&D m (t --- i)<br />

for 0 ≤ i < m. To see that this step is justified, note that m divides the difference of<br />

two numbers a <strong>and</strong> b if <strong>and</strong> only if a <strong>and</strong> b leave the same remainder on division<br />

by m, <strong>and</strong> that the remainder on dividing a (respectively, b) bym is the unique i<br />

with 0 ≤ i < m such that m divides a − i (respectively, b − i).<br />

(18) Put the result back into disjunctive normal form.<br />

(19) At this point all atomic formulas with D m <strong>and</strong> involving x have the form<br />

D m (kx --- i), where k is a positive integer <strong>and</strong> 0 ≤ i < m. Replace any formula of<br />

this form with k >1 by the disjunction of the formulas D m (x --- j) for all j with<br />

0 ≤ j < m such that m divides kj − i. This step is justified because for any<br />

number a, ka leaves a remainder of i on division by m if <strong>and</strong> only if kj does, where<br />

j is the remainder on dividing a by m.<br />

(20) Put the result back into disjunctive normal form.<br />

(21) At this point all atomic formulas with D m <strong>and</strong> involving x have the form<br />

D m (x --- i), where i is a nonnegative integer. In any such case consider the prime<br />

decomposition of m; that is, write<br />

m = p e 1<br />

1 ···pe k<br />

k<br />

where p 1 < p 2 < ··· < pk <strong>and</strong> all ps are primes.<br />

If k >1, then let m 1 = p e 1<br />

1 ,...,m k = p e k<br />

k , <strong>and</strong> replace D m(x --- i) by<br />

D m1 (x --- i)& ... & D mk (x --- i).<br />

This step is justified because the product of two given numbers having no common<br />

factor (such as powers of distinct primes) divides a given number if <strong>and</strong> only if<br />

each of the two given numbers does.<br />

(22) At this point all atomic formulas with Ds <strong>and</strong> involving x have the form<br />

D m (x − i), where i is a nonnegative integer, <strong>and</strong> m a power of a prime. If in a<br />

given disjunct there are two conjuncts D m (x − i) <strong>and</strong> D n (x − j) where m <strong>and</strong> n<br />

are powers of the same prime, say m = p d , n = p e , d ≤ e, then drop D m (x --- i) in<br />

favor of D n (i − j), which does not involve x. This step is justified because, since

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

Saved successfully!

Ooh no, something went wrong!