Concurrent Operational Semantics of Safe Time Petri Nets Claude Jard European University of Brittany, ENS Cachan Bretagne, IRISA Campus de Ker-Lann, 35170.

Slides:



Advertisements
Similar presentations
The Quest for Correctness Joseph Sifakis VERIMAG Laboratory 2nd Sogeti Testing Academy April 29th 2009.
Advertisements

Shortest Violation Traces in Model Checking Based on Petri Net Unfoldings and SAT Victor Khomenko University of Newcastle upon Tyne Supported by IST project.
Modular Processings based on Unfoldings Eric Fabre & Agnes Madalinski DistribCom Team Irisa/Inria UFO workshop - June 26, 2007.
Knowledge Based Synthesis of Control for Distributed Systems Doron Peled.
Introduction to Petri Nets Hugo Andrés López
A university for the world real R © 2009, Chapter 3 Advanced Synchronization Moe Wynn Wil van der Aalst Arthur ter Hofstede.
An Introduction to the Model Verifier verds Wenhui Zhang September 15 th, 2010.
Based on: Petri Nets and Industrial Applications: A Tutorial
Interaction Modeling for Testing We would generate the test cases based on our understanding of the interactions that may happen. The source is, again,
Applying Petri Net Unfoldings for Verification of Mobile Systems Apostolos Niaouris Joint work with V. Khomenko, M. Koutny MOCA ‘06.
Introduction to Graph “theory”
UPPAAL Introduction Chien-Liang Chen.
Fast Algorithms For Hierarchical Range Histogram Constructions
SATEL Semi Automatic TEsting Language University of Geneva Levi Lúcio, Didier Buchs M-TOOS, Portland 4/30/2015.
Deterministic Negotiations: Concurrency for Free Javier Esparza Technische Universität München Joint work with Jörg Desel and Philipp Hoffmann.
Knowledge Representation
Parosh Aziz Abdulla Pritha Mahata Aletta Nyl é n Uppsala University Downward Closed Language Generators.
Chapter 3 Petri nets Learning objectives : Introduce Petri nets
Merged Processes of Petri nets Victor Khomenko Joint work with Alex Kondratyev, Maciej Koutny and Walter Vogler.
Probability Theory Part 1: Basic Concepts. Sample Space - Events  Sample Point The outcome of a random experiment  Sample Space S The set of all possible.
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.
An Introduction to Markov Decision Processes Sarah Hickmott
DATAFLOW PROCESS NETWORKS Edward A. Lee Thomas M. Parks.
A Semantic Characterization of Unbounded-Nondeterministic Abstract State Machines Andreas Glausch and Wolfgang Reisig 1.
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.
Ordering and Consistent Cuts Presented By Biswanath Panda.
Formal Verification of Safety Properties in Timed Circuits Marco A. Peña (Univ. Politècnica de Catalunya) Jordi Cortadella (Univ. Politècnica de Catalunya)
1 Carnegie Mellon UniversitySPINFlavio Lerda SPIN An explicit state model checker.
A Schedulability-Preserving Transformation of BDF to Petri Nets Cong Liu EECS 290n Class Project December 10, 2004.
A 14← department of mathematics and computer science PROSE Checking Properties of Adaptive Workflow Nets K. van Hee, I. Lomazova, O. Oanea,
Models of Computation for Embedded System Design Alvise Bonivento.
1 Ivan Lanese Computer Science Department University of Bologna Italy Concurrent and located synchronizations in π-calculus.
Normal forms for Context-Free Grammars
ESE601: Hybrid Systems Introduction to verification Spring 2006.
Ordering and Consistent Cuts Presented by Chi H. Ho.
Introduction to Finite Automata Adapted from the slides of Stanford CS154.
History-Dependent Petri Nets Kees van Hee, Alexander Serebrenik, Natalia Sidorova, Wil van der Aalst ?
Merged processes – a new condensed representation of Petri net behaviour V.Khomenko 1, A.Kondratyev 2, M.Koutny 1 and W.Vogler 3 1 University of Newcastle.
Real-Time Synchronised Petri Nets Giovanna Di Marzo Serugendo Dino Mandrioli, Didier Buchs, Nicolas Guelfi University of Geneva, Switzerland PN’02 / 24th.
Regular Model Checking Ahmed Bouajjani,Benget Jonsson, Marcus Nillson and Tayssir Touili Moran Ben Tulila
CS848: Topics in Databases: Foundations of Query Optimization Topics Covered  Databases  QL  Query containment  More on QL.
A Novel Method for Formally Detecting RFID Event Using Petri Nets SEKE 2011.
From requirements to specification Specification is a refinement of requirements Can be included together as Software Requirements Specifications (SRS)
Stochastic Activity Networks ( SAN ) Sharif University of Technology,Computer Engineer Department, Winter 2013 Verification of Reactive Systems Mohammad.
- 1 -  P. Marwedel, Univ. Dortmund, Informatik 12, 05/06 Universität Dortmund Petri nets Introduced in 1962 by Carl Adam Petri in his PhD thesis. Focus.
Language: Set of Strings
A Logic of Partially Satisfied Constraints Nic Wilson Cork Constraint Computation Centre Computer Science, UCC.
CAP 4800/CAP 5805: Computer Simulation Concepts
Modelling by Petri nets
Recognizing safety and liveness Presented by Qian Huang.
CSCI1600: Embedded and Real Time Software Lecture 11: Modeling IV: Concurrency Steven Reiss, Fall 2015.
1 Petri Nets Ina Koch and Monika Heiner. 2 Petri Nets(1962) Carl Adam Petri.
Technology of information systems Lecture 5 Process management.
Week 8 Computational Level
Asynchronous Interface Specification, Analysis and Synthesis
Coordination and conversation protocols in open multi-agent systems
Dr. Eng Amr T. Abdel-Hamid
Clockless Computing COMP
CAP 4800/CAP 5805: Computer Simulation Concepts
CAP 4800/CAP 5805: Computer Simulation Concepts
A Complete Symbolic Bisimulation for Full Applied Pi Calculus
Introduction to Petri Nets (PNs)
Concurrent Models of Computation
Instructor: Aaron Roth
CAP 4800/CAP 5805: Computer Simulation Concepts
Victor Khomenko and Andrey Mokhov
Petri Net :Abstract formal model of information flow Major use:
Introduction to verification
COMPILER CONSTRUCTION
Presentation transcript:

