Abstract
In this paper, we consider event structures and their probabilistic and quantum extensions as originally defined by Winskel. If these structures have already been part of sophisticated computational models, they have rarely been directly studied as an immediate model of execution traces of programs. This paper offers such an analysis. We propose a simple imperative operational framework and show how to derive soundness and adequacy results with event structures considered as a semantics. We show how event structures naturally handle non-deterministic, probabilistic and quantum effects.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Similar content being viewed by others
Notes
- 1.
for any two events \(e_1, e_2 \in E\), \(e_1 \le e_2\) is read: \(e_2\) depends on \(e_1\).
- 2.
\(e \# e^{\prime } \le e^{\prime \prime }\) is to be understood as \((e \# e^{\prime })\) and \((e^{\prime } \le e^{\prime \prime })\).
- 3.
i.e. a configuration x is maximal iff \(\not \exists y \in \mathcal {C}(\textrm{E})\) such that \(x \subset y\).
- 4.
sk is the label for the command skip.
- 5.
The proper definition of the disjoint union is \(A \uplus B = \{(0,a) | a \in A\} \cup \{ (1,b) | b \in B \}\). For \(R,S \in A \times B\), the disjoint union extends to a relation as \((i,e) R \uplus S (i^{\prime },e^{\prime })\) whenever \(i=0=i'\) and \(e R e^{\prime }\) or \(i=1=i'\) and \(e S e^{\prime }\). For the sake of keeping the notations readable, we will keep the 0s and 1s implicit.
- 6.
\({C}_1\, ||\, {C}_2\) being disjoint means that \({C}_1\) and \({C}_2\) do not share any qubit.
References
Andersen, J., Elsborg, E., Henglein, F., Simonsen, J.G., Stefansen, C.: Compositional specification of commercial contracts. Int. J. Softw. Tools Technol. Transf. 8(6), 485–516 (2006). https://doi.org/10.1007/S10009-006-0010-1
Baier, C., Kwiatkowska, M.: Domain equations for probabilistic processes (extended abstract). Electron. Notes Theor. Comput. Sci. 7, 34–54 (1997). https://doi.org/10.1016/S1571-0661(05)80465-7. https://www.sciencedirect.com/science/article/pii/S1571066105804657
Castellan, S.: Weak memory models using event structures. In: Vingt-septièmes Journées Francophones des Langages Applicatifs (JFLA 2016) (2016)
Castellan, S.: Concurrent structures in game semantics. Bull. EATCS 123 (2017), http://eatcs.org/beatcs/index.php/beatcs/article/view/501
Clairambault, P., de Visme, M., Winskel, G.: Game semantics for quantum programming. Proc. ACM Program. Lang. 3(POPL), 32:1–32:29 (2019). https://doi.org/10.1145/3290345
Fernandes, V., de Visme, M., Valiron, B.: Non-deterministic, probabilistic, and quantum effects through the lens of event structures (technical report) (2024). https://arxiv.org/abs/2408.14563
Milner, R.: Communication and Concurrency, vol. 84. Prentice Hall, New York (1989)
Nielsen, M.A., Chuang, I.L.: Quantum Computation and Quantum Information. Cambridge University Press, Cambridge (2000)
Paquet, H.: Probabilistic concurrent game semantics. Ph.D. thesis, University of Cambridge, UK (2020). https://doi.org/10.17863/CAM.61919, https://ethos.bl.uk/OrderDetails.do?uin=uk.bl.ethos.821543
Reynolds, J.C.: Theories of Programming Languages. Cambridge University Press, Cambridge (1998)
Segala, R.: Modeling and verification of randomized distributed real-time systems. Ph.D. thesis, Massachusetts Institute of Technology (1995)
Sokolova, A., De Vink, E.P.: Probabilistic automata: system types, parallel composition and comparison. In: Validation of Stochastic Systems: A Guide to Current Research, pp. 1–43 (2004)
Varacca, D., Völzer, H., Winskel, G.: Probabilistic event structures and domains. Theor. Comput. Sci. 358(2–3), 173–199 (2006). https://doi.org/10.1016/J.TCS.2006.01.015
Varacca, D., Winskel, G.: Distributing probability over non-determinism. Math. Struct. Comput. Sci. 16(1), 87–113 (2006)
Varacca, D., Yoshida, N.: Probabilistic pi-calculus and event structures. In: Aldini, A., van Breugel, F. (eds.) Proceedings of the Fifth Workshop on Quantitative Aspects of Programming Languages, QAPL 2007, Braga, Portugal, March 24-25, 2007. Electronic Notes in Theoretical Computer Science, vol. 190, pp. 147–166. Elsevier, Amsterdam (2007). https://doi.org/10.1016/J.ENTCS.2007.07.009
de Visme, M.: Event structures for mixed choice. In: The 30th International Conference on Concurrency Theory (CONCUR 2019) (2019)
Winskel, G.: Event structure semantics for ccs and related languages. In: International Colloquium on Automata, Languages, and Programming, pp. 561–576. Springer, Berlin (1982)
Winskel, G.: An introduction to event structures. In: Workshop/School/Symposium of the REX Project (Research and Education in Concurrent Systems), pp. 364–397. Springer, Berlin (1988)
Winskel, G.: Probabilistic and quantum event structures. In: Horizons of the Mind. A Tribute to Prakash Panangaden, pp. 476–497. Springer, Berlin (2014)
Acknowledgements
This work has been partially funded by the French National Research Agency (ANR) by the project RECIPROG ANR-21-CE48-0019, PPS ANR-19-CE48-0014, TaQC ANR-22-CE47-0012 and within the framework of “Plan France 2030”, under the research projects EPIQ ANR-22-PETQ-0007, OQULUS ANR-23-PETQ-0013, HQI-Acquisition ANR-22-PNCQ-0001 and HQI-R&D ANR-22-PNCQ-0002. This work is partially financed by National Funds through the Portuguese funding agency, FCT— Fundação para a Ciência e a Tecnologia, within project UIDB/50014/2020. DOI 10.54499/UIDB/50014/2020|https://doi.org/10.54499/uidb/50014/2020.
Disclosure of Interests. The authors have no competing interests to declare.
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2025 The Author(s), under exclusive license to Springer Nature Singapore Pte Ltd.
About this paper
Cite this paper
Fernandes, V., Visme, M.d., Valiron, B. (2025). Non-deterministic, Probabilistic, and Quantum Effects Through the Lens of Event Structures. In: Kiselyov, O. (eds) Programming Languages and Systems. APLAS 2024. Lecture Notes in Computer Science, vol 15194. Springer, Singapore. https://doi.org/10.1007/978-981-97-8943-6_10
Download citation
DOI: https://doi.org/10.1007/978-981-97-8943-6_10
Published:
Publisher Name: Springer, Singapore
Print ISBN: 978-981-97-8942-9
Online ISBN: 978-981-97-8943-6
eBook Packages: Computer ScienceComputer Science (R0)