Some open problems in deciding bisimulation equivalence Petr Jan - - PowerPoint PPT Presentation

some open problems in deciding bisimulation equivalence
SMART_READER_LITE
LIVE PREVIEW

Some open problems in deciding bisimulation equivalence Petr Jan - - PowerPoint PPT Presentation

Some open problems in deciding bisimulation equivalence Petr Jan car Dept of Computer Science Technical University Ostrava (FEI V SB-TUO), Czech Republic www.cs.vsb.cz/jancar Open Problems in Concurrency Theory Bertinoro, Italy, 18 21


slide-1
SLIDE 1

Some open problems in deciding bisimulation equivalence

Petr Janˇ car

Dept of Computer Science Technical University Ostrava (FEI Vˇ SB-TUO), Czech Republic www.cs.vsb.cz/jancar

Open Problems in Concurrency Theory Bertinoro, Italy, 18 –21 June, 2014

Petr Janˇ car (TU Ostrava) Deciding bisimulation equivalence Bertinoro, 20 June 2014 1 / 70

slide-2
SLIDE 2

Outline

bisimulation equivalence on labelled transition systems (LTSs)

Petr Janˇ car (TU Ostrava) Deciding bisimulation equivalence Bertinoro, 20 June 2014 2 / 70

slide-3
SLIDE 3

Outline

bisimulation equivalence on labelled transition systems (LTSs) here generated by sequential systems (sorry :-) ):

context-free grammars (BPA processes) pushdown automata (pushdown processes) first-order grammars, or FO-grammars (also pushdown processes)

Petr Janˇ car (TU Ostrava) Deciding bisimulation equivalence Bertinoro, 20 June 2014 2 / 70

slide-4
SLIDE 4

Outline

bisimulation equivalence on labelled transition systems (LTSs) here generated by sequential systems (sorry :-) ):

context-free grammars (BPA processes) pushdown automata (pushdown processes) first-order grammars, or FO-grammars (also pushdown processes)

a line of research started by Baeten, Bergstra, Klop (JACM 1993): bisimilarity decidable for normed BPA

Petr Janˇ car (TU Ostrava) Deciding bisimulation equivalence Bertinoro, 20 June 2014 2 / 70

slide-5
SLIDE 5

Outline

bisimulation equivalence on labelled transition systems (LTSs) here generated by sequential systems (sorry :-) ):

context-free grammars (BPA processes) pushdown automata (pushdown processes) first-order grammars, or FO-grammars (also pushdown processes)

a line of research started by Baeten, Bergstra, Klop (JACM 1993): bisimilarity decidable for normed BPA

the current best time-complexity bound O(n4polylog(n)) (PhD thesis W. Czerwinski 2012).

Petr Janˇ car (TU Ostrava) Deciding bisimulation equivalence Bertinoro, 20 June 2014 2 / 70

slide-6
SLIDE 6

Outline

bisimulation equivalence on labelled transition systems (LTSs) here generated by sequential systems (sorry :-) ):

context-free grammars (BPA processes) pushdown automata (pushdown processes) first-order grammars, or FO-grammars (also pushdown processes)

a line of research started by Baeten, Bergstra, Klop (JACM 1993): bisimilarity decidable for normed BPA

the current best time-complexity bound O(n4polylog(n)) (PhD thesis W. Czerwinski 2012). for (unnormed) BPA in [ ExpTime ... 2-ExpTime ]

Petr Janˇ car (TU Ostrava) Deciding bisimulation equivalence Bertinoro, 20 June 2014 2 / 70

slide-7
SLIDE 7

Outline

bisimulation equivalence on labelled transition systems (LTSs) here generated by sequential systems (sorry :-) ):

context-free grammars (BPA processes) pushdown automata (pushdown processes) first-order grammars, or FO-grammars (also pushdown processes)

a line of research started by Baeten, Bergstra, Klop (JACM 1993): bisimilarity decidable for normed BPA

the current best time-complexity bound O(n4polylog(n)) (PhD thesis W. Czerwinski 2012). for (unnormed) BPA in [ ExpTime ... 2-ExpTime ]

S´ enizergues (SIAM J.Comput 2005): bisimilarity decidable for (an equivalent of) FO-grammars

Petr Janˇ car (TU Ostrava) Deciding bisimulation equivalence Bertinoro, 20 June 2014 2 / 70

slide-8
SLIDE 8

Outline

bisimulation equivalence on labelled transition systems (LTSs) here generated by sequential systems (sorry :-) ):

context-free grammars (BPA processes) pushdown automata (pushdown processes) first-order grammars, or FO-grammars (also pushdown processes)

a line of research started by Baeten, Bergstra, Klop (JACM 1993): bisimilarity decidable for normed BPA

the current best time-complexity bound O(n4polylog(n)) (PhD thesis W. Czerwinski 2012). for (unnormed) BPA in [ ExpTime ... 2-ExpTime ]

S´ enizergues (SIAM J.Comput 2005): bisimilarity decidable for (an equivalent of) FO-grammars

new proof J. ICALP’14 (arxiv.org/abs/1405.7923)

Petr Janˇ car (TU Ostrava) Deciding bisimulation equivalence Bertinoro, 20 June 2014 2 / 70

slide-9
SLIDE 9

Outline

