Abstract
AbstractSession subtyping answers the question of whether a program in a communicating system can be safely substituted for another, when their communication behaviours are described by session types. Asynchronous session subtyping is undecidable, hence the interest in devising sound, although incomplete, subtyping algorithms. State-of-the-art algorithms are formulated in terms of a data-structure called input trees. We show how input trees can be replaced by sets of traces, which opens up opportunities for applying techniques abstract interpretation techniques to the problem of asynchronous session subtyping. Sets of traces can be relaxed (enlarged) whilst still allowing subtyping to be observed, and one can choose relaxations that can be finitely represented, even when the input trees are arbitrarily large. We instantiate this strategy using regular expressions and show that it allows subtyping to be mechanically proven for communication patterns that were previously out of reach.
Publisher
Springer Nature Switzerland
Reference34 articles.
1. Bartoletti, M., Murgia, M., Scalas, A., Zunino, R.: Verifiable Abstractions for Contract-oriented Systems. J. Log. Algebraic Methods Program. 86(1), 159–207 (2017)
2. Bocchi, L., Chen, T., Demangeon, R., Honda, K., Yoshida, N.: Monitoring Networks through Multiparty Session Types. Theoretical Computer Science 669, 33–58 (2017), https://doi.org/10.1016/j.tcs.2017.02.009
3. Bourdoncle, F.: Efficient Chaotic Iteration Strategies with Widenings. In: Formal Methods in Programming and Their Applications. Lecture Notes in Computer Science, vol. 735, pp. 128–141. Springer-Verlag (1993). https://doi.org/10.1007/BFb0039704
4. Bravetti, M., Carbone, M., Lange, J., Yoshida, N., Zavattaro, G.: A Sound Algorithm for Asychronous Session Subtyping. In: International Conference on Concurrency Theory. LIPIcs, vol. 140, pp. 38:1–38:16. Schloss Dagstuhl, Leibniz-Zentrum für Informatik (2019), http://dx.doi.org/10.4230/LIPIcs.CONCUR.2019.38
5. Bravetti, M., Carbone, M., Lange, J., Yoshida, N., Zavattaro, G.: A Sound Algorithm for Asychronous Session Subtyping and its Implementation. Logical Methods in Computer Science 17(1), 1–35 (2021). https://doi.org/10.23638/LMCS-17(1:20)2021
Cited by
1 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献
1. On the Preciseness of Subtyping in Session Types: 10 Years Later;Proceedings of the 26th International Symposium on Principles and Practice of Declarative Programming;2024-09-09