+ All Categories
Home > Documents > True concurrency - from C.A. Petri to Telecom and Systems ... … · concurrent and asynchronous...

True concurrency - from C.A. Petri to Telecom and Systems ... … · concurrent and asynchronous...

Date post: 12-May-2020
Category:
Upload: others
View: 9 times
Download: 0 times
Share this document with a friend
57
The Token Game Physics Techniques and Engineering Coming to Life Conclusion True concurrency - from C.A. Petri to Telecom and Systems Biology Stefan Haar INRIA and LSV, CNRS and ENS Cachan France September 18, 2014 1/57
Transcript
Page 1: True concurrency - from C.A. Petri to Telecom and Systems ... … · concurrent and asynchronous systems. Discrete Event Dynamic Systems: Theory and Applications 15(1), pages 33-84,

The Token Game Physics Techniques and Engineering Coming to Life Conclusion

True concurrency - from C.A. Petri to Telecom andSystems Biology

Stefan Haar

INRIA and LSV, CNRS and ENS Cachan

France

September 18, 2014

1/57

Page 2: True concurrency - from C.A. Petri to Telecom and Systems ... … · concurrent and asynchronous systems. Discrete Event Dynamic Systems: Theory and Applications 15(1), pages 33-84,

The Token Game Physics Techniques and Engineering Coming to Life Conclusion

1 The Token Game

2 Physics

3 Techniques and EngineeringInvariantsUnfolding

4 Coming to Life

5 Conclusion

2/57

Page 3: True concurrency - from C.A. Petri to Telecom and Systems ... … · concurrent and asynchronous systems. Discrete Event Dynamic Systems: Theory and Applications 15(1), pages 33-84,

The Token Game Physics Techniques and Engineering Coming to Life Conclusion

Nets and Concurrency

1 The Token Game

2 Physics

3 Techniques and Engineering

4 Coming to Life

5 Conclusion

3/57

Page 4: True concurrency - from C.A. Petri to Telecom and Systems ... … · concurrent and asynchronous systems. Discrete Event Dynamic Systems: Theory and Applications 15(1), pages 33-84,

The Token Game Physics Techniques and Engineering Coming to Life Conclusion

Carl Adam Petri, 12 July 1926 – 2 July 2010

4/57

Page 5: True concurrency - from C.A. Petri to Telecom and Systems ... … · concurrent and asynchronous systems. Discrete Event Dynamic Systems: Theory and Applications 15(1), pages 33-84,

The Token Game Physics Techniques and Engineering Coming to Life Conclusion

The Token Game

5/57

Page 6: True concurrency - from C.A. Petri to Telecom and Systems ... … · concurrent and asynchronous systems. Discrete Event Dynamic Systems: Theory and Applications 15(1), pages 33-84,

The Token Game Physics Techniques and Engineering Coming to Life Conclusion

The Token Game

6/57

Page 7: True concurrency - from C.A. Petri to Telecom and Systems ... … · concurrent and asynchronous systems. Discrete Event Dynamic Systems: Theory and Applications 15(1), pages 33-84,

The Token Game Physics Techniques and Engineering Coming to Life Conclusion

The Token Game

7/57

Page 8: True concurrency - from C.A. Petri to Telecom and Systems ... … · concurrent and asynchronous systems. Discrete Event Dynamic Systems: Theory and Applications 15(1), pages 33-84,

The Token Game Physics Techniques and Engineering Coming to Life Conclusion

First Intended Use

8/57

Page 9: True concurrency - from C.A. Petri to Telecom and Systems ... … · concurrent and asynchronous systems. Discrete Event Dynamic Systems: Theory and Applications 15(1), pages 33-84,

The Token Game Physics Techniques and Engineering Coming to Life Conclusion

Nets and Concurrency

1 The Token Game

2 Physics

3 Techniques and Engineering

4 Coming to Life

5 Conclusion

9/57

Page 10: True concurrency - from C.A. Petri to Telecom and Systems ... … · concurrent and asynchronous systems. Discrete Event Dynamic Systems: Theory and Applications 15(1), pages 33-84,

The Token Game Physics Techniques and Engineering Coming to Life Conclusion