bisimulation equivalence on labelled transition systems (LTSs) here generated by sequential systems (sorry :-) ):

context-free grammars (BPA processes) pushdown automata (pushdown processes) first-order grammars, or FO-grammars (also pushdown processes)

a line of research started by Baeten, Bergstra, Klop (JACM 1993): bisimilarity decidable for normed BPA

the current best time-complexity bound O(n4polylog(n)) (PhD thesis W. Czerwinski 2012). for (unnormed) BPA in [ ExpTime ... 2-ExpTime ]

S´ enizergues (SIAM J.Comput 2005): bisimilarity decidable for (an equivalent of) FO-grammars

new proof J. ICALP’14 (arxiv.org/abs/1405.7923) Ackermann-hard (J. FoSSaCS’14); TOWER-hard when no ε-transitions (Benedikt, G¨

  • ller, Kiefer, Murawski at LiCS’13).

Petr Janˇ car (TU Ostrava) Deciding bisimulation equivalence Bertinoro, 20 June 2014 2 / 70

slide-10
SLIDE 10

Outline

bisimulation equivalence on labelled transition systems (LTSs) here generated by sequential systems (sorry :-) ):

context-free grammars (BPA processes) pushdown automata (pushdown processes) first-order grammars, or FO-grammars (also pushdown processes)

a line of research started by Baeten, Bergstra, Klop (JACM 1993): bisimilarity decidable for normed BPA

the current best time-complexity bound O(n4polylog(n)) (PhD thesis W. Czerwinski 2012). for (unnormed) BPA in [ ExpTime ... 2-ExpTime ]

S´ enizergues (SIAM J.Comput 2005): bisimilarity decidable for (an equivalent of) FO-grammars

new proof J. ICALP’14 (arxiv.org/abs/1405.7923) Ackermann-hard (J. FoSSaCS’14); TOWER-hard when no ε-transitions (Benedikt, G¨

  • ller, Kiefer, Murawski at LiCS’13).

branching bisimilarity (van Glabbeek, Weijland, JACM 1996); recent interesting twists by Y. Fu (ICALP’13) and others: BPA, PDA

Petr Janˇ car (TU Ostrava) Deciding bisimulation equivalence Bertinoro, 20 June 2014 2 / 70

slide-11
SLIDE 11

Labelled transition systems; bisimulation equivalence

Petr Janˇ car (TU Ostrava) Deciding bisimulation equivalence Bertinoro, 20 June 2014 3 / 70

slide-12
SLIDE 12

Labelled transition systems; bisimulation equivalence

Petr Janˇ car (TU Ostrava) Deciding bisimulation equivalence Bertinoro, 20 June 2014 4 / 70

slide-13
SLIDE 13

Bisimulation equivalence as a game

Assume LTS L = (S, A, (

a

− →)a∈A). In a round starting with a position (s, t),

1 Attacker chooses either some s

a

− → s′ or some t

a

− → t′.

2 Defender responses by some t

a

− → t′ or some s

a

− → s′, respectively. The new position is (s′, t′). The rounds are repeated. If a player is stuck, then (s)he loses. An infinite play is a win of Defender.

Petr Janˇ car (TU Ostrava) Deciding bisimulation equivalence Bertinoro, 20 June 2014 5 / 70

slide-14
SLIDE 14

Bisimulation equivalence as a game

Assume LTS L = (S, A, (

a

− →)a∈A). In a round starting with a position (s, t),

1 Attacker chooses either some s

a

− → s′ or some t

a

− → t′.

2 Defender responses by some t

a

− → t′ or some s

a

− → s′, respectively. The new position is (s′, t′). The rounds are repeated. If a player is stuck, then (s)he loses. An infinite play is a win of Defender. We have s ∼ t iff Defender has a winning strategy from position (s, t), and s ∼k t iff Defender can survive k rounds.

Petr Janˇ car (TU Ostrava) Deciding bisimulation equivalence Bertinoro, 20 June 2014 5 / 70

slide-15
SLIDE 15

Bisimulation equivalence as a game

Assume LTS L = (S, A, (

a

− →)a∈A). In a round starting with a position (s, t),

1 Attacker chooses either some s

a

− → s′ or some t

a

− → t′.

2 Defender responses by some t

a

− → t′ or some s

a

− → s′, respectively. The new position is (s′, t′). The rounds are repeated. If a player is stuck, then (s)he loses. An infinite play is a win of Defender. We have s ∼ t iff Defender has a winning strategy from position (s, t), and s ∼k t iff Defender can survive k rounds.

  • Observation. For deterministic LTSs, bisimulation equivalence coincides

with trace equivalence.

Petr Janˇ car (TU Ostrava) Deciding bisimulation equivalence Bertinoro, 20 June 2014 5 / 70

slide-16
SLIDE 16

Labelled transition systems; bisimulation equivalence

Petr Janˇ car (TU Ostrava) Deciding bisimulation equivalence Bertinoro, 20 June 2014 6 / 70

slide-17
SLIDE 17

Labelled transition systems; bisimulation equivalence

Petr Janˇ car (TU Ostrava) Deciding bisimulation equivalence Bertinoro, 20 June 2014 7 / 70

slide-18
SLIDE 18

Labelled transition systems; bisimulation equivalence

