Skip to main content

Interval Probability for Sessions Types

  • Conference paper
  • First Online:
Logic, Language, Information, and Computation (WoLLIC 2022)

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Notes

  1. 1.

    This new probabilistic approach satisfies the standard axioms for determining the probability of an event [21]. The probability of an event is a real number in the interval [0, 1], and the sum of the probabilities of the elementary events is 1; these axioms are presented by A.Kolmogorov in [13].

  2. 2.

    B. Russell called this book “undoubtedly the most important work on probability that has appeared for a very long time”.

References

  1. 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

  2. Aman, B., Ciobanu, G.: Imprecise probability for multiparty session types in process algebra. CoRR abs/2002.08175 (2020)

    Google Scholar 

  3. 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

    Article  Google Scholar 

  4. 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

    Chapter  Google Scholar 

  5. 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

    Article  Google Scholar 

  6. 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

    Article  Google Scholar 

  7. 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

  8. 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

    Article  Google Scholar 

  9. Halpern, J.Y.: Reasoning About Uncertainty. MIT Press, Cambridge (2005)

    Google Scholar 

  10. 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

  11. 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

  12. Keynes, J.M.: A Treatise on Probability. Macmillan And Co. (1921)

    Google Scholar 

  13. Kolmogorov, A.: Foundations of the Theory of Probability. Chelsea Pub Co (1950)

    Google Scholar 

  14. Levi, I.: On indeterminate probabilities. J. Philos. 71(13), 391–418 (1974). https://doi.org/10.2307/2025161

    Article  Google Scholar 

  15. 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

    Chapter  Google Scholar 

  16. 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

  17. 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

    Article  Google Scholar 

  18. Segala, R., Lynch, N.A.: Probabilistic simulations for probabilistic processes. Nord. J. Comput. 2(2), 250–273 (1995)

    Google Scholar 

  19. 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

    Article  Google Scholar 

  20. 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

    Article  Google Scholar 

  21. 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

    Article  Google Scholar 

  22. 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

    Article  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Bogdan Aman .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2022 The Author(s), under exclusive license to Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

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)

Publish with us

Policies and ethics