PRISMA: A Mobile Calculus with Parametric Synchronization
2006
https://doi.org/10.1007/978-3-540-75336-0_9Abstract
We present PRISMA, a parametric calculus that can be instantiated with different interaction policies, defined as synchronization algebras with mobility of names (SAMs). We define both operational semantics and observational semantics of PRISMA, showing that the second one is compositional for any SAM. We give examples based on heterogeneous SAMs, a case study on Fusion Calculus and some simple applications. Finally, we show that basic categorical tools can help to relate and to compose SAMs and PRISMA processes in an elegant way. 133 uses broadcast to send the news to subscribed recipients. We consider basic actions of the form xa y where x is the channel where the interaction is performed, a an action specifying the contribution to the interaction and y a tuple of parameters. Note the separation between the channel name and the action executed on it, which is a distinctive feature of our approach. In particular, we consider actions in and out respectively as input and output primitives for message passing, and in b and out b for broadcast. Also, we use publish and news as communication channels: the first is used for the interaction between the news provider and the server, and the latter for sending news to their recipients. Channel info is used as news value instead. Thus the server can be modeled as
References (20)
- Abadi, M., Fournet, C.: Mobile values, new names, and secure communication. In: Proc. of POPL'01, pp. 104-115. ACM Press, New York (2001)
- Baeten, J.C.M., Weijland, W.P.: Process algebra. Cambridge University Press, Cambridge (1990)
- Boreale, M., Buscemi, M.G., Montanari, U.: D-fusion: A distinctive fusion calcu- lus. In: Chin, W.-N. (ed.) APLAS 2004. LNCS, vol. 3302, pp. 296-310. Springer, Heidelberg (2004)
- Dal Zilio, S.: Mobile processes: A commented bibliography. In: MOVEP 2000. LNCS, vol. 2067, pp. 206-222. Springer, Heidelberg (2000)
- Degano, P., Montanari, U.: A model for distributed systems based on graph rewrit- ing. Journal of the ACM 34(2), 411-449 (1987)
- Ene, C., Muntean, T.: Expressiveness of point-to-point versus broadcast communi- cations. In: Ciobanu, G., Pȃun, G. (eds.) FCT 1999. LNCS, vol. 1684, pp. 258-268.
- Springer, Heidelberg (1999)
- Ene, C., Muntean, T.: A broadcast-based calculus for communicating systems. In: Proc. of IPDPS'01, IEEE Computer Society, Los Alamitos (2001)
- Fournet, C., Gonthier, G.: The reflexive chemical abstract machine and the Join calculus. In: Proc. of POPL'96, pp. 372-385. ACM Press, New York (1996)
- Hirsch, D., Montanari, U.: Synchronized hyperedge replacement with name mo- bility. In: Larsen, K.G., Nielsen, M. (eds.) CONCUR 2001. LNCS, vol. 2154, pp. 121-136. Springer, Heidelberg (2001)
- Hoare, C.A.R.: A model for communicating sequential processes. In: On the Con- struction of Programs, Cambridge University Press, Cambridge (1980)
- Lanese, I.: Concurrent and located synchronizations in π-calculus. In: Proc. of SOFSEM'07, LNCS (to appear)
- Lanese, I.: Synchronization strategies for global computing models. PhD thesis, Computer Science Department, University of Pisa, Pisa, Italy (2006)
- Lanese, I., Montanari, U.: Synchronization algebras with mobility for graph trans- formations. In: Proc. of FGUC'04, ENTCS 138, pp. 43-60. Elsevier Science, North- Holland (2004)
- Lanese, I., Tuosto, E.: Synchronized hyperedge replacement for heterogeneous systems. In: Jacquet, J.-M., Picco, G.P. (eds.) COORDINATION 2005. LNCS, vol. 3454, pp. 220-235. Springer, Heidelberg (2005)
- MacLane, S.: Categories for the Working Mathematician. Springer, Heidelberg (1971)
- Milner, R.: A Calculus of Communication Systems. LNCS, vol. 92. Springer, Hei- delberg (1980)
- Milner, R., Parrow, J., Walker, J.: A calculus of mobile processes, I and II Inform. and Comput. 100(1) 1-40, 41-77 (1992)
- Parrow, J., Victor, B.: The fusion calculus: Expressiveness and symmetry in mobile processes. In: Proc. of LICS '98, pp. 176-185. IEEE Computer Society Press, Los Alamitos (1998)
- Winskel, G.: Synchronization trees. Theoret. Comput. Sci. 34, 33-82 (1984)