In universal algebra the word '
or is often used as a synonym for "signature". In model theory, a signature \sigma is often called a ', or identified with the
(first-order) language L to which it provides the
non-logical symbols. However, the
cardinality of the language L will always be infinite; if \sigma is finite then |L| will be
\aleph_0. As the formal definition is inconvenient for everyday use, the definition of a specific signature is often abbreviated in an informal way, as in: :"The standard signature for
abelian groups is \sigma = (+, -, 0), where - is a unary operator." Sometimes an algebraic signature is regarded as just a list of arities, as in: :"The similarity type for abelian groups is \sigma = (2, 1, 0)." Formally this would define the function symbols of the signature as something like f_2 (which is binary), f_1 (which is unary) and f_0 (which is nullary), but in reality the usual names are used even in connection with this convention. In
mathematical logic, very often symbols are not allowed to be nullary, so that constant symbols must be treated separately rather than as nullary function symbols. They form a set S_{\operatorname{const}} disjoint from S_{\operatorname{func}}, on which the arity function \operatorname{ar} is not defined. However, this only serves to complicate matters, especially in proofs by induction over the structure of a formula, where an additional case must be considered. Any nullary relation symbol, which is also not allowed under such a definition, can be emulated by a unary relation symbol together with a sentence expressing that its value is the same for all elements. This translation fails only for empty structures (which are often excluded by convention). If nullary symbols are allowed, then every formula of
propositional logic is also a formula of
first-order logic. An example for an infinite signature uses S_{\operatorname{func}} = \{+\} \cup \left\{f_a : a \in F\right\} and S_{\operatorname{rel}} = \{=\} to formalize expressions and equations about a
vector space over an infinite scalar field F, where each f_a denotes the unary operation of scalar multiplication by a. This way, the signature and the logic can be kept single-sorted, with vectors being the only sort. ==Use of signatures in logic and algebra==