Affiliation:
1. University of Ljubljana, Jadranska, Ljubljana, Slovenia
Abstract
The article investigates behavioural equivalence between programs in a call-by-value functional language extended with a signature of (algebraic) effect-triggering operations. Two programs are considered as being behaviourally equivalent if they enjoy the same behavioural properties. To formulate this, we define a logic whose formulas specify behavioural properties. A crucial ingredient is a collection of
modalities
expressing effect-specific aspects of behaviour. We give a general theory of such modalities. If two conditions,
openness
and
decomposability
, are satisfied by the modalities, then the logically specified behavioural equivalence coincides with a modality-defined notion of applicative bisimilarity, which can be proven to be a congruence by a generalisation of Howe’s method. We show that the openness and decomposability conditions hold for several examples of algebraic effects: nondeterminism, probabilistic choice, global store, and input/output.
Funder
Air Force Office of Scientific Research
Slovenian Research Agency
European Union's Horizon 2020 research and innovation programme
Marie Skłodowska-Curie
Publisher
Association for Computing Machinery (ACM)
Cited by
12 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献
1. On Model-Checking Higher-Order Effectful Programs;Proceedings of the ACM on Programming Languages;2024-01-05
2. Monadic Intersection Types, Relationally;Lecture Notes in Computer Science;2024
3. A frame stack semantics for sequential Core Erlang;The 35th Symposium on Implementation and Application of Functional Languages;2023-08-29
4. Program equivalence in an untyped, call-by-value functional language with uncurried functions;Journal of Logical and Algebraic Methods in Programming;2023-04
5. Bounded complete domains and their logical form;Information and Computation;2022-11