Petr Janˇ car (TU Ostrava) Deciding bisimulation equivalence Bertinoro, 20 June 2014 8 / 70

slide-19
SLIDE 19

FO-grammar G = (N, A, R) ... rules A(x1, . . . , xm)

a

− → E

Petr Janˇ car (TU Ostrava) Deciding bisimulation equivalence Bertinoro, 20 June 2014 9 / 70

slide-20
SLIDE 20

FO-grammar G = (N, A, R) ... rules A(x1, . . . , xm)

a

− → E

Petr Janˇ car (TU Ostrava) Deciding bisimulation equivalence Bertinoro, 20 June 2014 10 / 70

slide-21
SLIDE 21

FO-grammar G = (N, A, R) ... rules A(x1, . . . , xm)

a

− → E

Petr Janˇ car (TU Ostrava) Deciding bisimulation equivalence Bertinoro, 20 June 2014 11 / 70

slide-22
SLIDE 22

FO-grammar G = (N, A, R) ... rules A(x1, . . . , xm)

a

− → E

Petr Janˇ car (TU Ostrava) Deciding bisimulation equivalence Bertinoro, 20 June 2014 12 / 70

slide-23
SLIDE 23

(D)pda from a first-order term perspective

Q = {q1, q2, q3} (pushing) rule q2A

a

− → q1BC configuration q2ABA (popping) rule q2A

b

− → q2 q2C

ε

− → q3

Petr Janˇ car (TU Ostrava) Deciding bisimulation equivalence Bertinoro, 20 June 2014 13 / 70

slide-24
SLIDE 24

Bounding lengths of witnesses (where EL keeps dropping)

Theorem. There is an elementary function g such that for any det-FO grammar G = (N, A, R) and T ∼ U

  • f size n we have

EL(T, U) ≤ tower(g(n)). tower(0) = 1 tower(n+1) = 2tower(n)

Petr Janˇ car (TU Ostrava) Deciding bisimulation equivalence Bertinoro, 20 June 2014 14 / 70

slide-25
SLIDE 25

Bounding lengths of witnesses (where EL keeps dropping)

Theorem. There is an elementary function g such that for any det-FO grammar G = (N, A, R) and T ∼ U

  • f size n we have

EL(T, U) ≤ tower(g(n)). tower(0) = 1 tower(n+1) = 2tower(n) Proof is based on two ideas:

1 “Synchronize” the growth of lhs-terms

and rhs-terms while not changing the respective eq-levels. (Hence no repeat.)

2 Derive a tower-bound on the size of

terms in the (modified) sequence.

Petr Janˇ car (TU Ostrava) Deciding bisimulation equivalence Bertinoro, 20 June 2014 14 / 70

slide-26
SLIDE 26

Congruence properties of ∼k and ∼

Petr Janˇ car (TU Ostrava) Deciding bisimulation equivalence Bertinoro, 20 June 2014 15 / 70

slide-27
SLIDE 27

Congruence properties of ∼k and ∼

Petr Janˇ car (TU Ostrava) Deciding bisimulation equivalence Bertinoro, 20 June 2014 16 / 70

slide-28
SLIDE 28

Balancing (the crucial tool for “synchronizing”)

Petr Janˇ car (TU Ostrava) Deciding bisimulation equivalence Bertinoro, 20 June 2014 17 / 70

slide-29
SLIDE 29

Balancing (the crucial tool for “synchronizing”)

Petr Janˇ car (TU Ostrava) Deciding bisimulation equivalence Bertinoro, 20 June 2014 18 / 70

slide-30
SLIDE 30

Balancing (the crucial tool for “synchronizing”)

Petr Janˇ car (TU Ostrava) Deciding bisimulation equivalence Bertinoro, 20 June 2014 19 / 70

slide-31
SLIDE 31

Balancing (the crucial tool for “synchronizing”)

Petr Janˇ car (TU Ostrava) Deciding bisimulation equivalence Bertinoro, 20 June 2014 20 / 70

slide-32
SLIDE 32

Balancing (the crucial tool for “synchronizing”)

Petr Janˇ car (TU Ostrava) Deciding bisimulation equivalence Bertinoro, 20 June 2014 21 / 70

slide-33
SLIDE 33

Balancing (the crucial tool for “synchronizing”)

Petr Janˇ car (TU Ostrava) Deciding bisimulation equivalence Bertinoro, 20 June 2014 22 / 70

slide-34
SLIDE 34

Balancing (the crucial tool for “synchronizing”)

Petr Janˇ car (TU Ostrava) Deciding bisimulation equivalence Bertinoro, 20 June 2014 23 / 70

slide-35
SLIDE 35

Balancing (the crucial tool for “synchronizing”)

Petr Janˇ car (TU Ostrava) Deciding bisimulation equivalence Bertinoro, 20 June 2014 24 / 70

slide-36
SLIDE 36

“Stair subsequence” of pairs (on balanced witness path)

Petr Janˇ car (TU Ostrava) Deciding bisimulation equivalence Bertinoro, 20 June 2014 25 / 70

slide-37
SLIDE 37

Stair subsequence of pairs (written horizontally)

Petr Janˇ car (TU Ostrava) Deciding bisimulation equivalence Bertinoro, 20 June 2014 26 / 70

