on combining state space reductions with global fairness
play

On Combining State Space Reductions with Global Fairness Assumptions - PowerPoint PPT Presentation

Background & Motivation Model Checking with Global Fairness Symmetry Reduction & Global Fairness Partial Order Reduction & Global Fairness Summary On Combining State Space Reductions with Global Fairness Assumptions Shaojie Zhang 1


  1. Background & Motivation Model Checking with Global Fairness Symmetry Reduction & Global Fairness Partial Order Reduction & Global Fairness Summary On Combining State Space Reductions with Global Fairness Assumptions Shaojie Zhang 1 Jun Sun 2 Jun Pang 3 Yang Liu 1 Jin Song Dong 1 1 National University of Singapore 2 Singapore University of Technology and Design 3 University of Luxembourg 17th International Symposium on Formal Methods Shaojie Zhang, Jun Sun, Jun Pang, Yang Liu, Jin Song Dong State Space Reductions + Global Fairness Assumptions

  2. Background & Motivation Model Checking with Global Fairness Symmetry Reduction & Global Fairness Partial Order Reduction & Global Fairness Summary Table of Contents Background & Motivation 1 Model Checking with Global Fairness 2 Symmetry Reduction & Global Fairness 3 Basic Ideas for Proofs Algorithm Experiment & Evaluation Partial Order Reduction & Global Fairness 4 Partial Order Reduction Disproof Shaojie Zhang, Jun Sun, Jun Pang, Yang Liu, Jin Song Dong State Space Reductions + Global Fairness Assumptions

  3. Background & Motivation Model Checking with Global Fairness Symmetry Reduction & Global Fairness Partial Order Reduction & Global Fairness Summary Population Protocol Model Population protocol model is an elegant computation paradigm for describing mobile ad hoc networks [1]. Shaojie Zhang, Jun Sun, Jun Pang, Yang Liu, Jin Song Dong State Space Reductions + Global Fairness Assumptions

  4. Background & Motivation Model Checking with Global Fairness Symmetry Reduction & Global Fairness Partial Order Reduction & Global Fairness Summary Population Protocol Defining Features Anonymous, finite-state agents. Each agent is a finite-state machine. Agents do not have unique IDs. Computation by direct interaction. Agents interact only in pairs. Each interaction rule is of the form: ( a , b ) �→ ( c , d ) , in which a , b , c , and d are states. Distributed inputs and outputs. Shaojie Zhang, Jun Sun, Jun Pang, Yang Liu, Jin Song Dong State Space Reductions + Global Fairness Assumptions

  5. Background & Motivation Model Checking with Global Fairness Symmetry Reduction & Global Fairness Partial Order Reduction & Global Fairness Summary Convergence rather than termination. A distributed system is said to be self-stabilizing if it satisfies the following two properties: convergence : starting from an arbitrary configuration, the system is guaranteed to reach a stable configuration; closure : once the system reaches a stable configuration, it cannot become unstable any more. LTL Formulation ✸✷ property Unpredictable interaction patterns. A global fairness condition is imposed to ensure the protocol makes progress. Shaojie Zhang, Jun Sun, Jun Pang, Yang Liu, Jin Song Dong State Space Reductions + Global Fairness Assumptions

  6. Background & Motivation Model Checking with Global Fairness Symmetry Reduction & Global Fairness Partial Order Reduction & Global Fairness Summary Our Contribution We investigate the problem of model checking with Global fairness and symmetry reduction prove that symmetry reduction and global fairness can be integrated without extra effort present the combined reduction algorithm based on Tarjan’s strongly connected component algorithm Global fairness and partial order reduction not property preserving Shaojie Zhang, Jun Sun, Jun Pang, Yang Liu, Jin Song Dong State Space Reductions + Global Fairness Assumptions

  7. Background & Motivation Model Checking with Global Fairness Symmetry Reduction & Global Fairness Partial Order Reduction & Global Fairness Summary Table of Contents Background & Motivation 1 Model Checking with Global Fairness 2 Symmetry Reduction & Global Fairness 3 Basic Ideas for Proofs Algorithm Experiment & Evaluation Partial Order Reduction & Global Fairness 4 Partial Order Reduction Disproof Shaojie Zhang, Jun Sun, Jun Pang, Yang Liu, Jin Song Dong State Space Reductions + Global Fairness Assumptions

  8. Background & Motivation Model Checking with Global Fairness Symmetry Reduction & Global Fairness Partial Order Reduction & Global Fairness Summary Model & Logic Labeled Kripke structure : Kripke structure + labeled transition system State/event linear temporal logic ✷ ( d ⇒ ✸ ( x > 1 )) x=0;y=0 x=0;y=0 d 0 4 a c c e g g 2 1 3 5 6 d a x=2;y=2 x=1; y=2 x=1;y=1 x=1;y=1 x=0;y=5 Shaojie Zhang, Jun Sun, Jun Pang, Yang Liu, Jin Song Dong State Space Reductions + Global Fairness Assumptions

  9. Background & Motivation Model Checking with Global Fairness Symmetry Reduction & Global Fairness Partial Order Reduction & Global Fairness Summary Fairness Constraints Weak fairness: if an event becomes enabled forever after some steps, then it must be engaged infinitely often. Strong fairness: if an event is infinitely often enabled, it must infinitely often occur. x=0;y=0 x=0;y=0 d 0 4 a c c e g g 2 1 3 5 6 d a x=2;y=2 x=1; y=2 x=1;y=1 x=1;y=1 x=0;y=5 Global fairness: if a transition (from s to s ′ by engaging in event e ) can be taken infinitely often, then it must actually be taken infinitely often. a a a c 1 0 2 1 0 2 b b b a (b) (a) Shaojie Zhang, Jun Sun, Jun Pang, Yang Liu, Jin Song Dong State Space Reductions + Global Fairness Assumptions

  10. Background & Motivation Model Checking with Global Fairness Symmetry Reduction & Global Fairness Partial Order Reduction & Global Fairness Summary Fairness Model Checking Algorithm On-the-fly model checking based on Tarjan’s algorithm for identifying SCC Tarjan’s algorithm to search for SCCs. Check different fairness inside the found SCCs. model checking with global fairness can be reduced to the problem of searching for a terminal SCC which fails the given property [2]. An SCC fails a liveness property φ ⇔ a run which reaches any state in the SCC and infinitely often traverses through all states and transitions of the SCC fails. x=0;y=0 x=0;y=0 d 0 4 a c c e g g 2 1 3 5 6 d a x=2;y=2 x=1; y=2 x=1;y=1 x=1;y=1 x=0;y=5 Shaojie Zhang, Jun Sun, Jun Pang, Yang Liu, Jin Song Dong State Space Reductions + Global Fairness Assumptions

  11. Background & Motivation Model Checking with Global Fairness Basic Ideas for Proofs Symmetry Reduction & Global Fairness Algorithm Partial Order Reduction & Global Fairness Experiment & Evaluation Summary Table of Contents Background & Motivation 1 Model Checking with Global Fairness 2 Symmetry Reduction & Global Fairness 3 Basic Ideas for Proofs Algorithm Experiment & Evaluation Partial Order Reduction & Global Fairness 4 Partial Order Reduction Disproof Shaojie Zhang, Jun Sun, Jun Pang, Yang Liu, Jin Song Dong State Space Reductions + Global Fairness Assumptions

  12. Background & Motivation Model Checking with Global Fairness Basic Ideas for Proofs Symmetry Reduction & Global Fairness Algorithm Partial Order Reduction & Global Fairness Experiment & Evaluation Summary We have: L � gf φ if and only if there does not exist a terminal SCC S in L such that S fails φ . There exists a run p = � s 0 , a 0 , s 1 , a 1 , · · · � in L if and only if there exists a run q = � r 0 , a 0 , r 1 , a 1 , · · · � in L G such that r i = rep ( s i ) for all i [3]. There exists an accepting loop in the product of L and B which satisfies global fairness if and only if there also exists an accepting loop in the product of L G and B which satisfies global fairness. In the product of L (resp. L G ) and B , there exists an accepting loop which satisfies global fairness if and only if there exists an accepting SCC which is also a terminal SCC in L (resp. L G ). We need to prove: L � gf φ if and only if L G � gf φ . Shaojie Zhang, Jun Sun, Jun Pang, Yang Liu, Jin Song Dong State Space Reductions + Global Fairness Assumptions

  13. Background & Motivation Model Checking with Global Fairness Basic Ideas for Proofs Symmetry Reduction & Global Fairness Algorithm Partial Order Reduction & Global Fairness Experiment & Evaluation Summary We have: L � gf φ if and only if there does not exist a terminal SCC S in L such that S fails φ . There exists a run p = � s 0 , a 0 , s 1 , a 1 , · · · � in L if and only if there exists a run q = � r 0 , a 0 , r 1 , a 1 , · · · � in L G such that r i = rep ( s i ) for all i [3]. There exists an accepting loop in the product of L and B which satisfies global fairness if and only if there also exists an accepting loop in the product of L G and B which satisfies global fairness. In the product of L (resp. L G ) and B , there exists an accepting loop which satisfies global fairness if and only if there exists an accepting SCC which is also a terminal SCC in L (resp. L G ). We need to prove: L � gf φ if and only if L G � gf φ . Shaojie Zhang, Jun Sun, Jun Pang, Yang Liu, Jin Song Dong State Space Reductions + Global Fairness Assumptions

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend