To install click the Add extension button. That's it.

The source code for the WIKI 2 extension is being checked by specialists of the Mozilla Foundation, Google, and Apple. You could also do it yourself at any point in time.

4,5
Kelly Slayton
Congratulations on this excellent venture… what a great idea!
Alexander Grigorievskiy
I use WIKI 2 every day and almost forgot how the original Wikipedia looks like.
Live Statistics
English Articles
Improved in 24 Hours
Languages
Recent
Show all languages
What we do. Every page goes through several hundred of perfecting techniques; in live mode. Quite the same Wikipedia. Just better.
.
Leo
Newton
Brights
Milds

# 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.

• 1/2
Views:
1 068
471
• Mathematik - Universelle Eigenschaft
• Episode 16 - Strukturen und Signaturen

## Definition

Formally, a (single-sorted) signature can be defined as a 4-tuple ${\displaystyle \sigma =\left(S_{\operatorname {func} },S_{\operatorname {rel} },S_{\operatorname {const} },\operatorname {ar} \right),}$ where ${\displaystyle S_{\operatorname {func} }}$ and ${\displaystyle S_{\operatorname {rel} }}$ are disjoint sets not containing any other basic logical symbols, called respectively

• function symbols (examples: ${\displaystyle +,\times ,0,1}$),
• relation symbols or predicates (examples: ${\displaystyle \,\leq ,\,\in }$),
• constant symbols (examples: ${\displaystyle 0,1}$),

and a function ${\displaystyle \operatorname {ar} :S_{\operatorname {func} }\cup S_{\operatorname {rel} }\to \mathbb {N} }$ which assigns a natural number called arity to every function or relation symbol. A function or relation symbol is called ${\displaystyle n}$-ary if its arity is ${\displaystyle n.}$ Some authors define a nullary (${\displaystyle 0}$-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 ${\displaystyle S_{\operatorname {func} }}$ and ${\displaystyle S_{\operatorname {rel} }}$ are finite. More generally, the cardinality of a signature ${\displaystyle \sigma =\left(S_{\operatorname {func} },S_{\operatorname {rel} },S_{\operatorname {const} },\operatorname {ar} \right)}$ is defined as ${\displaystyle |\sigma |=\left|S_{\operatorname {func} }\right|+\left|S_{\operatorname {rel} }\right|+\left|S_{\operatorname {const} }\right|.}$

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.

## Other conventions

In universal algebra the word type or similarity type is often used as a synonym for "signature". In model theory, a signature ${\displaystyle \sigma }$ is often called a vocabulary, or identified with the (first-order) language ${\displaystyle L}$ to which it provides the non-logical symbols. However, the cardinality of the language ${\displaystyle L}$ will always be infinite; if ${\displaystyle \sigma }$ is finite then ${\displaystyle |L|}$ will be ${\displaystyle \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 ${\displaystyle \sigma =(+,-,0),}$ where ${\displaystyle -}$ 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 ${\displaystyle \sigma =(2,1,0).}$"

Formally this would define the function symbols of the signature as something like ${\displaystyle f_{0}}$ (which is binary), ${\displaystyle f_{1}}$ (which is unary) and ${\displaystyle f_{2}}$ (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,[citation needed] so that constant symbols must be treated separately rather than as nullary function symbols. They form a set ${\displaystyle S_{\operatorname {const} }}$ disjoint from ${\displaystyle S_{\operatorname {func} },}$ on which the arity function ${\displaystyle \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 ${\displaystyle S_{\operatorname {func} }=\{+\}\cup \left\{f_{a}:a\in F\right\}}$ and ${\displaystyle S_{\operatorname {rel} }=\{=\}}$ to formalize expressions and equations about a vector space over an infinite scalar field ${\displaystyle F,}$ where each ${\displaystyle f_{a}}$ denotes the unary operation of scalar multiplication by ${\displaystyle a.}$ This way, the signature and the logic can be kept single-sorted, with vectors being the only sort.[2]

## Use of signatures in logic and algebra

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 ${\displaystyle n}$-ary function symbol ${\displaystyle f}$ in a structure ${\displaystyle \mathbf {A} }$ with domain ${\displaystyle A}$ is a function ${\displaystyle f^{\mathbf {A} }:A^{n}\to A,}$ and the interpretation of an ${\displaystyle n}$-ary relation symbol is a relation ${\displaystyle R^{\mathbf {A} }\subseteq A^{n}.}$ Here ${\displaystyle A^{n}=A\times A\times \cdots \times A}$ denotes the ${\displaystyle n}$-fold cartesian product of the domain ${\displaystyle A}$ with itself, and so ${\displaystyle f}$ is in fact an ${\displaystyle n}$-ary function, and ${\displaystyle R}$ an ${\displaystyle n}$-ary relation.

## Many-sorted signatures

For many-sorted logic and for many-sorted structures signatures must encode information about the sorts. The most straightforward way of doing this is via symbol types that play the role of generalized arities.[3]

### Symbol types

Let ${\displaystyle S}$ be a set (of sorts) not containing the symbols ${\displaystyle \times }$ or ${\displaystyle \to .}$

The symbol types over ${\displaystyle S}$ are certain words over the alphabet ${\displaystyle S\cup \{\times ,\to \}}$: the relational symbol types ${\displaystyle s_{1}\times \cdots \times s_{n},}$ and the functional symbol types ${\displaystyle s_{1}\times \cdots \times s_{n}\to s^{\prime },}$ for non-negative integers ${\displaystyle n}$ and ${\displaystyle s_{1},s_{2},\ldots ,s_{n},s^{\prime }\in S.}$ (For ${\displaystyle n=0,}$ the expression ${\displaystyle s_{1}\times \cdots \times s_{n}}$ denotes the empty word.)

### Signature

A (many-sorted) signature is a triple ${\displaystyle (S,P,\operatorname {type} )}$ consisting of

• a set ${\displaystyle S}$ of sorts,
• a set ${\displaystyle P}$ of symbols, and
• a map ${\displaystyle \operatorname {type} }$ which associates to every symbol in ${\displaystyle P}$ a symbol type over ${\displaystyle S.}$