regular separability of wsts
play

Regular Separability of WSTS Wojciech Czerwiski 1 , Sawomir Lasota 1 - PowerPoint PPT Presentation

Regular Separability of WSTS Wojciech Czerwiski 1 , Sawomir Lasota 1 , Roland Meyer 2 , Sebastian Muskalla 2 , K Narayan Kumar 3 , and Prakash Saivasan 2 September 6, CONCUR 2018, Beijing 1 University of Warsaw, Poland


  1. Proof approach ! ? 14 L ( W 1 ) , L ( W 2 ) reg. sep L ( W 1 ) ∩ L ( W 2 ) = L ( W 1 × W 2 ) = � W 1 × W 2 has inductive invariant

  2. Proof approach ! ? 14 L ( W 1 ) , L ( W 2 ) reg. sep L ( W 1 ) ∩ L ( W 2 ) = L ( W 1 × W 2 ) = � W 1 × W 2 has inductive invariant

  3. Proof approach ! ? 14 L ( W 1 ) , L ( W 2 ) reg. sep L ( W 1 ) ∩ L ( W 2 ) = L ( W 1 × W 2 ) = � W 1 × W 2 has inductive invariant

  4. Finitely represented invariants The desired implication does not hold. 15 Call an invariant X finitely represented if X = Q ↓ for Q finite

  5. Finitely represented invariants The desired implication does not hold. Recall: iff upward-closed sets have finitely many minimal elements. No such statement for downward-closed sets and maximal elements! 15 Call an invariant X finitely represented if X = Q ↓ for Q finite ( S , ⩽ ) well quasi order (wqo)

  6. Finitely represented invariants The desired implication does not hold. We can show: Theorem 15 Call an invariant X finitely represented if X = Q ↓ for Q finite Let W 1 , W 2 WSTS, W 2 deterministic. If W 1 × W 2 admits a finitely-represented inductive invariant, then L ( W 1 ) and L ( W 2 ) are regularly separable.

  7. Proof approach II ! 16 L ( W 1 ) , L ( W 2 ) reg. sep L ( W 1 ) ∩ L ( W 2 ) = L ( W 1 × W 2 ) = � ✓ ✗ W 1 × W 2 has fin.-rep. invariant

  8. Proof approach II ! 16 L ( W 1 ) , L ( W 2 ) reg. sep L ( W 1 ) ∩ L ( W 2 ) = L ( W 1 × W 2 ) = � ✓ ✗ W 1 × W 2 has fin.-rep. invariant

  9. Ideals Finitely represented invariants do not necessarily exist. Solution: Ideals Definition Lemma 17 For WSTS W , let � W be its ideal completion. [KP92][BFM14,FG12] L ( W ) = L ( � W ) .

  10. Ideals Finitely represented invariants do not necessarily exist. Solution: Ideals Definition Lemma Proposition 17 For WSTS W , let � W be its ideal completion. [KP92][BFM14,FG12] L ( W ) = L ( � W ) . If X is an inductive invariant for W , then its ideal decomposition Idec ( X ) ↓ is a finitely-represented inductive invariant for � W .

  11. Proof Putting everything together: This finitely-represented invariant gives rise to a regular separator. 18 If W 1 , W 2 are disjoint, W 1 × W 2 admits an invariant X . Then Idec ( X ) ↓ is a finitely-represented invariant for W 1 × W 2 ∼ � = � W 1 × � W 2 .

  12. Proof Putting everything together: If two WSTS languages are disjoint, Theorem We have shown: separator. This finitely-represented invariant gives rise to a regular 18 If W 1 , W 2 are disjoint, W 1 × W 2 admits an invariant X . Then Idec ( X ) ↓ is a finitely-represented invariant for W 1 × W 2 ∼ � = � W 1 × � W 2 . one of them finitely branching or deterministic or ω 2 , then they are regularly separable.

  13. Proof details: From fin.-rep. invariants to regular separators

  14. From invariants to separability Theorem 19 Let W 1 , W 2 WSTS, W 2 deterministic. If W 1 × W 2 admits a finitely-represented inductive invariant, then L ( W 1 ) and L ( W 2 ) are regularly separable.

  15. From invariants to separability Theorem 19 Let W 1 , W 2 WSTS, W 2 deterministic. If W 1 × W 2 admits a finitely-represented inductive invariant, then L ( W 1 ) and L ( W 2 ) are regularly separable. Assume Q ↓ is invariant. Idea: Construct separating NFA with Q as states

  16. From invariants to separability s s F 1 s Q s s Q F initial for some c c c c Theorem Q s s Q I Definition 19 Let W 1 , W 2 WSTS, W 2 deterministic. If W 1 × W 2 admits a finitely-represented inductive invariant, then L ( W 1 ) and L ( W 2 ) are regularly separable. A = ( Q , → , Q I , Q F ) where

  17. From invariants to separability Theorem Definition Q F s s Q s F 1 19 Let W 1 , W 2 WSTS, W 2 deterministic. If W 1 × W 2 admits a finitely-represented inductive invariant, then L ( W 1 ) and L ( W 2 ) are regularly separable. A = ( Q , → , Q I , Q F ) where Q I = { ( s , s ′ ) ∈ Q | ( c , c ′ ) ⩽ ( s , s ′ ) for some ( c , c ′ ) initial }

  18. From invariants to separability Theorem Definition 19 Let W 1 , W 2 WSTS, W 2 deterministic. If W 1 × W 2 admits a finitely-represented inductive invariant, then L ( W 1 ) and L ( W 2 ) are regularly separable. A = ( Q , → , Q I , Q F ) where Q I = { ( s , s ′ ) ∈ Q | ( c , c ′ ) ⩽ ( s , s ′ ) for some ( c , c ′ ) initial } Q F = { ( s , s ′ ) ∈ Q | s ∈ F 1 }

  19. From invariants to separability Theorem a � a 19 Definition Let W 1 , W 2 WSTS, W 2 deterministic. If W 1 × W 2 admits a finitely-represented inductive invariant, then L ( W 1 ) and L ( W 2 ) are regularly separable. A = ( Q , → , Q I , Q F ) where Q I = { ( s , s ′ ) ∈ Q | ( c , c ′ ) ⩽ ( s , s ′ ) for some ( c , c ′ ) initial } Q F = { ( s , s ′ ) ∈ Q | s ∈ F 1 } ( r , r ′ ) ∈ Q in A ⩽ � ( t , t ′ ) ∈ S 1 × S 2 Q ∋ ( s , s ′ ) in W 1 ×W 2

  20. 20 a the configurations from Q . c b a c b Behavior of A q 1 ↓ q 3 ↓ q 0 ↓ • • F 1 × S 2 • • q 2 ↓ • • • • A over-approximates the behavior of the product system using

  21. 20 a the configurations from Q . c b a c b Behavior of A q 1 ↓ q 3 ↓ q 0 ↓ • • F 1 × S 2 • • q 2 ↓ • • • • A over-approximates the behavior of the product system using

  22. 20 a the configurations from Q . c b a c b Behavior of A q 1 ↓ q 3 ↓ q 0 ↓ • • F 1 × S 2 • • q 2 ↓ • • • • A over-approximates the behavior of the product system using

  23. 20 a the configurations from Q . c b a c b Behavior of A q 1 ↓ q 3 ↓ q 0 ↓ • • F 1 × S 2 • • q 2 ↓ • • • • A over-approximates the behavior of the product system using

  24. 20 a the configurations from Q . c b a c b Behavior of A q 1 ↓ q 3 ↓ q 0 ↓ • • F 1 × S 2 • • q 2 ↓ • • • • A over-approximates the behavior of the product system using

  25. 20 a the configurations from Q . c b a c b Behavior of A q 1 ↓ q 3 ↓ q 0 ↓ • • F 1 × S 2 • • q 2 ↓ • • • • A over-approximates the behavior of the product system using

  26. 20 a the configurations from Q . c b a c b Behavior of A q 1 ↓ q 3 ↓ q 0 ↓ • • F 1 × S 2 • • q 2 ↓ • • • • A over-approximates the behavior of the product system using

  27. 20 a the configurations from Q . c b a c b Behavior of A q 1 ↓ q 3 ↓ q 0 ↓ • • F 1 × S 2 • • q 2 ↓ • • • • A over-approximates the behavior of the product system using

  28. Proving separability: Inclusion Lemma 21 L ( W 1 ) ⊆ L ( A ) .

  29. Proving separability: Inclusion Lemma Proof. 21 L ( W 1 ) ⊆ L ( A ) . − → d of W 1 Any run c w synchronizes with the run of W 2 for w in the run ( c , c ′ ) w → ( d , d ′ ) of W 1 × W 2 . −

  30. Proving separability: Inclusion Lemma Proof. 21 L ( W 1 ) ⊆ L ( A ) . − → d of W 1 Any run c w synchronizes with the run of W 2 for w in the run ( c , c ′ ) w → ( d , d ′ ) of W 1 × W 2 . − This run can be over-approximated in A .

  31. Proving separability: Inclusion Lemma Proof. 21 L ( W 1 ) ⊆ L ( A ) . − → d of W 1 Any run c w synchronizes with the run of W 2 for w in the run ( c , c ′ ) w → ( d , d ′ ) of W 1 × W 2 . − This run can be over-approximated in A . If d is final in W 1 , the over-approximation of ( d , d ′ ) is final in A .

  32. Proving separability: Disjointness Lemma 22 L ( W 2 ) ∩ L ( A ) = � .

  33. Proving separability: Disjointness Lemma Proof. 22 L ( W 2 ) ∩ L ( A ) = � . Any run of A for w over-approximates in the second component the unique run of W 2 for w .

  34. Proving separability: Disjointness Lemma Proof. 22 L ( W 2 ) ∩ L ( A ) = � . Any run of A for w over-approximates in the second component the unique run of W 2 for w . If w ∈ L ( W 2 ) ∩ L ( A ) then some run of A reaches a state ( q , q ′ ) with - q final in W 1 (def. of Q I ) - q ′ final in W 2 ( w ∈ L ( W 2 ) + argument above)

  35. Proving separability: Disjointness Lemma Proof. 22 L ( W 2 ) ∩ L ( A ) = � . Any run of A for w over-approximates in the second component the unique run of W 2 for w . If w ∈ L ( W 2 ) ∩ L ( A ) then some run of A reaches a state ( q , q ′ ) with - q final in W 1 (def. of Q I ) - q ′ final in W 2 ( w ∈ L ( W 2 ) + argument above) Contradiction to F 1 × F 2 ∩ Q ↓ = � !

  36. Proof details: The ideal completion and fin.-rep. invariants

  37. Finitely represented invariants Lemma A similar result for downward-closed subsets and maximal elements does not hold. 23 Let U ⊆ S be an upward-closed set in a wqo. There is a finite set U min such that U = U min ↑ .

  38. Finitely represented invariants Lemma A similar result for downward-closed subsets and maximal elements does not hold. Example: 23 Let U ⊆ S be an upward-closed set in a wqo. There is a finite set U min such that U = U min ↑ . Consider N in ( N , ⩽ ) Intuitively, N = ω ↓

  39. Finitely represented invariants Lemma A similar result for downward-closed subsets and maximal elements does not hold. Consequence: Finitely represented invariants may not exist! Solution: Move to a language-equivalent system for which they always exist. 23 Let U ⊆ S be an upward-closed set in a wqo. There is a finite set U min such that U = U min ↑ .

  40. • directed: Ideals • non-empty • downward-closed x y z x z y z 24 Let ( S , ⩽ ) be a wqo An ideal I ⊆ S is a set that is

  41. Ideals • non-empty • downward-closed 24 Let ( S , ⩽ ) be a wqo An ideal I ⊆ S is a set that is • directed: ∀ x , y ∈ I ∃ z ∈ I : x ⩽ z , y ⩽ z

  42. Ideals • non-empty • downward-closed Example 1: 24 Let ( S , ⩽ ) be a wqo An ideal I ⊆ S is a set that is • directed: ∀ x , y ∈ I ∃ z ∈ I : x ⩽ z , y ⩽ z For each c ∈ S , c ↓ is an ideal

  43. Ideals • non-empty • downward-closed Example 2: 24 Let ( S , ⩽ ) be a wqo An ideal I ⊆ S is a set that is • directed: ∀ x , y ∈ I ∃ z ∈ I : x ⩽ z , y ⩽ z Consider ( N k , ⩽ ) The ideals are the sets u ↓ for u ∈ ( N ∪ { ω } ) k

  44. Ideal decomposition Lemma ([KP92]) inclusion-maximal ideals in D 25 Let ( S , ⩽ ) be a wqo For D ⊆ S downward closed, let Idec ( D ) be the set of Idec ( D ) is unique, finite and we have ∪ D = Idec ( D )

  45. Ideal completion Definition ([BFM14,FG12]) F F T defined by Post a Idec Post a 26 Let W = ( S , ⩽ , T , I , F ) WSTS Its ideal completion is W = ( {I ⊆ S | I ideal } , ⊆ , � � T , Idec ( I ↓ ) , � F ) with

  46. Ideal completion Definition ([BFM14,FG12]) T defined by Post a Idec Post a 26 Let W = ( S , ⩽ , T , I , F ) WSTS Its ideal completion is W = ( {I ⊆ S | I ideal } , ⊆ , � � T , Idec ( I ↓ ) , � F ) with � F = {I | I ∩ F ̸ = � }

  47. Ideal completion Definition ([BFM14,FG12]) 26 Let W = ( S , ⩽ , T , I , F ) WSTS Its ideal completion is W = ( {I ⊆ S | I ideal } , ⊆ , � � T , Idec ( I ↓ ) , � F ) with � F = {I | I ∩ F ̸ = � } ( ) T defined by Post � � W Post W a ( I ) = Idec a ( I ) ↓

  48. Ideal completion Definition ([BFM14,FG12]) • deterministic deterministic • Lemma 26 Let W = ( S , ⩽ , T , I , F ) WSTS Its ideal completion is W = ( {I ⊆ S | I ideal } , ⊆ , � � T , Idec ( I ↓ ) , � F ) with � F = {I | I ∩ F ̸ = � } ( ) T defined by Post � � W Post W a ( I ) = Idec a ( I ) ↓ • � W finitely branching

  49. Ideal completion Definition ([BFM14,FG12]) • Lemma 26 Let W = ( S , ⩽ , T , I , F ) WSTS Its ideal completion is W = ( {I ⊆ S | I ideal } , ⊆ , � � T , Idec ( I ↓ ) , � F ) with � F = {I | I ∩ F ̸ = � } ( ) T defined by Post � � W Post W a ( I ) = Idec a ( I ) ↓ • � W finitely branching ⇒ � • W deterministic = W deterministic

  50. Ideal completion Definition ([BFM14,FG12]) Lemma 26 Let W = ( S , ⩽ , T , I , F ) WSTS Its ideal completion is W = ( {I ⊆ S | I ideal } , ⊆ , � � T , Idec ( I ↓ ) , � F ) with � F = {I | I ∩ F ̸ = � } ( ) T defined by Post � � W Post W a ( I ) = Idec a ( I ) ↓ • � W finitely branching ⇒ � • W deterministic = W deterministic • L ( � W ) = L ( W )

  51. Using the ideal completion Proposition 27 If X is an inductive invariant for W , then its ideal decomposition Idec ( X ) ↓ is a finitely-represented inductive invariant for � W .

  52. Using the ideal completion Proposition Proof. Property of being an inductive invariant carries over 27 If X is an inductive invariant for W , then its ideal decomposition Idec ( X ) ↓ is a finitely-represented inductive invariant for � W . Any set of the shape Idec ( Y ) ↓ is finitely-represented in � W

  53. Using the ideal completion Proposition Proof. Property of being an inductive invariant carries over 27 If X is an inductive invariant for W , then its ideal decomposition Idec ( X ) ↓ is a finitely-represented inductive invariant for � W . Any set of the shape Idec ( Y ) ↓ is finitely-represented in � W Result in particular applies to Cover = Post ∗ ( I 1 × I 2 ) ↓ .

  54. Using the ideal completion Proposition Proof. Property of being an inductive invariant carries over 27 If X is an inductive invariant for W , then its ideal decomposition Idec ( X ) ↓ is a finitely-represented inductive invariant for � W . Any set of the shape Idec ( Y ) ↓ is finitely-represented in � W Result in particular applies to Cover = Post ∗ ( I 1 × I 2 ) ↓ . Remark: � W is not necessarily a WSTS.

  55. Conclusion

  56. Regular separability for WSTS languages Theorem If two WSTS languages are disjoint, 28 one of them finitely branching or deterministic or ω 2 , then they are regularly separable.

  57. Also in the paper... 1. A similar result for downward-compatible WSTS Theorem If two DWSTS languages, one of them deterministic, are disjoint, then they are regularly separable 29

  58. Also in the paper... 1. A similar result for downward-compatible WSTS Theorem If two DWSTS languages, one of them deterministic, are disjoint, then they are regularly separable 2. A size estimation for the case of Petri nets Theorem Given two Petri nets, their coverability languages can be separated by • Upper bound: an NFA of triply-exponential size • Lower bound: a DFA of triply-exponential size 29

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