Table of contents
Capability Signature
Formal definition
A CapabilitySignature is a morphism:
where is a finite set of parameter names and is the type vocabulary of the relational universe:
The morphism assigns each parameter name a type , declaring what kind of object any bearer must supply for parameter .
In FARS: the params: block of any spec file is a capability signature. Every key in params: is a parameter name; every value is a type from the vocabulary above. An entity satisfies a spec’s capability signature iff it provides a value of the declared type for every parameter.
Three invariants. is a capability signature iff:
-
Finiteness: — capability signatures are finite; they specify a decidable minimum interface, not an open-ended one. An infinite interface cannot be checked for satisfaction at any history.
-
Type discipline: every — each parameter is assigned a type from the vocabulary, not an informal description. The type determines what kind of object counts as a valid implementation of the parameter.
-
Name uniqueness: parameter names within a single signature are distinct — is a function, not a multimap. Two parameters requiring the same type must have distinct names to be distinct parameters.
Subsumption morphism
A subsumption morphism exists (read: subsumes , written ) iff:
Every parameter required by appears in with the same type. is at least as demanding as ; satisfying entails satisfying .
The subsumption morphism is the inclusion morphism in the category of finite sets, equipped with the type-compatibility condition. Capability signatures ordered by form a preorder category: objects are capability signatures, morphisms are subsumption inclusions, and morphism composition is inclusion composition.
Role hierarchy as subsumption. A role hierarchy (RBAC or Parsonian) is a choice of subsumption morphisms between the capability signatures of the roles. If exists, then role is more specific than ; filling entails filling .
Satisfaction
Satisfaction proposition. For agent and capability signature at history , define:
as the proposition “agent satisfies capability signature at history .”
Satisfaction operativity. Agent operatively satisfies at iff:
This requires: for every , there is a doubly-settled value-proposition witnessing that provides an element of type for parameter .
Theorem (Subsumption Satisfaction Monotonicity). If is a subsumption morphism and , then .
Proof sketch. means every parameter in is doubly-settled for . Since and types agree on , the doubly-settled value-propositions for restrict to doubly-settled value-propositions for . Therefore .
In FARS
The capability signature of a spec is exactly its params: block. The type vocabulary is the set of spec ids used as param types in the system (relational-universe, relational-universe-morphism, charter, etc.). Every spec defines a capability signature; an entity that provides implementations for all declared params satisfies the spec’s capability signature.
The subsumption morphism between spec capability signatures exists when one spec’s params are a subset of another’s (with matching types). The RBAC role hierarchy is the file-system realization of this: a spec that inherits another’s full params block is strictly more demanding.
Open questions
- Whether the type vocabulary should itself be formalized as an object in the relational universe — whether there is a presheaf of types assigning to each history the set of types available at that history, and whether capability signatures are then morphisms in the slice category over .
- Whether capability signatures can include dependent types — whether the type of one parameter can depend on the value provided for another, and whether this dependence requires an extension of the subsumption morphism (from a simple inclusion to a morphism in a category of dependent types).
- Whether the satisfaction proposition is jointly generated by the family of individual value-propositions — whether in the Heyting algebra , making satisfaction the meet of all individual parameter satisfactions; and whether this join/meet characterization simplifies the proof of Subsumption Satisfaction Monotonicity.