HOME

TheInfoList



OR:

A
formula In science, a formula is a concise way of expressing information symbolically, as in a mathematical formula or a ''chemical formula''. The informal use of the term ''formula'' in science refers to the general construct of a relationship betwe ...
of the
predicate calculus Predicate or predication may refer to: * Predicate (grammar), in linguistics * Predication (philosophy) * several closely related uses in mathematics and formal logic: **Predicate (mathematical logic) ** Propositional function **Finitary relation, ...
is in prenex normal form (PNF) if it is
written Writing is the act of creating a persistent representation of language. A writing system includes a particular set of symbols called a ''script'', as well as the rules by which they encode a particular spoken language. Every written language ...
as a string of quantifiers and
bound variables In mathematics, and in other disciplines involving formal languages, including mathematical logic and computer science, a variable may be said to be either free or bound. Some older books use the terms real variable and apparent variable for f ...
, called the prefix, followed by a quantifier-free part, called the matrix. Together with the normal forms in
propositional logic The propositional calculus is a branch of logic. It is also called propositional logic, statement logic, sentential calculus, sentential logic, or sometimes zeroth-order logic. Sometimes, it is called ''first-order'' propositional logic to contra ...
(e.g.
disjunctive normal form In boolean logic, a disjunctive normal form (DNF) is a canonical normal form of a logical formula consisting of a disjunction of conjunctions; it can also be described as an OR of ANDs, a sum of products, or in philosophical logic a ''cluster c ...
or
conjunctive normal form In Boolean algebra, a formula is in conjunctive normal form (CNF) or clausal normal form if it is a conjunction of one or more clauses, where a clause is a disjunction of literals; otherwise put, it is a product of sums or an AND of ORs. In au ...
), it provides a canonical normal form useful in
automated theorem proving Automated theorem proving (also known as ATP or automated deduction) is a subfield of automated reasoning and mathematical logic dealing with proving mathematical theorems by computer programs. Automated reasoning over mathematical proof was a majo ...
. Every formula in
classical logic Classical logic (or standard logic) or Frege–Russell logic is the intensively studied and most widely used class of deductive logic. Classical logic has had much influence on analytic philosophy. Characteristics Each logical system in this c ...
is
logically equivalent In logic and mathematics, statements p and q are said to be logically equivalent if they have the same truth value in every model. The logical equivalence of p and q is sometimes expressed as p \equiv q, p :: q, \textsfpq, or p \iff q, depending on ...
to a formula in prenex normal form. For example, if \phi(y), \psi(z), and \rho(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.


Conversion to prenex form

Every first-order formula is
logically equivalent In logic and mathematics, statements p and q are said to be logically equivalent if they have the same truth value in every model. The logical equivalence of p and q is sometimes expressed as p \equiv q, p :: q, \textsfpq, or p \iff q, depending on ...
(in classical logic) to some formula in prenex normal form.Hinman, P. (2005), p. 111 There are several conversion rules that can be recursively applied to convert a formula to prenex normal form. The rules depend on which
logical connective In logic, a logical connective (also called a logical operator, sentential connective, or sentential operator) is a logical constant. Connectives can be used to connect logical formulas. For instance in the syntax of propositional logic, the ...
s appear in the formula.


Conjunction and disjunction

The rules for conjunction and
disjunction In logic, disjunction (also known as logical disjunction, logical or, logical addition, or inclusive disjunction) is a logical connective typically notated as \lor and read aloud as "or". For instance, the English language sentence "it is ...
say that :(\forall x \phi) \land \psi is equivalent to \forall x ( \phi \land \psi) under (mild) additional condition \exists x \top, or, equivalently, \lnot\forall x \bot (meaning that at least one individual exists), :(\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) under additional condition \exists x \top. The equivalences are valid when x does not appear as a
free variable In mathematics, and in other disciplines involving formal languages, including mathematical logic and computer science, a variable may be said to be either free or bound. Some older books use the terms real variable and apparent variable for f ...
of \psi; if x does appear free in \psi, one can rename the bound x in (\exists x \phi) and obtain the equivalent (\exists x' \phi /x'. 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. So (\exists x (x^2 = 1)) \land (0 = x) will be first rewritten as (\exists x' (x'^2 = 1)) \land (0 = x) and then put in prenex normal form \exists x' ( x'^2 = 1 \land 0 = x).


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 In mathematics, computer science, and logic, rewriting covers a wide range of methods of replacing subterms of a formula with other terms. Such methods may be achieved by rewriting systems (also known as rewrite systems, rewrite engines, or reduc ...
the implication \phi \rightarrow \psi as \lnot \phi \lor \psi and applying the rules for disjunction and negation 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 (note the change of quantifiers): :(\forall x \phi ) \rightarrow \psi is equivalent to \exists x (\phi \rightarrow \psi) (under the assumption that \exists x \top), :(\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) (under the assumption that \exists x \top), :\phi \rightarrow (\forall x \psi) is equivalent to \forall x (\phi \rightarrow \psi). For example, when the range of quantification is the non-negative
natural number In mathematics, the natural numbers are the numbers 0, 1, 2, 3, and so on, possibly excluding 0. Some start counting with 0, defining the natural numbers as the non-negative integers , while others start with 1, defining them as the positive in ...
(viz. n\in \mathbb), the statement : forall n\in \mathbb (x< n) \rightarrow (x< 0) is
logically equivalent In logic and mathematics, statements p and q are said to be logically equivalent if they have the same truth value in every model. The logical equivalence of p and q is sometimes expressed as p \equiv q, p :: q, \textsfpq, or p \iff q, depending on ...
to the statement :\exists n\in \mathbb (x< n) \rightarrow (x< 0)/math> The former statement says that if ''x'' is less than any natural number, then ''x'' is less than zero. The latter statement says that there exists some natural number ''n'' such that if ''x'' is less than ''n'', then ''x'' is less than zero. Both statements are true. The former statement is true because if ''x'' is less than any natural number, it must be less than the smallest natural number (zero). The latter statement is true because ''n=0'' makes the implication a tautology. Note that the placement of brackets implies the scope of the quantification, which is very important for the meaning of the formula. Consider the following two statements: :\forall n\in \mathbb x< n) \rightarrow (x< 0)/math> and its
logically equivalent In logic and mathematics, statements p and q are said to be logically equivalent if they have the same truth value in every model. The logical equivalence of p and q is sometimes expressed as p \equiv q, p :: q, \textsfpq, or p \iff q, depending on ...
statement : exists n\in \mathbb (x< n) \rightarrow (x< 0) The former statement says that for any natural number ''n'', if ''x'' is less than ''n'' then ''x'' is less than zero. The latter statement says that if there exists some natural number ''n'' such that ''x'' is less than ''n'', then ''x'' is less than zero. Both statements are false. The former statement doesn't hold for ''n=2'', because ''x=1'' is less than ''n'', but not less than zero. The latter statement doesn't hold for ''x=1'', because the natural number ''n=2'' satisfies ''x

