Download presentation

Presentation is loading. Please wait.

Published byEstrella Fisher Modified over 3 years ago

1
Recipes for State Space Reduction Arend Rensink, University of Twente Dutch Model Checking Day, May 2014

2
Example (believe it or not): Dining Philosophers 9 May 2014Recipes for State Space Reduction 2 Start configuration First grab left fork First grab right fork Then grab left fork Then grab right fork Release both forks Demo

3
Raise atomicity level: Grab both forks 9 May 2014Recipes for State Space Reduction 3 Suppose were not interested in deadlock or starvation E.g., study average philosopher load under assumption of liveness Essentially, we want to change the grain of atomicity Define transactions on top of existing transition system: recipe leftThenRight() { grab1left; grab2right; } recipe rightThenLeft() { grab1right; grab2left; } or even recipe grabBoth() { choice { grab1left; grab2right; } or { grab1right; grab2left; } } Intuition Abstracted system has single (recipe-labelled) transition (only) where original system has terminating trace of recipe Demo

4
What is this presentation about? Transition systems can grow very large Too expensive to generate (time/memory) Too large to analyse Countermeasures State space reduction (partial order, symmetry, …) Abstraction (collapsing similar states) Coarse-grained atomicity (doing more in one step) Context: graph transformation as a modelling formalism Transformation steps reflect the dynamics of a system GTSs analysed e.g., through model checking 4 9 May 2014Recipes for State Space Reduction

5
Recipe semantics Example: recipe c() { a; b; } Challenging cases: Refusal behaviour: recipe c() { try a1;b1 else a2; b2; } Looping behaviour: recipe c() { alap { a1;b1 } } Exploration strategy: Local DFS within recipe body 5 9 May 2014Recipes for State Space Reduction a b b c a b a b c c dd c c a d a bb

6
Message What are recipes good for? State space reduction Coarse-grained transitions Useful when state space used for further analysis Performance gain Quantified rules are evaluated faster Contribution Atomicity through composition (on top of existing LTS) Also unbounded behaviour Compare: action refinement Combination with refusals (try, as-long-as-possible) 6 9 May 2014Recipes for State Space Reduction

Similar presentations

OK

Process Algebra (2IF45) Basic Process Algebra Dr. Suzana Andova.

Process Algebra (2IF45) Basic Process Algebra Dr. Suzana Andova.

© 2017 SlidePlayer.com Inc.

All rights reserved.

Ads by Google

Ppt on glorious past of india Ppt on different types of computer languages Ppt on obesity diet plan Ppt on crash fire tender specifications Jit ppt on manufacturing technology Ppt on ascending and descending numbers Ppt on game theory economics Download ppt on abdul kalam Ppt on area of trapezium shape Ppt on schottky diode characteristics