completeness for moss s coalgebraic logic boolean version
play

Completeness for Mosss Coalgebraic Logic (Boolean version) Clemens - PowerPoint PPT Presentation

Completeness for Mosss Coalgebraic Logic (Boolean version) Clemens Kupke, Alexander Kurz , Yde Venema 23. 9. 2008 coalgebras coalgebra X TX we have for every T a notion of T -bisimilarity T : Set Set weak-pullback preserving functor


  1. Completeness for Moss’s Coalgebraic Logic (Boolean version) Clemens Kupke, Alexander Kurz , Yde Venema 23. 9. 2008

  2. coalgebras coalgebra X → TX we have for every T a notion of T -bisimilarity T : Set → Set weak-pullback preserving functor Paradimatic example: T = P (powerset-functor: coalgebras are Kripke frames) Other examples: Labelling of states and transitions (input and output), deterministic automata, probabilistic transition systems, stochastic transtition systems, arbitrary combinations of these: infinitely many examples Non-example: neighbourhood frames ( TX = 2 2 X ) are coalgebras for a non weak-pullback-preserving functor 1

  3. � � � � � weak pullback preserving functors ... ... lift from Set to Rel (sets with relations as arrows), ie, for each T : Set → Set we have ¯ T : Rel → Rel . A relation is a span, to which we can apply T R TR TR � � � � � ��������� � � � ������������������ � � � � � � � � � � � � � � � � � � � � � � � � � � � � X Y TX TY ¯ � T R � � � � � � ��������� � � � � � � � � � � � � � TX TY T is a functor iff T preserves weak pullbacks ¯ 2

  4. Moss’s coalgebraic logic Given T The language L is closed under Boolean operations and if α ∈ T ω L then ∇ α ∈ L T ω is the finitary version of T , technically, T ω X = � { TY | Y ⊆ ω X } . Example: P ω X is the set of all finite subsets of X x � ∇ α ⇔ ( ξ ( x ) , α ) ∈ ¯ T ( � ) Example ( T = P ): Moss’s logic is equi-expressive with the basic modal logic: x � ∇ φ ⇔ x � ✷ � φ ∧ { � ✸ a | a ∈ φ } Thm (Moss): L is invariant under bisimulation. The original version with infinitary conjunctions (no other Booleans needed) characterises bisimilarity (Hennessy-Milner property). 3

  5. � � � � � algebraic reformulation of the semantics P TX ρ X ¯ ∈ lifted T ( ∈ ) = ¯ is ← − T P X ∈ � � � � � � � ����������� � � � � � � � � � � � � � � � � � � � � � � � � X P X TX T P X Define L = FT ω U (where U : BA → Set and F its left-adjoint). ρ : TPX → PTX induces a BA -morphism LPX → PTX . The semantics of L wrt ξ : X → TX is given by the ‘complex algebra’ of X : Pξ = ξ − 1 � PTX � PX [ ρ is the semantics of ∇ ] LPX L [ [ − ] ] [ [ − ] ] L L L x � ∇ α ⇔ ξ ( x ) ∈ ρ X ( α ) Notation: P : Set → Set , P : Set op → Set , P : Set op → BA 4

  6. � � examples P TX ρ X ¯ ∈ lifted T ( ∈ ) = ¯ is ← − T P X ∈ � � � � � � � ����������� � � � � � � � � � � � � � � � � � � � � � � � � X P X TX T P X Examples for α ¯ ∈ Φ or α ∈ ρ X (Φ) : T = P : ∀ x ∈ α. ∃ φ ∈ Φ .x ∈ φ and vice versa x 1 φ 1 � � � � � � � � � � � � � � � � � . � . � � . . � � . . � � � � � � � � � � � � � � � � � � � � � � � x n φ m 5

  7. � � examples P TX ρ X ¯ ∈ lifted T ( ∈ ) = ¯ is ← − T P X ∈ � � � � � � � ����������� � � � � � � � � � � � � � � � � � � � � � � � � X P X TX T P X Examples for α ¯ ∈ Φ or α ∈ ρ X (Φ) : TX = { d : X → [0 , 1] | d ( x ) = 0 almost everywhere } r 11 x 1 φ 1 ���������������������� � � � p 1 � � q 1 � � � � � � � � � � � � � � � � � � � � � � � � � r 1 m � � � � . � . � � � � . � . • • � � � � . . � � � � � � ���������������������� � � � � � � � � � � � � � � � � � � � � � � p n � � q m � � � � � � � � � � � � � � � x n φ m r nm 6

  8. the proof system ( T restricts to finite sets) Notation: L a, b, c, . . . T ω L α, β, γ . . . Φ , Ψ , . . . P ω L φ, ψ, . . . T ω P ω L P ω T ω L A, B, C . . . If T preserves finite sets (maps finite sets to finite sets): ( ∇ 1 ) From α � β infer ⊢ ∇ α � ∇ β ( ∇ 2 ) � {∇ α | α ∈ A } � � {∇ ( T � )(Φ) | Φ ∈ SRD ( A ) } ( ∇ 3 ) ∇ ( T � )(Φ) � � {∇ α | α ∈ Φ } 7

  9. � � � ( ∇ 2) {∇ α | α ∈ A } = {∇ ( T )(Φ) | Φ ∈ SRD ( A ) } Remark: This axiom is important: it allows do eliminate conjunctions (and the essence of the completeness proof will be to show that every L -formula is interderivable with a conjunction free normal form). This has repercussions, eg, in the modal µ -calculus where alternating automata are equivalent to non-deterministic automata. ρ X : TPX → PTX Example: A = { α, β } ∈ PTX , T = P , α = { a 1 , a 2 } , β = { b 1 , b 2 } What can we say about ∇ α ∧ ∇ β ? Φ ∈ SRD ( A ) iff Φ ∈ TPX such that ρ (Φ) ⊇ A 8

  10. the proof system (general case: infinitary rules) For an arbitrary (weak pullback preserving) functor T : Set → Set { b 1 � b 2 | ( b 1 , b 2 ) ∈ Z } ( ∇ 1 ) ( α, β ) ∈ Z ∇ α � ∇ β {∇ ( T � )(Φ) � a | Φ ∈ SRD ( A ) } ( ∇ 2 ) � {∇ α | α ∈ A } � a {∇ α � a | α ∈ Φ } ( ∇ 3 ) ∇ ( T � )(Φ) � a 9

  11. � reminder: completeness of the basic modal logic K (in the style of Domain Theory in Logical Form) P BA � Set S Define K : BA → BA as follows: K ( A ) is generated by ✷ a , a ∈ A , modulo ✷ ( a ∧ b ) = ✷ a ∧ ✷ b , ✷ ⊤ = ⊤ . Note : Every ‘variable’ a, b is under the scope of exactly one modality Thm : KP X → P P X , ✷ a �→ { b ⊆ a } , is an isomorphism for finite sets X . Cor : a) One-step completeness: KP X → P P X is injective for all X . b) Completeness of K . 10

  12. remark on ‘one-step completeness’ (Now writing T for P ) Show KP X → P TX injective (completeness via normal form) or TX → S KP X surjective (completeness via building a satisfying model) 11

  13. M and the one-step proof system What is the analog of K in our case? Define M : BA → BA MA is given by generators: ∇ α , α ∈ T ω U A modulo: ( ∇ 1) - ( ∇ 3) In the paper we make precise what we mean by ‘modulo’ here: we call it the one-step proof system 12

  14. � � � � � final coalgebra sequence and initial algebra sequence canonical model . . . . . . P n 1 P ω 1 2 � K 2 2 2 1 P 1 Lindenbaum algebra � . . . � . . . � K n � K ω [two references: Abramsky’89, Ghilardi’95] 13

  15. � � � � � final coalgebra sequence and initial algebra sequence . . . . . . canonical model 2 P n 1 P ω 1 � K 2 2 2 1 P 1 Lindenbaum algebra � . . . � . . . � K n � K ω � . . . � . . . canonical extension � P P n 1 � P P ω 1 P 1 � P P 1 14

  16. � � � � � � � � � � � � � final coalgebra sequence and initial algebra sequence . . . . . . canonical model 2 P n 1 P ω 1 K 2 2 2 1 P 1 Lindenbaum algebra . . . . . . � K n � K ω ∼ ∼ ∼ = = = � . . . � . . . canonical extension � P P n 1 � P P ω 1 P 1 � P P 1 15

  17. � � � � � � � � � � � � � � � � from one-step completeness to completeness L : Moss’s language, L i : formulas of depth i � L 2 . . . L 0 L 1 L 2 M 2 2 � L 2 / ≡ . . . L 0 / ≡ L 1 / ≡ L / ≡ . . . M 2 M . . . P T ω 1 � P T 2 1 P 1 � P T 1 16

  18. 2 is iso from one-step completeness to completeness needs ... → M n L n / ≡ − [Derivations of ⊢ a ≡ b of terms a, b of depth n can be performed without using terms of depth > n . Follows from the fact that the logic is described by a one-step proof system.] [Given a BA -morphism f : A → B , a derivation of a ≡ a ′ in the one-step proof M is a functor system over A can be mapped to a derivation of f ( a ) ≡ f ( a ′ ) in the one-step proof system over B .] M is finitary and preserves embeddings [Given an injective BA -morphism f : A → B , a derivation of f ( a ) ≡ f ( a ′ ) in the one-step proof system over B can be mapped to a derivation of a ≡ a ′ in the one-step proof system over A (proof uses that for a finite BA A an embedding A → B has a half-inverse (which follows eg from the fact that complete Boolean algebras are injective))] 17

Recommend


More recommend