(Source: Petri and Valk 2008)10/57

Page 11: True concurrency - from C.A. Petri to Telecom and Systems ... … · concurrent and asynchronous systems. Discrete Event Dynamic Systems: Theory and Applications 15(1), pages 33-84,

The Token Game Physics Techniques and Engineering Coming to Life Conclusion

From Space-Time to Nets

Minkowski Petri Grid

(Source: Petri/Valk 2008 and Valk 2013)

11/57

Page 12: True concurrency - from C.A. Petri to Telecom and Systems ... … · concurrent and asynchronous systems. Discrete Event Dynamic Systems: Theory and Applications 15(1), pages 33-84,

The Token Game Physics Techniques and Engineering Coming to Life Conclusion

From Big to Small

(Source: Petri/Valk 2008 and Valk 2013)

12/57

Page 13: True concurrency - from C.A. Petri to Telecom and Systems ... … · concurrent and asynchronous systems. Discrete Event Dynamic Systems: Theory and Applications 15(1), pages 33-84,

The Token Game Physics Techniques and Engineering Coming to Life Conclusion

From Geometry to Topology

13/57

Page 14: True concurrency - from C.A. Petri to Telecom and Systems ... … · concurrent and asynchronous systems. Discrete Event Dynamic Systems: Theory and Applications 15(1), pages 33-84,

The Token Game Physics Techniques and Engineering Coming to Life Conclusion

14/57

Page 15: True concurrency - from C.A. Petri to Telecom and Systems ... … · concurrent and asynchronous systems. Discrete Event Dynamic Systems: Theory and Applications 15(1), pages 33-84,

The Token Game Physics Techniques and Engineering Coming to Life Conclusion

Physics and Concurrency

Concurrency

Relativistic Space-Time:

You don’t see what is going on at Alpha Centaury right now

Quantum systems:

Uncertainty prevents you from obtaining a full global instantaneous snapshot

Some goals from Petri’s program

Axiomatic relational theory of concurrency (Carnap’s spirit)

Capture Lorentz transforms etc

Build finitary but continuous mathematical picture of physics

Here:

PN Techniques and Concurrency in

Engineering

Life Sciences

15/57

Page 16: True concurrency - from C.A. Petri to Telecom and Systems ... … · concurrent and asynchronous systems. Discrete Event Dynamic Systems: Theory and Applications 15(1), pages 33-84,

The Token Game Physics Techniques and Engineering Coming to Life Conclusion

Nets and Concurrency

1 The Token Game

2 Physics

3 Techniques and EngineeringInvariantsUnfolding

4 Coming to Life

5 Conclusion

16/57

Page 17: True concurrency - from C.A. Petri to Telecom and Systems ... … · concurrent and asynchronous systems. Discrete Event Dynamic Systems: Theory and Applications 15(1), pages 33-84,

The Token Game Physics Techniques and Engineering Coming to Life Conclusion

Formalize !

NET : N = (P ,T ,F )

P ∩ T = ∅, and

F ⊆ (P × T ∪ T × P)

N = (N ,M0) is a Petri net iff

N is a net

M0 : P → N0 a marking of N.

17/57

Page 18: True concurrency - from C.A. Petri to Telecom and Systems ... … · concurrent and asynchronous systems. Discrete Event Dynamic Systems: Theory and Applications 15(1), pages 33-84,

The Token Game Physics Techniques and Engineering Coming to Life Conclusion

Matrix Representation

Incidence Matrix

−1 0 1 0 0 01 −1 0 0 0 00 1 −1 0 0 00 −1 1 0 −1 100 0 0 −1 0 1 00 0 0 1 −1 00 0 0 0 1 −1

.

18/57

Page 19: True concurrency - from C.A. Petri to Telecom and Systems ... … · concurrent and asynchronous systems. Discrete Event Dynamic Systems: Theory and Applications 15(1), pages 33-84,

The Token Game Physics Techniques and Engineering Coming to Life Conclusion

Incidence Matrix and Invariants

Incidence Matrix N ∈ Z|P|×|t|

N(p,t) =

−1 : p F t1 : t F p0 : o/w

(note: we assume there are no loops)

State change equation

