Definition · applies to formal languages · also called language of first-order logic, signature, vocabulary

Undergraduate (first-order logic)

A first-order language is a set of symbols for writing formulas of first-order logic, consisting of

  1. 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
  2. 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

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