Decidability of branching bisimulation on normed commutative context - - PowerPoint PPT Presentation

decidability of branching bisimulation on normed
SMART_READER_LITE
LIVE PREVIEW

Decidability of branching bisimulation on normed commutative context - - PowerPoint PPT Presentation

Decidability of branching bisimulation on normed commutative context - free graphs W ojciech Czerwi ski Piotr Hofman S awomir Lasota University of W arsaw Problem Problem Given: infinite graph G, two vertices u, v Problem Given:


slide-1
SLIDE 1

Decidability of branching bisimulation on normed commutative context-free graphs

W

  • jciech Czerwiński

Piotr Hofman Sławomir Lasota University of W arsaw

slide-2
SLIDE 2

Problem

slide-3
SLIDE 3

Problem

Given: infinite graph G, two vertices u, v

slide-4
SLIDE 4

Problem

Given: infinite graph G, two vertices u, v (G - normed commutative context-free graph)

slide-5
SLIDE 5

Problem

Given: infinite graph G, two vertices u, v Question: is u equivalent to v? (G - normed commutative context-free graph)

slide-6
SLIDE 6

Problem

Given: infinite graph G, two vertices u, v Question: is u equivalent to v? (G - normed commutative context-free graph) (branching bisimulation equivalent)

slide-7
SLIDE 7

Problem

Given: infinite graph G, two vertices u, v Question: is u equivalent to v? Our result: the problem is decidable (G - normed commutative context-free graph) (branching bisimulation equivalent)

slide-8
SLIDE 8

Outline

slide-9
SLIDE 9

Outline

  • Commutative context-free graphs
slide-10
SLIDE 10

Outline

  • Commutative context-free graphs
  • Bisimulation equivalence
slide-11
SLIDE 11

Outline

  • Commutative context-free graphs
  • Bisimulation equivalence
  • Ideas of the proof
slide-12
SLIDE 12

context-free grammars Commutative

slide-13
SLIDE 13

context-free grammars

X XCBC a

Commutative

slide-14
SLIDE 14

context-free grammars

X XCBC Greibach normal form a

Commutative

slide-15
SLIDE 15

context-free grammars

X XCBC Greibach normal form a

Commutative

slide-16
SLIDE 16

context-free grammars

X XCBC Greibach normal form a B C b c X BC a ε ε

Commutative

slide-17
SLIDE 17

context-free grammars

X XCBC Greibach normal form a B C b c X BC a ε ε

Commutative

slide-18
SLIDE 18

context-free grammars

X Greibach normal form a B C b c X BC a ε ε

Commutative

XBC2

slide-19
SLIDE 19

context-free grammars

X Greibach normal form a B C b c X BC a ε ε

Commutative

X XBC2

slide-20
SLIDE 20

context-free grammars

X Greibach normal form a B C b c X BC a ε ε

Commutative

X XBC2 a XBC2

slide-21
SLIDE 21

context-free grammars

X Greibach normal form a B C b c X BC a ε ε

Commutative

X XBC2 a b XC2 XBC2

slide-22
SLIDE 22

context-free grammars

X Greibach normal form a B C b c X BC a ε ε

Commutative

X XBC2 a b XC2 a BC3 XBC2

slide-23
SLIDE 23

Commutative context-free graphs

X a B C b c X BC a ε ε XBC2

slide-24
SLIDE 24

Commutative context-free graphs

X3B7C4

X a B C b c X BC a ε ε XBC2

slide-25
SLIDE 25

Commutative context-free graphs

X3B7C4 X3B8C6

a X a B C b c X BC a ε ε XBC2

slide-26
SLIDE 26

Commutative context-free graphs

X3B7C4 X2B8C5

a

X3B8C6

a X a B C b c X BC a ε ε XBC2

slide-27
SLIDE 27

Commutative context-free graphs

X3B7C4 X2B8C5

a

X3B8C6

a

X3B6C4

b X a B C b c X BC a ε ε XBC2

slide-28
SLIDE 28

Commutative context-free graphs

X3B7C4 X2B8C5

a

X3B8C6

a

X3B6C4

b

X3B7C3

c X a B C b c X BC a ε ε XBC2

slide-29
SLIDE 29

Commutative context-free graphs

X3B7C4 X2B8C5

a

X3B8C6

a

X3B6C4

b

X3B7C3

c X a B C b c X BC a ε ε XBC2 Multisets over {X, B, C}

slide-30
SLIDE 30

Commutative context-free graphs

X3B7C4 X2B8C5

a

X3B8C6

a

X3B6C4

b

X3B7C3

c V ertices: points in N3 X a B C b c X BC a ε ε XBC2 Multisets over {X, B, C}

slide-31
SLIDE 31

Commutative context-free graphs

X3B7C4 X2B8C5

a

X3B8C6

a

