manysorted
Manysorted is a term used in universal algebra, model theory, and formal specification to denote structures or logics that distinguish multiple sorts (types) of objects rather than a single universe. It encompasses two related ideas: manysorted algebras and manysorted logic. In a manysorted framework, the domain of discourse is partitioned into several sorts, and operations and predicates have specified input and output sorts.
Formally, let S be a nonempty set of sorts. A manysorted signature consists of a collection of
Manysorted logic extends single-sorted first-order logic by introducing sorts, typed variables, and sort-specific quantification. Interpretations map
Applications include modular algebraic specifications and formal methods. Manysorted frameworks underpin languages such as OBJ and