For X,M ,M ′ ∈ Z|P|, M t−→ M ′ ⇔ X>M ′ = X>M +X>W (t)

Definition

A non-negative and non-zero solution of

X>W (t) = 0

is a place invariant of N .

19/57

Page 20: True concurrency - from C.A. Petri to Telecom and Systems ... … · concurrent and asynchronous systems. Discrete Event Dynamic Systems: Theory and Applications 15(1), pages 33-84,

The Token Game Physics Techniques and Engineering Coming to Life Conclusion

Running example

For all M ∈ R(N ,M0),

M (p1) +M (p2) +M (p3) = 1

M (p5) +M (p6) +M (p7) = 1

M (p3) +M (p4) +M (p7) = 1

20/57

Page 21: True concurrency - from C.A. Petri to Telecom and Systems ... … · concurrent and asynchronous systems. Discrete Event Dynamic Systems: Theory and Applications 15(1), pages 33-84,

The Token Game Physics Techniques and Engineering Coming to Life Conclusion

Production Systems

21/57

Page 22: True concurrency - from C.A. Petri to Telecom and Systems ... … · concurrent and asynchronous systems. Discrete Event Dynamic Systems: Theory and Applications 15(1), pages 33-84,

The Token Game Physics Techniques and Engineering Coming to Life Conclusion

T - Invariants

J ∈ N|T |0 is a T -invariant of N iff

At · J = 0

If M0σJ−→ for some σJ ∈ T ∗ such that

∀ t ∈ T : J (t) = |σJ |t ,

then

At · J = 0 ⇒ M0σJ−→ M0.

22/57

Page 23: True concurrency - from C.A. Petri to Telecom and Systems ... … · concurrent and asynchronous systems. Discrete Event Dynamic Systems: Theory and Applications 15(1), pages 33-84,

The Token Game Physics Techniques and Engineering Coming to Life Conclusion

Comparison of Invariants

T -invariants

Help find state-reproducing behaviors

Exhibit ”typical” processes

Give hints on liveness

23/57

Page 24: True concurrency - from C.A. Petri to Telecom and Systems ... … · concurrent and asynchronous systems. Discrete Event Dynamic Systems: Theory and Applications 15(1), pages 33-84,

The Token Game Physics Techniques and Engineering Coming to Life Conclusion

Comparison of Invariants

P -invariants

Help express properties satisfied by all reachable markings

Tell if the system is bounded → safety properties

May allow decomposition

Useful in control and supervision

Next: Telecommunications , or: when one needs unfoldings

24/57

Page 25: True concurrency - from C.A. Petri to Telecom and Systems ... … · concurrent and asynchronous systems. Discrete Event Dynamic Systems: Theory and Applications 15(1), pages 33-84,

The Token Game Physics Techniques and Engineering Coming to Life Conclusion

Telecommunications : need Fault Diagnosis

(Source: Benveniste et al, 2003)

25/57

Page 26: True concurrency - from C.A. Petri to Telecom and Systems ... … · concurrent and asynchronous systems. Discrete Event Dynamic Systems: Theory and Applications 15(1), pages 33-84,

The Token Game Physics Techniques and Engineering Coming to Life Conclusion

Seeking a Needle in a Haystack

(Source: Benveniste et al, 2003)

26/57

Page 27: True concurrency - from C.A. Petri to Telecom and Systems ... … · concurrent and asynchronous systems. Discrete Event Dynamic Systems: Theory and Applications 15(1), pages 33-84,

The Token Game Physics Techniques and Engineering Coming to Life Conclusion

Seeking a Needle in a Haystack

(Source: Benveniste et al, 2003) 27/57

Page 28: True concurrency - from C.A. Petri to Telecom and Systems ... … · concurrent and asynchronous systems. Discrete Event Dynamic Systems: Theory and Applications 15(1), pages 33-84,

The Token Game Physics Techniques and Engineering Coming to Life Conclusion

Seeking a Needle in a Haystack

(Source: Benveniste et al, 2003)

28/57

Page 29: True concurrency - from C.A. Petri to Telecom and Systems ... … · concurrent and asynchronous systems. Discrete Event Dynamic Systems: Theory and Applications 15(1), pages 33-84,

The Token Game Physics Techniques and Engineering Coming to Life Conclusion

Reduce Complexity: Fault modeling

(Source: Benveniste et al, 2003) 29/57

Page 30: True concurrency - from C.A. Petri to Telecom and Systems ... … · concurrent and asynchronous systems. Discrete Event Dynamic Systems: Theory and Applications 15(1), pages 33-84,

The Token Game Physics Techniques and Engineering Coming to Life Conclusion

Reduce Complexity: Fault modeling

(Source: Benveniste et al, 2003)

30/57

Page 31: True concurrency - from C.A. Petri to Telecom and Systems ... … · concurrent and asynchronous systems. Discrete Event Dynamic Systems: Theory and Applications 15(1), pages 33-84,

The Token Game Physics Techniques and Engineering Coming to Life Conclusion

Reduce Size: True Concurrency

(Source: Benveniste et al, 2003)

31/57

Page 32: True concurrency - from C.A. Petri to Telecom and Systems ... … · concurrent and asynchronous systems. Discrete Event Dynamic Systems: Theory and Applications 15(1), pages 33-84,

The Token Game Physics Techniques and Engineering Coming to Life Conclusion

PN as Propagation + Observation Model

(Source: Benveniste et al, 2003)

32/57

Page 33: True concurrency - from C.A. Petri to Telecom and Systems ... … · concurrent and asynchronous systems. Discrete Event Dynamic Systems: Theory and Applications 15(1), pages 33-84,

The Token Game Physics Techniques and Engineering Coming to Life Conclusion

Finding behaviors: unfold

(Source: Benveniste et al, 2003)

33/57

Page 34: True concurrency - from C.A. Petri to Telecom and Systems ... … · concurrent and asynchronous systems. Discrete Event Dynamic Systems: Theory and Applications 15(1), pages 33-84,

The Token Game Physics Techniques and Engineering Coming to Life Conclusion

Finding explanations: Correlate and unfold

(Source: Benveniste et al, 2003)

34/57

Page 35: True concurrency - from C.A. Petri to Telecom and Systems ... … · concurrent and asynchronous systems. Discrete Event Dynamic Systems: Theory and Applications 15(1), pages 33-84,

The Token Game Physics Techniques and Engineering Coming to Life Conclusion

Nets and Concurrency

1 The Token Game

2 Physics

3 Techniques and Engineering

4 Coming to Life

5 Conclusion

35/57

Page 36: True concurrency - from C.A. Petri to Telecom and Systems ... … · concurrent and asynchronous systems. Discrete Event Dynamic Systems: Theory and Applications 15(1), pages 33-84,

The Token Game Physics Techniques and Engineering Coming to Life Conclusion

Systems Biology needs Formal Methods

Source : L. Pauleve 36/57

Page 37: True concurrency - from C.A. Petri to Telecom and Systems ... … · concurrent and asynchronous systems. Discrete Event Dynamic Systems: Theory and Applications 15(1), pages 33-84,

The Token Game Physics Techniques and Engineering Coming to Life Conclusion

Source : L. Pauleve

37/57

Page 38: True concurrency - from C.A. Petri to Telecom and Systems ... … · concurrent and asynchronous systems. Discrete Event Dynamic Systems: Theory and Applications 15(1), pages 33-84,

The Token Game Physics Techniques and Engineering Coming to Life Conclusion

Source : L. Pauleve

38/57

Page 39: True concurrency - from C.A. Petri to Telecom and Systems ... … · concurrent and asynchronous systems. Discrete Event Dynamic Systems: Theory and Applications 15(1), pages 33-84,

The Token Game Physics Techniques and Engineering Coming to Life Conclusion

Source : L. Pauleve39/57

Page 40: True concurrency - from C.A. Petri to Telecom and Systems ... … · concurrent and asynchronous systems. Discrete Event Dynamic Systems: Theory and Applications 15(1), pages 33-84,

The Token Game Physics Techniques and Engineering Coming to Life Conclusion

Source : L. Pauleve

40/57

Page 41: True concurrency - from C.A. Petri to Telecom and Systems ... … · concurrent and asynchronous systems. Discrete Event Dynamic Systems: Theory and Applications 15(1), pages 33-84,

The Token Game Physics Techniques and Engineering Coming to Life Conclusion

Source : L. Pauleve

41/57

Page 42: True concurrency - from C.A. Petri to Telecom and Systems ... … · concurrent and asynchronous systems. Discrete Event Dynamic Systems: Theory and Applications 15(1), pages 33-84,

The Token Game Physics Techniques and Engineering Coming to Life Conclusion

Source : L. Pauleve

42/57

Page 43: True concurrency - from C.A. Petri to Telecom and Systems ... … · concurrent and asynchronous systems. Discrete Event Dynamic Systems: Theory and Applications 15(1), pages 33-84,

The Token Game Physics Techniques and Engineering Coming to Life Conclusion

Source : L. Pauleve

43/57

Page 44: True concurrency - from C.A. Petri to Telecom and Systems ... … · concurrent and asynchronous systems. Discrete Event Dynamic Systems: Theory and Applications 15(1), pages 33-84,

The Token Game Physics Techniques and Engineering Coming to Life Conclusion

Source : L. Pauleve

44/57

Page 45: True concurrency - from C.A. Petri to Telecom and Systems ... … · concurrent and asynchronous systems. Discrete Event Dynamic Systems: Theory and Applications 15(1), pages 33-84,

The Token Game Physics Techniques and Engineering Coming to Life Conclusion

Source : L. Pauleve

45/57

Page 46: True concurrency - from C.A. Petri to Telecom and Systems ... … · concurrent and asynchronous systems. Discrete Event Dynamic Systems: Theory and Applications 15(1), pages 33-84,

The Token Game Physics Techniques and Engineering Coming to Life Conclusion

Petri Nets are a Natural Choice !

46/57

Page 47: True concurrency - from C.A. Petri to Telecom and Systems ... … · concurrent and asynchronous systems. Discrete Event Dynamic Systems: Theory and Applications 15(1), pages 33-84,

The Token Game Physics Techniques and Engineering Coming to Life Conclusion

Building complex networks

Enzymatic Reaction Coupled with Gene Expression

47/57

Page 48: True concurrency - from C.A. Petri to Telecom and Systems ... … · concurrent and asynchronous systems. Discrete Event Dynamic Systems: Theory and Applications 15(1), pages 33-84,

The Token Game Physics Techniques and Engineering Coming to Life Conclusion

What For ?

Compute Attractors

Terminal strongly connected components of State graph

E.g.:

Stable state of a cell after de-differentiationReachable mutations

Identify Cut Sets

Sets of factors/actions/ ... that are necessary to reach some attractor

E.g.:

Interventions to prevent a mutationMedication to enforce a certain ”healthy” attractorCell re-programming: move from one attractor to another

48/57

Page 49: True concurrency - from C.A. Petri to Telecom and Systems ... … · concurrent and asynchronous systems. Discrete Event Dynamic Systems: Theory and Applications 15(1), pages 33-84,

The Token Game Physics Techniques and Engineering Coming to Life Conclusion

The Petri View: State Graph ...

49/57

Page 50: True concurrency - from C.A. Petri to Telecom and Systems ... … · concurrent and asynchronous systems. Discrete Event Dynamic Systems: Theory and Applications 15(1), pages 33-84,

The Token Game Physics Techniques and Engineering Coming to Life Conclusion

The Petri View: State Graph ...

50/57

Page 51: True concurrency - from C.A. Petri to Telecom and Systems ... … · concurrent and asynchronous systems. Discrete Event Dynamic Systems: Theory and Applications 15(1), pages 33-84,

The Token Game Physics Techniques and Engineering Coming to Life Conclusion

... vs Unfolding

51/57

Page 52: True concurrency - from C.A. Petri to Telecom and Systems ... … · concurrent and asynchronous systems. Discrete Event Dynamic Systems: Theory and Applications 15(1), pages 33-84,

The Token Game Physics Techniques and Engineering Coming to Life Conclusion

Some More Leads for PNs in Biology

Unfoldings

Accelerate search of attractors

Find cut sets for control

Understand cell reprogramming

...

Compositionality, Invariants

Synthetic genetic circuits

