Real and stochastic time in process algebras for performance evaluation

Process algebras are formalisms for abstract modeling of systems for the purpose of qualitative veri¯cation and quantitative evaluation. The purpose of veri¯cation is to show that the system behaves correctly, e.g., it does not contain a deadlock or a state with some desired property is eventually going to be reached. The quantitative or performance evaluation part gives an approximation how well the system will behave, e.g., the average time of a message to get through is 10 time units or the utilization (percentage of time that something is used) of some machine is 23.5 percent. Originally, process algebras were only developed for qualitative model- ing, but gradually they have been extended with time, probabilities, and Markovian (exponential) and generally-distributed stochastic time. The ex- tensions up to stochastic time typically conservatively extended previous well-established theories. However, mostly due to the nature of the under- lying (non-)Markovian performance models, the stochastic process algebras were built from scratch. These extensions were carried out as orthogonal extensions of untimed process theories with exponential delays or stochastic clocks. The underlying performance model is obtained by abstracting from the qualitative behavior using some weak behavioral equivalence. The thesis investigates several issues: (1) What is the relationship be- tween discrete real and generally-distributed stochastic time in the process theories? (2) Is it possible, and if so, how, to extend timed process theories with stochastic time? (3) Reversely, is it possible, and if so, how, to embed discrete real time in generally distributed process theories? Additionally, (4) is the abstraction using the weak behavioral equivalence in Markovian process theories (and other modeling formalisms as well) performance pre- serving, and is such an approach compositional? In the end, (5) how can we do performance analysis using discrete-time and probabilistic choices? The contents of the thesis is as follows. First, we introduce the central concept of a race condition that de¯nes the interaction between stochastic timed delays. We introduce a new type of race condition, which enables the synchronization of stochastic delays with the same sample as in timed process theories. This gives the basis for the notion of a timed delay in a racing context, which models the expiration of stochastic delays. In this new setting, we de¯ne a strong bisimulation relation that deals with the (probabilistic) race condition on a symbolic level. Next, we show how to derive stochastic delays as guarded recursive speci¯cation involving timed delays in a racing context and we derive a ground-complete stochastic-time process theory. Then, we take the opposite viewpoint and we develop a stochastic process theory from scratch, relying on the same interpretation of the race condition. We embed real time in the stochastic-time setting by using context-sensitive interpolation, a restricted notion of time additiv- ity. Afterwards, we turn to Markovian process theories and we show com- positionality of the Markov reward chains with fast and silent transitions with respect to lumping-based and reduction-based aggregation methods. These methods can be used to show preservation of performance measures when eliminating probabilistic choices and non-deterministic silent steps in Markovian process theories. Then, we specify the underlying model of prob- abilistic timed process theories as a discrete-time probabilistic reward graph and we show its transformation to a discrete-time Markov reward chain. The approach is illustrated by extending the environment of the modeling language Â. The developed theories are illustrated by specifying a version of the concurrent alternating bit protocol and analyzing it in the  toolset.

[1]  Sheldon M. Ross,et al.  Stochastic Processes , 2018, Gauge Integral Structures for Stochastic Calculus and Quantum Electrodynamics.

[2]  Erik P. de Vink,et al.  Real-Time Process Algebra with Stochastic Delays , 2007, Seventh International Conference on Application of Concurrency to System Design (ACSD 2007).

[3]  F. Delebecque A Reduction Process for Perturbed Markov Chains , 1983 .

[4]  V Victor Bos,et al.  Formal specification and analysis of industrial systems , 2002 .

[5]  Wpaj Wil Michiels Performance ratios for the differencing method , 2004 .

[6]  Jan A. Bergstra,et al.  On the Consistency of Koomen's Fair Abstraction Rule , 1987, Theor. Comput. Sci..

[7]  Marta Z. Kwiatkowska,et al.  Stochastic Transition Systems for Continuous State Spaces and Non-determinism , 2005, FoSSaCS.

[8]  EM Elena Bortnik,et al.  Formal methods in support of SMC design , 2008 .

[9]  Joost-Pieter Katoen,et al.  A theory of Stochastic systems. Part II: Process algebra , 2005, Inf. Comput..

[10]  M. Bravetti,et al.  From EMPA to GSMPA : Allowing for General DistributionsMario Bravetti , 2007 .

[11]  Bahareh Badban,et al.  Verification Techniques for Extensions of Equality Logic , 2006 .

[12]  Joseph Sifakis,et al.  An Overview and Synthesis on Timed Process Algebras , 1991, CAV.

[13]  J.J.H. Fey,et al.  Design of a fruit juice blending and packaging plant , 2000 .

[14]  A. Jensen,et al.  Markoff chains as an aid in the study of Markoff processes , 1953 .

[15]  Jurgen Vinju,et al.  Analysis and transformation of source code by parsing and rewriting , 2005 .

[16]  Andres Löh,et al.  Exploring generic Haskell , 2004 .

[17]  Dirk A. van Beek,et al.  Modelling and control of process industry batch production systems , 2002 .

[18]  S. Sastry,et al.  Hierarchical aggregation of singularly perturbed finite state Markov processes , 1983 .

[19]  Holger Hermanns,et al.  Interactive Markov Chains , 2002, Lecture Notes in Computer Science.

[20]  Ricardo Corin,et al.  Analysis Models for Security Protocols , 2006 .

[21]  M. de Jonge,et al.  To reuse or to be reused. Techniques for component composition and construction , 2003 .

[22]  Jasen Markovski,et al.  Aggregation Methods for Markov Reward Chains with Fast and Silent Transitions , 2011, MMB.

[23]  Peter Verbaan,et al.  The Computational Complexity of Evolving Systems , 2006 .

[24]  Arjen van Weelden,et al.  Putting Types To Good Use , 2007 .

[25]  Anton Wijs,et al.  Silent steps in transition systems and Markov chains , 2007 .

[26]  Jos C. M. Baeten,et al.  Process Algebra , 2007, Handbook of Dynamic System Modeling.

[27]  Holger Hermanns,et al.  MODEST: A Compositional Modeling Formalism for Hard and Softly Timed Systems , 2006, IEEE Transactions on Software Engineering.

[28]  Marco Ajmone Marsan,et al.  Modelling with Generalized Stochastic Petri Nets , 1995, PERV.

[29]  J. M. van de Mortel-Fronczak,et al.  Verification of timed chi models using uppaal , 2005, ICINCO.

[30]  P. Yu. Chebotarev,et al.  On Determining the Eigenprojection and Components of a Matrix , 2002 .

[31]  William J. Stewart,et al.  Introduction to the numerical solution of Markov Chains , 1994 .

[32]  Nikola Trčka Verifying % Models of Industrial Systems with SPIN , 2006 .

[33]  Roberto Gorrieri,et al.  A Tutorial on EMPA: A Theory of Concurrent Processes with Nondeterminism, Priorities, Probabilities and Time , 1998, Theor. Comput. Sci..

[34]  Martin Bravenboer,et al.  Exercises in Free Syntax. Syntax Definition, Parsing, and Assimilation of Language Conglomerates , 2003 .

[35]  M. A. Valero Espada,et al.  Modal Abstraction and Replication of Processes with Data , 2005 .

[36]  Gürcan Gülesir,et al.  Evolvable Behavior Specifications Using Context-Sensitive Wildcards , 2008 .

[37]  S. P. Luttik Choice quantification in process algebra , 2002 .

[38]  Sebastian Maneth,et al.  Models of tree translation , 2004 .

[39]  Anton Wijs,et al.  From Χt to μCRL : Combining performance and functional analysis , 2004 .

[40]  Pascal Durr,et al.  Resource-based Verification for Robust Composition of Aspects , 2008 .

[41]  Erik P. de Vink,et al.  Discrete real-time and stochastic-time process algebra for performance analysis of distributed systems , 2008, 2008 8th International Conference on Application of Concurrency to System Design.

[42]  Joost-Pieter Katoen,et al.  General Distributions in Process Algebra , 2002, European Educational Forum: School on Formal Methods and Performance Analysis.

[43]  Goran Frehse,et al.  Compositional verification of hybrid systems using simulation relations , 2005 .

[44]  M. B. van der Zwaag,et al.  Models and logics for process algebra , 2002 .

[45]  Tomas Krilavicius,et al.  Hybrid Techniques for Hybrid Systems , 2006 .

[46]  Erik P. de Vink,et al.  Extending Timed Process Algebra with Discrete Stochastic Time , 2008, AMAST.

