application of tbds

39
Application of TBDs Technical development Ordered TBDs Operations on ordered TBDs (,,) Reduced ordered TBDs Model checking == Manipulation of TBDs

Upload: farren

Post on 22-Feb-2016

22 views

Category:

Documents


0 download

DESCRIPTION

Application of TBDs. Technical development Ordered TBDs Operations on ordered TBDs ( ,,) Reduced ordered TBDs. M odel checking == Manipulation of TBDs. Ordered TBDs. p 1. p 2. p 3. p n. p n+1. Ordered TBDs. p n+1. - p n+1. u. x. y. z. Example. A. - B. - B. - C. - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Application of TBDs

Application of TBDs

Technical developmentOrdered TBDsOperations on ordered TBDs (,,)Reduced ordered TBDs

Model checking == Manipulation of TBDs

Page 2: Application of TBDs

p2 p3p1

Ordered TBDs

pn pn+1

Page 3: Application of TBDs

Ordered TBDs

-pn+1pn+1 u

y zx

Page 4: Application of TBDs

A

- B - C- B

- CA

D- D

- D

- A

- D

Example

Page 5: Application of TBDs

A

- B - C- B

- CA

D- D

- D

- A

- D

Example

Page 6: Application of TBDs

A

- D - C- B

- DC

D- D

- D

- D

- D

Example

D

Page 7: Application of TBDs

Operations

Negation

Conjunction

Abstraction

s

s

t

sx

Page 8: Application of TBDs

Negation

u

y zx

- u

y zx

Page 9: Application of TBDs

Conjunction

pn+1

u

u

Page 10: Application of TBDs

Conjunction

- pn+1

u

- pn+1

Page 11: Application of TBDs

Conjunction

a

y zx

a

y’ z’x’

a

y zxy’ z’x’

Page 12: Application of TBDs

Conjunction

- a

y zx

- a

y’ z’x’

- a

pn+1xz

x’z’

yz

y’z’

Page 13: Application of TBDs

Conjunction

a

y zx

- a

y’ z’x’

- a

zxx’z’

yy’z’

Page 14: Application of TBDs

Conjunction

a

y zx

b/-b

y’ z’x’

a

zx yb/-b

Page 15: Application of TBDs

Conjunction

- a

y zx

b/-b

y’ z’x’

a

zx yb/-bb/-bb/-b

Page 16: Application of TBDs

Abstraction

An abstraction of a TBD on a label u =Conjunction of a simplication on –u and a simplication on u

Page 17: Application of TBDs

A

- B - C- B

- CA

D- D

- D

- A

- D

Simplification on a Label u/-u

Select all non-terminal nodes labeled with singed/unsigned uReplace the selected nodes with a simpler one according to given rules

Page 18: Application of TBDs

Simplification for a node with label u

u

y zx xz

- u

yz

u

Page 19: Application of TBDs

Simplification for a node with label -u

- u

y zx xz

- u

yz

u

Page 20: Application of TBDs

Abstraction on u

Given a TBD.

(1) Make a simplification on –u and a simplification on u(2) Make a conjunction of the two simplifications

zu

Page 21: Application of TBDs

Existential Abstraction on u

zu

Page 22: Application of TBDs

Properties

s1

s2

t2

s1

s1 s2 t1 t2

s2

s1

t1

s2uu

Page 23: Application of TBDs

Observation: comp(s)

spn

::

p1

pn+1

Page 24: Application of TBDs

Quantified Boolean Formulas

Consider formulas with variables p1, p2, …, pn

pi

pi

pn+1 pn+1- pn+1

s st s

x

φ φΨ x. φ

φ is valid comp( ) holds s

Page 25: Application of TBDs

u

y - pn+1x

x

Reduced Ordered TBDs

- pn+1 pn+1

- pn+1 y pn+1

x x y

x y y

y x y

x pn+1

y pn+1

Non-terminal

y pn+1

x>0

Not allowed

Page 26: Application of TBDs

u

T’ - zT

T zT

- z

T

Reduction Rules for u

- z T- z - z

z Tz T

Page 27: Application of TBDs

u

T z- z

Reduction Rules for uu

z T- z

- z zT z T- z

T’ TT T’ Tz

T’ T’T z T’T

Page 28: Application of TBDs

- u

T’ - zT

T zT

z

- T

Reduction Rules for -u

- z T- z z

z Tz - T

Page 29: Application of TBDs

- u

T z- z

Reduction Rules for -u- u

z T- z

- z zT z T- z

T’ TT T’ Tz

T’ T’T z T’T

- u

T zz

u

- T z- zz zT - z z- T

Page 30: Application of TBDs

u

~y - z~x

~y z~x

- u u

- z

~x

- z

~y

Explanation on Some Rules (Semantics)

Page 31: Application of TBDs

u

~y - z~x

- u u

- z - z

Explanation on Some Rules (1)

- y z- x

- y zx

y z- xy zx

- xx

- xx

- y

- yy

y

Page 32: Application of TBDs

u

~y - z~x

- u u

- z - z

Explanation on Some Rules

- y z- x

y zx

- x

x

- y

y

Page 33: Application of TBDs

u

~y - z~x - z

Explanation on Some Rules

- x z- x

x zx

- x

x

-u/u

Page 34: Application of TBDs

u

T’ - zT

T zT

- z

T

Explanation on Some Rules

Page 35: Application of TBDs

u

~y - z~x

- u u

- z - z

Explanation on Some Rules (2)

- y z- x

- y zx

y z- xy zx

- xx

- xx

- y

- yy

y

Page 36: Application of TBDs

u

~y - z~x

- u u

- z - z

Explanation on Some Rules

- y z- x - x - y

y zx x y

Page 37: Application of TBDs

u

~y - z~x

-u/u

- z

Explanation on Some Rules

- x z- x - x

x zx x

Page 38: Application of TBDs

u

T’ - zT

T zT

- z

T

Explanation on Some Rules

- z T- z - z

z Tz T

Page 39: Application of TBDs

Boolean Diagram Model Checking

m variables for representing states2m variables for representing transitions

Let n=2m

Construct a TBD for the formula representing the initial statesConstruct a TBD for the formula representing the transition relation

The rest follows from the CTL model checking techniques