Abstract :
A novel, general approach is proposed to proving the compositionality of process equivalences on languages defined by structural operational semantics (SOS). The approach, based on modal logic, is inspired by the simple observation that if the set of formulas satisfied by a process can be derived from the corresponding sets for its subprocesses, then the logical equivalence is a congruence. Striving for generality, SOS rules are modeled categorically as bialgebraic distributive laws for some notions of process syntax and behaviour, and modal logics are modeled via coalgebraic polyadic modal logic. Compositionality is proved by providing a suitable notion of behaviour for the logic together with a dual distributive law, reflecting the one modeling the SOS specification. Concretely, the dual laws may appear as SOS-like rules where logical formulas play the role of processes, and their behaviour models logical decomposition over process syntax. The approach can be used either to proving compositionality for specific languages or for defining SOS congruence formats.
Keywords :
process algebra; programming language semantics; bialgebraic operational semantics; coalgebraic polyadic modal logic; logical equivalence; process equivalences compositionality; structural operational semantics; Algebra; Computer languages; Computer science; Context modeling; Joining processes; Logic functions; Power system modeling; Testing;