Atomic Formula
A finite sequence (or string) of symbols is an atomic formula of iff it is one of the following forms: (i) , where and are terms; (ii) , where r is an -ary relation symbol and the are terms.
Formula
A finite sequence of symbols is a formula of iff it is one of the following forms: (i) an atomic formula; (ii) , where is a formula; (iii) where and are formulas; (iv) where is a variable and is a formula
Remark
Here we consider primitive logical symbol as . So we have other property as where and are formulas, where is a variable and is a formula.
Formula Complexity Function
For formulas define the formula complexity function by: if is atomic; ; ; ,
Subformula
The set of subformulas of a given formula is defined inductively. In particular, the set of subformulas:
- of an atomic formula just contains the formula itself,
- of is ,
- of is ,
- of is .