CTL May Be Ambiguous when Model Checking Moore Machines Cdric Roux - - PowerPoint PPT Presentation

ctl may be ambiguous when model checking moore machines
SMART_READER_LITE
LIVE PREVIEW

CTL May Be Ambiguous when Model Checking Moore Machines Cdric Roux - - PowerPoint PPT Presentation

CTL May Be Ambiguous when Model Checking Moore Machines Cdric Roux and Emmanuelle Encrenaz Universit Pierre et Marie Curie Laboratoire dInformatique de Paris 6 Architecture des Systmes Intgrs et Microlectronique Cdric Roux


slide-1
SLIDE 1

Cédric Roux and Emmanuelle Encrenaz − UPMC LIP6 ASIM CHARME 2003

Cédric Roux and Emmanuelle Encrenaz Université Pierre et Marie Curie

Architecture des Systèmes Intégrés et Micro−électronique

CTL May Be Ambiguous when Model Checking Moore Machines

Laboratoire d’Informatique de Paris 6

slide-2
SLIDE 2

1

Modeling versus Verification

Cédric Roux and Emmanuelle Encrenaz − UPMC LIP6 ASIM CHARME 2003

slide-3
SLIDE 3

Cédric Roux and Emmanuelle Encrenaz − UPMC LIP6 ASIM 1 CHARME 2003

Modeling versus Verification

Modeling world

slide-4
SLIDE 4

Cédric Roux and Emmanuelle Encrenaz − UPMC LIP6 ASIM 1 CHARME 2003

Modeling versus Verification

Moore or Mealy machines

Modeling world

slide-5
SLIDE 5

Cédric Roux and Emmanuelle Encrenaz − UPMC LIP6 ASIM 1 CHARME 2003

Modeling versus Verification

Verification world

Moore or Mealy machines

Modeling world

slide-6
SLIDE 6

Cédric Roux and Emmanuelle Encrenaz − UPMC LIP6 ASIM 1 CHARME 2003

Modeling versus Verification

Verification world

Kripke structures Moore or Mealy machines

Modeling world

slide-7
SLIDE 7

Cédric Roux and Emmanuelle Encrenaz − UPMC LIP6 ASIM 1 CHARME 2003

Modeling versus Verification

Verification world

Kripke structures Moore or Mealy machines

Modeling world Translation

slide-8
SLIDE 8

Cédric Roux and Emmanuelle Encrenaz − UPMC LIP6 ASIM 2 CHARME 2003

From Moore to Kripke

slide-9
SLIDE 9

i i i i i i Cédric Roux and Emmanuelle Encrenaz − UPMC LIP6 ASIM 2 CHARME 2003

From Moore to Kripke

slide-10
SLIDE 10

i i i i i i Cédric Roux and Emmanuelle Encrenaz − UPMC LIP6 ASIM CHARME 2003

From Moore to Kripke

3

First translation scheme

slide-11
SLIDE 11

i i i i i i Cédric Roux and Emmanuelle Encrenaz − UPMC LIP6 ASIM CHARME 2003

From Moore to Kripke

Remove the input signals

3

First translation scheme

slide-12
SLIDE 12

i i i i i i Cédric Roux and Emmanuelle Encrenaz − UPMC LIP6 ASIM CHARME 2003

From Moore to Kripke

First translation scheme

Simple

3

Remove the input signals

slide-13
SLIDE 13

i i i i i i Cédric Roux and Emmanuelle Encrenaz − UPMC LIP6 ASIM CHARME 2003

From Moore to Kripke

First translation scheme

Simple Impossible to express properties including input signals Remove the input signals

3

slide-14
SLIDE 14

i i i i i i a b c d e f g Cédric Roux and Emmanuelle Encrenaz − UPMC LIP6 ASIM CHARME 2003

From Moore to Kripke

4

Second translation scheme

slide-15
SLIDE 15

a0 a1 b0 b1 c0 c1 d0 d1 e0 e1 f0 f1 g0 g1 i i i i i i a b c d e f g Cédric Roux and Emmanuelle Encrenaz − UPMC LIP6 ASIM CHARME 2003

From Moore to Kripke

4

Second translation scheme

Input signals into target state of transitions

slide-16
SLIDE 16

a0 a1 b0 b1 c0 c1 d0 d1 e0 e1 f0 f1 g0 g1 i i i i i i a b c d e f g Cédric Roux and Emmanuelle Encrenaz − UPMC LIP6 ASIM CHARME 2003

