Signature
Table of contents
¶Formal definition
A Signature is a triple :
where:
- is the sort set — a finite set of type names; sorts classify the objects a structure operates on; in the relational universe, the sort set is drawn from the type vocabulary
- is the operation symbol set — a finite set of named operation symbols; each operation symbol names one thing a structure of this signature must provide
- is the arity function — assigning each operation a profile , meaning takes inputs of sorts and produces output of sort ; an operation with empty input sequence () is a constant — it declares that a value of sort must be provided with no further input
Four invariants. is a signature iff it satisfies:
-
Finiteness: and — signatures are finite; they admit decidable satisfaction checking; infinite signatures cannot be verified at any history.
-
Profile closure: is well-typed — every sort appearing in any profile is in : for every with , each and is in . A profile mentioning an undeclared sort is not a valid arity.
-
No axioms: a signature carries no equations, implications, or constraints on what the operations must do — it specifies the syntactic interface only. Adding axioms produces a Theory; the signature and its theory are distinct objects. This is the Goguen-Burstall separation: the signature category Sig is the syntactic level; models (implementations) are the semantic level.
-
Operation distinctness: operation symbols in are distinct names. Two operations with identical profiles but distinct names are distinct operations — the name is part of the specification, not an implementation detail.
¶Signature morphism
A signature morphism is a pair where:
- is a sort map — a function on sort names
- is an operation map — a function on operation symbols
subject to the profile-preservation condition: for every with ,
The morphism translates names: it maps each operation in to an operation in whose profile is the sort-translated profile of the original.
Signature morphisms are not required to be injective. A morphism may merge distinct sorts ( need not be injective) or map distinct operations to the same target operation ( need not be injective). This allows for renaming, collapsing, and forgetting.
The category . Signatures with their morphisms form a category: identity morphism ; composition , . Profile-preservation composes.
has all colimits (set-theoretic construction). In particular, given a span , the pushout is formed by taking the disjoint union of sorts and operations from and and identifying the images of under and . This is the signature union over a common sub-signature.
Inclusion morphism. If and with , , and , then the inclusions form a signature morphism . This is the subsumption morphism used by CapabilitySignature: when all operations are 0-ary constants and the sort set is , signature inclusion coincides with capability-signature subsumption.
¶Implementations
A -implementation of a signature over a relational universe is an assignment:
- For each sort : a carrier (a relational universe object of sort )
- For each operation with : a relational-universe-morphism
An implementation interprets the signature: it provides concrete objects and morphisms for every declared sort and operation symbol.
Reduct functor. A signature morphism induces a reduct functor going backward:
The reduct re-labels: it takes an -implementation and reads it as an -implementation by following the translation. The reduct forgets all operations and sorts in that are not in the image of .
Reduct is contravariantly functorial: and .
¶Institution structure
A signature category is the syntactic core of an institution in the sense of Goguen and Burstall (JACM 39(1), 1992). An institution consists of:
- — the category of signatures (as defined above)
- — a covariant functor assigning to each signature the set of -sentences; a signature morphism acts on sentences by forward translation : substituting each sort and operation in a sentence with its -image
- — a contravariant functor assigning to each the category of -models (implementations); a morphism acts as the reduct functor going backward
- — the satisfaction relation between models and sentences
The satisfaction condition (Goguen & Burstall’s coherence axiom): for every signature morphism , every -model , and every -sentence :
Truth is invariant under change of notation. Translating a sentence forward to (via ) and checking it against gives the same result as checking the original sentence against the reduct . This coherence axiom is what makes the institution hang together: morphisms rename without changing what is true.
¶Signature vs. adjacent concepts
| Concept | What it specifies | Has axioms? | Morphisms | Key source |
|---|---|---|---|---|
| Signature | Sort names + operation profiles | No | Sort-map + operation-map preserving profiles | Goguen & Burstall (1992) |
| CapabilitySignature | 0-ary signature over | No | Subsumption inclusion | This system; RBAC (Sandhu 1996) |
| Theory | Signature + axiom set | Yes | Theory morphism (sig morphism preserving consequence) | Goguen & Burstall (1992) |
| Institution | Category of signatures + Sen + Mod + | No — axioms live in theories | Institution morphism | Goguen & Burstall (1992) |
| NormativeSystem | Roles + norms + deontic constraints | Yes | Normative morphism | This system |
A signature is the syntactic skeleton; a theory is the signature plus axioms; a specification is a theory intended for implementation (possibly open/parameterized); a normative system is a theory whose axioms are deontic (obligation, permission, prohibition).
¶Open questions
- Whether amalgamation holds in a given institution — given a pushout and models that agree on via their reducts, whether there exists a model of the pushout signature whose reducts to and are and . Amalgamation is the key tool for combining theories by specification union.
- Whether derived signature morphisms — where an operation in maps to a term built from -operations rather than to a single operation — preserve the satisfaction condition or require a stronger version (the term-translation variant studied in Mossakowski et al. 2016).
- Whether the Grothendieck institution construction (Diaconescu 2002) is the right way to combine indexed institutions into a single global institution that captures multi-level signature structure.
Last reviewed .