Asymmetry and 3-Valued Symmetry Reduction Course Project of CSC 2108H, 2003 Ou Wei Yong Yuan Department of Computer Science, University of Toronto, 2004.

Slides:



Advertisements
Similar presentations
1 Abstraction (Cont’d) Defining an Abstract Domain variable elimination, data abstraction, predicate abstraction Abstraction for Universal/Existential.
Advertisements

Tintu David Joy. Agenda Motivation Better Verification Through Symmetry-basic idea Structural Symmetry and Multiprocessor Systems Mur ϕ verification system.
Cayley’s Theorem & Automorphisms (10/16) Cayley’s Theorem. Every group is isomorphic to some permutation group. This says that in some sense permutation.
Tutorial I – An Introduction to Model Checking Peng WU INRIA Futurs LIX, École Polytechnique.
Possible World Semantics for Modal Logic
Algorithmic Software Verification VII. Computation tree logic and bisimulations.
CS 267: Automated Verification Lecture 8: Automata Theoretic Model Checking Instructor: Tevfik Bultan.
Partial Order Reduction: Main Idea
Introduction to Formal Methods for SW and HW Development 09: SAT Based Abstraction/Refinement in Model-Checking Roberto Sebastiani Based on work and slides.
Verification of Evolving Software Natasha Sharygina Joint work with Sagar Chaki and Nishant Sinha Carnegie Mellon University.
An Introduction to the Model Verifier verds Wenhui Zhang September 15 th, 2010.
François Fages MPRI Bio-info 2006 Formal Biology of the Cell Modeling, Computing and Reasoning with Constraints François Fages, Constraints Group, INRIA.
François Fages MPRI Bio-info 2007 Formal Biology of the Cell Inferring Reaction Rules from Temporal Properties François Fages, Constraint Programming Group,
Hybrid Systems Presented by: Arnab De Anand S. An Intuitive Introduction to Hybrid Systems Discrete program with an analog environment. What does it mean?
1 Partial Order Reduction. 2 Basic idea P1P1 P2P2 P3P3 a1a1 a2a2 a3a3 a1a1 a1a1 a2a2 a2a2 a2a2 a2a2 a3a3 a3a3 a3a3 a3a3 a1a1 a1a1 3 independent processes.
LDK R Logics for Data and Knowledge Representation Modal Logic Originally by Alessandro Agostini and Fausto Giunchiglia Modified by Fausto Giunchiglia,
Possibilistic and probabilistic abstraction-based model checking Michael Huth Computing Imperial College London, United Kingdom.
1 Model Checking, Abstraction- Refinement, and Their Implementation Based on slides by: Orna Grumberg Presented by: Yael Meller June 2008.
CSE115/ENGR160 Discrete Mathematics 04/12/11 Ming-Hsuan Yang UC Merced 1.
Interpolants [Craig 1957] G(y,z) F(x,y)
Solving Partial Order Constraints for LPO termination.
Witness and Counterexample Li Tan Oct. 15, 2002.
1 2-Valued and 3-Valued Abstraction- Refinement Frameworks for Model Checking Orna Grumberg Technion Haifa, Israel Tutorials at ATVA, 2009.
¹ -Calculus Based on: “Model Checking”, E. Clarke and O. Grumberg (ch. 6, 7) “Symbolic Model Checking: 10^20 States and Beyond”, Burch, Clark, et al “Introduction.
Review of the automata-theoretic approach to model-checking.
ESE601: Hybrid Systems Introduction to verification Spring 2006.
Witness and Counterexample Li Tan Oct. 15, 2002.
1 Formal Engineering of Reliable Software LASER 2004 school Tutorial, Lecture1 Natasha Sharygina Carnegie Mellon University.
Model Checking LTL over (discrete time) Controllable Linear System is Decidable P. Tabuada and G. J. Pappas Michael, Roozbeh Ph.D. Course November 2005.
Verification technique on SA applications using Incremental Model Checking 컴퓨터학과 신영주.
1 Automatic Non-interference Lemmas for Parameterized Model Checking Jesse Bingham, Intel DEG FMCAD 2008.
10/19/2015COSC , Lecture 171 Real-Time Systems, COSC , Lecture 17 Stefan Andrei.
Permutation Groups Part 1. Definition A permutation of a set A is a function from A to A that is both one to one and onto.
On Reducing the Global State Graph for Verification of Distributed Computations Vijay K. Garg, Arindam Chakraborty Parallel and Distributed Systems Laboratory.
1 Bisimulations as a Technique for State Space Reductions.
Rewriting Logic Model of Compositional Abstraction of Aspect-Oriented Software FOAL '10Mar. 15, 2010 Yasuyuki Tahara, Akihiko Ohsuga The University of.
I-Neighbourhood Abstraction in Graph Transformation Arend Rensink University of Twente Based on work with: Jörg Bauer, Iovka Boneva, Dino Distefano, Marcus.
LDK R Logics for Data and Knowledge Representation Modal Logic Originally by Alessandro Agostini and Fausto Giunchiglia Modified by Fausto Giunchiglia,
Lecture 81 Optimizing CTL Model checking + Model checking TCTL CS 5270 Lecture 9.
Formal verification of skiplist algorithms Student: Trinh Cong Quy Supervisor: Bengt Jonsson Reviewer: Parosh Abdulla.
1 Checking Interaction Consistency in MARMOT Component Refinements Yunja Choi School of Electrical Engineering and Computer Science Kyungpook National.
BART VANLUYTEN, JAN C. WILLEMS, BART DE MOOR 44 th IEEE Conference on Decision and Control December 2005 Model Reduction of Systems with Symmetries.
Model Minimization in Hierarchical Reinforcement Learning Balaraman Ravindran Andrew G. Barto Autonomous Learning Laboratory.
1 Symmetry Symmetry Chapter 14 from “Model Checking” by Edmund M. Clarke Jr., Orna Grumberg, and Doron A. Peled presented by Anastasia Braginsky March.
1 Networks of TA; Specification Logic; Case Studies CS5270, P.S. Thiagarajan.
SAT-Based Model Checking Without Unrolling Aaron R. Bradley.
1 CSEP590 – Model Checking and Automated Verification Lecture outline for July 9, 2003.
1 Temporal logic. 2 Prop. logic: model and reason about static situations. Example: Are there truth values that can be assigned to x,y simultaneously.
Math 3121 Abstract Algebra I Lecture 14 Sections
Bounded Model Checking A. Biere, A. Cimatti, E. Clarke, Y. Zhu, Symbolic Model Checking without BDDs, TACAS’99 Presented by Daniel Choi Provable Software.
Binary Relations Definition: A binary relation R from a set A to a set B is a subset R ⊆ A × B. Example: Let A = { 0, 1,2 } and B = {a,b} {( 0, a), (
3-Valued Abstraction and 3-Valued Model-Checking.
LDK R Logics for Data and Knowledge Representation Modal Logic: exercises Originally by Alessandro Agostini and Fausto Giunchiglia Modified by Fausto Giunchiglia,
LDK R Logics for Data and Knowledge Representation Modal Logic: exercises Originally by Alessandro Agostini and Fausto Giunchiglia Modified by Fausto Giunchiglia,
6/12/20161 a.a.2015/2016 Prof. Anna Labella Formal Methods in software development.
Counterexample-Guided Abstraction Refinement By Edmund Clarke, Orna Grumberg, Somesh Jha, Yuan Lu, and Helmut Veith Presented by Yunho Kim Provable Software.
Complexity of Compositional Model Checking of Computation Tree Logic on Simple Structures Krishnendu Chatterjee Pallab Dasgupta P.P. Chakrabarti IWDC 2004,
CENG 424-Logic for CS Introduction Based on the Lecture Notes of Konstantin Korovin, Valentin Goranko, Russel and Norvig, and Michael Genesereth.
Logics for Data and Knowledge Representation
Formal methods: Lecture
CIS 842: Specification and Verification of Reactive Systems
Information Technology Department
Formal Methods in software development
Computer Security: Art and Science, 2nd Edition
Translating Linear Temporal Logic into Büchi Automata
Introduction to verification
Formal Methods in software development
Formal Methods in software development
Combinations of Functions
Model Checking Graph Grammars
Presentation transcript:

Asymmetry and 3-Valued Symmetry Reduction Course Project of CSC 2108H, 2003 Ou Wei Yong Yuan Department of Computer Science, University of Toronto, 2004

Presentation Outline Introduction Background Component Symmetry Symmetry Reduction in 3-Valued Models Related Work

PqPq S1S1  P  q S3S3  p q S5S5  P  q S4S4 PqPq S2S2 P qP q S0S0 TM MT P=T q=M S0S0 P=M q=T S5S5 P=F q=F S4S4 S3S3 P=T q=T S1S1 S2S2 M M T T Introduction Extended symmetry reduction to handle asymmetric system –Defined component symmetry with weaker constraints Developed symmetry reduction to 3-valued models

S5S5 S4S4 S2S2 S3S3 A Permutation σon a set S –bijectionσ: S  S –Cyclic notation. e.g., (1 5 2)(4 3) denotes 1  5, 5  2, 2  1, 4  3, 3  4 Automorphism of a Kripke structure M = (S, s 0, R, L) –The permutation that preserves all the transition relations –Formally, –Example: Background S1S1 S2S2 S3S3 S4S4 S5S5 S1S1 σ = (s2, s3)(s4, s5)

Orbit –Orbit of a state s: –Intuitively, the set of the states that can be reached from the state s by applying a permutation –A representative state can be chosen from orbit, denoted by rep(θ(s)) A permutation σ of Kripke structure M = (S, s 0, R, L) is an invariance permutation for an atomic proposition p iff (  s  S)( p  L(s)  p  L(σ(s))

Quotient Structure –Given a Kripke structure M = (S, s 0, R, L), and a permutation group G on S, the Quotient Structure M G = (S G, S 0 G, R G, L G ) S G = {θ(s) | s  S } S 0 G = θ(s 0 ) R G  S G X S G and  s  S,  t  S,(θ(s), θ(t))  R G iff (  s’  θ(s))(  t’  θ(t)) (s’, t’)  R L G (θ(s)) = L(rep(θ(s)))

Inspiration To Component Symmetry The existential abstraction and the universal abstraction on the set of orbits M G is bisimilar to M if the following condition holds:

Component Symmetry Definition –A permutation σ of a Kripke structure M = (S, s o, R, L) is called a component symmetry of M if and only if the following condition holds :

P=T q=M S0S0 P  q S0S0 PqPq S0S0 P=M q=T S5S5  p q S5S5 pqpq S5S5 P=F q=F S3S3  P  q S3S3 S3S3 Example of Component Symmetry σ = (s 1, s 2 )(s 3, s 4 ), G = = {σ, I} P=F q=F S4S4 P=T q=T S1S1 S2S2 PqPq S1S1 PqPq S2S2  P  q S4S4 1.(σ(s 1 ), σ 2 (s 4 )) = (s 2, s 4 ) 2.(σ(s 2 ), σ 2 (s 4 )) = (s 2, s 4 ) 3.Orbits: {s 1, s 2 }, {s 3, s 4 }, {s 0 }, {s 5 } PqPq S1S1

Properties of Component Symmetry Given a Model M = (S, s 0, R, L) with AP as a set of atomic propositions, G is a component symmetry group of M If G is an invariance group for all the propositions in AP, M G, ComSym is bisimilar to M If G is an invariance group for a temporal logic formula φ, then we can verify φ in M G, ComSym. Formally,

Component Symmetry Generated Group G is component symmetry generated group of a Kripke structure M = (S, s 0, R, L) if and only if G =, where σ i (1 <= i <= k) is a component symmetry of M. The composition σ = σ m σ n may not be a component symmetry permutation. However, the reduced structure M G, ComSymGen is still bisimilar to M

Symmetry Reduction on 3-Valued Models Automorphism-based 3-valued symmetry reduction Component-symmetry-based 3-valued symmetry reduction Relation of symmetry reduction and 3-valued model reduction

Automorphism-based 3-Value Symmetry Reduction Invariance group for 3-valued model Automorphism

Quotient Structure For 3-Valued Model Quotient Structure –S G = {θ(s) | s  S } –S 0 G = θ(s 0 ) –R G : S G X S G  { , M,  } and  s  S,  t  S, R G (θ(s), θ(t))   iff (  s’  θ(s))(  t’  θ(t)) R(s’, t’) =  (1) R G (θ(s), θ(t))  M iff (1) is false and (  s’  θ(s))(  t’  θ(t)) R(s’, t’) = M (2) R G (θ(s), θ(t))   iff both(1) and (2) are false –L G : S G x AP  { , M,  } is defined as : (  s  S)(  p  AP) L G (θ(s), p)  L(rep(θ(s)), p)

Properties of 3-valued Symmetry Reduction Given a 3-valued model M = (S, s 0, R, L) with AP as a set of atomic propositions, G is an automorphism group of M If G is an invariance group for all the propositions in AP, M and M G refine each other. That is, M  ref M G and M G  ref M If G is an invariance group for a temporal logic formula φ, then we can verify φ in M G. Formally,

Component Symmetry on 3-Valued Model Definition –A permutation σ of a 3-valued Kripke structure M = (S, s o, R, L) is called a component symmetry of M if and only if the following condition holds :

Properties of 3-valued Symmetry Reduction Given a 3-valued model M = (S, s 0, R, L) with AP as a set of atomic propositions, G is a component symmetry of M If G is an invariance group for all the propositions in AP, M and M G refine each other. That is, M  ref M G and M G  ref M If G is an invariance group for a temporal logic formula φ, then we can verify φ in M G. Formally,

Example P=T q=M S0S0 P=M q=T S5S5 P=F q=F S4S4 S3S3 P=T q=T S1S1 S2S2 M M M M T T T T P=T q=M a0a0 P=M q=T a3a3 P=F q=F a2a2 P=T q=T a1a1 M T TT σ = (s1, s2)(s3, s4), G = = {σ, I } M MGMG

Symmetry and 3-Valued Model Reduction P=T q=F S0S0 P=F q=T S5S5 P=F q=F S4S4 S3S3 P=T q=T S1S1 S2S2 T T T T S0S0 S5S5 P=F q=F S4S4 S3S3 P=T q=T S1S1 S2S2 T T T T T T T T MM MMMM

P=T q=F a0a0 P=F q=T a3a3 P=F q=F a2a2 P=T q=T a1a1 T TT a0a0 P=M q=T a3a3 P=F q=F a2a2 P=T q=T a1a1 T T TT MGMG MGMMGM P=T q=M a0a0 P=M q=T a3a3 P=F q=F a2a2 P=T q=T a1a1 M T TT Combination of M G  and M G  M

Let M = (S, s 0, R, L) be a 3-valued Kripke structure with AP as a set of atomic propositions. Let G be an component symmetry group of M, and M G be the quotient structure induced by G. If G is an invariance group for all atomic propositions in AP, then M G is the combination of the quotient structures induced by G on M  and M  M. Relation of Symmetry Reduction and 3- Valued Model Reduction

Related Work Virtual Symmetry (Emerson et al) –Let M = (S, R) be a structure, and G be a group acting on S. M G = (S G, R G ) is the symmetrization of M by G where S G = S, and R G = {(σ(s), σ(t)) | σ  G and (s, t)  R} –M is virtually symmetric w.r.t G if (  (s, t)  R G )(  σ  G)(s, σ(t))  R

Thank you!