Concurrent Operational Semantics of Safe Time Petri Nets Claude Jard European University of Brittany, ENS Cachan Bretagne, IRISA Campus de Ker-Lann, Bruz, France with Thomas Chatain, currently postdoc in Aalborg

Time & Concurrent Semantics Seems to be a bit contradictory: –Time is a global notion –Concurrency is implied by independent actions, which are locally decided Is difficult: –even for the simple case of safe time Petri net, the definition of unfoldings and finite complete prefixes was left open

What we have done… Ingredients: –Mixed of graphical and symbolic constraints –Duplication of events to capture different temporal constraints for a same event –Introduction of reads arcs Safe Time Petri Net Its finite complete prefix

Time Petri Nets [Merlin 1976] Syntax: Sequential semantics: Global state (M,dob,  ) (M,dob,  ) -t-> (M’,dob’,  ’) iff

Firing Sequences (p1p2,00,0) 0 0

Firing Sequences (p1p2,00,0) -t2-> (p1p4,01.3,1.3) 0 1.3

Firing Sequences (p1p2,00,0) -t2-> (p1p4,01.3,1.3) -t1-> (p3p4,31.3,3)

Firing Sequences (p1p2,00,0) -t2-> (p1p4,01.3,1.3) -t1-> (p3p4,31.3,3) -t0-> (p1p2,33,3)

Firing Sequences (p1p2,00,0) -t2-> (p1p4,01.3,1.3) -t1-> (p3p4,31.3,3) -t0-> (p1p2,33,3) -t1-> (p2p3,33,3)

Firing Sequences (p1p2,00,0) -t2-> (p1p4,01.3,1.3) -t1-> (p3p4,31.3,3) -t0-> (p1p2,33,3) -t1-> (p2p3,33,3) -t2-> (p3p4,35,5)

