Signature (logic)
In logic, especially mathematical logic, a signature lists and describes the non-logical symbols of a formal language. In universal algebra, a signature lists the operations that characterize an algebraic structure. In model theory, signatures are used for both purposes. They are rarely made explicit in more philosophical treatments of logic.
Formally, a (single-sorted) signature can be defined as a 4-tuple where and are disjoint sets not containing any other basic logical symbols, called respectively
and a function which assigns a natural number called arity to every function or relation symbol. A function or relation symbol is called -ary if its arity is Some authors define a nullary (-ary) function symbol as constant symbol, otherwise constant symbols are defined separately.
A signature with no function symbols is called a relational signature, and a signature with no relation symbols is called an algebraic signature.[1]
A finite signature is a signature such that and are finite. More generally, the cardinality of a signature is defined as
The language of a signature is the set of all well formed sentences built from the symbols in that signature together with the symbols in the logical system.
Use of signatures in logic and algebra[edit]
In the context of first-order logic, the symbols in a signature are also known as the non-logical symbols, because together with the logical symbols they form the underlying alphabet over which two formal languages are inductively defined: The set of terms over the signature and the set of (well-formed) formulas over the signature.
In a structure, an interpretation ties the function and relation symbols to mathematical objects that justify their names: The interpretation of an -ary function symbol in a structure with domain is a function and the interpretation of an -ary relation symbol is a relation Here denotes the -fold cartesian product of the domain with itself, and so is in fact an -ary function, and an -ary relation.