slide-38
SLIDE 38

(ℓ, n)-(sub)sequences, with 2ℓ pairs

Petr Janˇ car (TU Ostrava) Deciding bisimulation equivalence Bertinoro, 20 June 2014 27 / 70

slide-39
SLIDE 39

(ℓ, n)-(sub)sequences, with 2ℓ pairs

Petr Janˇ car (TU Ostrava) Deciding bisimulation equivalence Bertinoro, 20 June 2014 28 / 70

slide-40
SLIDE 40

(ℓ, n)-(sub)sequences, with 2ℓ pairs

Petr Janˇ car (TU Ostrava) Deciding bisimulation equivalence Bertinoro, 20 June 2014 29 / 70

slide-41
SLIDE 41

(ℓ, n)-(sub)sequences, with 2ℓ pairs

Petr Janˇ car (TU Ostrava) Deciding bisimulation equivalence Bertinoro, 20 June 2014 30 / 70

slide-42
SLIDE 42

(ℓ, n)-(sub)sequences, with 2ℓ pairs

Petr Janˇ car (TU Ostrava) Deciding bisimulation equivalence Bertinoro, 20 June 2014 31 / 70

slide-43
SLIDE 43

(ℓ, n)-(sub)sequences, with 2ℓ pairs

Petr Janˇ car (TU Ostrava) Deciding bisimulation equivalence Bertinoro, 20 June 2014 32 / 70

slide-44
SLIDE 44

(ℓ, n)-(sub)sequences, with 2ℓ pairs

Petr Janˇ car (TU Ostrava) Deciding bisimulation equivalence Bertinoro, 20 June 2014 33 / 70

slide-45
SLIDE 45

(ℓ, n)-(sub)sequences, with 2ℓ pairs

Petr Janˇ car (TU Ostrava) Deciding bisimulation equivalence Bertinoro, 20 June 2014 34 / 70

slide-46
SLIDE 46

(ℓ, n)-(sub)sequences, with 2ℓ pairs

Petr Janˇ car (TU Ostrava) Deciding bisimulation equivalence Bertinoro, 20 June 2014 35 / 70

slide-47
SLIDE 47

(ℓ, n)-(sub)sequences, with 2ℓ pairs

Petr Janˇ car (TU Ostrava) Deciding bisimulation equivalence Bertinoro, 20 June 2014 36 / 70

slide-48
SLIDE 48

(ℓ, n)-(sub)sequences, with 2ℓ pairs

Petr Janˇ car (TU Ostrava) Deciding bisimulation equivalence Bertinoro, 20 June 2014 37 / 70

slide-49
SLIDE 49

Final (conditional) step of the “TOWER-proof”

Recall: There is no EL-decreasing (1, 0)-sequence.

Petr Janˇ car (TU Ostrava) Deciding bisimulation equivalence Bertinoro, 20 June 2014 38 / 70

slide-50
SLIDE 50

Final (conditional) step of the “TOWER-proof”

Recall: There is no EL-decreasing (1, 0)-sequence.

  • Claim. Any EL-decreasing (ℓ+1, n+1)-sequence gives rise to

an EL-decreasing (ℓ, n)-sequence.

Petr Janˇ car (TU Ostrava) Deciding bisimulation equivalence Bertinoro, 20 June 2014 38 / 70

slide-51
SLIDE 51

Final (conditional) step of the “TOWER-proof”

Recall: There is no EL-decreasing (1, 0)-sequence.

  • Claim. Any EL-decreasing (ℓ+1, n+1)-sequence gives rise to

an EL-decreasing (ℓ, n)-sequence.

  • Corollary. There is no EL-decreasing (n+1, n)-sequence.

Petr Janˇ car (TU Ostrava) Deciding bisimulation equivalence Bertinoro, 20 June 2014 38 / 70

slide-52
SLIDE 52

Final (conditional) step of the “TOWER-proof”

Recall: There is no EL-decreasing (1, 0)-sequence.

  • Claim. Any EL-decreasing (ℓ+1, n+1)-sequence gives rise to

an EL-decreasing (ℓ, n)-sequence.

  • Corollary. There is no EL-decreasing (n+1, n)-sequence.

Recall that h(1) = 1 + q, h(j+1) = h(j) · (1 + qh(j)) and that h(j) “stairs” gives rise to (j, n)-sequence (n being the “small” thickness).

Petr Janˇ car (TU Ostrava) Deciding bisimulation equivalence Bertinoro, 20 June 2014 38 / 70

slide-53
SLIDE 53

Final (conditional) step of the “TOWER-proof”

Recall: There is no EL-decreasing (1, 0)-sequence.

  • Claim. Any EL-decreasing (ℓ+1, n+1)-sequence gives rise to

an EL-decreasing (ℓ, n)-sequence.

  • Corollary. There is no EL-decreasing (n+1, n)-sequence.

Recall that h(1) = 1 + q, h(j+1) = h(j) · (1 + qh(j)) and that h(j) “stairs” gives rise to (j, n)-sequence (n being the “small” thickness).

  • Corollary. There are less than h(n+1) stairs, and h(n+1) ≤ tower(g(n)).

Petr Janˇ car (TU Ostrava) Deciding bisimulation equivalence Bertinoro, 20 June 2014 38 / 70

