advanced logic 2014 15
play

Advanced Logic 201415 Dimitri Hendriks VU University Amsterdam - PowerPoint PPT Presentation

Advanced Logic 201415 Dimitri Hendriks VU University Amsterdam Theoretical Computer Science week 2 towards bisimulations what can be expressed by the modal language? when can two pointed models ( M , w ) and ( M , w ) be


  1. Advanced Logic 2014–15 Dimitri Hendriks VU University Amsterdam Theoretical Computer Science week 2

  2. towards bisimulations ◮ what can be expressed by the modal language? ◮ when can two pointed models ( M , w ) and ( M ′ , w ′ ) be distinguished by the modal language? ◮ when should they be viewed as modally identical? ◮ what is the right semantic equivalence for the basic modal language?

  3. indistinguishable states Example 1 2 4 3 ◮ states 2 and 4 cannot be distinguished by a modal formula ◮ in other words 2 � ϕ if and only if 4 � ϕ , for all formulas ϕ ◮ why?

  4. bisimulations Definition Let M = ( W , R , V ) and M ′ = ( W ′ , R ′ , V ′ ) be models. A relation Z ⊆ W × W ′ is a bisimulation between M and M ′ , notation Z : M ↔ M ′ , if for all pairs ( w , w ′ ) ∈ Z : ◮ ( base ) w ∈ V ( p ) if and only if w ′ ∈ V ′ ( p ) if Rwv then for some v ′ ∈ W ′ we have: ◮ ( zig ) R ′ w ′ v ′ and vZv ′ if R ′ w ′ v ′ then for some v ∈ W we have: ◮ ( zag ) Rwv and vZv ′ So bisimilar states carry the same atomic information , and whenever it is possible to make a transition in one model, it is possible to make a matching transition in the other.

  5. bisimulations: base condition w w ′ M ′ = ( W ′ , R ′ , V ′ ) M = ( W , R , V ) if wZw ′

  6. bisimulations: base condition q , ¬ r , . . . q , ¬ r , . . . w w ′ M ′ = ( W ′ , R ′ , V ′ ) M = ( W , R , V ) if wZw ′ then for all p ∈ Var w ∈ V ( p ) if and only if w ′ ∈ V ′ ( p )

  7. bisimulations: the zig-condition w w ′ M ′ = ( W ′ , R ′ , V ′ ) M = ( W , R , V ) if wZw ′

  8. bisimulations: the zig-condition w w ′ M ′ = ( W ′ , R ′ , V ′ ) M = ( W , R , V ) v if wZw ′ and Rwv

  9. bisimulations: the zig-condition w w ′ M ′ = ( W ′ , R ′ , V ′ ) ∃ v ′ ∈ W ′ M = ( W , R , V ) v v ′ if wZw ′ and Rwv then there exists a point v ′ ∈ W ′

  10. bisimulations: the zig-condition w w ′ M ′ = ( W ′ , R ′ , V ′ ) ∃ v ′ ∈ W ′ M = ( W , R , V ) v v ′ if wZw ′ and Rwv then there exists a point v ′ ∈ W ′ such that R ′ w ′ v ′

  11. bisimulations: the zig-condition w w ′ M ′ = ( W ′ , R ′ , V ′ ) ∃ v ′ ∈ W ′ M = ( W , R , V ) v v ′ if wZw ′ and Rwv then there exists a point v ′ ∈ W ′ such that R ′ w ′ v ′ and vZv ′

  12. bisimulations: the zag-condition w w ′ M ′ = ( W ′ , R ′ , V ′ ) M = ( W , R , V ) if wZw ′

  13. bisimulations: the zag-condition w w ′ M ′ = ( W ′ , R ′ , V ′ ) M = ( W , R , V ) v ′ if wZw ′ and R ′ w ′ v ′

  14. bisimulations: the zag-condition w w ′ M ′ = ( W ′ , R ′ , V ′ ) M = ( W , R , V ) ∃ v ∈ W v v ′ if wZw ′ and R ′ w ′ v ′ then there exists a point v ∈ W

  15. bisimulations: the zag-condition w w ′ M ′ = ( W ′ , R ′ , V ′ ) M = ( W , R , V ) ∃ v ∈ W v v ′ if wZw ′ and R ′ w ′ v ′ then there exists a point v ∈ W such that Rwv

  16. bisimulations: the zag-condition w w ′ M ′ = ( W ′ , R ′ , V ′ ) M = ( W , R , V ) ∃ v ∈ W v v ′ if wZw ′ and R ′ w ′ v ′ then there exists a point v ∈ W such that Rwv and vZv ′

  17. bisimilarity Definition Two models M and M ′ are bisimilar , notation M ↔ M ′ , if there exists a bisimulation Z such that Z : M ↔ M ′ . Two pointed models ( M , w ) and ( M ′ , w ′ ) are bisimilar , notation: M , w ↔ M ′ , w ′ or just w ↔ w ′ , if Z : M ↔ M ′ and wZw ′ for some bisimulation Z .

  18. bisimilarity Proposition ↔ as a relation between models, is an equivalence relation: ◮ Id : M ↔ M where Id = { ( w , w ) | w ∈ W } . ◮ If Z : M ↔ M ′ , then Z − 1 : M ′ ↔ M , where Z − 1 = { ( w ′ , w ) | ( w , w ′ ) ∈ Z } . ◮ If Z 1 : M 1 ↔ M 2 and Z 2 : M 2 ↔ M 3 then Z 1 ◦ Z 2 : M 1 ↔ M 3 where Z 1 ◦ Z 2 = { ( x , z ) | ∃ y ( xZ 1 y ∧ yZ 2 z ) } .

  19. example of bisimilar states Example 1 2 4 3 States 2 and 4 are bisimilar, since there are bisimulations relating them, for example: B 1 = { (2 , 4) , (3 , 3) } B 2 = { (1 , 1) , (2 , 4) , (4 , 2) , (3 , 3) } B 3 = { (1 , 1) , (2 , 2) , (2 , 4) , (3 , 3) , (4 , 2) , (4 , 4) }

  20. bisimulation games ◮ players: ◮ Spoiler S claims (finite) models M , s and N , t to be different ◮ Duplicator D claims they are similar ◮ play consists of a sequence of links, starting with s ⌢ t ◮ at each round with current link m ⌢ n : ◮ if m and n differ in their atoms, S wins ◮ if not, S has to pick either a successor x of m , or a successor y of n ◮ D must respond with a matching transition in the other model: if S took a step m → x in M , then D must find a step n → y in N if S took a step n → y in N , then D must find a step m → x in M ◮ play continues with x ⌢ y ◮ if a player cannot make a move, (s)he loses ◮ infinite games (where we return to an already visited link) are won by D

  21. example of non-bisimilarity Example a 1 2 3 b p q p q c d 4 5 states a and 1 are not bisimilar . . .

  22. example of non-bisimilarity Example a 1 2 3 b p q p q c 4 5 d for suppose they were. then ( a , 1) ∈ Z for some bisimulation Z Z ⊆ { a , b , c , d } × { 1 , 2 , 3 , 4 , 5 }

  23. example of non-bisimilarity Example a 1 2 3 b p q p q c d 4 5 � Z = ( a , 1) , . . .

  24. example of non-bisimilarity Example a 1 2 3 b p q p q c d 4 5 � Z = ( a , 1) , ( b , 2) . . . since the step from 1 to 2 has to be matched on the left (zag)

  25. example of non-bisimilarity Example a 1 2 3 b p q p q c d 4 5 � Z = ( a , 1) , ( b , 2) , ( d , 4) . . . since the step from b to d has to be matched on the right (zig)

  26. example of non-bisimilarity Example a 1 2 3 b p q p q c 4 5 d but d and 4 disagree on their atomic info: d � p whereas 4 � p . hence, there cannot be a bisimulation linking a to 1.

  27. another example of a bisimulation Example N = ( N , S ) F = ( { e , o } , R ) S = { ( n , n + 1) | n ∈ N } R = { ( e , o ) , ( o , e ) } V ( p ) = { 2 n | n ∈ N } U ( p ) = { e } State 0 of model ( N , V ) bisimulates with state e of model ( F , U ).

  28. modal equivalence of states Definition Let M and M ′ be models. A state w of M and a state w ′ of M ′ are modally equivalent , notation M , w � M ′ , w ′ , if they satisfy the same formulas: ∀ ϕ ( M , w � ϕ iff M ′ , w ′ � ϕ ) M , w � M ′ , w ′ if and only if

  29. invariance: ↔ ⊆ � Theorem Bisimilar states are modally equivalent: ( M , w ↔ M ′ , w ′ ) = ⇒ ( M , w � M ′ , w ′ ) In other words: modal truth is invariant under bisimulation.

  30. bounded morphisms: functional frame-bisimulations Definition Let F = ( W , R ) and F ′ = ( W ′ , R ′ ) be frames. A function h : W → W ′ is a bounded morphism if it satisfies ◮ for all w , v ∈ W , if Rwv then R ′ h ( w ) h ( v ) ◮ for all w ∈ W , v ′ ∈ W ′ , if R ′ h ( w ) v ′ then there exists v ∈ W such that h ( v ) = v ′ and Rwv We write h : F ։ F ′ if h is a surjective bounded morphism from F to F ′ (so when the image of h is the entire domain of F ′ ). We write F ։ F ′ if h : F ։ F ′ for some h , and call F ′ a bounded morphic image of F . Note that the relation H = { ( x , h ( x )) | x ∈ W } satisfies the zig and zag conditions of bisimulation.

  31. surjective bounded morphisms preserve frame validity Theorem A bounded morphic image F ′ of F contains the theory of F , i.e., F ′ � ϕ ) ( F ։ F ′ ) = ⇒ ( F � ϕ = ⇒

  32. application: asymmetry not modally definable Example There is no modal formula that characterizes asymmetry ( Rxy → ¬ Ryx ); proof using frames N en F from slide 45: ◮ suppose there was such a formula ϕ ◮ then N � ϕ ◮ let h be defined by h (2 n ) = e and h (2 n + 1) = o ◮ then h : N ։ F and so F � ϕ ◮ contradiction, as F is not asymmetric ◮ hence ϕ does not exist In general: Corollary Let C be a class of frames, and let F , F ′ be frames. If F ∈ C , F ։ F ′ and F ′ �∈ C , then C cannot be characterized by a modal formula.

  33. � ⊆ ↔ ? What about the other direction: does modal equivalence of states imply that they are bisimilar?

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