In
logic
Logic is the study of correct reasoning. It includes both formal and informal logic. Formal logic is the study of deductively valid inferences or logical truths. It examines how conclusions follow from premises based on the structure o ...
, especially
mathematical logic
Mathematical logic is the study of Logic#Formal logic, formal logic within mathematics. Major subareas include model theory, proof theory, set theory, and recursion theory (also known as computability theory). Research in mathematical logic com ...
, a signature lists and describes the
non-logical symbol
In logic, the formal languages used to create expressions consist of symbols, which can be broadly divided into constants and variables. The constants of a language can further be divided into logical symbols and non-logical symbols (sometimes a ...
s of a
formal language
In logic, mathematics, computer science, and linguistics, a formal language is a set of strings whose symbols are taken from a set called "alphabet".
The alphabet of a formal language consists of symbols that concatenate into strings (also c ...
. In
universal algebra
Universal algebra (sometimes called general algebra) is the field of mathematics that studies algebraic structures in general, not specific types of algebraic structures.
For instance, rather than considering groups or rings as the object of stud ...
, a signature lists the operations that characterize an
algebraic structure
In mathematics, an algebraic structure or algebraic system consists of a nonempty set ''A'' (called the underlying set, carrier set or domain), a collection of operations on ''A'' (typically binary operations such as addition and multiplicatio ...
. In
model theory
In mathematical logic, model theory is the study of the relationship between theory (mathematical logic), formal theories (a collection of Sentence (mathematical logic), sentences in a formal language expressing statements about a Structure (mat ...
, signatures are used for both purposes. They are rarely made explicit in more philosophical treatments of logic.
Definition
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
* ''
function symbol
In formal logic and related branches of mathematics, a functional predicate, or function symbol, is a logical symbol that may be applied to an object term to produce another object term.
Functional predicates are also sometimes called mappings, bu ...
s'' (examples:
),
* ''s'' or ''
predicates'' (examples:
),
* ''
constant symbols'' (examples:
),
and a function
which assigns a natural number called ''
arity
In logic, mathematics, and computer science, arity () is the number of arguments or operands taken by a function, operation or relation. In mathematics, arity may also be called rank, but this word can have many other meanings. In logic and ...
'' 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 , and a signature with no relation symbols is called an .
A ' is a signature such that
and
are
finite. More generally, the ''cardinality'' of a signature
is defined as
The ' 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 or is often used as a synonym for "signature". In model theory, a signature
is often called a , or identified with the
(first-order) language to which it provides the
non-logical symbols. However, the
cardinality
The thumb is the first digit of the hand, next to the index finger. When a person is standing in the medical anatomical position (where the palm is facing to the front), the thumb is the outermost digit. The Medical Latin English noun for thum ...
of the language
will always be infinite; if
is finite then
will be
.
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 group
In mathematics, an abelian group, also called a commutative group, is a group in which the result of applying the group operation to two group elements does not depend on the order in which they are written. That is, the group operation is commu ...
s is
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
"
Formally this would define the function symbols of the signature as something like
(which is binary),
(which is unary) and
(which is nullary), but in reality the usual names are used even in connection with this convention.
In
mathematical logic
Mathematical logic is the study of Logic#Formal logic, formal logic within mathematics. Major subareas include model theory, proof theory, set theory, and recursion theory (also known as computability theory). Research in mathematical logic com ...
, 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
disjoint from
on which the arity function
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
The propositional calculus is a branch of logic. It is also called propositional logic, statement logic, sentential calculus, sentential logic, or sometimes zeroth-order logic. Sometimes, it is called ''first-order'' propositional logic to contra ...
is also a formula of
first-order logic
First-order logic, also called predicate logic, predicate calculus, or quantificational logic, is a collection of formal systems used in mathematics, philosophy, linguistics, and computer science. First-order logic uses quantified variables over ...
.
An example for an infinite signature uses
and
to formalize expressions and equations about a
vector space
In mathematics and physics, a vector space (also called a linear space) is a set (mathematics), set whose elements, often called vector (mathematics and physics), ''vectors'', can be added together and multiplied ("scaled") by numbers called sc ...
over an infinite scalar field
where each
denotes the unary operation of scalar multiplication by
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
In the context of
first-order logic
First-order logic, also called predicate logic, predicate calculus, or quantificational logic, is a collection of formal systems used in mathematics, philosophy, linguistics, and computer science. First-order logic uses quantified variables over ...
, 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 language
In logic, mathematics, computer science, and linguistics, a formal language is a set of strings whose symbols are taken from a set called "alphabet".
The alphabet of a formal language consists of symbols that concatenate into strings (also c ...
s are inductively defined: The set of ''terms'' over the signature and the set of (well-formed) ''formulas'' over the signature.
In a
structure
A structure is an arrangement and organization of interrelated elements in a material object or system, or the object or system so organized. Material structures include man-made objects such as buildings and machines and natural objects such as ...
, 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
In mathematics, specifically set theory, the Cartesian product of two sets and , denoted , is the set of all ordered pairs where is an element of and is an element of . In terms of set-builder notation, that is
A\times B = \.
A table c ...
of the domain
with itself, and so
is in fact an
-ary function, and
an
-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 that play the role of generalized arities.
Many-Sorted Logic
the first chapter i
written b
Calogero G. Zarba
Symbol types
Let be a set (of sorts) not containing the symbols or
The symbol types over are certain words over the alphabet : the relational symbol types and the functional symbol types for non-negative integers and (For the expression denotes the empty word.)
Signature
A (many-sorted) signature is a triple consisting of
* a set of sorts,
* a set of symbols, and
* a map which associates to every symbol in a symbol type over
See also
*
Notes
References
*
*
External links
Stanford Encyclopedia of Philosophy
Model theory
—by Wilfred Hodges
Wilfrid Augustine Hodges, FBA (born 27 May 1941) is a British mathematician and logician known for his work in model theory.
Life
Hodges attended New College, Oxford (1959–65), where he received degrees in both '' Literae Humaniores'' and ( ...
.
PlanetMath:
Entry
Signature
describes the concept for the case when no sorts are introduced.
{{Mathematical logic
Mathematical logic
Model theory
Universal algebra