slide-54
SLIDE 54

Repeating heads yield an “equation”

Petr Janˇ car (TU Ostrava) Deciding bisimulation equivalence Bertinoro, 20 June 2014 39 / 70

slide-55
SLIDE 55

Repeating heads yield an “equation”

Petr Janˇ car (TU Ostrava) Deciding bisimulation equivalence Bertinoro, 20 June 2014 40 / 70

slide-56
SLIDE 56

Repeating heads yield an “equation”

Petr Janˇ car (TU Ostrava) Deciding bisimulation equivalence Bertinoro, 20 June 2014 41 / 70

slide-57
SLIDE 57

Repeating heads yield an “equation”

Petr Janˇ car (TU Ostrava) Deciding bisimulation equivalence Bertinoro, 20 June 2014 42 / 70

slide-58
SLIDE 58

Repeating heads yield an “equation”

Petr Janˇ car (TU Ostrava) Deciding bisimulation equivalence Bertinoro, 20 June 2014 43 / 70

slide-59
SLIDE 59

From (ℓ, n) to (ℓ−1, n−1) ... decreasing thickness

Petr Janˇ car (TU Ostrava) Deciding bisimulation equivalence Bertinoro, 20 June 2014 44 / 70

slide-60
SLIDE 60

From (ℓ, n) to (ℓ−1, n−1) ... decreasing thickness

Petr Janˇ car (TU Ostrava) Deciding bisimulation equivalence Bertinoro, 20 June 2014 45 / 70

slide-61
SLIDE 61

From (ℓ, n) to (ℓ−1, n−1) ... decreasing thickness

Petr Janˇ car (TU Ostrava) Deciding bisimulation equivalence Bertinoro, 20 June 2014 46 / 70

slide-62
SLIDE 62

From (ℓ, n) to (ℓ−1, n−1) ... decreasing thickness

Petr Janˇ car (TU Ostrava) Deciding bisimulation equivalence Bertinoro, 20 June 2014 47 / 70

slide-63
SLIDE 63

Bounding lengths of witnesses in the deterministic case

Theorem. There is an elementary function g such that for any det-FO grammar G = (N, A, R) and T ∼ U

  • f size n we have

EL(T, U) ≤ tower(g(n)). Proof is based on two ideas:

1 “Synchronize” the growth of lhs-terms

and rhs-terms while not changing the respective eq-levels. (Hence no repeat.)

2 Derive a tower-bound on the size of

terms in the (modified) sequence.

Petr Janˇ car (TU Ostrava) Deciding bisimulation equivalence Bertinoro, 20 June 2014 48 / 70

slide-64
SLIDE 64

A lower bound

Bisimulation equivalence for FO-grammars is Ackermann-hard.

Note: Benedikt M., G¨

  • ller S., Kiefer S., Murawski A.S.:

Bisimilarity of Pushdown Automata is Nonelementary. LICS 2013 (no ε-transitions)

Petr Janˇ car (TU Ostrava) Deciding bisimulation equivalence Bertinoro, 20 June 2014 49 / 70

slide-65
SLIDE 65

Ackermann function, class ACK, ACK-completeness

Family f0, f1, f2, . . . of functions: f0(n) = n+1 fk+1(n) = fk(fk(. . . fk(n) . . . )) = f (n+1)

k

(n) Ackermann function fA: fA(n) = fn(n).

Petr Janˇ car (TU Ostrava) Deciding bisimulation equivalence Bertinoro, 20 June 2014 50 / 70

slide-66
SLIDE 66

Ackermann function, class ACK, ACK-completeness

Family f0, f1, f2, . . . of functions: f0(n) = n+1 fk+1(n) = fk(fk(. . . fk(n) . . . )) = f (n+1)

k

(n) Ackermann function fA: fA(n) = fn(n). ACK ... class of problems solvable in time fA(g(n)) where g is a primitive recursive function.

Petr Janˇ car (TU Ostrava) Deciding bisimulation equivalence Bertinoro, 20 June 2014 50 / 70

slide-67
SLIDE 67

Ackermann function, class ACK, ACK-completeness

Family f0, f1, f2, . . . of functions: f0(n) = n+1 fk+1(n) = fk(fk(. . . fk(n) . . . )) = f (n+1)

k

(n) Ackermann function fA: fA(n) = fn(n). ACK ... class of problems solvable in time fA(g(n)) where g is a primitive recursive function. Ackermann-budget halting problem (AB-HP): Instance: Minsky counter machine M. Question: does M halt from the zero initial configuration within fA(size(M)) steps ?

  • Fact. AB-HP is ACK-complete.

Petr Janˇ car (TU Ostrava) Deciding bisimulation equivalence Bertinoro, 20 June 2014 50 / 70

slide-68
SLIDE 68

Control state reachability in reset counter machines

Reset counter machines (RCMs). nonnegative counters c1, c2, . . . , cd, control states 1, 2, . . . , r, configuration (ℓ, (n1, n2, . . . , nd)), initial conf. (1, (0, 0, . . . , 0)), (nondeterministic) instructions of the types ℓ

inc(ci)

− → ℓ′ (increment ci), ℓ

dec(ci)

− → ℓ′ (decrement ci, if ci > 0), ℓ

reset(ci)

