Given a vocabulary , the -formulas of a first-order language over are expressions from defined by the following rules:

  • and are -formulas
  • if and are -terms, then is also a -formula (an atomic formula)
  • if are -terms and is an -ary predicate in , then the atom is also a -formula (also an atomic formula)
  • if is a -formula, then is also a -formula
  • if and are -formulas, then are also -formulas
  • if is a variable and is a -formula and are also -formulas