Formula (mathematical logic)
From Wikipedia, the free encyclopedia
- For help on Wikipedia math, see Wikipedia:Formula
In mathematical logic, a formula is a type of abstract object a token of which is a symbol or string of symbols which may be interpreted as any meaningful unit (i.e. a name, an adjective, a proposition, a phrase, a string of names, a string of phrases, etcetera) in a formal language. Two different strings of symbols may be tokens of the same formula. It is not necessary for the existence of a formula that there be any tokens of it. The exact definition of a formula depends on the particular formal language in question.[1]
A fairly typical definition (specific to first-order logic) goes as follows: Formulas are defined relative to a particular formal language and relation symbols, where each of the function and relation symbols comes supplied with an arity that indicates the number of arguments it takes.
Then a term is defined recursively as
- A variable,
- A constant, or
- f(t1,...,tn), where f is an n-ary function symbol, and t1,...,tn are terms.
An atomic formula is one of the form:
- t1=t2, where t1 and t2 are terms, or
- R(t1,...,tn), where R is an n-ary relation symbol, and t1,...,tn are terms.
Finally, the set of formulae is defined to be the smallest set containing the set of atomic formulae such that the following holds:
- is a formula when is a formula;
- and are formulae when and are formulae;
- is a formula when x is a variable and is a formula;
- is a formula when is a variable and is a formula (alternatively, could be defined as an abbreviation for ).
If a formula has no occurrences of or , for any variable , then it is called quantifier-free. An existential formula is a string of existential quantification followed by a quantifier-free formula.
[edit] See also
[edit] References
- ^ Hunter, Geoffrey, Metalogic: An Introduction to the Metatheory of Standard First-Order Logic
- Hinman, P. (2005). Fundamentals of Mathematical Logic. A K Peters. ISBN 1-568-81262-0.