on the decidability of normed bpa
play

On the Decidability of Normed BPA Yuxi Fu Bologna, 22-23 April, - PowerPoint PPT Presentation

On the Decidability of Normed BPA Yuxi Fu Bologna, 22-23 April, 2013 Infinite state systems have been studied in Process Rewriting Systems for some time. The focus has been on the decidability of reachability, equivalence, . . . . There are


  1. On the Decidability of Normed BPA Yuxi Fu Bologna, 22-23 April, 2013

  2. Infinite state systems have been studied in Process Rewriting Systems for some time. The focus has been on the decidability of reachability, equivalence, . . . . There are very few decidability results in the presence of internal actions. Many problems are open. One such problem asks if the weak bisimilarity on BPA processes is decidable.

  3. Verification on Infinite State System

  4. From Finite State to Infinite State Milner’s work (1984,1989). Baeten, Bergstra and Klop’s work (1987, 1993). It was soon realized that, from the point of view of automatic verification, bisimulation equivalence is the only good equivalence (Groote and H¨ uttel, 1994).

  5. Verification as Equivalence Checking 1. Strong bisimilarity for equivalence between specifications: Spec 0 ∼ Spec 1 . 2. Branching bisimilarity for correctness of implementation: Impl ≈ Spec iff Impl ≃ Spec . 3. Consequently branching bisimilarity for program equivalence: Pr 0 ≈ Pr 1 iff ∃ Spec . Pr 0 ≃ Spec ≃ Pr 1 iff Pr 0 ≃ Pr 1 .

  6. Branching Bisimilarity A binary relation R is a branching bisimulation if the following is valid whenever α R β : → α ′ then one of the following is valid: ℓ 1. If β R − 1 α − (i) ℓ = τ and α R β ′ . ⇒ β ′′ R − 1 α for some β ′′ such that ∃ β ′ .β ′′ ℓ → β ′ R − 1 α ′ . (ii) β = − → β ′ then one of the following is valid: ℓ 2. If α R β − (i) ℓ = τ and α ′ R β . ⇒ α ′′ R β for some α ′′ such that ∃ α ′ .α ′′ ℓ (ii) α = − → α ′ R β ′ . 3. If α = ǫ then β = ⇒ ǫ , and if β = ǫ then α = ⇒ ǫ . The branching bisimilarity ≃ is the largest branching bisimulation.

  7. Process Rewriting System, Mayr 2000 A process rewriting system Γ is a triple ( V , A , ∆) where V = { X 1 , . . . . X n } is a finite set of variables , A = { a 1 , . . . . a m } ∪ { τ } is a finite set of actions , and ∆ is a finite set of transition rules . A process defined in Γ is a member of the set V ∗ of finite strings of element of V . Let ǫ be the empty string. Let α, β, γ, . . . ∈ V ∗ . ℓ A transition rule is of the form α − → β , where ℓ ranges over A . The transitional semantics is closed under composition: ℓ ℓ αγ − → βγ for all γ whenever α − → β .

  8. Process Rewriting System Sequential process: αβ is understood as α.β : ℓ BPA : all rules are of the form X − → β . ℓ PDA : all rules are of the form α − → β . Parallel process: αβ is understood as α | β : ℓ BPP : all rules are of the form X − → β . ℓ PN : all rules are of the form α − → β . Process Algebra: both α.β and α | β : ℓ PA : all rules are of the form X − → β .

  9. Process Rewriting System PDA PA PN ❅ ■ ✒ � ■ ❅ � ✒ ❅ � ❅ � BPA BPP ❅ ■ ✒ � ❅ � FS

  10. Process Rewriting System PDA PA PN ❅ ■ ✒ � ■ ❅ � ✒ ❅ � ❅ � BPA BPP ■ ❅ ✒ � ❅ � FS A process is normed if it can reach ǫ after a finite number of steps. Normed BPA for example is abbreviated to nBPA .

  11. The Counter Example A specification of counter, taken from Milner’s 1989 book: C 0 = zero . C 0 + inc . C 1 , C i +1 = dec . C i + inc . C i +2 , where i ≥ 0 .

  12. The Counter Example A specification of counter, taken from Milner’s 1989 book: C 0 = zero . C 0 + inc . C 1 , C i +1 = dec . C i + inc . C i +2 , where i ≥ 0 . Busi, Gabbrielli and Zavattaro’s implementation: Counter = zero . Counter + inc . ( d )( O | d . Counter ) , O = dec . d + inc . ( e )( E | e . O ) , E = dec . e + inc . ( d )( O | d . E ) .

  13. The Counter Example A specification of counter, taken from Milner’s 1989 book: C 0 = zero . C 0 + inc . C 1 , C i +1 = dec . C i + inc . C i +2 , where i ≥ 0 . Busi, Gabbrielli and Zavattaro’s implementation: Counter = zero . Counter + inc . ( d )( O | d . Counter ) , O = dec . d + inc . ( e )( E | e . O ) , E = dec . e + inc . ( d )( O | d . E ) . Implementation in BPA: inc Z − → XZ , zero Z − → Z , inc X − → XX , dec X − → ǫ.

  14. Line of Investigation 1. If a problem is undecidable, we try to locate it in the arithmetic hierarchy or analytic hierarchy. 2. If a problem is decidable, we look for a completeness result. 3. If a problem is in P , we study its algorithmic aspect.

  15. Technique Decomposition, bisimulation base, tableau, . . . Defender’s forcing, computable bound, . . . Dickson Lemma, Presburger Arithmetics, . . .

  16. Computable Bound τ Write γ → λ if γ − → λ ≃ γ .  → α ′ , then Lemma . Suppose α, β are nBPA processes. If β ≃ α −  → β ′ of α  → α ′ with the length there is a bisimulation β → ∗ β ′′ − − of β → ∗ β ′′ effectively bounded.

  17. Computable Bound τ Write γ → λ if γ − → λ ≃ γ .  → α ′ , then Lemma . Suppose α, β are nBPA processes. If β ≃ α −  → β ′ of α  → α ′ with the length there is a bisimulation β → ∗ β ′′ − − of β → ∗ β ′′ effectively bounded. Corollary . �≃ nBPA is semidecidable.

  18. Technique Decomposition, bisimulation base, tableau, . . . Defender’s forcing, computable bound, . . . Dickson Lemma, Presburger Arithmetics, . . .

  19. Bisimulation Base An axiom system B for nBPA is a finite binary relation on nBPA processes. An axiom ( α, β ) of B is often written as α = β . Write B ⊢ α = β if the equality α = β can be derived from the axioms of B by repetitively using equivalence and congruence rules.

  20. Bisimulation Base A finite axiom system B for nBPA is a bisimulation base if the following hold for every axiom ( α 0 , β 0 ) of B : If → α ′ then there are ℓ β 0 B − 1 α 0 − → α 1 − → . . . − → α n − β 1 , . . . , β n , β ′ such that B ⊢ α 1 = β 1 , . . . , B ⊢ α n = β n and B ⊢ α ′ = β ′ and the following hold: (i) For each i with 0 ≤ i < n , either β i = β i +1 , or β i − → β i +1 , or i , . . . , β k i → β k i there are β 1 → β 1 st β i − i − → . . . − − → β i +1 i i i , . . . , B ⊢ α i = β k i and B ⊢ α i = β 1 i . ℓ (ii) Either ℓ = τ and β n = β ′ , or β n − → β ′ , or there are ℓ β 1 n , . . . , β k n → β 1 → β k n n st β n − n − → . . . − − → β i +1 and n B ⊢ α n = β 1 n , . . . , B ⊢ α n = β k n n . (iii) If β 0 = ǫ then α 0 − → α 1 − → . . . − → α k − → ǫ for some α 1 , . . . , α k with k ≥ 0 such that A ⊢ α 1 = ǫ , . . . , A ⊢ α k = ǫ .

  21. Bisimulation Base Lemma . If B is a bisimulation base, then B ⊆ ≃ .

  22. Technique Decomposition, bisimulation base, tableau, . . . Defender’s forcing, computable bound, . . . Dickson Lemma, Presburger Arithmetics, . . .

  23. Tableau A tableau system is way of constructing bisimulation base.

  24. Tableau A tableau system is way of constructing bisimulation base. Lemma . Given nBPA processes α, β there is an effective procedure, by constructing tableau systems, to generate a bisimulation base that contains ( α, β ) whenever α ≃ β . Corollary . ≃ nBPA is semidecidable.

  25. Checking Equality for nBPA Theorem . ≃ nBPA is decidable.

  26. A Bird’s View of Existing Results

  27. PN: Beyond Decidability PN nPN Π 0 1 -complete [JS08] ∼ Undecidable [Jan95] Undecidable [Jan95] ? ≃ Undecidable [Jan95] Undecidable [Jan95] Σ 1 1 -complete [JS08] ≈ Undecidable [Jan95] Undecidable [Jan95] Where is ≃ PN ?

  28. BPP: Dickson Lemma, Redei Lemma BPP nBPP Decidable [CHM93] Decidable [CHM93] ∼ PSPACE [Jan03] P [HJM96b] PSPACE-hard [Srb02a] P-hard [BGS92] ? ≃ Decidable [CHL11] PSPACE-hard [Srb02a] ? ? ≈ PSPACE-hard [Srb03] PSPACE-hard [Srb03] Is ≃ BPP decidable?

  29. PDA: between the Decidable and the Undecidable PDA nPDA Decidable [S´ en98] Decidable [Sti98] ∼ EXPTIME-hard [KM02] EXPTIME-hard [KM02] ≃ ? ? Σ 1 Σ 1 1 -complete [JS08] 1 -complete [JS08] ≈ Undecidable [Srb02c] Undecidable [Srb02c] Is ≃ nPDA decidable?

  30. BPA: Exploiting Transition Tree BPA nBPA Decidable [CHS92] 2-EXPTIME [BCS95] Decidable [HS91] ∼ EXPTIME-hard [Kie12] P-complete [BGS92][HJM96a] PSPACE-hard [Srb02b] ? Decidable ≃ EXPTIME-hard [May03] ? ? ? ≈ EXPTIME-hard [May03] EXPTIME-hard [May03] PSPACE-hard [Stˇ r98] PSPACE-hard [Stˇ r98] Is ≃ BPA decidable?

  31. Remark For parallel processes (PN, BPP) with silent actions, the only decidability result is due to Czerwi´ nski, Hofman and Lasota (2011). For sequential processes (PDA, BPA) with silent actions, a decidability result is given in this talk.

  32. Regularity Problem

  33. Regularity problem asks if a given process (seen as an implementation) is equivalent to a finite state (seen as a specification).

  34. PN PN nPN Decidable [JE96] EXPSAPCE [Rac78] ∼ PSPACE-hard [Srb02a] EXPSPACE-hard [Lip76] ≃ ? ? Undecidable [JE96] ? ≈ EXPSPACE-hard [Lip76] EXPSPACE-hard [Lip76]

  35. BPP BPP nBPP Decidable [JE96] NL [Kuˇ c96] ∼ PSPACE-hard [Srb02a] NL-hard [Srb02a] ≃ ? ? ? ? ≈ PSPACE-hard [Srb03] PSPACE-hard [Srb03]

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend