Prenex normal form

Prenex normal form

A formula of the predicate calculus is in prenex[1] normal form if it is written as a string of quantifiers followed by a quantifier-free part (referred to as the matrix).

Every formula in classical logic is equivalent to a formula in prenex normal form. For example, if φ(y), ψ(z), and ρ(x) are quantifier-free formulas with the free variables shown then

\forall x \exists y \forall z (\phi(y) \lor (\psi(z) \rightarrow \rho(x)))

is in prenex normal form with matrix \phi(y) \lor (\psi(z) \rightarrow \rho(x)), while

\forall x ((\exists y \phi(y)) \lor ((\exists z \psi(z) ) \rightarrow \rho(x)))

is logically equivalent but not in prenex normal form.

Contents

Conversion to prenex form

Every first-order formula is logically equivalent (in classical logic) to some formula in prenex normal form. There are several conversion rules that can be recursively applied to convert a formula to prenex normal form. The rules depend on which logical connectives appear in the formula.

Conjunction and disjunction

The rules for conjunction and disjunction say that

(\forall x \phi) \land \psi is equivalent to \forall x ( \phi \land \psi),
(\forall x \phi) \lor \psi is equivalent to \forall x ( \phi \lor \psi);

and

(\exists x \phi) \land \psi is equivalent to \exists x (\phi \land \psi),
(\exists x \phi) \lor \psi is equivalent to \exists x (\phi \lor \psi).

The equivalences are valid when x does not appear as a free variable of ψ; if x does appear free in ψ, it must be replaced with another free variable.

For example, in the language of rings,

(\exists x (x^2 = 1)) \land (0 = y) is equivalent to \exists x ( x^2 = 1 \land 0 = y),

but

(\exists x (x^2 = 1)) \land (0 = x) is not equivalent to \exists x ( x^2 = 1 \land 0 = x)

because the formula on the left is true in any ring when the free variable x is equal to 0, while the formula on the right has no free variables and is false in any nontrivial ring.

Negation

The rules for negation say that

\lnot \exists x \phi is equivalent to \forall x \lnot \phi

and

\lnot \forall x \phi is equivalent to \exists x \lnot \phi.

Implication

There are four rules for implication: two that remove quantifiers from the antecedent and two that remove quantifiers from the consequent. These rules can be derived by rewriting the implication \phi \rightarrow \psi as \lnot \phi \lor \psi and applying the rules for disjunction above. As with the rules for disjunction, these rules require that the variable quantified in one subformula does not appear free in the other subformula.

The rules for removing quantifiers from the antecedent are:

(\forall x \phi ) \rightarrow \psi is equivalent to \exists x (\phi \rightarrow \psi),
(\exists x \phi ) \rightarrow \psi is equivalent to \forall x (\phi \rightarrow \psi).

The rules for removing quantifiers from the consequent are:

\phi \rightarrow (\exists x \psi) is equivalent to \exists x (\phi \rightarrow \psi),
\phi \rightarrow (\forall x \psi) is equivalent to \forall x (\phi \rightarrow \psi).

Example

Suppose that ϕ, ψ, and ρ are quantifier-free formulas and no two of these formulas share any free variable. Consider the formula

 (\phi \lor \exists x \psi) \rightarrow \forall z \rho.

By recursively applying the rules starting at the innermost subformulas, the following sequence of logically equivalent formulas can be obtained:

 ( \exists x (\phi \lor \psi) ) \rightarrow \forall z \rho,
 \forall x ( ( \phi \lor \psi) \rightarrow \forall z \rho ),
 \forall x ( \forall z (( \phi \lor \psi) \rightarrow \rho )),
 \forall x \forall z ( ( \phi \lor \psi) \rightarrow \rho ).

This is not the only prenex form equivalent to the original formula. For example, by dealing with the consequent before the antecedent in the example above, the prenex form

\forall z \forall x ( ( \phi \lor \psi) \rightarrow \rho)

can be obtained:

 \forall z (  (\phi \lor \exists x \psi) \rightarrow \rho )
 \forall z (  (\exists x (\phi \lor \psi) ) \rightarrow \rho ),
 \forall z (  \forall x ( (\phi \lor \psi) \rightarrow \rho ) ),
 \forall z \forall x ( (\phi \lor \psi) \rightarrow \rho ).

Intuitionistic logic

The rules for converting a formula to prenex form make heavy use of classical logic. In intuitionistic logic, it is not true that every formula is logically equivalent to a prenex formula. The negation connective is one obstacle, but not the only one. The implication operator is also treated differently in intuitionistic logic than classical logic; in intuitionistic logic, it is not definable using disjunction and negation.

The BHK interpretation illustrates why some formulas have no intuitionistically-equivalent prenex form. In this interpretation, a proof of

(\exists x \phi) \rightarrow \exists y \psi \qquad (1)

is a function which, given a concrete x and a proof of φ(x), produces a concrete y and a proof of ψ(y). In this case it is allowable for the value of y to be computed from the given value of x. A proof of

\exists y ( \exists x \phi \rightarrow \psi), \qquad  (2)

on the other hand, produces a single concrete value of y and a function that converts any proof of \exists x \phi into a proof of ψ(y). If each x satisfying φ can be used to construct a y satisfying ψ but no such y can be constructed without knowledge of such an x then formula (1) will not be equivalent to formula (2).

The rules for converting a formula to prenex form that do fail in intuitionistic logic are:

(1) \forall x (\phi \lor \psi) implies (\forall x \phi) \lor \psi,
(2) \forall x (\phi \lor \psi) implies \phi \lor (\forall x \psi),
(3) (\forall x \phi) \rightarrow \psi implies \exists x (\phi \rightarrow \psi),
(4) \phi \rightarrow (\exists x \psi) implies \exists x (\phi \rightarrow \psi),
(5) \lnot \forall x \phi implies \exists x \lnot \phi,

(x does not appear as a free variable of \,\psi in (1) and (3); x does not appear as a free variable of \,\phi in (2) and (4)).

Use of prenex form

Some proof calculi will only deal with a theory whose formulae are written in prenex normal form. The concept is essential for developing the arithmetical hierarchy and the analytical hierarchy.

Gödel's proof of his completeness theorem for first-order logic presupposes that all formulae have been recast in prenex normal form.

See also

Notes

  1. ^ The term 'prenex' comes from the Latin praenexus "tied or bound up in front", past participle of praenectere [1].

References

  • Hinman, P. (2005), Fundamentals of Mathematical Logic, A K Peters, ISBN 978-1-56881-262-5 

Wikimedia Foundation. 2010.

Игры ⚽ Нужно решить контрольную?

Look at other dictionaries:

  • prenex normal form — A well formed formula of the predicate calculus is in prenex normal form if all the quantifiers stand at the front, and any other logical constant stands within the scope of all the quantifiers …   Philosophy dictionary

  • prenex normal form — ˈprēˌneks noun Etymology: Late Latin praenexus tied up or bound in front, from Latin prae pre + nexus, past participle of nectere to tie, bind more at annex : a normal form of an expression in the functional calculus in which all the quantifiers… …   Useful english dictionary

  • Normal form — may refer to: Normal form (abstract rewriting) Normal form (databases) Normal form (game theory) Normal form (mathematics) In formal language theory: Beta normal form Chomsky normal form Greibach normal form Kuroda normal form Normal form… …   Wikipedia

  • Skolem normal form — A formula of first order logic is in Skolem normal form (named after Thoralf Skolem) if it is in conjunctive prenex normal form with only universal first order quantifiers. Every first order formula can be converted into Skolem normal form while… …   Wikipedia

  • Skolem normal form — A formula is in Skolem normal form if it is in prenex normal form, and all the existential quantifiers come first. There is an effective procedure producing, for any formula, one in Skolem normal form that is valid if and only if the original is… …   Philosophy dictionary

  • Canonical form — Generally, in mathematics, a canonical form (often called normal form or standard form) of an object is a standard way of presenting that object. Canonical form can also mean a differential form that is defined in a natural (canonical) way; see… …   Wikipedia

  • True quantified Boolean formula — The language TQBF is a formal language in computer science that contains True Quantified Boolean Formulas. A fully quantified boolean formula is a formula in first order logic where every variable is quantified (or bound), using either… …   Wikipedia

  • metalogic — /met euh loj ik/, n. the logical analysis of the fundamental concepts of logic. [1835 45; META + LOGIC] * * * Study of the syntax and the semantics of formal languages and formal systems. It is related to, but does not include, the formal… …   Universalium

  • First-order logic — is a formal logical system used in mathematics, philosophy, linguistics, and computer science. It goes by many names, including: first order predicate calculus, the lower predicate calculus, quantification theory, and predicate logic (a less… …   Wikipedia

  • Rules of passage (logic) — In mathematical logic, the rules of passage govern how quantifiers distribute over the basic logical connectives of first order logic. The rules of passage govern the passage (translation) from any formula of first order logic to the equivalent… …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”