Pre-nets, (read arcs) and unfolding: A functorial presentation Paolo Baldan (Venezia) Roberto Bruni (Pisa/Illinois) Ugo Montanari (Pisa) WADT 2002 - Frauenchiemsee,

Slides:



Advertisements
Similar presentations
CommUnity, Tiles and Connectors joint work with Roberto Bruni José Luiz Fiadeiro Antónia Lopes Ugo Montanari Ivan Lanese Dipartimento di Informatica Università.
Advertisements

Connectors and Concurrency joint work with Ugo Montanari Roberto Bruni Dipartimento di Informatica Università di Pisa Dagstuhl Seminar #04241, September.
Principles of Engineering System Design Dr T Asokan
Merged Processes of Petri nets Victor Khomenko Joint work with Alex Kondratyev, Maciej Koutny and Walter Vogler.
Toward Efficient Reachability Analysis of Algebraic Petri-Nets Steve Hostettler Geneva University.
Behavioral Comparison of Process Models Based on Canonically Reduced Event Structures Abel Armas-Cervantes Paolo Baldan Marlon Dumas Luciano García-Bañuelos.
Implementing Petri Net Transformations Tony Modica Implementing Petri Net Transformations using Graph Transformation Tools Enrico Biermann,
1 Towards formal manipulations of scenarios represented by High-level Message Sequence Charts Loïc Hélouet Claude Jard Benoît Caillaud IRISA/PAMPA (INRIA/CNRS/Univ.
Roberto Pisa, Italy 13 June 2008 WADT Tiles for Reo Roberto Bruni Dipartimento di Informatica Università di Pisa WADT th International.
Synthesis of Embedded Software Using Free-Choice Petri Nets.
Petri Nets Overview 1 Definition of Petri Net C = ( P, T, I, O) Places P = { p 1, p 2, p 3, …, p n } Transitions T = { t 1, t 2, t 3, …, t n } Input.
Equivalence, DFA, NDFA Sequential Machine Theory Prof. K. J. Hintz Department of Electrical and Computer Engineering Lecture 2 Updated and modified by.
Tiling Transactions in Rewriting Logic Roberto Bruni (Pisa/Illinois) José Meseguer (Illinois) Ugo Montanari (Pisa) WRLA 2002 Pisa, Italia, Sept.
1 Synchronization strategies for global computing models Ivan Lanese Computer Science Department University of Bologna.
1 Formal Models for Transactions: Petri Nets Roberto Bruni Dipartimento di Informatica Università di Pisa Models and Languages for Coordination and Orchestration.
1 Ivan Lanese Computer Science Department University of Bologna Roberto Bruni Computer Science Department University of Pisa A mobile calculus with parametric.
1 Formal Models for Distributed Negotiations Description Roberto Bruni Dipartimento di Informatica Università di Pisa XVII Escuela de Ciencias Informaticas.
1 Formal Models for Distributed Negotiations Zero-Safe Nets Roberto Bruni Dipartimento di Informatica Università di Pisa XVII Escuela de Ciencias Informaticas.
1 Petri Nets H Plan: –Introduce basics of Petri Net models –Define notation and terminology used –Show examples of Petri Net models u Calaway Park model.
1 Formal Models for Distributed Negotiations Concurrent Languages Translation Roberto Bruni Dipartimento di Informatica Università di Pisa XVII Escuela.
Behaviour-Preserving Transition Insertions in Unfolding Prefixes
1 Formal Models for Distributed Negotiations Petri Nets Roberto Bruni Dipartimento di Informatica Università di Pisa XVII Escuela de Ciencias Informaticas.
1 Formal Models for Distributed Negotiations Exercises Roberto Bruni Dipartimento di Informatica Università di Pisa XVII Escuela de Ciencias Informaticas.
A Denotational Semantics For Dataflow with Firing Edward A. Lee Jike Chong Wei Zheng Paper Discussion for.
Bisimulation by Unification Roberto Bruni (Univ. Pisa – Univ. Illinois) Paolo Baldan (Univ. Pisa – Univ. Venezia) Andrea Bracciali (Univ. Pisa) AMAST’02,
Branching Processes of High-Level Petri Nets Victor Khomenko and Maciej Koutny University of Newcastle upon Tyne.
1 Formal Models for Transactions: Zero Safe Nets Roberto Bruni Dipartimento di Informatica Università di Pisa Models and Languages for Coordination and.
Parallel LTL-X Model Checking of High- Level Petri Nets Based on Unfoldings Claus Schröter* and Victor Khomenko** *University of Stuttgart, Germany **University.
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.
Branching Processes of High-Level Petri Nets and Model Checking of Mobile Systems Maciej Koutny School of Computing Science Newcastle University with:
1 Formal Models for Distributed Negotiations From Petri Nets to Join Calculus Roberto Bruni Dipartimento di Informatica Università di Pisa XVII Escuela.
Modeling a Service and Session Calculus with Hierarchical Graph Transformation Roberto Bruni, Andrea Corradini, Ugo Montanari (based on joint work with.
*Department of Computing Science University of Newcastle upon Tyne **Institut für Informatik, Universität Augsburg Canonical Prefixes of Petri Net Unfoldings.
An algebra of Connectors for modeling CommUnity with Tiles joint work with Roberto Bruni Ugo Montanari Dipartimento di Informatica Università di Pisa Ivan.
1 Formal Models for Transactions: BizTalk as ZSN Roberto Bruni Dipartimento di Informatica Università di Pisa Models and Languages for Coordination and.
1 Algebraic Theories for Contextual Pre-Nets Roberto Bruni - Dipartimento di Informatica, Università di Pisa joint work with: José Meseguer (UIUC) Ugo.
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.
Petri Nets An Overview IE 680 Presentation April 30, 2007 Renata Kopach- Konrad.
Partial Order Semantics of Types of Nets Robert Lorenz, Gabriel Juhás, Sebastian Mauser SOFSEM 2009, Špindlerův Mlýn, CZ, 27th February 2009.
Coalgebraic Symbolic Semantics Filippo Bonchi Ugo Montanari.
An Introduction to Petri Nets Marjan Sirjani Formal Methods Laboratory University of Tehran.
1 Chapter 3 Scanning – Theory and Practice. 2 Overview Formal notations for specifying the precise structure of tokens are necessary –Quoted string in.
Introduction to Graph Grammars Fulvio D’Antonio LEKS, IASI-CNR Rome,
4b 4b Lexical analysis Finite Automata. Finite Automata (FA) FA also called Finite State Machine (FSM) –Abstract model of a computing entity. –Decides.
Jana Flochová and René K. Boel Faculty of Informatics and Information Technology Slovak university of Technology, Bratislava, Slovakia EESA Department,
Modelling by Petri nets
1 Typing in Information Systems Nick Rossiter, Michael Heather Computer Science and Digital Technologies Northumbria University, Newcastle NE1 8ST, UK.
Behavioral Comparison of Process Models Based on Canonically Reduced Event Structures Paolo Baldan Marlon Dumas Luciano García Abel Armas.
School of Computer Science & Software Engineering
CAP 4800/CAP 5805: Computer Simulation Concepts
Ordering of Events in Distributed Systems UNIVERSITY of WISCONSIN-MADISON Computer Sciences Department CS 739 Distributed Systems Andrea C. Arpaci-Dusseau.
General Description of Network Systems  Ugo Montanari  Dipartimento di Informatica, University of Pisa CINA: Compositionality, Interaction, Negotiation,
Behavioral Comparison of Process Models Based on Canonically Reduced Event Structures Abel Armas-Cervantes Paolo Baldan Marlon Dumas Luciano García-Bañuelos.
Rewriting Nested Graphs, through Term Graphs Roberto Bruni, Andrea Corradini, Fabio Gadducci Alberto Lluch Lafuente and Ugo Montanari Dipartimento di Informatica,
Concurrent Systems Modeling using Petri Nets
Lexical analysis Finite Automata
Clockless Computing COMP
Equivalence, DFA, NDFA Sequential Machine Theory Prof. K. J. Hintz
The Extensible Tool-chain for Evaluation of Architectural Models
Summary.
CAP 4800/CAP 5805: Computer Simulation Concepts
CAP 4800/CAP 5805: Computer Simulation Concepts
4b Lexical analysis Finite Automata
4b Lexical analysis Finite Automata
An Introduction to Petri Nets
CAP 4800/CAP 5805: Computer Simulation Concepts
Predictability Verification with Petri Net Unfoldings
Petri Nets Laurie Frazier.
Presentation transcript:

Pre-nets, (read arcs) and unfolding: A functorial presentation Paolo Baldan (Venezia) Roberto Bruni (Pisa/Illinois) Ugo Montanari (Pisa) WADT Frauenchiemsee, Germany – 24/27 Sept Research supported by IST Project AGILE Italian MIUR Project COMETA CNR Fellowship on Information Sciences and Technologies

Roadmap Motivation P/T Petri Nets –Overall picture Processes / unfolding / algebraic approaches –Missing “tokens” Pre-Nets –Enlarged picture –A missing “token” (Read Arcs) Conclusions Ongoing Work!

Motivation P/T Petri nets (1962) –Basic model of concurrency –Widely used in different fields (graphical presentation, tools, …) –Enriched flavors (contexts, time, probability,…) Have 40 years been sufficient to completely understand P/T nets? –Many different semantics proposed over the years –Conceptual clarification advocated since the ’90s Techniques from category theory In the small/large, functoriality, universality The picture is still incomplete! –Limit of P/T nets, not of the applied techniques

P/T Petri Nets places transitions tokens a b c ts r

P/T Petri Nets places transitions tokens a b c ts r

P/T Petri Nets places transitions tokens a b c ts r

Processes Non-sequential behavior of P/T Petri nets –Causality and concurrency within a run of the net a b c ts r a b c s r t a t a

Unfolding All possible runs in a single structure –Causality (  ), concurrency (co), conflict (#) between events a b c ts r a b c t s r a t a r r #  co

Algebraic “Petri nets are monoids” –Algebra of (concurrent) computations via the lifting of the state structures to computations sequential composition “;” (of computations) plus identities (idle steps) plus parallel composition “  ” (from states) plus functoriality of  (concurrency) lead to a monoidal category of computations Collective Token Philosophy (CTPh) –T (_) (commutative processes) Individual Token Philosophy (ITPh) –P (_) (concatenable processes) –DP (_) (decorated concatenable processes) –Q (_) (strong concatenable processes)

(Part of) The ITPh Story So Far SafeOccPESDom Winskel’s chain of coreflections U (_) E (_) N (_) L (_) Pr (_) PTNetsDecOcc U (_) (_) + D (_) F (_) Sassone’s chain of adjunctions Petri * SsMonCat * PreOrd DP (N) (_) 

(Part of) The ITPh Story So Far Non functorial!Petri * SsMonCat * P (N) Objects: S  (commutative monoid) Arrows: Processes + ordering on minimal and maximal tokens in the same place –  a,b = id a  b if a  b a b t c d s e 2 f(a)=f(b)=d f(c)=e f(t)=s P (f)(  a,b )=  d,d  id 2d

(Part of) The ITPh Story So Far Suffers the same problem as P Petri * SsMonCat * DP (N) Objects: S  (strings, not multiset) Arrows: Processes + total ordering on minimal and maximal tokens –t:u  v implemented by {t p,q :p  q} p,q  S ,m(p)=u,m(q)=v Pseudo functorial Petri * SsMonCat * Q (_)

Pre-Nets Under the CTPh, the construction T (_) is completely satisfactory –T (_) is left adjoint to the forgetful functor from CMonCat  to Petri –T (_) can be conveniently expressed at the level of (suitable) theories (e.g. in PMEqtl) We argue that, under the ITPh, all the difficulties are due to the multiset view of states Pre-nets were proposed as the natural implementation of P/T nets under the ITPh –pre-sets and post-sets are strings, not multisets! –for each transition t: u  v, just one implementation t p,q : p  q is considered

Pre-Nets, Algebraically Under the ITPh, the construction Z (_) is completely satisfactory –Z (_) is left adjoint to the forgetful functor from SsMonCat  to PreNets –Z (_) can be conveniently expressed at the level of (suitable) theories (e.g. in PMEqtl) –All the pre-nets implementations R of the same P/T net N have the same semantics –Q (N) can be recovered from (any) Z (R) PreNetsSsMonCat  Z (_) G (_)

Pre-Net Processes? Deterministic Occurrence Pre-nets  –Finite conflict-free acyclic pre-net –(Like for P/T nets, but pre- and post-sets are strings of places) Processes of R –  :   R Concatenable processes –Total order on minimal and maximal places –Form a symmetric monoidal category PP (R) PP (R)  Z (R)

Pre-Net Unfolding? Non-Deterministic Occurrence Pre-nets  –Well-founded, finite-causes pre-net without forward conflicts –(Like for P/T nets, but pre- and post-sets are strings of places) Unfolding of R –Inductively defined non-deterministic occurrence pre-net U (R) PreNetsPreOcc U (_)

The Pre-Net Picture PreNetsPreOccPESDom U (_) E (_) ? L (_) Pr (_) PreOrd (_)  SsMonCat  Z (_) G (_) Functorial diagram reconciling all views Algebraic semantics via adjunction A missing link in the unfolding PTNets A (_) 

On The Missing Link The “most general” occurrence pre-net is hard to find … e1e1 e2e2  e1e1 e2e2 e1e1 e2e2

Read Arcs Read arcs model multiple concurrent accesses in reading to resources –t 1 and t 2 above can fire concurrently –(not possible if the situation is rendered with self- loops) Overall picture suffering of the same pathology as P/T nets… and more t1t1 t2t2

What Is There… Processes [Montanari, Rossi] Unfolding [Baldan, Corradini, Montanari] –Chain of coreflections Algebraic –Match-share categories –Non-free monoids of objects [Bruni, Sassone] CNets (semiweighted) OCNAESDom

What Is There… Processes [Montanari, Rossi] Unfolding [Baldan, Corradini, Montanari] –Chain of coreflections Algebraic –Match-share categories –Non-free monoids of objects [Bruni, Sassone] CNets (semiweighted) OCNAESDom

What Is There… Processes [Montanari, Rossi] Unfolding [Baldan, Corradini, Montanari] –Chain of coreflections Algebraic –Match-share categories –Non-free monoids of objects [Bruni, Sassone] CNets (semiweighted) OCNAESDom

What Is There… Processes [Montanari, Rossi] Unfolding [Baldan, Corradini, Montanari] –Chain of coreflections Algebraic –Match-share categories –Non-free monoids of objects [Bruni, Sassone] CNets (semiweighted) OCNAESDom

What Is There… Processes [Montanari, Rossi] Unfolding [Baldan, Corradini, Montanari] –Chain of coreflections Algebraic –Match-share categories –Non-free monoids of objects [Bruni, Sassone] CNets (semiweighted) OCNAESDom ==== … (atoms and electrons)

… And What Is Not Functoriality and universality of the algebraic approach? Reconciliation between the three views? Contextual pre-nets Algebraic (ok) –Based on (but slightly more complicated than) match-share categories Unfolding –Analogous to pre-nets (details to be worked out)

Conclusions Pre-nets are suitable for ITPh –A unique, straightforward algebraic construction –All views (algebraic, processes, unfolding) are satisfactorily reconciled To investigate: –From PES to PreOcc (hard) –Extension to read arcs (feasible) But also: –Algebraic approach for graphs (DPO / SPO) –Semantics of coloured / reconfigurable / dynamic nets

Pre-nets, read arcs and unfolding: A functorial presentation a paper byPaolo Baldan Roberto Bruni Ugo Montanari a WADT presentation byRoberto Bruni Research supported by IST Project AGILE Italian MIUR Project COMETA CNR Fellowship on Inf. Sci. and Techn. Electronic watercolor by Roberto Bruni