Skolem normal form
In mathematical logic, a formula of first-order logic is in Skolem normal form if it is in prenex normal form with only universal first-order quantifiers.
Every first-order formula may be converted into Skolem normal form while not changing its satisfiability via a process called Skolemization (sometimes spelled Skolemnization). The resulting formula is not necessarily equivalent to the original one, but is equisatisfiable with it: it is satisfiable if and only if the original one is satisfiable.[1]
Reduction to Skolem normal form is a method for removing existential quantifiers from formal logic statements, often performed as the first step in an automated theorem prover.
Examples
The simplest form of Skolemization is for existentially quantified variables that are not inside the scope of a universal quantifier. These may be replaced simply by creating new constants. For example, [math]\displaystyle{ \exists x P(x) }[/math] may be changed to [math]\displaystyle{ P(c) }[/math], where [math]\displaystyle{ c }[/math] is a new constant (does not occur anywhere else in the formula).
More generally, Skolemization is performed by replacing every existentially quantified variable [math]\displaystyle{ y }[/math] with a term [math]\displaystyle{ f(x_1,\ldots,x_n) }[/math] whose function symbol [math]\displaystyle{ f }[/math] is new. The variables of this term are as follows. If the formula is in prenex normal form, then [math]\displaystyle{ x_1,\ldots,x_n }[/math] are the variables that are universally quantified and whose quantifiers precede that of [math]\displaystyle{ y }[/math]. In general, they are the variables that are quantified universally (we assume we get rid of existential quantifiers in order, so all existential quantifiers before [math]\displaystyle{ \exists y }[/math] have been removed) and such that [math]\displaystyle{ \exists y }[/math] occurs in the scope of their quantifiers. The function [math]\displaystyle{ f }[/math] introduced in this process is called a Skolem function (or Skolem constant if it is of zero arity) and the term is called a Skolem term.
As an example, the formula [math]\displaystyle{ \forall x \exists y \forall z P(x,y,z) }[/math] is not in Skolem normal form because it contains the existential quantifier [math]\displaystyle{ \exists y }[/math]. Skolemization replaces [math]\displaystyle{ y }[/math] with [math]\displaystyle{ f(x) }[/math], where [math]\displaystyle{ f }[/math] is a new function symbol, and removes the quantification over [math]\displaystyle{ y }[/math]. The resulting formula is [math]\displaystyle{ \forall x \forall z P(x,f(x),z) }[/math]. The Skolem term [math]\displaystyle{ f(x) }[/math] contains [math]\displaystyle{ x }[/math], but not [math]\displaystyle{ z }[/math], because the quantifier to be removed [math]\displaystyle{ \exists y }[/math] is in the scope of [math]\displaystyle{ \forall x }[/math], but not in that of [math]\displaystyle{ \forall z }[/math]; since this formula is in prenex normal form, this is equivalent to saying that, in the list of quantifiers, [math]\displaystyle{ x }[/math] precedes [math]\displaystyle{ y }[/math] while [math]\displaystyle{ z }[/math] does not. The formula obtained by this transformation is satisfiable if and only if the original formula is.
How Skolemization works
Skolemization works by applying a second-order equivalence together with the definition of first-order satisfiability. The equivalence provides a way for "moving" an existential quantifier before a universal one.
- [math]\displaystyle{ \forall x \exists y R(x,y) \iff \exists f \forall x R(x,f(x)) }[/math]
where
- [math]\displaystyle{ f(x) }[/math] is a function that maps [math]\displaystyle{ x }[/math] to [math]\displaystyle{ y }[/math].
Intuitively, the sentence "for every [math]\displaystyle{ x }[/math] there exists a [math]\displaystyle{ y }[/math] such that [math]\displaystyle{ R(x,y) }[/math]" is converted into the equivalent form "there exists a function [math]\displaystyle{ f }[/math] mapping every [math]\displaystyle{ x }[/math] into a [math]\displaystyle{ y }[/math] such that, for every [math]\displaystyle{ x }[/math] it holds that [math]\displaystyle{ R(x,f(x)) }[/math]".
This equivalence is useful because the definition of first-order satisfiability implicitly existentially quantifies over functions interpreting the function symbols. In particular, a first-order formula [math]\displaystyle{ \Phi }[/math] is satisfiable if there exists a model [math]\displaystyle{ M }[/math] and an evaluation [math]\displaystyle{ \mu }[/math] of the free variables of the formula that evaluate the formula to true. The model contains the interpretation of all function symbols; therefore, Skolem functions are implicitly existentially quantified. In the example above, [math]\displaystyle{ \forall x R(x,f(x)) }[/math] is satisfiable if and only if there exists a model [math]\displaystyle{ M }[/math], which contains an interpretation for [math]\displaystyle{ f }[/math], such that [math]\displaystyle{ \forall x R(x,f(x)) }[/math] is true for some evaluation of its free variables (none in this case). This may be expressed in second order as [math]\displaystyle{ \exists f \forall x R(x,f(x)) }[/math]. By the above equivalence, this is the same as the satisfiability of [math]\displaystyle{ \forall x \exists y R(x,y) }[/math].
At the meta-level, first-order satisfiability of a formula [math]\displaystyle{ \Phi }[/math] may be written with a little abuse of notation as [math]\displaystyle{ \exists M \exists \mu ( M,\mu \models \Phi) }[/math], where [math]\displaystyle{ M }[/math] is a model, [math]\displaystyle{ \mu }[/math] is an evaluation of the free variables, and [math]\displaystyle{ \models }[/math] means that [math]\displaystyle{ \Phi }[/math] is true in [math]\displaystyle{ M }[/math] under [math]\displaystyle{ \mu }[/math]. Since first-order models contain the interpretation of all function symbols, any Skolem function that [math]\displaystyle{ \Phi }[/math] contains is implicitly existentially quantified by [math]\displaystyle{ \exists M }[/math]. As a result, after replacing existential quantifiers over variables by existential quantifiers over functions at the front of the formula, the formula still may be treated as a first-order one by removing these existential quantifiers. This final step of treating [math]\displaystyle{ \exists f \forall x R(x,f(x)) }[/math] as [math]\displaystyle{ \forall x R(x,f(x)) }[/math] may be completed because functions are implicitly existentially quantified by [math]\displaystyle{ \exists M }[/math] in the definition of first-order satisfiability.
Correctness of Skolemization may be shown on the example formula [math]\displaystyle{ F_1 = \forall x_1 \dots \forall x_n \exists y R(x_1,\dots,x_n,y) }[/math] as follows. This formula is satisfied by a model [math]\displaystyle{ M }[/math] if and only if, for each possible value for [math]\displaystyle{ x_1,\dots,x_n }[/math] in the domain of the model, there exists a value for [math]\displaystyle{ y }[/math] in the domain of the model that makes [math]\displaystyle{ R(x_1,\dots,x_n,y) }[/math] true. By the axiom of choice, there exists a function [math]\displaystyle{ f }[/math] such that [math]\displaystyle{ y = f(x_1,\dots,x_n) }[/math]. As a result, the formula [math]\displaystyle{ F_2 = \forall x_1 \dots \forall x_n R(x_1,\dots,x_n,f(x_1,\dots,x_n)) }[/math] is satisfiable, because it has the model obtained by adding the interpretation of [math]\displaystyle{ f }[/math] to [math]\displaystyle{ M }[/math]. This shows that [math]\displaystyle{ F_1 }[/math] is satisfiable only if [math]\displaystyle{ F_2 }[/math] is satisfiable as well. Conversely, if [math]\displaystyle{ F_2 }[/math] is satisfiable, then there exists a model [math]\displaystyle{ M' }[/math] that satisfies it; this model includes an interpretation for the function [math]\displaystyle{ f }[/math] such that, for every value of [math]\displaystyle{ x_1,\dots,x_n }[/math], the formula [math]\displaystyle{ R(x_1,\dots,x_n,f(x_1,\dots,x_n)) }[/math] holds. As a result, [math]\displaystyle{ F_1 }[/math] is satisfied by the same model because one may choose, for every value of [math]\displaystyle{ x_1,\ldots,x_n }[/math], the value [math]\displaystyle{ y=f(x_1,\dots,x_n) }[/math], where [math]\displaystyle{ f }[/math] is evaluated according to [math]\displaystyle{ M' }[/math].
Uses of Skolemization
One of the uses of Skolemization is within 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 may be generated. For example, if [math]\displaystyle{ \exists x \Phi(x,y_1,\ldots,y_n) }[/math] occurs in a tableau, where [math]\displaystyle{ x,y_1,\ldots,y_n }[/math] are the free variables of [math]\displaystyle{ \Phi(x,y_1,\ldots,y_n) }[/math], then [math]\displaystyle{ \Phi(f(y_1,\ldots,y_n),y_1,\ldots,y_n) }[/math] may 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 may be extended, by adding a suitable interpretation of [math]\displaystyle{ f }[/math], to a model of the new formula.
This form of Skolemization is 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 tableaux 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 may be used is applying the same Skolem function symbol for formulae that are identical up to variable renaming.[2]
Another use is in the resolution method for first-order logic, where formulas are represented as sets of clauses understood to be universally quantified. (For an example see drinker paradox.)
An important result in model theory is the Löwenheim–Skolem theorem, which can be proven via Skolemizing the theory and closing under the resulting Skolem functions.[3]
Skolem theories
In general, if [math]\displaystyle{ T }[/math] is a theory and for each formula with free variables [math]\displaystyle{ x_1, \dots, x_n, y }[/math] there is an n-ary function symbol [math]\displaystyle{ F }[/math] that is provably a Skolem function for [math]\displaystyle{ y }[/math], then [math]\displaystyle{ T }[/math] is called a Skolem theory.[4]
Every Skolem theory is model complete, i.e. every substructure of a model is an elementary substructure. Given a model M of a Skolem theory T, the smallest substructure containing a certain set A is called the Skolem hull of A. The Skolem hull of A is an atomic prime model over A.
History
Skolem normal form is named after the late Norwegian mathematician Thoralf Skolem.
See also
- Herbrandization, the dual of Skolemization
- Predicate functor logic
Notes
- ↑ "Normal Forms and Skolemization". Max-Planck-Institut für Informatik. http://www.mpi-inf.mpg.de/departments/rg1/teaching/autrea-ss10/script/lecture10.pdf. Retrieved 15 December 2012.
- ↑ Reiner Hähnle. Tableaux and related methods. Handbook of Automated Reasoning.
- ↑ Scott Weinstein, The Lowenheim-Skolem Theorem, lecture notes (2009). Accessed 6 January 2023.
- ↑ "Sets, Models and Proofs" (3.3) by I. Moerdijk and J. van Oosten
References
- Hodges, Wilfrid (1997), A Shorter Model Theory, Cambridge University Press, ISBN 978-0-521-58713-6
External links
- Hazewinkel, Michiel, ed. (2001), "Skolem function", Encyclopedia of Mathematics, Springer Science+Business Media B.V. / Kluwer Academic Publishers, ISBN 978-1-55608-010-4, https://www.encyclopediaofmath.org/index.php?title=p/s085740
- Skolemization on PlanetMath.org
- Skolemization by Hector Zenil, The Wolfram Demonstrations Project.
- Weisstein, Eric W.. "SkolemizedForm". http://mathworld.wolfram.com/SkolemizedForm.html.
Original source: https://en.wikipedia.org/wiki/Skolem normal form.
Read more |