First-Order Language
Undergraduate (first-order logic)
A first-order language is a set of symbols for writing formulas of first-order logic, consisting of
- the logical symbols, which every first-order language shares: variables $x, y, z, \dots$, the logical connectives, the quantifiers $\forall$ and $\exists$, parentheses, and usually the equality symbol $=$, and
- the non-logical symbols, which are chosen for the subject: constant symbols, function symbols with their numbers of inputs, and relation symbols with their numbers of places.
Examples
Examples
-
The language of arithmetic with the symbols $0$, $+$, $\times$, and $<$ is a first-order language, because this language adds these non-logical symbols to the logical symbols of first-order logic, so its formulas, such as $\forall x \, (x < x + 1)$, quantify over objects.
Properties
- The non-logical symbols determine the language, so a first-order language is often identified with its set of non-logical symbols, called its signature.
- The terms and formulas of a first-order language are the strings of its symbols built by fixed rules, so they are defined without saying what the symbols mean.
- An interpretation of a first-order language gives the symbols meanings: a domain of discourse for the variables to range over, and an object, function, or relation for each non-logical symbol.
Notes
In computer science and linguistics, a “language” is a set of strings, such as the grammatical sentences of English or the valid programs of a programming language. A first-order language is a set of symbols, and its formulas form a language in that sense.
All definitions · All distinctions · All examples · Notation