− → ℓ′ (reset ci, i.e., put ci = 0).

Petr Janˇ car (TU Ostrava) Deciding bisimulation equivalence Bertinoro, 20 June 2014 51 / 70

slide-69
SLIDE 69

Control state reachability in reset counter machines

Reset counter machines (RCMs). nonnegative counters c1, c2, . . . , cd, control states 1, 2, . . . , r, configuration (ℓ, (n1, n2, . . . , nd)), initial conf. (1, (0, 0, . . . , 0)), (nondeterministic) instructions of the types ℓ

inc(ci)

− → ℓ′ (increment ci), ℓ

dec(ci)

− → ℓ′ (decrement ci, if ci > 0), ℓ

reset(ci)

− → ℓ′ (reset ci, i.e., put ci = 0). CS-reach problem for RCM: Instance: an RCM M, a control state ℓfin . Question: is (1, (0, 0, . . . , 0)) − →∗ (ℓfin, (. . . )) ?

Petr Janˇ car (TU Ostrava) Deciding bisimulation equivalence Bertinoro, 20 June 2014 51 / 70

slide-70
SLIDE 70

Control state reachability in reset counter machines

Reset counter machines (RCMs). nonnegative counters c1, c2, . . . , cd, control states 1, 2, . . . , r, configuration (ℓ, (n1, n2, . . . , nd)), initial conf. (1, (0, 0, . . . , 0)), (nondeterministic) instructions of the types ℓ

inc(ci)

− → ℓ′ (increment ci), ℓ

dec(ci)

− → ℓ′ (decrement ci, if ci > 0), ℓ

reset(ci)

− → ℓ′ (reset ci, i.e., put ci = 0). CS-reach problem for RCM: Instance: an RCM M, a control state ℓfin . Question: is (1, (0, 0, . . . , 0)) − →∗ (ℓfin, (. . . )) ?

  • Fact. CS-reach problem for RCM is ACK-complete.

(See [Schnoebelen, MFCS 2010].)

Petr Janˇ car (TU Ostrava) Deciding bisimulation equivalence Bertinoro, 20 June 2014 51 / 70

slide-71
SLIDE 71

Reduction of CS-reach for RCM to FO-bisimilarity

Given an RCM M, i.e., counters c1, c2, . . . , cd, control states 1, 2, . . . , r, and instructions of the types ℓ

inc(ci)

− → ℓ′ (increment ci), ℓ

dec(ci)

− → ℓ′ (decrement ci, if ci > 0), ℓ

reset(ci)

− → ℓ′ (reset ci, i.e., put ci = 0), and ℓfin, we construct G = (N, A, R) and E0, F0 so that (1, (0, 0, . . . , 0)) − →∗ (ℓfin, (. . . )) iff E0 ∼ F0.

Petr Janˇ car (TU Ostrava) Deciding bisimulation equivalence Bertinoro, 20 June 2014 52 / 70

slide-72
SLIDE 72

CS-reachability as bisimulation game

Example with counters c1, c2; we start with the pair (A1(⊥, ⊥, ⊥, ⊥, ), B1(⊥, ⊥, ⊥, ⊥)). The pair after mimicking (1, (0, 0)) − →∗ (ℓ, (2, 1)) might be

Petr Janˇ car (TU Ostrava) Deciding bisimulation equivalence Bertinoro, 20 June 2014 53 / 70

slide-73
SLIDE 73

Attacker’s win

Attacker wins in (Aℓfin(. . . ), Bℓfin(. . . )) due to the rule Aℓfin(x1, x2, x3, x4)

a

− → . . . (while there is no rule for Bℓfin).

Petr Janˇ car (TU Ostrava) Deciding bisimulation equivalence Bertinoro, 20 June 2014 54 / 70

slide-74
SLIDE 74

Counter increment

For ins = ℓ

inc(c2)

− → ℓ′ we have rules Aℓ(x1, x2, x3, x4)

ins

− → Aℓ′(x1, x2, I(x3), x4), Bℓ(x1, x2, x3, x4)

ins

− → Bℓ′(x1, x2, I(x3), x4),

Petr Janˇ car (TU Ostrava) Deciding bisimulation equivalence Bertinoro, 20 June 2014 55 / 70

slide-75
SLIDE 75

Counter increment

For ins = ℓ

inc(c2)

− → ℓ′ we have rules Aℓ(x1, x2, x3, x4)

ins

− → Aℓ′(x1, x2, I(x3), x4), Bℓ(x1, x2, x3, x4)

ins

− → Bℓ′(x1, x2, I(x3), x4),

Petr Janˇ car (TU Ostrava) Deciding bisimulation equivalence Bertinoro, 20 June 2014 56 / 70

slide-76
SLIDE 76

Counter increment

For ins = ℓ

inc(c2)

− → ℓ′ we have rules Aℓ(x1, x2, x3, x4)

ins

− → Aℓ′(x1, x2, I(x3), x4), Bℓ(x1, x2, x3, x4)

ins

− → Bℓ′(x1, x2, I(x3), x4),

Petr Janˇ car (TU Ostrava) Deciding bisimulation equivalence Bertinoro, 20 June 2014 57 / 70

slide-77
SLIDE 77

Counter reset

For ins = ℓ

reset(c2)