From Moore to Kripke

4

Second translation scheme

Composition of Moore machines lost Input signals into target state of transitions

slide-17
SLIDE 17

i i i i i i a b c d e f g Cédric Roux and Emmanuelle Encrenaz − UPMC LIP6 ASIM CHARME 2003

From Moore to Kripke

Third translation scheme

5

slide-18
SLIDE 18

i i i i i i a b c d e f g Cédric Roux and Emmanuelle Encrenaz − UPMC LIP6 ASIM CHARME 2003

From Moore to Kripke

Third translation scheme

Input signals into source state of transitions

5 a0 a1 b0 b1 c0 c1 d0 d1 e0 e1 f0 f1 g0 g1

slide-19
SLIDE 19

i i i i i i a b c d e f g Cédric Roux and Emmanuelle Encrenaz − UPMC LIP6 ASIM CHARME 2003

From Moore to Kripke

Third translation scheme

Input signals into source state of transitions

5 a0 a1 b0 b1 c0 c1 d0 d1 e0 e1 f0 f1 g0 g1 We can compose Moore machines

slide-20
SLIDE 20

i i i i i i a b c d e f g Cédric Roux and Emmanuelle Encrenaz − UPMC LIP6 ASIM CHARME 2003

From Moore to Kripke

Third translation scheme

Input signals into source state of transitions

5 a0 a1 b0 b1 c0 c1 d0 d1 e0 e1 f0 f1 g0 g1 We can compose Moore machines This may introduce ambiguities when using CTL

slide-21
SLIDE 21

Cédric Roux and Emmanuelle Encrenaz − UPMC LIP6 ASIM CHARME 2003 6

Possible CTL ambiguities

slide-22
SLIDE 22

Cédric Roux and Emmanuelle Encrenaz − UPMC LIP6 ASIM CHARME 2003 6

Possible CTL ambiguities

Checking the property AX EX p

slide-23
SLIDE 23

Cédric Roux and Emmanuelle Encrenaz − UPMC LIP6 ASIM CHARME 2003 6

Possible CTL ambiguities

a b c e f g i i i i i i

Checking the property AX EX p

d

slide-24
SLIDE 24

states verifying p Cédric Roux and Emmanuelle Encrenaz − UPMC LIP6 ASIM CHARME 2003 6

Possible CTL ambiguities

a b c e f g i i i i i i

Checking the property AX EX p

d

slide-25
SLIDE 25

Cédric Roux and Emmanuelle Encrenaz − UPMC LIP6 ASIM CHARME 2003 6

Possible CTL ambiguities

a b c e f g i i i i i i

Checking the property AX EX p

states verifying EX p d

slide-26
SLIDE 26

Cédric Roux and Emmanuelle Encrenaz − UPMC LIP6 ASIM CHARME 2003 6

Possible CTL ambiguities

a b c e f g i i i i i i

Checking the property AX EX p

states verifying AX EX p d

slide-27
SLIDE 27

Cédric Roux and Emmanuelle Encrenaz − UPMC LIP6 ASIM CHARME 2003 a0 a1 b0 b1 c0 c1 e0 e1 f0 g0 g1 6

Possible CTL ambiguities

Checking the property AX EX p

d0 f1 d1

slide-28
SLIDE 28

states verifying p Cédric Roux and Emmanuelle Encrenaz − UPMC LIP6 ASIM CHARME 2003 a0 a1 b0 b1 c0 c1 d1 e0 e1 f0 g0 g1 6

Possible CTL ambiguities

Checking the property AX EX p

d0 f1

slide-29
SLIDE 29

Cédric Roux and Emmanuelle Encrenaz − UPMC LIP6 ASIM CHARME 2003 a0 a1 b0 b1 c0 c1 d1 e0 e1 f0 f1 g0 g1 6

Possible CTL ambiguities

Checking the property AX EX p

states verifying EX p d0

slide-30
SLIDE 30

Cédric Roux and Emmanuelle Encrenaz − UPMC LIP6 ASIM CHARME 2003 a0 a1 b0 b1 c0 c1 d0 d1 e0 e1 f0 f1 g0 g1 6

Possible CTL ambiguities

Checking the property AX EX p

states verifying AX EX p

slide-31
SLIDE 31

