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.

246 NORMAL FORMS<br />

19.3 Theorem (Full disjunctive normal form). Every truth-functional compound of<br />

given formulas is logically equivalent to one in full disjunctive normal form.<br />

The theorem on negation-normal forms can be elaborated in another direction. A<br />

formula A is said to be in prenex form if it is of the form<br />

Q 1 x 1 Q 2 x 2 ...Q n x n B<br />

where each Q is either ∃ or ∀, <strong>and</strong> where B contains no quantifiers. The sequence of<br />

quantifiers <strong>and</strong> variables at the beginning is called the prefix, <strong>and</strong> the quantifier-free<br />

formula that follows the matrix.<br />

19.4 Example (Finding a prenex equivalent for a given formula). Consider (∀x Fx↔ Ga),<br />

where F <strong>and</strong> G are one-place predicates. This is officially an abbreviation for<br />

Let us first put this in negation-normal form<br />

(∼∀xFx ∨ Ga)&(∼Ga ∨∀xFx).<br />

(∃x∼Fx ∨ Ga)&(∼Ga ∨∀xFx).<br />

The problem now is to ‘push junctions in’. This may be done by noting that the displayed<br />

negation-normal form is equivalent successively to<br />

∃x(∼Fx ∨ Ga)&(∼Ga ∨∀xFx)<br />

∃x(∼Fx ∨ Ga)&∀x(∼Ga ∨ Fx)<br />

∃y(∼Fy ∨ Ga)&∀x(∼Ga ∨ Fx)<br />

∀x(∃y(∼Fy ∨ Ga)&(∼Ga ∨ Fx))<br />

∀x∃y((∼Fy ∨ Ga)&(∼Ga ∨ Fx)).<br />

If we had ‘pulled quantifiers out’ in a different order, a different prenex equivalent would<br />

have been obtained.<br />

19.5 Theorem (Prenex normal form). Every formula is logically equivalent to one in<br />

prenex normal form.<br />

Proof: By induction on complexity. Atomic formulas are trivially prenex. The result<br />

of applying a quantifier to a prenex formula is prenex (<strong>and</strong> hence the result of<br />

applying a quantifier to a formula equivalent to a prenex formula is equivalent to a<br />

prenex formula). The equivalence of the negation of a prenex formula (or a formula<br />

equivalent to one) to a prenex formula follows by repeated application of the equivalence<br />

of ∼∀x <strong>and</strong> ∼∃x to ∃x∼ <strong>and</strong> ∀x∼, respectively. The equivalence of a conjunction<br />

(or disjunction) of prenex formulas to a prenex formula follows on first relettering<br />

bound variables as in Problem 10.13, so the conjuncts or disjuncts have no variables<br />

in common, <strong>and</strong> then repeatedly applying the equivalence of QxA(x) § B, where x<br />

does not occur in B,toQx(A(x) § B), where Q may be ∀ or ∃ <strong>and</strong> § may be & or ∨.<br />

In the remainder of this chapter our concern is less with finding a logical equivalent<br />

of a special kind for a given sentence or formula than with finding equivalents for<br />

satisfiability of a special kind for a given sentence or set of sentences. Two sets of<br />

sentences Ɣ <strong>and</strong> Ɣ* are equivalent for satisfiability if <strong>and</strong> only if they are either

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

Saved successfully!

Ooh no, something went wrong!