− → ℓ′ we have rules Aℓ(x1, x2, x3, x4)

ins

− → Aℓ′(x1, x2, ⊥, ⊥), Bℓ(x1, x2, x3, x4)

ins

− → Bℓ′(x1, x2, ⊥, ⊥),

Petr Janˇ car (TU Ostrava) Deciding bisimulation equivalence Bertinoro, 20 June 2014 58 / 70

slide-78
SLIDE 78

Counter reset

For ins = ℓ

reset(c2)

− → ℓ′ we have rules Aℓ(x1, x2, x3, x4)

ins

− → Aℓ′(x1, x2, ⊥, ⊥), Bℓ(x1, x2, x3, x4)

ins

− → Bℓ′(x1, x2, ⊥, ⊥),

Petr Janˇ car (TU Ostrava) Deciding bisimulation equivalence Bertinoro, 20 June 2014 59 / 70

slide-79
SLIDE 79

Counter reset

For ins = ℓ

reset(c2)

− → ℓ′ we have rules Aℓ(x1, x2, x3, x4)

ins

− → Aℓ′(x1, x2, ⊥, ⊥), Bℓ(x1, x2, x3, x4)

ins

− → Bℓ′(x1, x2, ⊥, ⊥),

Petr Janˇ car (TU Ostrava) Deciding bisimulation equivalence Bertinoro, 20 June 2014 60 / 70

slide-80
SLIDE 80

Counter decrement

For ins = ℓ

dec(c2)

− → ℓ′ we have two phases; the first-phase rules are Aℓ

ins

− → A(ℓ′,2), Aℓ

ins

− → B(ℓ′,2,a), Aℓ

ins

− → B(ℓ′,2,b), Bℓ

ins

− → B(ℓ′,2,a), Bℓ

ins

− → B(ℓ′,2,b),

Petr Janˇ car (TU Ostrava) Deciding bisimulation equivalence Bertinoro, 20 June 2014 61 / 70

slide-81
SLIDE 81

Counter decrement

For ins = ℓ

dec(c2)

− → ℓ′ we have two phases; the first-phase rules are Aℓ

ins

− → A(ℓ′,2), Aℓ

ins

− → B(ℓ′,2,a), Aℓ

ins

− → B(ℓ′,2,b), Bℓ

ins

− → B(ℓ′,2,a), Bℓ

ins

− → B(ℓ′,2,b),

Petr Janˇ car (TU Ostrava) Deciding bisimulation equivalence Bertinoro, 20 June 2014 62 / 70

slide-82
SLIDE 82

Counter decrement

For ins = ℓ

dec(c2)

− → ℓ′ we have two phases; the first-phase rules are Aℓ

ins

− → A(ℓ′,2), Aℓ

ins

− → B(ℓ′,2,a), Aℓ

ins

− → B(ℓ′,2,b), Bℓ

ins

− → B(ℓ′,2,a), Bℓ

ins

− → B(ℓ′,2,b),

Petr Janˇ car (TU Ostrava) Deciding bisimulation equivalence Bertinoro, 20 June 2014 63 / 70

slide-83
SLIDE 83

Counter decrement (option a)

A(ℓ′,2)(x1, x2, x3, x4)

a

− → Aℓ′(x1, x2, x3, I(x4)), Aℓ′,2(x1, x2, x3, x4)

b

− → x3, B(ℓ′,2,a)(x1, x2, x3, x4)

a

− → Bℓ′(x1, x2, x3, I(x4)), B(ℓ′,2,a)(x1, x2, x3, x4)

b

− → x3,

Petr Janˇ car (TU Ostrava) Deciding bisimulation equivalence Bertinoro, 20 June 2014 64 / 70

slide-84
SLIDE 84

Counter decrement (option a)

A(ℓ′,2)(x1, x2, x3, x4)

a

− → Aℓ′(x1, x2, x3, I(x4)), Aℓ′,2(x1, x2, x3, x4)

b

− → x3, B(ℓ′,2,a)(x1, x2, x3, x4)

a

− → Bℓ′(x1, x2, x3, I(x4)), B(ℓ′,2,a)(x1, x2, x3, x4)

b

− → x3,

Petr Janˇ car (TU Ostrava) Deciding bisimulation equivalence Bertinoro, 20 June 2014 65 / 70

slide-85
SLIDE 85

Counter decrement (option a)

A(ℓ′,2)(x1, x2, x3, x4)

a

− → Aℓ′(x1, x2, x3, I(x4)), Aℓ′,2(x1, x2, x3, x4)

b

− → x3, B(ℓ′,2,a)(x1, x2, x3, x4)

a

− → Bℓ′(x1, x2, x3, I(x4)), B(ℓ′,2,a)(x1, x2, x3, x4)

b

− → x3,

Petr Janˇ car (TU Ostrava) Deciding bisimulation equivalence Bertinoro, 20 June 2014 66 / 70

slide-86
SLIDE 86

Counter decrement (option b)

A(ℓ′,2)(x1, x2, x3, x4)

a

− → Aℓ′(x1, x2, x3, I(x4)), Aℓ′,2(x1, x2, x3, x4)

b

− → x3, B(ℓ′,2,b)(x1, x2, x3, x4)

a

− → Aℓ′(x1, x2, x3, I(x4)), B(ℓ′,2,b)(x1, x2, x3, x4)