Example

Suppose that \phi, \psi, and \rho 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: : (\phi \lor \exists x \psi) \rightarrow \forall z \rho. : ( \exists x (\phi \lor \psi) ) \rightarrow \forall z \rho, : \neg( \exists x (\phi \lor \psi) ) \lor \forall z \rho, : (\forall x \neg(\phi \lor \psi)) \lor \forall z \rho, : \forall x (\neg(\phi \lor \psi) \lor \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 ). The ordering of the two universal quantifier with the same scope doesn't change the meaning/truth value of the statement.


Intuitionistic logic

The rules for converting a formula to prenex form make heavy use of classical logic. In
intuitionistic logic Intuitionistic logic, sometimes more generally called constructive logic, refers to systems of symbolic logic that differ from the systems used for classical logic by more closely mirroring the notion of constructive proof. In particular, systems ...
, 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 \phi (x), produces a concrete ''y'' and a proof of \psi (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 \psi (y). If each ''x'' satisfying \phi can be used to construct a ''y'' satisfying \psi 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 In mathematical logic, the arithmetical hierarchy, arithmetic hierarchy or Kleene–Mostowski hierarchy (after mathematicians Stephen Cole Kleene and Andrzej Mostowski) classifies certain sets based on the complexity of formulas that define th ...
and the
analytical hierarchy Analytic or analytical may refer to: Chemistry * Analytical chemistry, the analysis of material samples to learn their chemical composition and structure * Analytical technique, a method that is used to determine the concentration of a chemica ...
. Gödel's proof of his
completeness theorem Complete may refer to: Logic * Completeness (logic) * Completeness of a theory, the property of a theory that every formula in the theory's language or its negation is provable Mathematics * The completeness of the real numbers, which implies ...
for
first-order logic First-order logic, also called predicate logic, predicate calculus, or quantificational logic, is a collection of formal systems used in mathematics, philosophy, linguistics, and computer science. First-order logic uses quantified variables over ...
presupposes that all formulae have been recast in prenex normal form. Tarski's axioms for geometry is a logical system whose sentences can ''all'' be written in universal–existential form, a special case of the prenex normal form that has every
universal quantifier In mathematical logic, a universal quantification is a type of quantifier, a logical constant which is interpreted as "given any", "for all", "for every", or "given an arbitrary element". It expresses that a predicate can be satisfied by e ...
preceding any
existential quantifier Existentialism is a family of philosophy, philosophical views and inquiry that explore the human individual's struggle to lead an Authenticity (philosophy), authentic life despite the apparent Absurdity#The Absurd, absurdity or incomprehensibili ...
, so that all sentences can be rewritten in the form \forall u \forall v \ldots \exists a \exists b \phi, where \phi is a sentence that does not contain any quantifier. This fact allowed Tarski to prove that Euclidean geometry is decidable.


See also

*
Arithmetical hierarchy In mathematical logic, the arithmetical hierarchy, arithmetic hierarchy or Kleene–Mostowski hierarchy (after mathematicians Stephen Cole Kleene and Andrzej Mostowski) classifies certain sets based on the complexity of formulas that define th ...
* Herbrandization *
Skolemization In mathematical logic, a Well-formed_formula, formula of first-order logic is in Skolem normal form if it is in prenex normal form with only Universal quantification, universal first-order quantifiers. Every first-order Well-formed formula, formu ...


Notes


References

* * * * Normal forms (logic) {{Normal forms in logic