Difference Between Terms and Atomic Formula

Difference Between Terms and Atomic Formula
$\begingroup$

What is the difference between terms and atomic formulae? I get contradicting advice from everywhere. On one hand I have got written if $t_1,\ldots,t_n$ are terms and if $F$ is a function symbol with arity $n$ then $F(t_1,\ldots,t_n)$ is a term.

Then on the other hand I have been told that if $F$ is a function symbol with arity $2$ and given $x$ and $y$ are variables, then $F(x,y)$ is an atomic formulae.

Are terms and atomic formulae the same of different?

$\endgroup$
1

1 Answer

$\begingroup$

Warning: do not mix up terms, variables, constants, functions and predicates.

In First-Order Logic, terms function as names, and well-formed formulas (atomic or not) as statements. There is a neat inductive definition of a term:

  1. A single occurrence of a variable is a term;
  2. A single occurrence of a constant symbol is a term;
  3. If $f$ is an $n$-ary function (meaning that it takes $n$ arguments), and $t_1$, $t_2$, ..., $t_n$ are terms, then $ft_1t_2\ldots t_n$ is a term.

Now, the direct definition of an atomic formula:

  • If $P$ is an $n$-ary predicate symbol and $t_1$, $t_2$, ..., $t_n$ are terms, then $Pt_1t_2\ldots t_n$ is an atomic formula.

These two definitions look a bit similar (just a bit, though), so let me make it very clear:

  • A TERM is an ELEMENT OF THE LANGUAGE (by its inductive definition, it can be as simple as a single occurrence of a constant or a variable, or arbitrarily complicated if it is formed with a function).
  • An ATOMIC FORMULA is a LOGICAL STATEMENT, i.e. one to which you can assign a TRUTH-VALUE. From atomic formulae, you can build up, using logical connectives, any other formula.
  • A FUNCTION takes $n$ terms and is evaluated as a NEW TERM.
  • A PREDICATE takes $n$ terms and is evaluated as a TRUTH VALUE.
$\endgroup$
6

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

James H. Sterling
Author

James H. Sterling

James Sterling reports on renewable energy developments, climate policy, ecological conservation, and green tech innovations around the globe.