Abstract
We propose a typing system based on multiparty session types and probabilistic interactions. We define a probabilistic process calculus using nondeterministic external choices and probabilistic internal choices. Interval probability (a generalization of traditional probability using pairs of lower and upper probabilities) are used for global and local types. We introduce a decidable proof system involving interval probability to represent and quantify the uncertain behaviour of concurrent processes. This proof system ensures type preservation and safety, even when the use of probabilities allows a process to be considered well-typed for several types. Additionally, processes remain well-typed after removing their probabilities.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Notes
- 1.
- 2.
B. Russell called this book “undoubtedly the most important work on probability that has appeared for a very long time”.
References
Aman, B., Ciobanu, G.: Probabilities in session types. In: Marin, M., Craciun, A. (eds.) Proceedings Third Symposium on Working Formal Methods, FROM 2019, Timişoara, Romania, 3–5 September 2019. EPTCS, vol. 303, pp. 92–106 (2019). https://doi.org/10.4204/EPTCS.303.7
Aman, B., Ciobanu, G.: Imprecise probability for multiparty session types in process algebra. CoRR abs/2002.08175 (2020)
Bernardo, M., De Nicola, R., Loreti, M.: Revisiting bisimilarity and its modal logic for nondeterministic and probabilistic processes. Acta Informatica 52(1), 61–106 (2014). https://doi.org/10.1007/s00236-014-0210-1
Bocchi, L., Honda, K., Tuosto, E., Yoshida, N.: A theory of design-by-contract for distributed multiparty interactions. In: Gastin, P., Laroussinie, F. (eds.) CONCUR 2010. LNCS, vol. 6269, pp. 162–176. Springer, Heidelberg (2010). https://doi.org/10.1007/978-3-642-15375-4_12
de Campos, L.M., Huete, J.F., Moral, S.: Probability intervals: a tool for uncertain reasoning. Int. J. Uncertain. Fuzziness Knowl.-Based Syst. 2(2), 167–196 (1994). https://doi.org/10.1142/S0218488594000146
Coppo, M., Dezani-Ciancaglini, M., Yoshida, N., Padovani, L.: Global progress for dynamically interleaved multiparty sessions. Math. Struct. Comput. Sci. 26(2), 238–302 (2016). https://doi.org/10.1017/S0960129514000188
Dempster, A.P.: Upper and lower probabilities induced by a multivalued mapping. In: Yager, R.R., Liu, L. (eds.) Classic Works of the Dempster-Shafer Theory of Belief Functions, Studies in Fuzziness and Soft Computing, vol. 219, pp. 57–72. Springer (2008). https://doi.org/10.1007/978-3-540-44792-4_3
Ghilezan, S., Jaksic, S., Pantovic, J., Scalas, A., Yoshida, N.: Precise subtyping for synchronous multiparty sessions. J. Logic Algebraic Meth. Program. 104, 127–173 (2019). https://doi.org/10.1016/j.jlamp.2018.12.002
Halpern, J.Y.: Reasoning About Uncertainty. MIT Press, Cambridge (2005)
Honda, K., Yoshida, N., Carbone, M.: Multiparty asynchronous session types. J. ACM 63(1), 9:1–9:67 (2016). https://doi.org/10.1145/2827695
Inverso, O., Melgratti, H.C., Padovani, L., Trubiani, C., Tuosto, E.: Probabilistic analysis of binary sessions. In: Konnov, I., Kovács, L. (eds.) 31st International Conference on Concurrency Theory, CONCUR 2020. LIPIcs, vol. 171, pp. 14:1–14:21. Schloss Dagstuhl - Leibniz-Zentrum für Informatik (2020). https://doi.org/10.4230/LIPIcs.CONCUR.2020.14
Keynes, J.M.: A Treatise on Probability. Macmillan And Co. (1921)
Kolmogorov, A.: Foundations of the Theory of Probability. Chelsea Pub Co (1950)
Levi, I.: On indeterminate probabilities. J. Philos. 71(13), 391–418 (1974). https://doi.org/10.2307/2025161
López, N., Núñez, M.: An overview of probabilistic process algebras and their equivalences. In: Baier, C., Haverkort, B.R., Hermanns, H., Katoen, J.-P., Siegle, M. (eds.) Validation of Stochastic Systems. LNCS, vol. 2925, pp. 89–123. Springer, Heidelberg (2004). https://doi.org/10.1007/978-3-540-24611-4_3
Scalas, A., Dardha, O., Hu, R., Yoshida, N.: A linear decomposition of multiparty sessions for safe distributed programming. In: Müller, P. (ed.) 31st European Conference on Object-Oriented Programming, ECOOP 2017. LIPIcs, vol. 74, pp. 24:1–24:31. Schloss Dagstuhl - Leibniz-Zentrum für Informatik (2017). https://doi.org/10.4230/LIPIcs.ECOOP.2017.24
Scalas, A., Yoshida, N.: Less is more: multiparty session types revisited. Proc. ACM Program. Lang. 3(POPL), 301–3029 (2019). https://doi.org/10.1145/3290343
Segala, R., Lynch, N.A.: Probabilistic simulations for probabilistic processes. Nord. J. Comput. 2(2), 250–273 (1995)
Varacca, D., Yoshida, N.: Probabilistic pi-calculus and event structures. Electron. Notes Theor. Comput. Sci. 190(3), 147–166 (2007). https://doi.org/10.1016/j.entcs.2007.07.009
Wallsten, T.S., Budescu, D.V., Zwick, R., Kemp, S.M.: Preferences and reasons for communicating probabilistic information in verbal or numerical terms. Bull. Psychon. Soc. 31(2), 135–138 (1993). https://doi.org/10.3758/BF03334162
Weichselberger, K.: The theory of interval-probability as a unifying concept for uncertainty. Int. J. Approximate Reasoning 24(2–3), 149–170 (2000). https://doi.org/10.1016/S0888-613X(00)00032-3
Wolfenson, M., Fine, T.L.: Bayes-like decision making with upper and lower probabilities. J. Am. Stat. Assoc. 77(377), 80–88 (1982). https://doi.org/10.1080/01621459.1982.10477769
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2022 The Author(s), under exclusive license to Springer Nature Switzerland AG
About this paper
Cite this paper
Aman, B., Ciobanu, G. (2022). Interval Probability for Sessions Types. In: Ciabattoni, A., Pimentel, E., de Queiroz, R.J.G.B. (eds) Logic, Language, Information, and Computation. WoLLIC 2022. Lecture Notes in Computer Science, vol 13468. Springer, Cham. https://doi.org/10.1007/978-3-031-15298-6_8
Download citation
DOI: https://doi.org/10.1007/978-3-031-15298-6_8
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-031-15297-9
Online ISBN: 978-3-031-15298-6
eBook Packages: Computer ScienceComputer Science (R0)