basic constructions:
strong axioms
further
Predicate logic, also called first-order logic and sometimes abbreviated FOL, is the usual sort of logic used in the foundations of mathematics.
In contrast to 0th-order logic, first-order logic admits variables in predicates bound by quantifiers (“for all” and “there exists ).
(This means that the categorical semantics of 1st order logic is given by hyperdoctrines.)
However, in contrast to higher-order logic, first-order logic does not allow variables that stand for predicates themselves. (This distinction can become somewhat confusing when the first-order theory in question is a material set theory, such as ZFC, in which the variables stand for “sets” which behave very much like predicates.)
A predicate calculus is simply a system for describing and working with predicate logic. The precise form of such a calculus (and hence of the logic itself) depends on whether one is using classical logic, intuitionistic logic, linear logic, etc; see those articles for details.
Typed predicate logic may be called first-order logic over type theory. Typed predicate intuitionistic logic is often identified with the internal logic of a Heyting category, while typed predicate classical logic is often identified with the internal logic of a Boolean category. Any untyped predicate logic could be thought of as a simply typed predicate logic with only one type , known as the domain of discourse or the universe of discourse.
For many (perhaps most?) authors, predicate logic is really predicate logic with equality. That means that one predicate symbol with two arguments (also written ) is distinguished, and has to satisfy reflexivity, symmetry, transitivity and the rule of substitution: for any predicate with one argument. However, some forms of predicate logic do not include an equality primitive, such as FOLDS (in whose name ‘FOL’ stands for ‘first-order logic’). In some first-order theories, such as ZFC, equality can be defined and so is not needed in the logic itself.
In constructive mathematics, one could also have a predicate logic with apartness, which has one predicate symbol with two arguments (also written ) is distinguished, and has to satisfy irreflexivity, symmetry, and comparison. By definition of an apartness relation, its negation is an equivalence relation, which we could take to be equality satisfying the rule of substitution: for any predicate with one argument. This makes the domain of discourse into an apartness space.
Lindström's theorems give important abstract characterizations of classical untyped first-order logic.
propositional logic (0th order)
predicate logic (1st order)
Textbook accounts:
In view of the Curry-Howard correspondence:
The syntax - semantics duality in first order logic is discussed in
On the historical development:
First order logic within type theory/homotopy type theory via propositions as types is discussed in
Last revised on December 30, 2022 at 21:17:35. See the history of this page for a list of all contributions to it.