Cédric Roux and Emmanuelle Encrenaz − UPMC LIP6 ASIM CHARME 2003 a0 a1 b0 b1 c0 c1 d0 d1 e0 e1 f0 f1 g0 g1 6

Possible CTL ambiguities

a b c d e f g i i i i i i

Checking the property AX EX p

states verifying AX EX p

slide-32
SLIDE 32

Cédric Roux and Emmanuelle Encrenaz − UPMC LIP6 ASIM CHARME 2003 a0 a1 b0 b1 c0 c1 d0 d1 e0 e1 f0 f1 g0 g1 6

Possible CTL ambiguities

a b c d e f g i i i i i i

Checking the property AX EX p

states verifying AX EX p «AX EX p does not have the same truth value in both structures»

slide-33
SLIDE 33

Cédric Roux and Emmanuelle Encrenaz − UPMC LIP6 ASIM CHARME 2003 7

A first ambiguity

Possible CTL ambiguities

slide-34
SLIDE 34

a0 a1 b0 b1 c0 c1 d1 e0 e1 f0 f1 g0 g1 d0 Cédric Roux and Emmanuelle Encrenaz − UPMC LIP6 ASIM CHARME 2003 a b c e f g i i i i i i states verifying EX p d

A first ambiguity

Possible CTL ambiguities

7

slide-35
SLIDE 35

a0 a1 b0 b1 c0 c1 d1 e0 e1 f0 f1 g0 g1 d0 Cédric Roux and Emmanuelle Encrenaz − UPMC LIP6 ASIM CHARME 2003 a b c e f g i i i i i i states verifying EX p d

A first ambiguity

States b0 and b1 should verify EX p, as state b does

Possible CTL ambiguities

7

slide-36
SLIDE 36

states verifying EX p

E i to remove this ambiguity E i

a0 a1 b0 b1 c0 c1 d1 e0 e1 f0 f1 g0 g1 d0 Cédric Roux and Emmanuelle Encrenaz − UPMC LIP6 ASIM CHARME 2003 a b c e f g i i i i i i d

A first ambiguity

States b0 and b1 should verify EX p, as state b does We introduce

Possible CTL ambiguities

states verifying EX p 7

slide-37
SLIDE 37

Cédric Roux and Emmanuelle Encrenaz − UPMC LIP6 ASIM CHARME 2003

Possible CTL ambiguities

A second ambiguity

8

slide-38
SLIDE 38

states verifying AX EX p Cédric Roux and Emmanuelle Encrenaz − UPMC LIP6 ASIM CHARME 2003 a0 a1 b0 b1 c0 c1 d0 d1 e0 e1 f0 f1 g0 g1

Possible CTL ambiguities

a b c d e f g i i i i i i

A second ambiguity

8

slide-39
SLIDE 39

states verifying AX EX p Cédric Roux and Emmanuelle Encrenaz − UPMC LIP6 ASIM CHARME 2003 a0 a1 b0 b1 c0 c1 d0 d1 e0 e1 f0 f1 g0 g1

Possible CTL ambiguities

a b c d e f g i i i i i i

A second ambiguity

b0 (and b1) should not verify AX EX p, and a0 and a1 should

8

slide-40
SLIDE 40

states verifying AX EX p

A i A i

Cédric Roux and Emmanuelle Encrenaz − UPMC LIP6 ASIM CHARME 2003 a0 a1 b0 b1 c0 c1 d0 d1 e0 e1 f0 f1 g0 g1

Possible CTL ambiguities

a b c d e f g i i i i i i

A second ambiguity

b0 (and b1) should not verify AX EX p, and a0 and a1 should We introduce to remove this ambiguity

states verifying AX EX p 8

slide-41
SLIDE 41

E i A i

Cédric Roux and Emmanuelle Encrenaz − UPMC LIP6 ASIM CHARME 2003

Possible CTL ambiguities

Checking the property AX EX p

9

slide-42
SLIDE 42

E i A i

Cédric Roux and Emmanuelle Encrenaz − UPMC LIP6 ASIM CHARME 2003 a0 a1 b0 b1 c0 c1 d0 d1 e0 e1 f0 f1 g0 g1

Possible CTL ambiguities

Checking the property AX EX p

9

slide-43
SLIDE 43

E i A i

states verifying p Cédric Roux and Emmanuelle Encrenaz − UPMC LIP6 ASIM CHARME 2003 a0 a1 b0 b1 c0 c1 d0 d1 e0 e1 f0 f1 g0 g1