X3B6C4

b

X3B7C3

c V ertices: points in N3 X a B C b c X BC a ε ε XBC2 Special kind of Petri Net Multisets over {X, B, C}

slide-32
SLIDE 32

Normed grammars

slide-33
SLIDE 33

Normed grammars

X a B C b c X BC a ε ε XBC2

slide-34
SLIDE 34

Normed grammars

variable X normed ⇔ L(X) ≠ ∅ X a B C b c X BC a ε ε XBC2

slide-35
SLIDE 35

Normed grammars

G normed ⇔ every variable normed variable X normed ⇔ L(X) ≠ ∅ X a B C b c X BC a ε ε XBC2

slide-36
SLIDE 36

Normed grammars

G normed ⇔ every variable normed variable X normed ⇔ L(X) ≠ ∅ X a B C b c X BC a ε ε XBC2 Y YB a

slide-37
SLIDE 37

Normed grammars

G normed ⇔ every variable normed variable X normed ⇔ L(X) ≠ ∅ Our assumption: grammar G is normed X a B C b c X BC a ε ε XBC2 Y YB a

slide-38
SLIDE 38

Normed grammars

G normed ⇔ every variable normed variable X normed ⇔ L(X) ≠ ∅ Our assumption: grammar G is normed X a B C b c X BC a ε ε XBC2 Y YB a

slide-39
SLIDE 39

Process rewrite systems

slide-40
SLIDE 40

Process rewrite systems

commutative context-free graphs (BPP)

slide-41
SLIDE 41

Process rewrite systems

commutative context-free graphs (BPP) Petri Nets

slide-42
SLIDE 42

Process rewrite systems

commutative context-free graphs (BPP) Petri Nets

slide-43
SLIDE 43

Process rewrite systems

commutative context-free graphs (BPP) Petri Nets context-free graphs (BPA)

slide-44
SLIDE 44

Process rewrite systems

commutative context-free graphs (BPP) Petri Nets context-free graphs (BPA)

FS

slide-45
SLIDE 45

Process rewrite systems

commutative context-free graphs (BPP) Petri Nets context-free graphs (BPA)

FS

slide-46
SLIDE 46

Process rewrite systems

commutative context-free graphs (BPP) Petri Nets context-free graphs (BPA)

FS

⊆ ⊆

slide-47
SLIDE 47

Process rewrite systems

commutative context-free graphs (BPP) Petri Nets context-free graphs (BPA) PDA

FS

⊆ ⊆

slide-48
SLIDE 48

Process rewrite systems

commutative context-free graphs (BPP) Petri Nets context-free graphs (BPA) PDA

⊆ ⊆

FS

⊆ ⊆

slide-49
SLIDE 49

Strong bisimilarity

slide-50
SLIDE 50

Strong bisimilarity

slide-51
SLIDE 51

a

Strong bisimilarity

slide-52
SLIDE 52

a a

Strong bisimilarity

slide-53
SLIDE 53

a a

Strong bisimilarity

slide-54
SLIDE 54

W eak bisimilarity

slide-55
SLIDE 55

W eak bisimilarity

slide-56
SLIDE 56

W eak bisimilarity

a

slide-57
SLIDE 57

W eak bisimilarity

a

slide-58
SLIDE 58

W eak bisimilarity

a

slide-59
SLIDE 59

W eak bisimilarity

a a

slide-60
SLIDE 60

W eak bisimilarity

a a

slide-61
SLIDE 61

W eak bisimilarity

a a

slide-62
SLIDE 62

W eak bisimilarity

a a

slide-63
SLIDE 63

Long-standing open problem

slide-64
SLIDE 64

Long-standing open problem

  • Given: commutative context-free graph G,

two vertices u, v

slide-65
SLIDE 65

Long-standing open problem

  • Given: commutative context-free graph G,

two vertices u, v

  • Question: are u and v weak bisimilar?
slide-66
SLIDE 66

Long-standing open problem

  • Given: commutative context-free graph G,

two vertices u, v

  • Question: are u and v weak bisimilar?
  • Open since 90-ties
slide-67
SLIDE 67

Long-standing open problem

  • Given: commutative context-free graph G,

two vertices u, v

  • Question: are u and v weak bisimilar?
  • Open since 90-ties
  • W

e did not solve this

slide-68
SLIDE 68

Long-standing open problem

  • Given: commutative context-free graph G,

two vertices u, v

  • Question: are u and v weak bisimilar?
  • Open since 90-ties
  • W

e did not solve this

  • W

e solve a slight modification (branching bisimulation)

slide-69
SLIDE 69

Branching bisimilarity

slide-70
SLIDE 70

Branching bisimilarity

slide-71
SLIDE 71

Branching bisimilarity

a

slide-72
SLIDE 72

Branching bisimilarity

a a

slide-73
SLIDE 73

