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.

244 NORMAL FORMS<br />

Proof: The proof is by induction on complexity. The base step is trivial, since an<br />

atomic formula is already negation-normal. Most cases of the induction step are trivial<br />

as well. For instance, if A <strong>and</strong> B are equivalent respectively to negation-normal formulas<br />

A* <strong>and</strong> B*, then A & B <strong>and</strong> A ∨ B are equivalent respectively to A*&B* <strong>and</strong><br />

A* ∨ B*, which are also negation-normal. The nontrivial case is to prove that if A is<br />

equivalent to the negation-normal A* then ∼A is equivalent to some negation-normal<br />

A † . This divides into six subcases according to the form of A*. The case where A*is<br />

atomic is trivial, since we may simply let A † be ∼A*. In case A* is of form ∼B, so<br />

that ∼A*is∼∼B, we may let A † be B. In case A* is of form (B ∨ C), so that ∼A*is<br />

∼(B ∨ C), which is logically equivalent to (∼B & ∼C), by the induction hypothesis<br />

the simpler formulas ∼B <strong>and</strong> ∼C are equivalent to formulas B † <strong>and</strong> C † of the required<br />

form, so we may let A † be (B † & C † ). The case of conjunction is similar. In case A*<br />

is of form ∃xB, so that ∼A*is∼∃xB, which is logically equivalent to ∀x∼B, by the<br />

induction hypothesis the simpler formula ∼B is equivalent to a formula B † of the required<br />

form, so we may let A † be ∀xB † . The case of universal quantification is similar.<br />

In the foregoing proof we have used such equivalences as that of ∼(B ∨ C) to<br />

∼B & ∼C, to show ‘from the bottom up’ that there exists a negation-normal equivalent<br />

for any formula. What we show at the induction step is that if there exist<br />

negation-normal equivalents for the simpler formulas ∼B <strong>and</strong> ∼C, then there exists<br />

a negation-normal equivalent for the more complex formula ∼(B ∨ C). If we<br />

actually want to find a negation-normal equivalent for a given formula, we use the<br />

same equivalences, but work ‘from the top down’. We reduce the problem of finding<br />

a negation-normal equivalent for the more complex formula to that of finding such<br />

equivalents for simpler formulas. Thus, for instance, if P, Q, <strong>and</strong> R are atomic, then<br />

can be successively converted to<br />

∼(P ∨ (∼Q & R))<br />

∼P & ∼(∼Q & R)<br />

∼P &(∼∼Q ∨∼R)<br />

∼P &(Q ∨∼R)<br />

the last of which is negation-normal. In this process use such equivalences as that<br />

of ∼(B ∨ C) to∼B & ∼C to ‘bring junctions out’ or ‘push negations in’ until we<br />

get a formula equivalent to the original in which negation is applies only to atomic<br />

subformulas.<br />

The above result on negation-normal form can be elaborated in two different<br />

directions. Let A 1 , A 2 , ..., A n be any formulas. A formula built up from them using<br />

only ∼, ∨, <strong>and</strong> &, without quantifiers, is said to be a truth-functional compound of<br />

the given formulas. A truth-functional compound is said to be in disjunctive normal<br />

form if it is a disjunction of conjunctions of formulas from among the A i <strong>and</strong> their<br />

negations. (A notion of conjunctive normal form can be defined exactly analogously.)<br />

19.2 Proposition (Disjunctive normal form). Every formula is logically equivalent to<br />

one that is in disjunctive normal form.

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

Saved successfully!

Ooh no, something went wrong!