Firing Sequences (p1p2,00,0) -t2-> (p1p4,01.3,1.3) -t1-> (p3p4,31.3,3) -t0-> (p1p2,33,3) -t1-> (p2p3,33,3) -t2-> (p3p4,35,5) -t3-> (p4p5,55,5)

Symbolic Firing Sequences (p1p2,00,0) -t2-> (p1p4,0  1,  1) -t1-> (p3p4,  2  1,  2) -t0-> (p1p2,  3  3,  3) -t1-> (p2p3,  3  4,  4) -t2-> (p3p4,  4  5,  5) -t3-> (p4p5,  5  6,  6) where [1≤  1≤2]  [0≤  2]  [max(  2,  1)≤  3≤max(  2,  1)]  [  3≤  2+2]  [  3+2≤  4]  [  3+1≤  5≤  3+2]  [  5≤  4+2]  [  6=  4+2]  [  6≤max(  4,  5)]

Time processes First attempt [Aura, Lilius 1997] –Time processes are those of the underlying (untimed) Petri net that are consistently dated –Can be defined inductively from the firing sequences

t2(1.3)

t2(1.3) t1(3)

t2(1.3) t1(3) t0(3)

t2(1.3) t1(3) t0(3) t1(3)

t2(1.3) t1(3) t0(3) t1(3) t2(3)

t2(1.3) t1(3) t0(3) t1(3) t2(3) t3(5)

Unfolding Defined as the superimposition (union) of all the time processes (share the common prefixes) t2(1.3) t1(3) t0(3) t1(3) t2(3) t3(5) t1(1) t3(3)

Unfolding Defined as the superimposition (union) of all the time processes (share the common prefixes)

Problem with the symbolic representation Consider the processes built from the sequences t1(  1).t3(  3) and t1(  1).t2(  2).t3(  3) Constraints on t3 are: –[  1≤2]  [  3=  1+2](first case) –[  1≤2]  [1≤  2≤2]  [  2≤  1+2]  [  3=  1+2]  [  3≤max(  1,  2)] The superimposition will provide a disjunction, which will make difficult the extraction of processes in the general case Except for the particular case of Time Extended Free Choice Nets

Event duplication Introduction of read arcs (to preserve concurrency) Efficient concurrent semantics by considering local firing rules

Local States Assume a partition {(Pi)} in mutually exclusive places (simplifies the test of token absence) (p  Pi, p = Pi \ {p}) {{p1,p3,p5},{p2,p4,p6}} in our example A maximal (partial) marking is a set of places with one place per each subset of the partition A local state is (lrd stands for “latest reading date”) _

Local Enabling ) _ To minimize the number of read arcs:

Local Firing Rule (M, dob, lrd) -t, ,L-> (M’, dob’, lrd’)

(Extended) Time Processes

t2(1.3,p2)

t2(1.3,p2) t1(3,p1)

t2(1.3,p2) t1(3,p1) t0(3,p3p4)

t2(1.3,p2) t1(3,p1) t0(3,p3p4) t1(3,p1)

t2(1.3,p2) t1(3,p1) t0(3,p3p4) t1(3,p1) t2(3,p2)

t2(1.3,p2) t1(3,p1) t0(3,p3p4) t1(3,p1) t2(3,p2) t3(5,p3p4)

Unfolding Defined as the union of all the time processes Properties: –Unfolding of Time Extended Free Choice Nets is the standard unfolding –Unfolding of Time Nets limited to [0,+  [ is the untimed usual unfolding –The unfolding of disconnected nets remains disconnected

Process extraction

Complete Finite Prefixes Two maximal states are considered equivalent if they have the same marking and the same reduced ages in the places The set of expressions defining the reduced ages in the maximal states of the processes is finite Prefixes are computed incrementally provided a substitution in the firing date expressions

Substitution

Conclusion An original notion of unfolding of Time PN and its finite representation Tries to code the maximum of concurrency in the graphical part Complexity issues are to be worked Other models? (non-safe, networks of Timed Automata, local semantics of time…)