Branching bisimilarity

a a

slide-74
SLIDE 74

Branching bisimilarity

a a

slide-75
SLIDE 75

Branching bisimilarity

a a

slide-76
SLIDE 76

Main result

slide-77
SLIDE 77

Main result

Branching bisimulation on commutative context-free graphs is decidable

slide-78
SLIDE 78

Algorithm for strong bisimulation

slide-79
SLIDE 79

Algorithm for strong bisimulation

  • Key property: image finiteness
slide-80
SLIDE 80

Algorithm for strong bisimulation

  • Key property: image finiteness

finite Duplicator

slide-81
SLIDE 81

Algorithm for strong bisimulation

  • Key property: image finiteness
  • Two semi-decision procedures:

finite Duplicator

slide-82
SLIDE 82

Algorithm for strong bisimulation

  • Key property: image finiteness
  • Two semi-decision procedures:
  • one looking for positive witness

finite Duplicator

slide-83
SLIDE 83

Algorithm for strong bisimulation

  • Key property: image finiteness
  • Two semi-decision procedures:
  • one looking for positive witness
  • one looking for negative witness

finite Duplicator

slide-84
SLIDE 84

Positive semi-procedure

slide-85
SLIDE 85

Positive semi-procedure

  • Every congruence in Nk is semilinear
slide-86
SLIDE 86

Positive semi-procedure

  • Every congruence in Nk is semilinear
  • Strong bisimilarity is a congruence
slide-87
SLIDE 87

Positive semi-procedure

  • Every congruence in Nk is semilinear
  • Strong bisimilarity is a congruence
  • Procedure: enumerate all semilinear relations
slide-88
SLIDE 88

Positive semi-procedure

  • Every congruence in Nk is semilinear
  • Strong bisimilarity is a congruence
  • Procedure: enumerate all semilinear relations
  • W
  • rks for weak and branching bisimulation as

well

slide-89
SLIDE 89

Negative semi-procedure

slide-90
SLIDE 90

Negative semi-procedure

  • Search for a Spoiler’s winning

strategy

slide-91
SLIDE 91

Negative semi-procedure

  • Search for a Spoiler’s winning

strategy Spoiler Duplicator Spoiler . . . . . . . .

slide-92
SLIDE 92

Negative semi-procedure

  • Search for a Spoiler’s winning

strategy

  • Difficulty: it has to be finite

Spoiler Duplicator Spoiler . . . . . . . .

slide-93
SLIDE 93

Negative semi-procedure

  • Search for a Spoiler’s winning

strategy

  • Difficulty: it has to be finite
  • Strategy is winning: every path

finite Spoiler Duplicator Spoiler . . . . . . . .

slide-94
SLIDE 94

Negative semi-procedure

  • Search for a Spoiler’s winning

strategy

  • Difficulty: it has to be finite
  • Strategy is winning: every path

finite

  • T

ree is finitely-branching Spoiler Duplicator Spoiler . . . . . . . .

slide-95
SLIDE 95

Negative semi-procedure

  • Search for a Spoiler’s winning

strategy

  • Difficulty: it has to be finite
  • Strategy is winning: every path

finite

  • T

ree is finitely-branching

  • By König’s Lemma the tree is

finite Spoiler Duplicator Spoiler . . . . . . . .

slide-96
SLIDE 96

Idea of the algorithm

slide-97
SLIDE 97

Idea of the algorithm

  • Branching bisimilarity is essentially image

finite

slide-98
SLIDE 98

Idea of the algorithm

  • Branching bisimilarity is essentially image

finite

  • It is enough to inspect only boundedly many

possible Duplicator’s responses

slide-99
SLIDE 99

Small response property

slide-100
SLIDE 100

Small response property

α β

slide-101
SLIDE 101

Small response property

a α β α’

slide-102
SLIDE 102

Small response property

a a α β α’ β’

slide-103
SLIDE 103

Small response property

a a α β α’ β’

slide-104
SLIDE 104

Small response property

a a α β α’ β’ size(β’) ≤ C size(α’)

slide-105
SLIDE 105

Small response property

a a α β α’ β’ size(β’) ≤ C size(α’) C efectively computed

slide-106
SLIDE 106

Branching vs weak

slide-107
SLIDE 107

Branching vs weak

Everything except one case works fine

slide-108
SLIDE 108

Further work

slide-109
SLIDE 109

Further work

  • Complexity of the problem
slide-110
SLIDE 110

Further work

  • Complexity of the problem
  • W

eak bisimulation

slide-111
SLIDE 111

Further work

  • Complexity of the problem
  • W

eak bisimulation

  • Context-free graphs (BPA)
slide-112
SLIDE 112

Further work

  • Complexity of the problem
  • W

eak bisimulation

  • Context-free graphs (BPA)

Thank you!