A MODULAR LTS FOR OPEN REACTIVE SYSTEMS

Slides:



Advertisements
Similar presentations
Brief Introduction to Logic. Outline Historical View Propositional Logic : Syntax Propositional Logic : Semantics Satisfiability Natural Deduction : Proofs.
Advertisements

CommUnity, Tiles and Connectors joint work with Roberto Bruni José Luiz Fiadeiro Antónia Lopes Ugo Montanari Ivan Lanese Dipartimento di Informatica Università.
GRAPHS, REACTIVE SYSTEMS AND MOBILE AMBIENTS Giacoma Valentina Monreale Supervisor: F. Gadducci.
Process Algebra (2IF45) Abstraction in Process Algebra Suzana Andova.
Game-theoretic simulation checking tool Peter Bulychev, Vladimir Zakharov, Igor Konnov Moscow State University.
Process Algebra (2IF45) Probabilistic Process Algebra Suzana Andova.
Behavioral Equivalence Hossein Hojjat Formal Lab University of Tehran.
Roberto Pisa, Italy 13 June 2008 WADT Tiles for Reo Roberto Bruni Dipartimento di Informatica Università di Pisa WADT th International.
Foundations of Interaction ETAPS `05 0 Ex nihilo: a reflective higher- order process calculus The  -calculus L.G. Meredith 1 & Matthias Radestock.
1 Flexible Subtyping Relations for Component- Oriented Formalisms and their Verification David Hurzeler PhD Examination, 9/11/2004.
1 Ivan Lanese Computer Science Department University of Bologna Italy Towards a Unifying Theory for Web Services Composition Manuel Mazzara Faculty of.
1 Synchronization strategies for global computing models Ivan Lanese Computer Science Department University of Bologna.
1 Ivan Lanese Computer Science Department University of Bologna Roberto Bruni Computer Science Department University of Pisa A mobile calculus with parametric.
On-the-fly Model Checking from Interval Logic Specifications Manuel I. Capel & Miguel J. Hornos Dept. Lenguajes y Sistemas Informáticos Universidad de.
1 Ivan Lanese Computer Science Department University of Bologna Italy Behavioural Theory for SSCC Joint work with Luis Cruz-Filipe, Francisco Martins,
1 Formal Models for Distributed Negotiations Concurrent Languages Translation Roberto Bruni Dipartimento di Informatica Università di Pisa XVII Escuela.
Bridging the gap between Interaction- and Process-Oriented Choreographies Talk by Ivan Lanese Joint work with Claudio Guidi, Fabrizio Montesi and Gianluigi.
07/06/98 知的インタフェース特論 1 Operational Semantics Again, the question? Operational Model = Labeled Transition System If P and Q yields a same LTS. How to define.
1 GT-VC 2005, San Francisco, August 22, 2005 Ugo Montanari Università di Pisa Ivan Lanese Università di Pisa Hoare vs. Milner: Comparing Synchronizations.
Programming Language Semantics Mooly SagivEran Yahav Schrirber 317Open space html://
1 IFM 2005 – November 30, 2005 EXP.OPEN 2.0 A flexible tool integrating partial order, compositional, and on-the-fly verification methods Frédéric Lang.
Bisimulation by Unification Roberto Bruni (Univ. Pisa – Univ. Illinois) Paolo Baldan (Univ. Pisa – Univ. Venezia) Andrea Bracciali (Univ. Pisa) AMAST’02,
1 Ivan Lanese Computer Science Department University of Pisa Prof. Ugo Montanari Synchronization strategies for global computing Relator: Thesis Progress.
1 Ivan Lanese Computer Science Department University of Bologna Italy Concurrent and located synchronizations in π-calculus.
Semantics with Applications Mooly Sagiv Schrirber html:// Textbooks:Winskel The.
Modeling Community with Tiles joint work with Ivan Lanese Ugo Montanari Dipartimento di Informatica Università di Pisa Roberto Bruni Dipartimento di Informatica.
1 Ivan Lanese Computer Science Department University of Bologna Italy Behavioural Theory at Work: Program Transformations in a Service-centred Calculus.
An algebra of Connectors for modeling CommUnity with Tiles joint work with Roberto Bruni Ugo Montanari Dipartimento di Informatica Università di Pisa Ivan.
Mobile Ambients Luca Cardelli Digital Equipment Corporation, Systems Research Center Andrew D. Gordon University of Cambridge, Computer Laboratory Presented.
1 Ivan Lanese Computer Science Department University of Bologna Italy Towards a Unifying Theory for Web Services Composition Manuel Mazzara Faculty of.
1 Ivan Lanese Computer Science Department University of Bologna Synchronization strategies for global computing models.
Complete Axioms for Stateless Connectors joint work with Roberto Bruni and Ugo Montanari Dipartimento di Informatica Università di Pisa Ivan Lanese Dipartimento.
Synchronizations with Mobility for Graph Transformations joint work with Ugo Montanari Dipartimento di Informatica Università di Pisa Ivan Lanese Dipartimento.
Mathematical Operational Semantics and Finitary System Behaviour Stefan Milius, Marcello Bonsangue, Robert Myers, Jurriaan Rot.
Process Algebra (2IF45) Basic Process Algebra (Soundness proof) Dr. Suzana Andova.
Process Algebra (2IF45) Probabilistic Branching Bisimulation: Exercises Dr. Suzana Andova.
Coalgebraic Symbolic Semantics Filippo Bonchi Ugo Montanari.
Mathematical Operational Semantics and Finitary System Behaviour Stefan Milius, Marcello Bonsangue, Robert Myers, Jurriaan Rot.
Advanced Topics in SE Spring Process Algebra Hossein Hojjat Formal Methods Lab University of Tehran.
Communication and Concurrency: CCS
Reactive systems – general
2G1516 Formal Methods2005 Mads Dam IMIT, KTH 1 CCS: Operational Semantics And Process Algebra Mads Dam Reading: Peled 8.3, 8.4, 8.6 – rest of ch. 8.
Prof. Diletta Romana Cacciagrano. (red-cong) :
19 Aug 2002EXPRESS On the Expressive Power of Temporal Concurrent Constraint Programming Languages Mogens Nielsen, BRICS Catuscia Palamidessi, INRIA.
UW CSE 503 ▪ Software Engineering ▪ Spring 2004 ▪ Rob DeLine1 CSE 503 – Software Engineering Lecture 7: Process calculi and refinement Rob DeLine 19 Apr.
Formal Semantics of Programming Languages 虞慧群 Topic 1: Introduction.
Egocentric Context-Aware Programming in Ad Hoc Mobile Environments Christine Julien Gruia-Catalin Roman Mobile Computing Laboratory Department of Computer.
Weak Bisimilarity Coalgebraically Andrei Popescu Department of Computer Science University of Illinois.
Modeling a Service and Session Calculus with Hierarchical Graph Transformation Joint work with Roberto Bruni and Andrea Corradini, second part Ugo Montanari.
Lecture 5 1 CSP tools for verification of Sec Prot Overview of the lecture The Casper interface Refinement checking and FDR Model checking Theorem proving.
2 April, 2008AADL/UML workshop - Belfast1 Arcade: A formal, extensible, model-based dependability evaluation framework Hichem Boudali 1, Pepijn Crouzen.
2G1516 Formal Methods2005 Mads Dam IMIT, KTH 1 CCS: Processes and Equivalences Mads Dam Reading: Peled 8.5.
2G1516/2G1521 Formal Methods2004 Mads Dam IMIT, KTH 1 CCS: Processes and Equivalences Mads Dam Reading: Peled 8.1, 8.2, 8.5.
28/Dec/2005 Linking the -calculus and B-Method Damien Karkinsky PhD Symposium IFM 2005 ¼.
Process Algebra (2IF45) Abstraction Parallel composition (short intro) Suzana Andova.
Asymmetry and 3-Valued Symmetry Reduction Course Project of CSC 2108H, 2003 Ou Wei Yong Yuan Department of Computer Science, University of Toronto, 2004.
Process Algebra (2IF45) Basic Process Algebra Dr. Suzana Andova.
Rewriting Nested Graphs, through Term Graphs Roberto Bruni, Andrea Corradini, Fabio Gadducci Alberto Lluch Lafuente and Ugo Montanari Dipartimento di Informatica,
Prof. Dr. Holger Schlingloff 1,2 Dr. Esteban Pavese 1
Mobile Ambients Luca Cardelli Andrew D. Gordon Pravin Shetty
Process Algebra (2IF45) Extending Process Algebra: Abstraction
Process Algebra (2IF45) Expressiveness of BPArec
Modeling Mutual Exclusion Algorithms
Encoding CNFs to Enhance Component Analysis
A Complete Symbolic Bisimulation for Full Applied Pi Calculus
Internet of Things A Process Calculus Approach
Formal Methods in software development
Formal Methods in software development
Formal Methods in software development
Presentation transcript:

A MODULAR LTS FOR OPEN REACTIVE SYSTEMS Uni Pisa F. Gadducci, G.V.Monreale and U. Montanari

Outline Process calculi (Open) Reactive Systems A Few Problems Some Solutions Conclusions

A process calculus: CCS Expresses how the system can interact with the environment Syntax P ::= M, P1| P2 M ::= 0, a.P, a.P, .P, M1+M2  P Q Labelled Transition System Expresses the behaviour of the system in terms of the behaviour of its components Behavioral Equivalence Compositional A symmetric relation R is a bisimulation if whenever P R Q P P’ implies Q Q’ and P’ R Q’ Bisimilarity ∼ is the largest bisimulation  

Reduction semantics for CCS Elegant and natural Describes the behaviour of the system as a whole Structural Congruence P|Q  Q|P P|(Q|R)  (P|Q)|R P|0  P M+N  N+M M+(N+O)  (M+N)+O M+0 = M Reduction Relation Not Compositional (a.P+M) | (a.Q+N) P | Q .P+M P Closed wrt. structural congruence and parallel operator a.0 is equivalent to b.0 a.0 |a.0 is not equivalent to b.0 |a.0

Preliminary question... Reactive Systems  How to derive LTSs from reduction semantics such that their bisimulation is a congruence? Reactive Systems [Leifer and Milner 2000]

(Open) Reactive Systems Categories model the state space of formalisms whose operational semantics is provided by reduction rules Terms Contexts Reduction Rules Structural rules C (Open Terms) l r P C <0 I2 , 0 I2> I1 I1 I1 I2 0 I2 I1 I2 C’ Redution Relation Reactive context r;D P  l;D a.0 | a.0 0|0 a.- | a.- -|- -|P b.- a.0 | a.0 |P 0|0 |P a.- | a.- |P -|- |P b.(a.0 | a.0 ) b.(a.- | a.- )

Open Saturated bisimilarity ~SAT is a congruence Open Saturated LTS Any context C P Q iff X;P;C Q X S Any instantiation Open Saturated bisimilarity ~SAT is a congruence Examples: CCS -|a.- <a.-,-> -|- <-,-> S -|a.-|P <a.-, -> Q|-|P Redundant <Q,-> S

G-Lux LTS [Klin, Sassone, Sobocinski 2005] P Q iff X;P;C Q Minimal context C X L Most general instantiation I6 I6 I1 I2 I3 GIPB P;C l;D X Y C D I6 I1 I4 I5 GIPO C D X;P Y;l I4 I5 P G-LUX l I2 I3 Examples: CCS X Y I1 -|a.- <a.-,-> -|- <-,-> L -|a.-|P Not minimal <a.-, -> Q|-|P <Q,-> L

Problems Lux bisimilarity a congruence under restrictive conditions Redundancy Infinitary and flat presentation 1 - |a.P|a.Q a.R|- 1 1 -|a.P|a.Q a.- G-LUX a.-|a.- a.- a.R|P|Q L R 2 1 R <P,Q>

Bisimilarity is not a congruence We propose (elsewhere) a suitable notion of barbed bisimilarity for open RSs which is more expressive able to recast a variety of observational, bisimulation- based equivalence efficiently characterizable

Redundancy We propose an alternative way to derive LTSs

GIPO-GIPB LTS Examples: CCS P Q iff X;P;C Q Minimal context Most general instantiation I6 I7 I4 I5 GIPO C D P2 l2 Examples: CCS -|a.- <a.-,-> -|- P l <-,-> GG I1 I2 I3 GIPB P1 l1 X Y -|a.P|a.Q a.- Not available R GG

Infinitary and flat presentation We propose a SOS-like presentation via an encoding into tile systems

2-Category of Interactions l C C I1 I2 I2 I3 I1 I2 r C ‘ C It might be not reactive l’ l C X I2 I3 l I1 I2 I3 I1 C r X r

C-Square Double Category id C1 C1 I1 I2 I1 I2 I1 I2 I1 I2 GIPB GIPO C4 C3 l1 C4 C3 l2 C4 C3 C4 C3 I3 I4 I3 I4 I3 I4 I3 I4 C2 C2 r C2 C2 Reactive context l2 id r P1 id P2 l1 I1’ I1 I1 I5 GIPO l2 GIPB P1 Y; r l1 l2 X C X I3’ I3 I4 I6 r C D P1;P2 Y; r;D Y

Example GIPO GIPO GIPB GIPB <-,-> -|- <a.-,-> -|- 1 2 2 2 2 2 GIPO GIPO GIPB GIPB <a.-,-> - | a.- - | a.- - <-,-> - | a.- 1 2 2 1 1 1 <P,-> <-,-> - | - - - -|a.- <-,-> -|- <a.-,-> -|a.- <a.-,-> -|- <-,-> -|a.- <a.P,-> -|- -

Conclusions We addressed some issues concerning the adequacy of the technique based on LUX in deriving LTSs for open RSs We studied three problems: The induced bisimilarity in not always a congruence The derived LTS is redundant It has a flat and infinitary presentation Future work Finding a suitable notion of bisimilarity on the GIPO-GIPB LTS Extending our framework by considering an automatically derived notion of barb for reactive systems