Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

Signature (logic)

From Wikipedia, the free encyclopedia
Description of non-logical symbols

Inmathematical logic, asignature is a description of thenon-logical symbols of aformal language. Inuniversal algebra, a signature lists the operations that characterize analgebraic structure. Inmodel theory, signatures are used for both purposes. They are rarely made explicit in more philosophical treatments of logic.

Definition

[edit]

Formally, a (single-sorted)signature can be defined as a 4-tupleσ=(Sfunc,Srel,Sconst,ar),{\displaystyle \sigma =\left(S_{\operatorname {func} },S_{\operatorname {rel} },S_{\operatorname {const} },\operatorname {ar} \right),} whereSfunc{\displaystyle S_{\operatorname {func} }} andSrel{\displaystyle S_{\operatorname {rel} }} are disjointsets not containing any other basic logical symbols, called respectively

and a functionar:SfuncSrelN{\displaystyle \operatorname {ar} :S_{\operatorname {func} }\cup S_{\operatorname {rel} }\to \mathbb {N} } which assigns a natural number calledarity to every function or relation symbol. A function or relation symbol is calledn{\displaystyle n}-ary if its arity isn.{\displaystyle n.} Some authors define a nullary (0{\displaystyle 0}-ary) function symbol asconstant symbol, otherwise constant symbols are defined separately.

A signature with no function symbols is called arelational signature, and a signature with no relation symbols is called analgebraic signature.[1]Afinite signature is a signature such thatSfunc{\displaystyle S_{\operatorname {func} }} andSrel{\displaystyle S_{\operatorname {rel} }} arefinite. More generally, thecardinality of a signatureσ=(Sfunc,Srel,Sconst,ar){\displaystyle \sigma =\left(S_{\operatorname {func} },S_{\operatorname {rel} },S_{\operatorname {const} },\operatorname {ar} \right)} is defined as|σ|=|Sfunc|+|Srel|+|Sconst|.{\displaystyle |\sigma |=\left|S_{\operatorname {func} }\right|+\left|S_{\operatorname {rel} }\right|+\left|S_{\operatorname {const} }\right|.}

Thelanguage 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

[edit]

In universal algebra the wordtype orsimilarity type is often used as a synonym for "signature". In model theory, a signatureσ{\displaystyle \sigma } is often called avocabulary, or identified with the(first-order) languageL{\displaystyle L} to which it provides thenon-logical symbols. However, thecardinality of the languageL{\displaystyle L} will always be infinite; ifσ{\displaystyle \sigma } is finite then|L|{\displaystyle |L|} will be0{\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 forabelian groups isσ=(+,,0),{\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σ=(2,1,0).{\displaystyle \sigma =(2,1,0).}"

Formally this would define the function symbols of the signature as something likef2{\displaystyle f_{2}} (which is binary),f1{\displaystyle f_{1}} (which is unary) andf0{\displaystyle f_{0}} (which is nullary), but in reality the usual names are used even in connection with this convention.

Inmathematical 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 setSconst{\displaystyle S_{\operatorname {const} }} disjoint fromSfunc,{\displaystyle S_{\operatorname {func} },} on which the arity functionar{\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 ofpropositional logic is also a formula offirst-order logic.

An example for an infinite signature usesSfunc={+}{fa:aF}{\displaystyle S_{\operatorname {func} }=\{+\}\cup \left\{f_{a}:a\in F\right\}} andSrel={=}{\displaystyle S_{\operatorname {rel} }=\{=\}} to formalize expressions and equations about avector space over an infinite scalar fieldF,{\displaystyle F,} where eachfa{\displaystyle f_{a}} denotes the unary operation of scalar multiplication bya.{\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

[edit]

In the context offirst-order logic, the symbols in a signature are also known as thenon-logical symbols, because together with the logical symbols they form the underlying alphabet over which twoformal languages are inductively defined: The set ofterms over the signature and the set of (well-formed)formulas over the signature.

In astructure, aninterpretation ties the function and relation symbols to mathematical objects that justify their names: The interpretation of ann{\displaystyle n}-ary function symbolf{\displaystyle f} in a structureA{\displaystyle \mathbf {A} } withdomainA{\displaystyle A} is a functionfA:AnA,{\displaystyle f^{\mathbf {A} }:A^{n}\to A,} and the interpretation of ann{\displaystyle n}-ary relation symbol is arelationRAAn.{\displaystyle R^{\mathbf {A} }\subseteq A^{n}.} HereAn=A×A××A{\displaystyle A^{n}=A\times A\times \cdots \times A} denotes then{\displaystyle n}-foldcartesian product of the domainA{\displaystyle A} with itself, and sof{\displaystyle f} is in fact ann{\displaystyle n}-ary function, andR{\displaystyle R} ann{\displaystyle n}-ary relation.

Many-sorted signatures

[edit]

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

Symbol types

[edit]

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

The symbol types overS{\displaystyle S} are certain words over the alphabetS{×,}{\displaystyle S\cup \{\times ,\to \}}: the relational symbol typess1××sn,{\displaystyle s_{1}\times \cdots \times s_{n},} and the functional symbol typess1××sns,{\displaystyle s_{1}\times \cdots \times s_{n}\to s^{\prime },} for non-negative integersn{\displaystyle n} ands1,s2,,sn,sS.{\displaystyle s_{1},s_{2},\ldots ,s_{n},s^{\prime }\in S.} (Forn=0,{\displaystyle n=0,} the expressions1××sn{\displaystyle s_{1}\times \cdots \times s_{n}} denotes the empty word.)

Signature

[edit]

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

See also

[edit]
  • Term algebra – Freely generated algebraic structure over a given signature

Notes

[edit]
  1. ^Mokadem, Riad; Litwin, Witold; Rigaux, Philippe; Schwarz, Thomas (September 2007)."Fast nGram-Based String Search Over Data Encoded Using Algebraic Signatures"(PDF).33rd International Conference on Very Large Data Bases (VLDB). Retrieved27 February 2019.
  2. ^George Grätzer (1967). "IV. Universal Algebra". In James C. Abbot (ed.).Trends in Lattice Theory. Princeton/NJ: Van Nostrand. pp. 173–210. Here: p.173.
  3. ^Many-Sorted Logic, the first chapter inLecture notes on Decision Procedures, written byCalogero G. Zarba.

References

[edit]

External links

[edit]
General
Theorems (list)
 and paradoxes
Logics
Traditional
Propositional
Predicate
Set theory
Types ofsets
Maps and cardinality
Set theories
Formal systems (list),
language and syntax
Example axiomatic
systems
 (list)
Proof theory
Model theory
Computability theory
Related
Retrieved from "https://en.wikipedia.org/w/index.php?title=Signature_(logic)&oldid=1319636841"
Categories:
Hidden categories:

[8]ページ先頭

©2009-2025 Movatter.jp