prof. diletta romana cacciagrano. from sequential over concurrent to mobile systems introduction...
TRANSCRIPT
![Page 1: Prof. Diletta Romana Cacciagrano. From sequential over concurrent to mobile systems Introduction to the Pi-Calculus Operational Equivalences based](https://reader035.vdocuments.us/reader035/viewer/2022062716/56649dc55503460f94ab8ade/html5/thumbnails/1.jpg)
Mobile Calculi
Prof. Diletta Romana Cacciagrano
![Page 2: Prof. Diletta Romana Cacciagrano. From sequential over concurrent to mobile systems Introduction to the Pi-Calculus Operational Equivalences based](https://reader035.vdocuments.us/reader035/viewer/2022062716/56649dc55503460f94ab8ade/html5/thumbnails/2.jpg)
Contents From sequential over concurrent to mobile
systems Introduction to the Pi-Calculus Operational Equivalences based on labels Operational Equivalences based on
reduction Testing preorders Some expressiveness results
![Page 3: Prof. Diletta Romana Cacciagrano. From sequential over concurrent to mobile systems Introduction to the Pi-Calculus Operational Equivalences based](https://reader035.vdocuments.us/reader035/viewer/2022062716/56649dc55503460f94ab8ade/html5/thumbnails/3.jpg)
A Shift in Theoretical Foundation
![Page 4: Prof. Diletta Romana Cacciagrano. From sequential over concurrent to mobile systems Introduction to the Pi-Calculus Operational Equivalences based](https://reader035.vdocuments.us/reader035/viewer/2022062716/56649dc55503460f94ab8ade/html5/thumbnails/4.jpg)
The Lambda-Calculus
![Page 5: Prof. Diletta Romana Cacciagrano. From sequential over concurrent to mobile systems Introduction to the Pi-Calculus Operational Equivalences based](https://reader035.vdocuments.us/reader035/viewer/2022062716/56649dc55503460f94ab8ade/html5/thumbnails/5.jpg)
The Lambda-Calculus
![Page 6: Prof. Diletta Romana Cacciagrano. From sequential over concurrent to mobile systems Introduction to the Pi-Calculus Operational Equivalences based](https://reader035.vdocuments.us/reader035/viewer/2022062716/56649dc55503460f94ab8ade/html5/thumbnails/6.jpg)
Petri Nets
![Page 7: Prof. Diletta Romana Cacciagrano. From sequential over concurrent to mobile systems Introduction to the Pi-Calculus Operational Equivalences based](https://reader035.vdocuments.us/reader035/viewer/2022062716/56649dc55503460f94ab8ade/html5/thumbnails/7.jpg)
Petri Nets
![Page 8: Prof. Diletta Romana Cacciagrano. From sequential over concurrent to mobile systems Introduction to the Pi-Calculus Operational Equivalences based](https://reader035.vdocuments.us/reader035/viewer/2022062716/56649dc55503460f94ab8ade/html5/thumbnails/8.jpg)
Petri Nets Drawbacks
![Page 9: Prof. Diletta Romana Cacciagrano. From sequential over concurrent to mobile systems Introduction to the Pi-Calculus Operational Equivalences based](https://reader035.vdocuments.us/reader035/viewer/2022062716/56649dc55503460f94ab8ade/html5/thumbnails/9.jpg)
The Pi-Calculus
![Page 10: Prof. Diletta Romana Cacciagrano. From sequential over concurrent to mobile systems Introduction to the Pi-Calculus Operational Equivalences based](https://reader035.vdocuments.us/reader035/viewer/2022062716/56649dc55503460f94ab8ade/html5/thumbnails/10.jpg)
The Pi-Calculus
![Page 11: Prof. Diletta Romana Cacciagrano. From sequential over concurrent to mobile systems Introduction to the Pi-Calculus Operational Equivalences based](https://reader035.vdocuments.us/reader035/viewer/2022062716/56649dc55503460f94ab8ade/html5/thumbnails/11.jpg)
Link Passing Mobility
![Page 12: Prof. Diletta Romana Cacciagrano. From sequential over concurrent to mobile systems Introduction to the Pi-Calculus Operational Equivalences based](https://reader035.vdocuments.us/reader035/viewer/2022062716/56649dc55503460f94ab8ade/html5/thumbnails/12.jpg)
Dynamic Topology
![Page 13: Prof. Diletta Romana Cacciagrano. From sequential over concurrent to mobile systems Introduction to the Pi-Calculus Operational Equivalences based](https://reader035.vdocuments.us/reader035/viewer/2022062716/56649dc55503460f94ab8ade/html5/thumbnails/13.jpg)
Mobility in the Pi-Calculus
Name mobility (pi-calculus): Processes communicate via names (channel/links) and names may move (cf. hypertext links, mobile phones, object references,..)
Process mobility: Processes communicate via names and processes may move (cf. mobile code, Jini, higher-order languages, load balancing,..)
The choice of the pure name mobility for the Pi-calculus: furthermore, there is no explicit notion of location and distribution.
• mathematically simpler;• other forms of mobility may (sometimes) be reduced to it;• basis for more complex formalisms.
![Page 14: Prof. Diletta Romana Cacciagrano. From sequential over concurrent to mobile systems Introduction to the Pi-Calculus Operational Equivalences based](https://reader035.vdocuments.us/reader035/viewer/2022062716/56649dc55503460f94ab8ade/html5/thumbnails/14.jpg)
The Pi-Calculus Advantage
![Page 15: Prof. Diletta Romana Cacciagrano. From sequential over concurrent to mobile systems Introduction to the Pi-Calculus Operational Equivalences based](https://reader035.vdocuments.us/reader035/viewer/2022062716/56649dc55503460f94ab8ade/html5/thumbnails/15.jpg)
Introduction to the Pi-Calculus
![Page 16: Prof. Diletta Romana Cacciagrano. From sequential over concurrent to mobile systems Introduction to the Pi-Calculus Operational Equivalences based](https://reader035.vdocuments.us/reader035/viewer/2022062716/56649dc55503460f94ab8ade/html5/thumbnails/16.jpg)
A calculus of processes whose linkage structure may change (name mobility or dynamic topology)
• rich and well-developed theory• small, yet a high expressive power• a metalanguage for concurrent languages (OO, higher-
order…)• basis for new programming languages• useful type system
But also:
A basic model of computation, where computing is interaction (cf. lambda-calculus, Turing Machines).
Informal Introduction to the Calculus
![Page 17: Prof. Diletta Romana Cacciagrano. From sequential over concurrent to mobile systems Introduction to the Pi-Calculus Operational Equivalences based](https://reader035.vdocuments.us/reader035/viewer/2022062716/56649dc55503460f94ab8ade/html5/thumbnails/17.jpg)
A small calculus (and the semantics only involves name-for name substitution) but very expressive
• encoding data structures• encoding functions as processes (Milner, Sangiorgi)• encoding synchronous communication with asynchronous
(Honda-Tokoro, Boudol)• encoding polyadic communication with monadic (Quaglia,
Walker)• encoding choice (or not) (Nestmann, Palamidessi)• ....
Informal Introduction to the Calculus
![Page 18: Prof. Diletta Romana Cacciagrano. From sequential over concurrent to mobile systems Introduction to the Pi-Calculus Operational Equivalences based](https://reader035.vdocuments.us/reader035/viewer/2022062716/56649dc55503460f94ab8ade/html5/thumbnails/18.jpg)
|
|| |
Informal Introduction to the Calculus
![Page 19: Prof. Diletta Romana Cacciagrano. From sequential over concurrent to mobile systems Introduction to the Pi-Calculus Operational Equivalences based](https://reader035.vdocuments.us/reader035/viewer/2022062716/56649dc55503460f94ab8ade/html5/thumbnails/19.jpg)
Informal Introduction to the Calculus
![Page 20: Prof. Diletta Romana Cacciagrano. From sequential over concurrent to mobile systems Introduction to the Pi-Calculus Operational Equivalences based](https://reader035.vdocuments.us/reader035/viewer/2022062716/56649dc55503460f94ab8ade/html5/thumbnails/20.jpg)
Informal Introduction to the Calculus
![Page 21: Prof. Diletta Romana Cacciagrano. From sequential over concurrent to mobile systems Introduction to the Pi-Calculus Operational Equivalences based](https://reader035.vdocuments.us/reader035/viewer/2022062716/56649dc55503460f94ab8ade/html5/thumbnails/21.jpg)
Informal Introduction to the Calculus
![Page 22: Prof. Diletta Romana Cacciagrano. From sequential over concurrent to mobile systems Introduction to the Pi-Calculus Operational Equivalences based](https://reader035.vdocuments.us/reader035/viewer/2022062716/56649dc55503460f94ab8ade/html5/thumbnails/22.jpg)
Informal Introduction to the Calculus
![Page 23: Prof. Diletta Romana Cacciagrano. From sequential over concurrent to mobile systems Introduction to the Pi-Calculus Operational Equivalences based](https://reader035.vdocuments.us/reader035/viewer/2022062716/56649dc55503460f94ab8ade/html5/thumbnails/23.jpg)
Informal Introduction to the Calculus
![Page 24: Prof. Diletta Romana Cacciagrano. From sequential over concurrent to mobile systems Introduction to the Pi-Calculus Operational Equivalences based](https://reader035.vdocuments.us/reader035/viewer/2022062716/56649dc55503460f94ab8ade/html5/thumbnails/24.jpg)
Informal Introduction to the Calculus