Possible CTL ambiguities

Checking the property AX EX p

9

slide-44
SLIDE 44

E i A i

E i

Cédric Roux and Emmanuelle Encrenaz − UPMC LIP6 ASIM CHARME 2003 a0 a1 b0 b1 c0 c1 d0 d1 e0 e1 f0 f1 g0 g1

Possible CTL ambiguities

Checking the property AX EX p

states verifying EX p 9

slide-45
SLIDE 45

E i A i

A i E i

states verifying AX EX p Cédric Roux and Emmanuelle Encrenaz − UPMC LIP6 ASIM CHARME 2003 a0 a1 b0 b1 c0 c1 d0 d1 e0 e1 f0 g0 g1

Possible CTL ambiguities

Checking the property AX EX p

f1 9

slide-46
SLIDE 46

Cédric Roux and Emmanuelle Encrenaz − UPMC LIP6 ASIM CHARME 2003

Possible CTL ambiguities

Comparison with AX EX p

10

slide-47
SLIDE 47

A i E i

states verifying AX EX p Cédric Roux and Emmanuelle Encrenaz − UPMC LIP6 ASIM CHARME 2003 a0 a1 b0 b1 c0 c1 d0 d1 e0 e1 f0 f1 g0 g1

Possible CTL ambiguities

a b c d e f g i i i i i i

Comparison with AX EX p

states verifying AX EX p 10

slide-48
SLIDE 48

A i E i

states verifying AX EX p Cédric Roux and Emmanuelle Encrenaz − UPMC LIP6 ASIM CHARME 2003 a0 a1 b0 b1 c0 c1 d0 d1 e0 e1 f0 f1 g0 g1

Possible CTL ambiguities

a b c d e f g i i i i i i

Comparison with AX EX p

states verifying AX EX p

The ambiguities have been removed

10

slide-49
SLIDE 49

Cédric Roux and Emmanuelle Encrenaz − UPMC LIP6 ASIM CHARME 2003 11

iCTL

slide-50
SLIDE 50

A i E i

Cédric Roux and Emmanuelle Encrenaz − UPMC LIP6 ASIM CHARME 2003 11

iCTL

Extends CTL with and

slide-51
SLIDE 51

A i E i

Cédric Roux and Emmanuelle Encrenaz − UPMC LIP6 ASIM CHARME 2003 11

iCTL

Extends CTL with and More expressive than CTL

slide-52
SLIDE 52

A i E i

Cédric Roux and Emmanuelle Encrenaz − UPMC LIP6 ASIM CHARME 2003 11

iCTL

Extends CTL with and More expressive than CTL (univ_abstract, exist_abstract) Easily integrable in a symbolic model−checker

slide-53
SLIDE 53

A i E i

Cédric Roux and Emmanuelle Encrenaz − UPMC LIP6 ASIM CHARME 2003 11

iCTL

Extends CTL with and More expressive than CTL (univ_abstract, exist_abstract) Easily integrable in a symbolic model−checker Applicable to Mealy machines

slide-54
SLIDE 54

A i E i

Cédric Roux and Emmanuelle Encrenaz − UPMC LIP6 ASIM CHARME 2003 11

iCTL

Extends CTL with and More expressive than CTL (univ_abstract, exist_abstract) Easily integrable in a symbolic model−checker Applicable to Mealy machines and are not relevant for LTL A i E i

slide-55
SLIDE 55

AX and EX seem similar to [ ] and < > of the mu−calculus A i E i

Cédric Roux and Emmanuelle Encrenaz − UPMC LIP6 ASIM CHARME 2003 11

iCTL

Extends CTL with and More expressive than CTL (univ_abstract, exist_abstract) Easily integrable in a symbolic model−checker Applicable to Mealy machines and are not relevant for LTL * * A i E i A i E i

slide-56
SLIDE 56

AX and EX seem similar to [ ] and < > of the mu−calculus A i E i

Cédric Roux and Emmanuelle Encrenaz − UPMC LIP6 ASIM CHARME 2003 11

iCTL

Extends CTL with and More expressive than CTL (univ_abstract, exist_abstract) Easily integrable in a symbolic model−checker Applicable to Mealy machines and are not relevant for LTL * * A i E i A i E i but what about EX ? A i

slide-57
SLIDE 57

Cédric Roux and Emmanuelle Encrenaz − UPMC LIP6 ASIM CHARME 2003

Thank you