Predicate Logic - Examples and Constructions
First-order logic provides the formal language for expressing mathematical statements across all areas of mathematics, from number theory to topology.
Number Theory: "Every even number greater than 2 can be expressed as the sum of two primes" (Goldbach's Conjecture):
Analysis: "A function is continuous at ":
Set Theory: "A set is infinite":
A formula is in prenex normal form (PNF) if it has the form:
where each is either or , and is quantifier-free. Every first-order formula is logically equivalent to a formula in prenex normal form.
Convert to PNF:
- Eliminate implication:
- Move negation inward:
- Rename variables if needed: already distinct
- Move quantifiers out:
The result is in PNF with two existential quantifiers.
Skolemization is a transformation that eliminates existential quantifiers by introducing new function symbols (Skolem functions). Given a formula of the form , replace it with where is a new -ary function symbol.
The resulting formula is not equivalent to the original but is equisatisfiable: one is satisfiable if and only if the other is.
Consider :
-
Skolemize the first existential: replace with where is a new unary function Result:
-
Skolemize the second existential: replace with where is a new binary function Result:
The final formula is universal and quantifier-free in its matrix.
Skolemization is central to automated theorem proving. By eliminating existential quantifiers, we can focus on finding substitutions for universal variables. The resolution method, a complete refutation procedure for first-order logic, operates on Skolemized formulas in clause form, making it the workhorse of modern theorem provers.
For a first-order language , the Herbrand universe is the set of all ground terms (variable-free terms) constructible from the constants and function symbols of . If has no constants, add an arbitrary constant. The Herbrand universe provides a canonical domain for interpreting formulas.
These constructions transform first-order formulas into standard forms that facilitate both theoretical analysis and practical automated reasoning.