Skolem normal form
From Wikipedia, the free encyclopedia
A formula of first-order logic is in Skolem normal form (named after Thoralf Skolem) if its prenex normal form only contains universal quantifiers. Every first-order formula can be converted into Skolem normal form while not changing its satisfiability via a process called Skolemization. The resulting formula is not necessarily equivalent to the original one, but is satisfiable if and only if the original one is.
Skolemization is performed by replacing every existentially quantified variable y with a term whose function symbol f is new (does not occur anywhere else in the formula.) The variables of this term are as follows. If the formula is in prenex normal form,
are the variables that are universally quantified and whose quantifiers precede that of y. In general, they are the variables that are universally quantified and such that
occurs in the scope of their quantifiers. The function f introduced in this process is called Skolem function and the term is called Skolem term.
As an example, the formula is not in Skolem normal form because it contains the existential quantifier
. Skolemization replaces y with f(x), where f is a new function symbol, and removes the quantification over y. The resulting formula is
. The Skolem term f(x) contains x but not z because the quantifier to be removed
is in the scope of
but not in that of
; since this formula is in prenex normal form, this is equivalent to saying that, in the list of quantifers, x precede y while z does not. The formula obtained by this transformation is satisfiable if and only if the original formula is.
Contents |
[edit] How Skolemization works
Skolemization works by applying a second-order equivalence in conjunction to the definition of first-order satisfiability. The equivalence provides a way for "moving" an existential quantifier before a universal one.
Intuitively, the sentence "for every x there exists an y such that R(x,y)" is converted into the equivalent form "there exists a function f mapping every x into an y such that, for every x it holds R(x,f(x))".
This equivalence is useful because the definition of first-order satisfiability implicitly existentially quantifies over the evaluation of function symbols. In particular, a first-order formula Φ is satisfiable if there exists a model M and an evaluation μ of the free variables of the formula that evaluate the formula to true. The model contains the evaluation of all function symbols; therefore, Skolem functions are implicitly existentially quantified. In the example above, is satisfiable if and only if there exists a model M, which contains an evaluation for f, such that
is true for some evaluation of its free variables (none in this case). This can be expressed in second order as
. By the above equivalence, this is the same as the satisfiability of
.
At the meta-level, first-order satisfiability of a formula Φ can be written as , where M is a model and μ is an evaluation of the free variables. Since first-order models contain the evaluation of all function symbol, any Skolem function Φ contains is implicitly existentially quantified by
. As a result, after replacing an existential quantifier over variables into an existential quantifiers over functions at the front of the formula, the formula can still be treated as a first-order one by removing these existential quantifiers. This final step of treating
as
can be done because functions are implicitly existentially quantified by
in the definition of first-order satisfiability.
Correctness of Skolemization can be shown on the example formula as follows. This formula is satisfied by a model M if and only if, for each possible value for
in the domain of the model there exists a value for y in the domain of the model that makes
true. By the axiom of choice, there exists a function f such that
. As a result, the formula
is satisfiable, because it has the model obtained by adding the evaluation of f to M. This shows that F1 is satisfiable only if F2 is satisfiable as well. In the other way around, if F2 is satisfiable, then there exists a model M' that satisfies it; this model includes an evaluation for the function f such that, for every value of
, the formula
holds. As a result, F1 is satisfied by the same model because one can choose, for every value of
, the value
, where f is evaluated according to M'.
[edit] Uses of Skolemization
One of the uses of Skolemization is automated theorem proving. For example, in the method of analytic tableaux, whenever a formula whose leading quantifier is existential occurs, the formula obtained by removing that quantifier via Skolemization can be generated. For example, if occurs in a tableau, where
are the free variables of
, then
can be added to the same branch of the tableau. This addition does not alter the satisfiability of the tableau: every model of the old formula can be extended, by adding it a suitable evaluation of f, to a model of the new formula.
This form of Skolemization is actually an improvement over "classical" Skolemization in that only variables that are free in the formula are placed in the Skolem term. This is an improvement because the semantics of tableau may implicitly place the formula in the scope of some universally quantified variables that are not in the formula itself; these variables are not in the Skolem term, while they would be there according to the original definition of Skolemization. Another improvement that can be used is using the same Skolem function symbol for formulae that are identical up to variable renaming [1].
[edit] Skolem theories
In general, if T is a theory and for each formula F with free variables there is a Skolem function, then T is called a Skolem theory.[1] For example, by the above, arithmetic with the Axiom of Choice is a Skolem theory.
[edit] References
- ^ R. Hänle. Tableaux and related methods. Handbook of automated reasoning.