Predicate Logic

Overview

Predicate logic is a logical system that uses quantified variables over non-logical objects. A predicate is a sentence with some number of free variables.

A predicate with free variables "plugged in" is a proposition.

Quantification

A quantifier refers to an operator that specifies how many members of a set satisfy some formula. The most common quantifiers are and , though others (such as the counting quantifier) are also used.

Existentials

Existential quantification () asserts the existence of at least one member in a set satisfying a property.

Uniqueness

We can also denote existence and uniqueness using !. For example, !x,P(x) indicates there exists a unique x satisfying P(x), i.e. there is exactly one x such that P(x) holds:

(!x,P(x))=(x,P(x))(x,y,(P(x)P(y))(x=y))).

The first conjunct denotes existence while the second denotes uniqueness.

Counting

Counting quantification (=k or k) asserts that (at least) k (say) members of a set satisfy a property.

Universals

Universal quantification () asserts that every member of a set satisfies a property.

Identifiers

Identifiers are said to be bound if they are parameters to a quantifier. Identifiers that are not bound are said to be free. A first-order logic formula is said to be in prenex normal form (PNF) if written in two parts: the first consisting of quantifiers and bound variables (the prefix), and the second consisting of no quantifiers (the matrix).

Powered by Forestry.md