Regulatory networks analysis

Control

Monitoring

...

52/57

Page 53: True concurrency - from C.A. Petri to Telecom and Systems ... … · concurrent and asynchronous systems. Discrete Event Dynamic Systems: Theory and Applications 15(1), pages 33-84,

The Token Game Physics Techniques and Engineering Coming to Life Conclusion

Nets and Concurrency

1 The Token Game

2 Physics

3 Techniques and Engineering

4 Coming to Life

5 Conclusion

53/57

Page 54: True concurrency - from C.A. Petri to Telecom and Systems ... … · concurrent and asynchronous systems. Discrete Event Dynamic Systems: Theory and Applications 15(1), pages 33-84,

The Token Game Physics Techniques and Engineering Coming to Life Conclusion

Conclusion: What was mentioned ...

PNs and concurrency are

meaningful in

Physics

Engineering

(Chemistry)

Biology

Concurrency

is inherent

is intuitive

is helpful to save time

54/57

Page 55: True concurrency - from C.A. Petri to Telecom and Systems ... … · concurrent and asynchronous systems. Discrete Event Dynamic Systems: Theory and Applications 15(1), pages 33-84,

The Token Game Physics Techniques and Engineering Coming to Life Conclusion

... and what wasn’t mentioned

More models and mathematics

Contextual nets, time(d) nets, stochastic nets, fluid nets ...

High-level nets, nested nets

Max-Plus analysis

More applications

Verification of protocols, distributed algorithms, ...

Workflows

Railway Networks

... and everything I forgot

References

... follow on next slides

What Remains to be Said

BIG THANKS !!

55/57

Page 56: True concurrency - from C.A. Petri to Telecom and Systems ... … · concurrent and asynchronous systems. Discrete Event Dynamic Systems: Theory and Applications 15(1), pages 33-84,

The Token Game Physics Techniques and Engineering Coming to Life Conclusion

References I : Papers

On the subjects here:

T. Murata. Petri Nets: Properties, Analysis and Applications. Proceedings ofthe IEEE, Vol. 77, No 4, April, 1989, pp. 541-580.

J. L. Peterson. Petri Net Theory and the Modeling of Systems.Prentice-Hall, N.J., 1981, ISBN: 0-13-661983-5.

W. Reisig. Petri Nets, An Introduction. EATCS, Monographs on TheoreticalComputer Science, W.Brauer, G. Rozenberg, A. Salomaa (Eds.), SpringerVerlag, Berlin, 1985.

C.A. Petri. Nets, time and space. Theor. Computer Science Vol. 153, 199 pp3-48

E. Fabre, A. Benveniste, S. Haar and C. Jard. Distributed monitoring ofconcurrent and asynchronous systems. Discrete Event Dynamic Systems:Theory and Applications 15(1), pages 33-84, 2005.

Th. Chatain, S. Haar, L. Jezequel, L. Pauleve and S. Schwoon.Characterization of Reachable Attractors Using Petri Net Unfoldings. InCMSB’14.

56/57

Page 57: True concurrency - from C.A. Petri to Telecom and Systems ... … · concurrent and asynchronous systems. Discrete Event Dynamic Systems: Theory and Applications 15(1), pages 33-84,

The Token Game Physics Techniques and Engineering Coming to Life Conclusion

References II : Online

Online tutorial:http://www.informatik.uni-hamburg.de/TGI/PetriNets/introductions/aalst/

C.A.Petri and R. Valk. On the Physical Basics of Information Flow. Talk atICATPN 2008, Xi’An;

http://www.informatik.uni-hamburg.de/TGI/....../mitarbeiter/profs/petri/Xian Petri Valk.pdf

R. Valk. Tutorial: Nets, Physics and Coordination, A tribute to the work ofCarl Adam Petri and Anatol W. Holt. Talk at ICATPN 2013, Milano;

http://www.informatik.uni-hamburg.de/TGI/....../mitarbeiter/profs/valk/Tutorium-NPC-Valk-slides.pdf.zipf

http://www-dssz.informatik.tu-cottbus.de/publications/papers/2014/...p72-74 mh Intl Innovation 137 Research Media-small.pdf

57/57


Recommended