[47]  Kishor S. Trivedi,et al.  On the Solution of GSPN Reward Models , 1991, Perform. Evaluation.

[48]  Cjf Cas Cremers Scyther : semantics and verification of security protocols , 2006 .

[49]  Brigitte Plateau,et al.  Stochastic Automata Network For Modeling Parallel Systems , 1991, IEEE Trans. Software Eng..

[50]  Anton Wijs,et al.  From χt to µCRL: Combining Performance and Functional Analysis , 2005, 10th IEEE International Conference on Engineering of Complex Computer Systems (ICECCS'05).

[51]  Ichiro Hasuo,et al.  Tracing Anonymity with Coalgebras , 2008 .

[52]  Jos C. M. Baeten,et al.  Process Algebra with Timing , 2002, Monographs in Theoretical Computer Science. An EATCS Series.

[53]  Joost-Pieter Katoen,et al.  A theory of stochastic systems part I: Stochastic automata , 2005, Inf. Comput..

[54]  F. Bartels,et al.  On Generalised Coinduction and Probabilistic Specification Formats , 2004 .

[55]  Mohammad Ali Abam New data structures and algorithms for mobile data , 2007 .

[56]  Jos C. M. Baeten,et al.  Process Algebra: Equational Theories of Communicating Processes , 2009 .

[57]  Erik P. de Vink,et al.  Embedding Real Time in Stochastic Process Algebras , 2006, EPEW.

[58]  K.S. Tso,et al.  A recurrence-relation-based reward model for performability evaluation of embedded systems , 2008, 2008 IEEE International Conference on Dependable Systems and Networks With FTCS and DCC (DSN).

[59]  R Ronald Ruimerman,et al.  Modeling and remodeling in bone tissue , 2005 .

[60]  J. Hillston The nature of synchronisation , 1994 .

[61]  Joost Visser,et al.  Generic traversal over typed source code representations , 2003 .

[62]  J. Banks,et al.  Discrete-Event System Simulation , 1995 .

[63]  Scott A. Smolka,et al.  Composition and Behaviors of Probabilistic I/O Automata , 1994, Theor. Comput. Sci..

[64]  Jens R. Calamé,et al.  Testing reactive systems with data: enumerative methods and constraint solving , 2008 .

[65]  Marcel F. Neuts,et al.  Matrix-geometric solutions in stochastic models - an algorithmic approach , 1982 .

[66]  Cheun Ngen Chong Experiments in rights control : expression and enforcement , 2005 .

[67]  Erika Ábrahám,et al.  An Assertional Proof System for Multithreaded Java - Theory and Tool Support , 2005 .

[68]  Ling Cheung,et al.  Reconciling nondeterministic and probabilistic choices , 2006 .

[69]  Eu-Jin Goh,et al.  Searching on Encrypted Data , 2003 .

[70]  Mariëlle Stoelinga,et al.  Alea jacta est : verification of probabilistic, real-time and parametric systems , 2002 .

[71]  Daan Leijen,et al.  The λ Abroad - A Functional Approach to Software Components , 2003 .

[72]  P. Zoeteweij,et al.  Composing constraint solvers , 2005 .

[73]  M. T. Ionita,et al.  Scenario-based system architecting : a systematic approach to developing future-proof system architectures , 2005 .

[74]  van Ejj Edgar Campen Design of a multi-process multi-product wafer fab , 2001 .

[75]  T. van der Storm Component-based configuration, integration and delivery , 2003 .

[76]  N.J.M. van den Nieuwelaar,et al.  Supervisory machine control by predictive-reactive scheduling , 2004 .

[77]  S. Andova,et al.  Performance analysis of χ models using discrete-time probabilistic reward graphs , 2008, 2008 9th International Workshop on Discrete Event Systems.

[78]  P. Buchholz Exact and ordinary lumpability in finite Markov chains , 1994, Journal of Applied Probability.

[79]  Jan Friso Groote,et al.  µCRL: A Toolset for Analysing Algebraic Specifications , 2001, CAV.

[80]  RH Rudolf Mak,et al.  Design and performance analysis of data-independent stream processing systems , 2008 .

[81]  Howard Bowman,et al.  Model checking stochastic automata , 2003, TOCL.

[82]  B. Nordstrom FINITE MARKOV CHAINS , 2005 .

[83]  Laura Brandán Briones,et al.  Theories for Model-based Testing: Real-time and Coverage , 2007 .

[84]  Jan A. Bergstra On the Design Rationale of ACP Style Process Algebras , 2006, Electron. Notes Theor. Comput. Sci..

[85]  de Ism Ivo Jong Integration and test strategies for complex manufacturing machines , 2008 .

[86]  Martijn M. Schrage,et al.  Proxima: a presentation-oriented editor for structured documents , 2000 .

[87]  Marius Adrian Marin,et al.  An Integrated System to Manage Crosscutting Concerns in Source Code , 2008 .

[88]  Gabriele Lenzini,et al.  Integration of Analysis Techniques in Security and Fault-Tolerance , 2005 .

[89]  Ka Lok Man,et al.  Formal specification and analysis of hybrid systems , 2006 .

[90]  Bengt Jonsson,et al.  Probabilistic Process Algebra , 2001 .

[91]  Wang Yi,et al.  Probabilistic Extensions of Process Algebras , 2001, Handbook of Process Algebra.

[92]  Aad Mathssen,et al.  Logical Calculi for Reasoning with Binding , 2008 .

[93]  B. Gebremichael-Tesfagiorgis,et al.  Expressivity of Timed Automata Models , 2006 .

[94]  Erik P. de Vink,et al.  Compositionality for Markov Reward Chains with Fast Transitions , 2007, EPEW.

[95]  Nancy A. Lynch,et al.  Switched PIOA: Parallel composition via distributed scheduling , 2006, Theor. Comput. Sci..

[96]  Marco Ajmone Marsan,et al.  A LOTOS extension for the performance analysis of distributed systems , 1994, TNET.

[97]  Manuel Núñez,et al.  Weak Stochastic Bisimulation for Non-markovian Processes , 2005, ICTAC.

[98]  H.M.A. van Beek,et al.  Specification and analysis of Internet applications , 2005 .

[99]  Jasen Markovski,et al.  Lumping Markov Chains with Silent Steps , 2006, Third International Conference on the Quantitative Evaluation of Systems - (QEST'06).

[100]  Hartmut Peter Benz,et al.  Casual Multimedia Process Annotations -- CoMPAs , 2003 .

[101]  Maurice H. ter Beek,et al.  Team Automata: A Formal Approach to the Modeling of Collaboration Between System Components , 2003 .

[102]  A Adam Koprowski,et al.  Termination of rewriting and its certification , 2004 .

[103]  Luca Aceto,et al.  Some of My Favourite Results in Classic Process , 2003 .

[104]  V. Sundramoorthy,et al.  At Home in Service Discovery , 2006 .

[105]  Cfj Christian Lange,et al.  Assessing and improving the quality of modeling : a series of empirical studies about the UML , 2007 .

[106]  Gerard J. Holzmann,et al.  The Model Checker SPIN , 1997, IEEE Trans. Software Eng..

[107]  Hans A. Hansson Time and probability in formal design of distributed systems , 1991, DoCS.

[108]  Thomas Wolle,et al.  Computational aspects of treewidth : Lower bounds and network reliability , 2005 .

[109]  R. G. Cooke Functional Analysis and Semi-Groups , 1949, Nature.

[110]  Jos C. M. Baeten,et al.  A brief history of process algebra , 2005, Theor. Comput. Sci..

[111]  Ivan Kurtev,et al.  Adaptability of model transformations , 2005 .

[112]  Marta Z. Kwiatkowska,et al.  PRISM: Probabilistic Symbolic Model Checker , 2002, Computer Performance Evaluation / TOOLS.

[113]  AJ Arjan Mooij,et al.  Constructive formal methods and protocol standardization , 2006 .

[114]  Ivan S. Zapreev Model checking Markov chains : techniques and tools , 2008 .

[115]  François Delebecque,et al.  Optimal control of markov chains admitting strong and weak interactions , 1981, Autom..

[116]  Anton Wijs,et al.  What to do next? Analysing and optimising system behaviour in time , 2007 .

[117]  Peter Buchholz,et al.  Kronecker Based Matrix Representations for Large Markov Models , 2004, Validation of Stochastic Systems.

[118]  Wang Yi,et al.  CCS + Time = An Interleaving Model for Real Time Systems , 1991, ICALP.

[119]  R. Boumen,et al.  Integration and test plans for complex manufacturing systems , 2007 .

[120]  C. Priami Stochastic -calculus with General Distributions , 1996 .

[121]  Eelco Dolstra,et al.  The purely functional software deployment model , 2006 .

[122]  Jos C. M. Baeten,et al.  Timed Process Algebra (With a Focus on Explicit Termination and Relative-Timing) , 2004, SFM.

[123]  Bastiaan Stephan Graaf,et al.  Model-Driven Evolution of Software Architectures , 2007, 11th European Conference on Software Maintenance and Reengineering (CSMR'07).

[124]  Jan A. Bergstra,et al.  Discrete time process algebra with silent step , 2000, Proof, Language, and Interaction.

[125]  M. G. van der Horst,et al.  Scalable block processing algorithms , 2008 .

[126]  Ronald A. Howard,et al.  Dynamic Probabilistic Systems , 1971 .

[127]  Wang Yi,et al.  Uppaal in a nutshell , 1997, International Journal on Software Tools for Technology Transfer.

[128]  Manuel Núñez,et al.  NMSPA: A Non-Markovian Model for Stochastic Processes , 2000, ICDCS Workshop on Distributed System Validation and Verification.

[129]  Dale Miller,et al.  A proof theory for generic judgments , 2005, TOCL.

[130]  M. Torabi Dashti,et al.  Keeping Fairness Alive : Design and formal verification of optimistic fair exchange protocols , 2008 .

[131]  Jos C. M. Baeten,et al.  Analyzing a chi model of a turntable system using Spin, CADP and Uppaal , 2005, J. Log. Algebraic Methods Program..

[132]  Hany H. Ammar,et al.  Hierarchical models for systems reliability, maintainability, and availability , 1987 .

[133]  P. Glynn A GSMP formalism for discrete event systems , 1989, Proc. IEEE.

[134]  I C M Ingrid Flinsenberg,et al.  Route Planning Algorithms for Car Navigation , 2009 .

[135]  Alexander Graham,et al.  Kronecker Products and Matrix Calculus: With Applications , 1981 .

[136]  EO Esko Dijk Indoor ultrasonic position estimation using a single base station , 2004 .

[137]  T. D. Vu,et al.  Semantics and applications of process and program algebra , 2007 .

[138]  G Giovanni Russello,et al.  Separation and adaptation of concerns in a shared data space , 2006 .

[139]  Peter Buchholz,et al.  Structured analysis techniques for large Markov chains , 2006, SMCtools '06.

[140]  Robin Milner,et al.  A Calculus of Communicating Systems , 1980, Lecture Notes in Computer Science.

[141]  Martijn Warnier,et al.  Language based security for Java and JML , 2006 .

[142]  Christel Baier,et al.  Validation of Stochastic Systems , 2004, Lecture Notes in Computer Science.

[143]  Ka Lok Man,et al.  Syntax and consistent equation semantics of hybrid Chi , 2006, J. Log. Algebraic Methods Program..

[144]  Ana Sokolova,et al.  On relational properties of lumpability , 2003 .

[145]  Magiel Bruntink,et al.  Renovation of idiomatic crosscutting concerns in embedded systems , 2005 .

[146]  Jane Hillston,et al.  A compositional approach to performance modelling , 1996 .

[147]  Christel Baier,et al.  Model checking meets performance evaluation , 2005, PERV.

[148]  Jjd Joep Aerts Random redundant storage for video on demand , 2003 .

[149]  Marco Bernardo,et al.  Formal Methods for Mobile Computing, 5th International School on Formal Methods for the Design of Computer, Communication, and Software Systems, SFM-Moby 2005, Bertinoro, Italy, April 26-30, 2005, Advanced Lectures , 2005, SFM.

[150]  Simona Orzan,et al.  On Distributed Verification and Verified Distribution , 2004 .

[151]  Peter Buchholz Markovian process algebra: Composition and equiva-lence , 1994 .

[152]  Mario Bravetti,et al.  Tutte le Algebre Insieme: Concepts, Discussions and Relations of Stochastic Process Algebras with General Distributions , 2004, Validation of Stochastic Systems.

[153]  Nwa Norbert Arends,et al.  A systems engineering specification formalism , 1996 .

[154]  Jasen Markovski,et al.  Real-time in stochastic process algebra: keeping track of winners and losers , 2007 .