b

− → x4, I(x1)

c

− → x1

Petr Janˇ car (TU Ostrava) Deciding bisimulation equivalence Bertinoro, 20 June 2014 67 / 70

slide-87
SLIDE 87

Counter decrement (option b)

A(ℓ′,2)(x1, x2, x3, x4)

a

− → Aℓ′(x1, x2, x3, I(x4)), Aℓ′,2(x1, x2, x3, x4)

b

− → x3, B(ℓ′,2,b)(x1, x2, x3, x4)

a

− → Aℓ′(x1, x2, x3, I(x4)), B(ℓ′,2,b)(x1, x2, x3, x4)

b

− → x4, I(x1)

c

− → x1

Petr Janˇ car (TU Ostrava) Deciding bisimulation equivalence Bertinoro, 20 June 2014 68 / 70

slide-88
SLIDE 88

Counter decrement (option b)

A(ℓ′,2)(x1, x2, x3, x4)

a

− → Aℓ′(x1, x2, x3, I(x4)), Aℓ′,2(x1, x2, x3, x4)

b

− → x3, B(ℓ′,2,b)(x1, x2, x3, x4)

a

− → Aℓ′(x1, x2, x3, I(x4)), B(ℓ′,2,b)(x1, x2, x3, x4)

b

− → x4, I(x1)

c

− → x1

Petr Janˇ car (TU Ostrava) Deciding bisimulation equivalence Bertinoro, 20 June 2014 69 / 70

slide-89
SLIDE 89

Final remarks

(Trace) equivalence of deterministic FO-grammars is P-hard and in TOWER. Bisimulation equivalence of FO-grammars is Ackermann-hard and decidable.

Petr Janˇ car (TU Ostrava) Deciding bisimulation equivalence Bertinoro, 20 June 2014 70 / 70

slide-90
SLIDE 90

Final remarks

(Trace) equivalence of deterministic FO-grammars is P-hard and in TOWER. Bisimulation equivalence of FO-grammars is Ackermann-hard and decidable. Branching bisimilarity (and weak bisimilarity): for normed BPA ExpTime-hard and decidable (Y. Fu, ICALP’13).

Petr Janˇ car (TU Ostrava) Deciding bisimulation equivalence Bertinoro, 20 June 2014 70 / 70

slide-91
SLIDE 91

Final remarks

(Trace) equivalence of deterministic FO-grammars is P-hard and in TOWER. Bisimulation equivalence of FO-grammars is Ackermann-hard and decidable. Branching bisimilarity (and weak bisimilarity): for normed BPA ExpTime-hard and decidable (Y. Fu, ICALP’13). Czerwinski and J.: in NExpTime (withdrawn from Concur’14 [not finished then]; on arxiv soon)

Petr Janˇ car (TU Ostrava) Deciding bisimulation equivalence Bertinoro, 20 June 2014 70 / 70

slide-92
SLIDE 92

Final remarks

(Trace) equivalence of deterministic FO-grammars is P-hard and in TOWER. Bisimulation equivalence of FO-grammars is Ackermann-hard and decidable. Branching bisimilarity (and weak bisimilarity): for normed BPA ExpTime-hard and decidable (Y. Fu, ICALP’13). Czerwinski and J.: in NExpTime (withdrawn from Concur’14 [not finished then]; on arxiv soon) undecidable for PDA (Fu and others, ICALP’14)

Petr Janˇ car (TU Ostrava) Deciding bisimulation equivalence Bertinoro, 20 June 2014 70 / 70

slide-93
SLIDE 93

Final remarks

(Trace) equivalence of deterministic FO-grammars is P-hard and in TOWER. Bisimulation equivalence of FO-grammars is Ackermann-hard and decidable. Branching bisimilarity (and weak bisimilarity): for normed BPA ExpTime-hard and decidable (Y. Fu, ICALP’13). Czerwinski and J.: in NExpTime (withdrawn from Concur’14 [not finished then]; on arxiv soon) undecidable for PDA (Fu and others, ICALP’14) decidable for PDA with popping ε-moves

Fu and Yin: Dividing Line between Decidable PDA’s and Undecidable Ones; arxiv.org/abs/1404.7015 (????)

Petr Janˇ car (TU Ostrava) Deciding bisimulation equivalence Bertinoro, 20 June 2014 70 / 70

slide-94
SLIDE 94

Final remarks

(Trace) equivalence of deterministic FO-grammars is P-hard and in TOWER. Bisimulation equivalence of FO-grammars is Ackermann-hard and decidable. Branching bisimilarity (and weak bisimilarity): for normed BPA ExpTime-hard and decidable (Y. Fu, ICALP’13). Czerwinski and J.: in NExpTime (withdrawn from Concur’14 [not finished then]; on arxiv soon) undecidable for PDA (Fu and others, ICALP’14) decidable for PDA with popping ε-moves

Fu and Yin: Dividing Line between Decidable PDA’s and Undecidable Ones; arxiv.org/abs/1404.7015 (????) J.: Bisimulation Equivalence of First-Order Grammars; arxiv.org/abs/1405.7923

Petr Janˇ car (TU Ostrava) Deciding bisimulation equivalence Bertinoro, 20 June 2014 70 / 70