On 1-soundness and Soundness of Workflow Nets Lu Ping, Hu Hao and Lü Jian Department of Computer Science Nanjing University

Slides:



Advertisements
Similar presentations
Automated Theorem Proving Lecture 1. Program verification is undecidable! Given program P and specification S, does P satisfy S?
Advertisements

Completeness and Expressiveness
1 Verification of Parameterized Systems Reducing Model Checking of the Few to the One. E. Allen Emerson, Richard J. Trefler and Thomas Wahl Junaid Surve.
An Introduction to Petri Nets
1 Analysis of workflows : Verification, validation, and performance analysis. Wil van der Aalst Eindhoven University of Technology Faculty of Technology.
A university for the world real R © 2009, Chapter 3 Advanced Synchronization Moe Wynn Wil van der Aalst Arthur ter Hofstede.
Automatic Verification Book: Chapter 6. What is verification? Traditionally, verification means proof of correctness automatic: model checking deductive:
Petri Nets Section 2 Roohollah Abdipur.
Based on: Petri Nets and Industrial Applications: A Tutorial
Hoare’s Correctness Triplets Dijkstra’s Predicate Transformers
26 September 2003U. Buy -- SEES 2003 Sidestepping verification complexity with supervisory control Ugo Buy Department of Computer Science Houshang Darabi.
Deterministic Negotiations: Concurrency for Free Javier Esparza Technische Universität München Joint work with Jörg Desel and Philipp Hoffmann.
A Novel Method For Fast Model Checking Project Report.
Workflow Management Kap. 4. Analyzing Workflows Wil van der Aalst has copyrights to almost all figures in the following slideshow made by Lars Frank.
MINIMUM COST FLOWS: NETWORK SIMPLEX ALGORITHM A talk by: Lior Teller 1.
Chapter 3 Petri nets Learning objectives : Introduce Petri nets
On the Dynamics of PB Systems with Volatile Membranes Giorgio Delzanno* and Laurent Van Begin** * Università di Genova, Italy ** Universitè Libre de Bruxelles,
Soundness problem for Resource-Constrained Workflow nets.
IE 469 Manufacturing Systems
Outline. Theorem For the two processor network, Bit C(Leader) = Bit C(MaxF) = 2[log 2 ((M + 2)/3.5)] and Bit C t (Leader) = Bit C t (MaxF) = 2[log 2 ((M.
Global Flow Optimization (GFO) in Automatic Logic Design “ TCAD91 ” by C. Leonard Berman & Louise H. Trevillyan CAD Group Meeting Prepared by Ray Cheung.
Complexity 15-1 Complexity Andrei Bulatov Hierarchy Theorem.
Complexity 18-1 Complexity Andrei Bulatov Probabilistic Algorithms.
1 Introduction to Computability Theory Lecture12: Reductions Prof. Amos Israeli.
Synthesis of Embedded Software Using Free-Choice Petri Nets.
10. Petri Nets Prof. O. Nierstrasz. Roadmap  Definition: —places, transitions, inputs, outputs —firing enabled transitions  Modelling: —concurrency.
Courtesy Costas Busch - RPI1 NPDAs Accept Context-Free Languages.
1 Analysis of workflows a-priori and a-posteriori analysis Wil van der Aalst Eindhoven University of Technology Faculty of Technology Management Department.
CP — Concurrent Programming 12. Petri Nets Prof. O. Nierstrasz Wintersemester 2005 / 2006.
A Schedulability-Preserving Transformation of BDF to Petri Nets Cong Liu EECS 290n Class Project December 10, 2004.
/k soundness of free-choice workflow nets 1 of 10 Soundness of Free Choice Workflow Nets K.M. van Hee, M. Voorhoeve Eindhoven Univ. Tech.
A 14← department of mathematics and computer science PROSE Checking Properties of Adaptive Workflow Nets K. van Hee, I. Lomazova, O. Oanea,
1 Petri Nets Marco Sgroi EE249 - Fall 2001 Most slides borrowed from Luciano Lavagno’s lecture ee249 (1998)
The Byzantine Generals Strike Again Danny Dolev. Introduction We’ll build on the LSP presentation. Prove a necessary and sufficient condition on the network.
*Department of Computing Science University of Newcastle upon Tyne **Institut für Informatik, Universität Augsburg Canonical Prefixes of Petri Net Unfoldings.
History-Dependent Petri Nets Kees van Hee, Alexander Serebrenik, Natalia Sidorova, Wil van der Aalst ?
HIERARCHICAL CONFORMANCE CHECKING OF PROCESS MODELS BASED ON EVENT LOGS Jorge Munoz-Gama, Josep Carmona and Wil M.P. van der Aalst.
1 A Petri Net Siphon Based Solution to Protocol-level Service Composition Mismatches Pengcheng Xiong 1, Mengchu Zhou 2 and Calton Pu 1 1 College of Computing,
Selected topics in distributed computing Shmuel Zaks
Soundness problem for Resource-Constrained Workflow nets revisited Natalia Sidorova and Christian Stahl.
The Integers. The Division Algorithms A high-school question: Compute 58/17. We can write 58 as 58 = 3 (17) + 7 This forms illustrates the answer: “3.
مهندسی مجدد فرآیندهای تجاری
Number Theory Project The Interpretation of the definition Andre (JianYou) Wang Joint with JingYi Xue.
The minimum cost flow problem. Simplifying assumptions Network is connected (as an undirected graph). – We can consider each connected component separately.
Discussion #32 1/13 Discussion #32 Properties and Applications of Depth-First Search Trees.
Theory of Computation, Feodor F. Dragan, Kent State University 1 TheoryofComputation Spring, 2015 (Feodor F. Dragan) Department of Computer Science Kent.
A Logic of Partially Satisfied Constraints Nic Wilson Cork Constraint Computation Centre Computer Science, UCC.
Chapter 10 Graph Theory Eulerian Cycle and the property of graph theory 10.3 The important property of graph theory and its representation 10.4.
Maximum Flow Problem (Thanks to Jim Orlin & MIT OCW)
Manipulating the Quota in Weighted Voting Games (M. Zuckerman, P. Faliszewski, Y. Bachrach, and E. Elkind) ‏ Presented by: Sen Li Software Technologies.
15.082J and 6.855J March 4, 2003 Introduction to Maximum Flows.
CSCI1600: Embedded and Real Time Software Lecture 11: Modeling IV: Concurrency Steven Reiss, Fall 2015.
Properties and Applications of Depth-First Search Trees and Forests
8.4 Closures of Relations Definition: The closure of a relation R with respect to property P is the relation obtained by adding the minimum number of.
Diagnostic Information for Control-Flow Analysis of Workflow Graphs (aka Free-Choice Workflow Nets) Cédric Favre(1,2), Hagen Völzer(1), Peter Müller(2)
Technology of information systems Lecture 5 Process management.
Process Mining – Concepts and Algorithms Review of literature on process mining techniques for event log data.
composition of workflows
Polynomial analysis algorithms for free-choice workflow nets
Probabilistic Algorithms
Dr. Eng Amr T. Abdel-Hamid
Advanced Algorithms Analysis and Design
Clockless Computing COMP
Chapter 5. Optimal Matchings
Concurrent Systems Modeling using Petri Nets – Part II
Analysis and design of algorithm
بسمه‌تعالي فصل چهاردهم شبکه‌هاي پتري.
Introduction to Petri Nets (PNs)
Wil van der Aalst Eindhoven University of Technology
Chapter 11 Limitations of Algorithm Power
Presentation transcript:

On 1-soundness and Soundness of Workflow Nets Lu Ping, Hu Hao and Lü Jian Department of Computer Science Nanjing University

Contents Introduction to Workflow Nets Basic Properties of Workflow Nets Establishing Relationship Between 1-soundness and Soundness WRI Workflow Nets Conclusion

Introduction to Workflow Nets Workflow Nets Workflow Nets is a special kind of Petri Nets (proposed by Prof. Aalst) for workflow modeling (control-flow dimension). It specifies the partial ordering of tasks. Tasks are represented by transitions in Petri nets, the ordering between tasks are represented by arcs and places. Workflow nets give a solid theoretical foundation for workflow modeling. Definition (WF-net, by Aalst) A Petri net PN = (P, T, F) is a WF-net iff: (1) PN has two special places: i and o. Place i is a source place: i = ø. Place o is a sink place: o = ø. (2) If we add a transition t* to PN so that t* = {o} and t* = {i}, then the resulting Petri net is strongly connected. (PN*, the extended net of PN)

Introduction to Workflow Nets Correctness Issues on Workflows No deadlocks No dangling tasks Termination guaranteed … Definition (1-soundness, by Aalst). A WF-net PN = (P, T, F) is 1-sound if and only if: (1) M ([i] M) (M [o]) (2) M ([i] M M [o]) (M = [o]) (3) t T M, M’ [i] M M’

Introduction to Workflow Nets Composition of Workflow Nets PN 3 = PN 1 t PN 2 t PN 1 PN 2 tata tbtb i2i2 o2o2

Introduction to Workflow Nets 1-soundness is not compositional If we use a 1-sound WF-net to replace a transition of another 1-sound one, the result may not be 1-sound. Definition (K-soundness, by Kees van Hee et al.) A WF-net PN = (P, T, F) is k-sound for a natural number k if and only if: (1) M ([i k ] M) (M [o k ]) (2) t T M, M’ [i k ] M M’

Introduction to Workflow Nets Definition (Soundness, by Kees van Hee et al.) A WF-net PN is sound if for all natural number k, PN is k-sound. Soundness is compositional and decidable Kees van Hee et al. proved that soundness is compositional, that is, if we replace a transition in a sound WF-net by another sound one, the result WF- net is also sound. They also proved that soundness is decidable. A decision procedure is proposed. However, it is still to be investigated how to solved the problem of soundness effectively and what complexity the algorithm would have. We find that for some kinds of WF-nets, soundness can be decided effectively

Basic Properties of Workflow Nets Property (by Aalst). For a WF-nets PN, PN is 1-sound iff (PN*, [i]) is live and bounded. Property. If a 1-sound WF-net PN is k-sound, then for all natural numbers p < k, PN is p-sound. Property. If a 1-sound WF-net PN is not k-sound, then for all natural numbers p > k, PN is not p-sound. Property. For an arbitrary 1-sound WF-net PN, either it is sound or there exists a natural number k so that p < k, PN is p-sound and q k, PN is not q- sound.

Basic Properties of Workflow Nets Property. Let PN 1 be k-sound WF-net, PN 2 be sound WF-net and t be a transition of PN 1, PN 3 = PN 1 t PN 2 is also k-sound. This property is useful during workflow nets composition when we only want to ensue the 1-soundness of the resulting WF-net.

Establishing Relationship Between 1-soundness and Soundness Several specific kinds of WF-nets are examined by Aalst and efficient algorithms are found to decide their 1-soundness Prof. Aalst examined three kinds of WF-nets – free-choice WF-nets, well- handled WF-nets and s-coverable WF-nets. For the former two kinds of WF- nets, the well-formedness of their extended net (1-soundness) can be decided in polynomial time. The s-coverable WF-nets is the generalization of the former ones. For the above kinds of WF-nets, can soundness be implied by 1-soundness?

Establishing Relationship Between 1-soundness and Soundness Definition (ST-AC WF-net). A WF-net PN is a ST-AC WF-net if PN* is an asymmetric choice Petri net and every siphon of it contains at least a trap. Properties on ST-AC WF-net For a well-formed ST-AC Petri net, it is live and bounded if and only if every siphon of it is marked (by L. Jiao). Also every minimal siphon of a live and bounded ST-AC net is an S-component of the net (by L. Jiao). For a 1- sound ST-AC WF-net PN, the net system (PN*, [i]) is live and bounded. So the marking [i] marks every siphon in the net PN*. Therefore the marking [i k ] also marks every siphon in PN* and the net system (PN*, [i k ]) is live and bounded for any natural number k.

Establishing Relationship Between 1-soundness and Soundness Theorem For ST-AC WF-nets, 1-soundness implies soundness. (Proof.) Suppose for a 1-sound ST-AC WF-net PN, PN is not k-sound. The requirement (1) of the k-soundness must not hold. So for (PN, [i k ]), there exists a marking M reachable from [i k ] so that [o k ] can not be reached from M. In PN, let M M’ so that from M’, no tokens can be put into place o. At M’ the number of tokens in place o must less than k. In the system (PN*, [i k ]), the marking M’ can also be reached from [i k ]. Let M’’ = M’ – M’|o, then (PN*, M”) is bounded but not live. But since every minimal siphon in PN* is an S-component and each contains k tokens at [i k ], then at M’’, each minimal siphon in PN* must be marked and (PN*, M”) is live. So we get a contradiction.

Establishing Relationship Between 1-soundness and Soundness Corollary For free-choice and extended free-choice WF-nets, 1-soundness implies soundness. ( An extended free-choice net is also an asymmetric choice net. For a 1- sound extended free-choice net PN, (PN*, [i]) is live and bounded, so every siphon of PN* must contain a trap (Commoner’s Theorem). So a 1-sound extended free-choice WF-net is also a 1-sound ST-AC WF-net) Corollary For free-choice and extended free-choice WF-nets, their soundness can be decided in polynomial time.

Establishing Relationship Between 1-soundness and Soundness Definition (Well-handledness, WH WF-nets, by Aalst) A Petri net PN is well-handled if for any pair of nodes x and y such that one of the nodes is a place and the other a transition and for any pair of elementary paths C a and C b leading from x to y, if C a and C b have only nodes x and y in common, C a and C b must be identical. A WF-net PN is a well-handled WF-net if PN* is well-handled. y y x x

Establishing Relationship Between 1-soundness and Soundness Definition (Conflict free, ENSeC net, ENSeC WF-net) Let PN be a Petri net and C = be a path in PN, C is conflict-free iff for any transition n i of the path, j i -1 n j n i. Let PN be a Petri net, PN is an Extended Non-Self Controlling (ENSeC) net iff for every pair of transition t 1 and t 2 such that t 1 t 2, there does not exist a conflict- free path leading from t 1 to t 2. A WF-net PN is an ENSeC WF-net if PN* is an ENSeC net. Properties on ENSeC WF-net For ENSeC Petri net system (PN, M), if it is live and bounded then PN is S- coverable. If (PN, M) is bounded, it is live if and only if every minimal siphon is a marked state-machine at M. For a 1-sound ENSeC WF-net PN, (PN*, [i]) is live and bounded, so (PN*, [i k ]) is live and bounded for any natural number k. ø

Establishing Relationship Between 1-soundness and Soundness Theorem For ENSeC WF-nets, 1-soundness implies Soundness (Proof.) Let PN be a 1-sound ENSeC WF-net, suppose PN is not k-sound. For PN, we can find a marking M’ reachable from [i k ] so that from M’, no more tokens can be put into place o. In the system (PN*, [i k ]), let M’’ = M’- M’|o, then (PN*, M’’) is not live. But since every minimal siphon is an state- machine at [i k ], at M’’ they must also be marked, so (PN*, M’’) is also live. Corollary For well-handled WF-nets, 1-soundness implies soundness. ( A well-handled WF-net is also an ENSeC WF-net, by Prof. Aalst) Corollary For well-handled WF-nets, their soundness can be decided in polynomial time.

Establishing Relationship Between 1-soundness and Soundness The s-coverable WF-nets are the generalization of the free-choice and well-handled WF-nets, does their 1-soundness implies soundness? We only have the partial results on the SMA (state-machine-allocatable) WF-nets, a subset of s-coverable WF-nets For SMA WF-nets, their 1-soundness implies Soundness For SMA WF-nets, their soundness can be decided in polynomial time

Establishing Relationship Between 1-soundness and Soundness Does 1-soundness imply soundness for s-coverable WF-nets? Does 1-soundness imply soundness for asymmetric- choice WF-nets? Liveness monotonicity does not hold for asymmetric-choice net since there may be siphons that do not contain any trap in a live asymmetric-choice net. However, we believe that restricted liveness monotonicity (Let PN be an AC-net, (PN, [i k ]) is live if (PN, [i]) is live) does hold for asymmetric-choice net. Such a property may be necessary in the prove if 1-soundness does imply soundness for AC WF-nets.

Well-handled with Regular Iteration Nets Definition (Well-handled and Acyclic Workflow Nets) A WF-net PN is WA WF-net if PN is well-handled and acyclic Property For a WA WF-net PN, PN is a free-choice WF-net and also a well-handled WF-net t p t1t1 t2t2 p1p1 p2p2 t pio t*t*

Well-handled with Regular Iteration Nets Theorem For a WA WF-net PN, PN is sound (Proof.) Since PN* is well-handled, no circuit of PN* has PT- or TP-handle. So (PN*, [i]) is bounded and covered by s-component (by J. Esparza). PN* is free-choice, we proved that every minimal siphon of PN* must be a trap. Thus, (PN*, [i]) is live. io PN* = (P*, T*, F*) A siphon PH that is not a trap. PH = (H, H, F*) in which F* = F* ((H H) ( H H)) pt’ t Structure that is not well-handled

Well-handled with Regular Iteration Nets Definition (Well-handled with Regular Iteration Nets) (1) A WA WF-net is a WRI WF-net (2) Let PN 1 and PN 2 be two WRI WF-nets, PN 3 = PN 1 t PN 2 is a WRI WF-net. (3) Let PN 1 and PN 2 be two WRI WF-nets, PN 3 = PN 1 t PN 2 * is a WRI WF-net (4) WRI WF-nets could only be obtained by (1), (2) and (3) Theorem WRI WF-nets are sound workflow nets. (Proof. Let PN 1 and PN 2 to two 1-sound and safe WF-nets, PN 3 = PN 1 t PN 2 or PN 3 = PN 1 t PN 2 *, it’s easy to see that PN 3 is also 1-sound and safe. Moreover, WRI WF-nets are free-choice WF-nets, so their 1- soundness implies soundness)

Well-handled with Regular Iteration Nets WRI WF-nets support hierarchical modeling of workflows naturally (1) First, the sketch of a workflow process is modeled by a WA WF-net, those iterations and subnets to be refined are represented by special transitions. (2) Those special transitions are replaced by WA WF-nets or by WA WF- nets’ extended nets in which special transitions may also exist to represent the subnets or iterations to be modeled next. (3) We continue the above modeling process until there is no more iterations and subnets to be refined in our workflow model. (4) By the definition of WRI WF-net, the workflow model we get is a WRI WF-net and its soundness is ensured. At each step, the verification task is rather simple.

Well-handled with Regular Iteration Nets An example using WRI WF-nets modeling workflows register evaluate handle_questionnaire processing no_processing archive dummy_task send_questionnaire time_out process_questionnaire process_required process_until_OK process_complaint check_processing process_NOK dummy_task PN 1 PN 2 PN 3 PN 4 p

Well-handled with Regular Iteration Nets WRI WF-nets do not fit for modeling all workflow models. When complex synchronizations exist in workflow models, it may be hard to use WRI WF-nets to model them. time_out send_questionnaire process_questionnaire archive register evaluate no_processingprocessing_OK processing_NOK process_required process_complaintcheck_processing

Conclusion In this paper we (1) Examined the relationship between 1-soundness, k-soundness and soundness of workflow nets (2) Proved that for several kinds of WF-nets, their soundness can be decided effectively (3) Proposed a specific workflow model – WRI WF-nets which are inherently sound. Gave a way to use WRI WF-nets modeling workflows hierarchically.

References [1]W. van der Aalst. Workflow Verification: Finding Control-Flow Errors Using Petri-Net- Based Techniques. Business Process Managements: Models, Techniques, and Empirical Studies [2]K. van Hee, N. Sidorova, and M. Voorhoeve. Soundness and Separability of Workflow Nets in the Stepwise Refinement Approach. In W. van der Aalst, Application and Theory of Petri Nets [3]K. van Hee, N. Sidorova, and M. Voorhoeve. Generalised Soundness of Workflow Nets is Decidable. Application and Theory of Petri Nets [4]J. Desel, J. Esparza. Free choice Petri nets. [5]L. Jiao, T. Cheung, and W. Lu. On Liveness and Boundedness of Asymmetric Choice Nets. In Theoretical Computer Science, [6]K.Barkaoui, J.M.Couvreur, and C.Dutheillet. On Liveness in Extended non Self- Controlling Nets. Application and Theory of Petri Nets [7]J. Esparza, M. Silva. Circuits, Handles, Bridges and Nets. Advances in Petri Nets 1990.

Thank you !