SLIDE 1 Decidability of branching bisimulation on normed commutative context-free graphs
W
Piotr Hofman Sławomir Lasota University of W arsaw
SLIDE 2
Problem
SLIDE 3
Problem
Given: infinite graph G, two vertices u, v
SLIDE 4
Problem
Given: infinite graph G, two vertices u, v (G - normed commutative context-free graph)
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
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
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
Outline
SLIDE 9 Outline
- Commutative context-free graphs
SLIDE 10 Outline
- Commutative context-free graphs
- Bisimulation equivalence
SLIDE 11 Outline
- Commutative context-free graphs
- Bisimulation equivalence
- Ideas of the proof
SLIDE 12
context-free grammars Commutative
SLIDE 13
context-free grammars
X XCBC a
Commutative
SLIDE 14
context-free grammars
X XCBC Greibach normal form a
Commutative
SLIDE 15
context-free grammars
X XCBC Greibach normal form a
Commutative
SLIDE 16
context-free grammars
X XCBC Greibach normal form a B C b c X BC a ε ε
Commutative
SLIDE 17
context-free grammars
X XCBC Greibach normal form a B C b c X BC a ε ε
Commutative
SLIDE 18
context-free grammars
X Greibach normal form a B C b c X BC a ε ε
Commutative
XBC2
SLIDE 19
context-free grammars
X Greibach normal form a B C b c X BC a ε ε
Commutative
X XBC2
SLIDE 20
context-free grammars
X Greibach normal form a B C b c X BC a ε ε
Commutative
X XBC2 a XBC2
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
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
Commutative context-free graphs
X a B C b c X BC a ε ε XBC2
SLIDE 24 Commutative context-free graphs
X3B7C4
X a B C b c X BC a ε ε XBC2
SLIDE 25 Commutative context-free graphs
X3B7C4 X3B8C6
a X a B C b c X BC a ε ε XBC2
SLIDE 26 Commutative context-free graphs
X3B7C4 X2B8C5
a
X3B8C6
a X a B C b c X BC a ε ε XBC2
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 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 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 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 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
Normed grammars
SLIDE 33
Normed grammars
X a B C b c X BC a ε ε XBC2
SLIDE 34
Normed grammars
variable X normed ⇔ L(X) ≠ ∅ X a B C b c X BC a ε ε XBC2
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
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
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
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
Process rewrite systems
SLIDE 40
Process rewrite systems
commutative context-free graphs (BPP)
SLIDE 41
Process rewrite systems
commutative context-free graphs (BPP) Petri Nets
SLIDE 42
Process rewrite systems
commutative context-free graphs (BPP) Petri Nets
⊆
SLIDE 43
Process rewrite systems
commutative context-free graphs (BPP) Petri Nets context-free graphs (BPA)
⊆
SLIDE 44
Process rewrite systems
commutative context-free graphs (BPP) Petri Nets context-free graphs (BPA)
⊆
FS
SLIDE 45
Process rewrite systems
commutative context-free graphs (BPP) Petri Nets context-free graphs (BPA)
⊆
FS
⊆
SLIDE 46
Process rewrite systems
commutative context-free graphs (BPP) Petri Nets context-free graphs (BPA)
⊆
FS
⊆ ⊆
SLIDE 47
Process rewrite systems
commutative context-free graphs (BPP) Petri Nets context-free graphs (BPA) PDA
⊆
FS
⊆ ⊆
SLIDE 48
Process rewrite systems
commutative context-free graphs (BPP) Petri Nets context-free graphs (BPA) PDA
⊆ ⊆
FS
⊆ ⊆
SLIDE 49
Strong bisimilarity
SLIDE 50
Strong bisimilarity
SLIDE 51
a
Strong bisimilarity
SLIDE 52
a a
Strong bisimilarity
SLIDE 53
a a
Strong bisimilarity
SLIDE 54
W eak bisimilarity
SLIDE 55
W eak bisimilarity
SLIDE 56
W eak bisimilarity
a
SLIDE 57
W eak bisimilarity
a
SLIDE 58
W eak bisimilarity
a
SLIDE 59
W eak bisimilarity
a a
SLIDE 60
W eak bisimilarity
a a
SLIDE 61
W eak bisimilarity
a a
SLIDE 62
W eak bisimilarity
a a
SLIDE 63
Long-standing open problem
SLIDE 64 Long-standing open problem
- Given: commutative context-free graph G,
two vertices u, v
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 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 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 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
e solve a slight modification (branching bisimulation)
SLIDE 69
Branching bisimilarity
SLIDE 70
Branching bisimilarity
SLIDE 71
Branching bisimilarity
a
SLIDE 72
Branching bisimilarity
a a
SLIDE 73
Branching bisimilarity
a a
SLIDE 74
Branching bisimilarity
a a
SLIDE 75
Branching bisimilarity
a a
SLIDE 76
Main result
SLIDE 77
Main result
Branching bisimulation on commutative context-free graphs is decidable
SLIDE 78
Algorithm for strong bisimulation
SLIDE 79 Algorithm for strong bisimulation
- Key property: image finiteness
SLIDE 80 Algorithm for strong bisimulation
- Key property: image finiteness
finite Duplicator
SLIDE 81 Algorithm for strong bisimulation
- Key property: image finiteness
- Two semi-decision procedures:
finite Duplicator
SLIDE 82 Algorithm for strong bisimulation
- Key property: image finiteness
- Two semi-decision procedures:
- one looking for positive witness
finite Duplicator
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
Positive semi-procedure
SLIDE 85 Positive semi-procedure
- Every congruence in Nk is semilinear
SLIDE 86 Positive semi-procedure
- Every congruence in Nk is semilinear
- Strong bisimilarity is a congruence
SLIDE 87 Positive semi-procedure
- Every congruence in Nk is semilinear
- Strong bisimilarity is a congruence
- Procedure: enumerate all semilinear relations
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
Negative semi-procedure
SLIDE 90 Negative semi-procedure
- Search for a Spoiler’s winning
strategy
SLIDE 91 Negative semi-procedure
- Search for a Spoiler’s winning
strategy Spoiler Duplicator Spoiler . . . . . . . .
SLIDE 92 Negative semi-procedure
- Search for a Spoiler’s winning
strategy
- Difficulty: it has to be finite
Spoiler Duplicator Spoiler . . . . . . . .
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 Negative semi-procedure
- Search for a Spoiler’s winning
strategy
- Difficulty: it has to be finite
- Strategy is winning: every path
finite
ree is finitely-branching Spoiler Duplicator Spoiler . . . . . . . .
SLIDE 95 Negative semi-procedure
- Search for a Spoiler’s winning
strategy
- Difficulty: it has to be finite
- Strategy is winning: every path
finite
ree is finitely-branching
- By König’s Lemma the tree is
finite Spoiler Duplicator Spoiler . . . . . . . .
SLIDE 96
Idea of the algorithm
SLIDE 97 Idea of the algorithm
- Branching bisimilarity is essentially image
finite
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
Small response property
SLIDE 100
Small response property
α β
SLIDE 101
Small response property
a α β α’
SLIDE 102
Small response property
a a α β α’ β’
SLIDE 103
Small response property
a a α β α’ β’
SLIDE 104
Small response property
a a α β α’ β’ size(β’) ≤ C size(α’)
SLIDE 105
Small response property
a a α β α’ β’ size(β’) ≤ C size(α’) C efectively computed
SLIDE 106
Branching vs weak
SLIDE 107
Branching vs weak
Everything except one case works fine
SLIDE 108
Further work
SLIDE 109 Further work
- Complexity of the problem
SLIDE 110 Further work
- Complexity of the problem
- W
eak bisimulation
SLIDE 111 Further work
- Complexity of the problem
- W
eak bisimulation
- Context-free graphs (BPA)
SLIDE 112 Further work
- Complexity of the problem
- W
eak bisimulation
- Context-free graphs (BPA)
Thank you!