algebraic results for structured operational semantics
play

Algebraic results for structured operational semantics Vashti - PDF document

SAICSIT 2000 Algebraic results for structured operational semantics 1 Algebraic results for structured operational semantics Vashti Galpin vashti@cs.wits.ac.za http://www.cs.wits.ac.za/~vashti Department of Computer Science University of


  1. SAICSIT 2000 Algebraic results for structured operational semantics 1 Algebraic results for structured operational semantics Vashti Galpin vashti@cs.wits.ac.za http://www.cs.wits.ac.za/~vashti Department of Computer Science University of the Witwatersrand SAICSIT 2000 Algebraic results for structured operational semantics 2 Introduction • process algebras – many different variants – CCS (Calculus of Communicating Systems) and extensions – three components ∗ syntax – description of processes ∗ structured operational semantics – behaviour of processes as labelled transition system ∗ semantic equivalences – bisimulation • what is the relationship between different process algebras? • can use extended tyft/tyxt format to compare • how conditions for comparison results relate to algebras used to represent process algebra labels

  2. SAICSIT 2000 Algebraic results for structured operational semantics 3 Outline • formats – metatheory of process algebras • extended tyft/tyxt format • using the format to express process algebras • comparison results for this format • summing congruences and algebras • ensuring conditions for results SAICSIT 2000 Algebraic results for structured operational semantics 4 Formats • metatheory of process algebra – consider form of operational semantics rules – prove general results that hold when rules have that form • congruence, conservative extension, axiomatisation, etc. • extended tyft/tyxt format – treats labels of transitions syntactically, not schematically – comparison of process algebra semantic equivalences

  3. SAICSIT 2000 Algebraic results for structured operational semantics 5 Notation and definitions • many-sorted signature Σ = ( S ∪ { P } , F ) – S – set of sorts – P – sort of processes – F – set of operators, f : s 1 , . . . , s n → s – suitable – only operators with range P take arguments of sort P • terms over Σ – open T (Σ), closed T (Σ) • extended transition system specification (eTSS) – E = (Σ , R ) – R – set of rules with specific form λ i → p ′ { p i − i | i ∈ I } λ p − → p ′ i , p, p ′ ∈ T (Σ) P , and λ i , λ ∈ T (Σ) S for i ∈ I . I an index set, p i , p ′ SAICSIT 2000 Algebraic results for structured operational semantics 6 Extended tyft/tyxt format • additional conditions on form of rules • bisimulation – use congruence over label terms to match in terms of meaning – informally, two terms from E are bisimilar up to ≡ ( t ∼ E ≡ u ) if → t ′ there exists u ′ and β such that u β α → u ′ , α ≡ β 1. whenever t − − and t ′ ∼ E ≡ u ′ → u ′ there exists t ′ and β such that t β α → t ′ , α ≡ β 2. whenever u − − and t ′ ∼ E ≡ u ′ where t, t ′ , u, u ′ ∈ T (Σ) P and α, β ∈ T (Σ) S

  4. SAICSIT 2000 Algebraic results for structured operational semantics 7 Expressing process algebras in extended tyft/tyxt format • Σ-algebra – non-empty carrier sets for each sort in S – function for each operator in F , mapping from the appropriate carrier sets to the appropriate carrier set • unique homomorphism i A from T (Σ) to A • i A induces congruence ≡ A over T (Σ) S • choose Σ-algebra A to represent labels • use congruence ≡ A for bisimulation SAICSIT 2000 Algebraic results for structured operational semantics 8 Results for extended tyft/tyxt format • congruence – bisimulation is a congruence for all operators defined in the format • sums of eTSSs – E 0 ⊕ E 1 – sums of signatures – Σ 0 ⊕ Σ 1 – union of rule sets – R 0 ∪ R 1 – sum of congruences – ≡ A 0 ⊕ ≡ A 1 • what is the relationship between ∼ E 0 ∼ E 0 ⊕E 1 and ? ≡ A 0 ≡ A 0 ⊕≡ A 1

  5. SAICSIT 2000 Algebraic results for structured operational semantics 9 Results for extended tyft/tyxt format (cont.) • abstracting extension ∼ E 0 ∼ E 0 ⊕E 1 ⊆ ≡ A 0 ≡ A 0 ⊕≡ A 1 whenever – E 0 pure, label-pure; E 1 well-founded; E 0 ⊕ E 1 type-0 – ≡ A 0 ⊕ ≡ A 1 is compatible with respect to E 0 ⊕ E 1 • refining extension ∼ E 0 ∼ E 0 ⊕E 1 ⊇ ≡ A 0 ≡ A 0 ⊕≡ A 1 whenever – E 0 pure, label-pure; E 0 ⊕ E 1 type-1 – ≡ A 0 ⊕ ≡ A 1 is conservative with respect to ≡ A 0 SAICSIT 2000 Algebraic results for structured operational semantics 10 More definitions • ≡ A 0 ⊕ ≡ A 1 compatible with respect to E 0 ⊕ E 1 for certain label terms that appear in the rules, it is possible to find a substitution with certain properties • ≡ A 0 ⊕ ≡ A 1 conservative with respect to ≡ A 0 on the closed terms T (Σ 0 ), ≡ A 0 ⊕ ≡ A 1 identifies the same terms as ≡ A 0 • A 0 ⊕ A 1 – sum of algebras take sorted union of A 0 and A 1 when 1. the carrier sets are identical for sorts in both Σ 0 ∩ Σ 1 2. the functions representing operators in F 0 ∩ F 1 are equal

  6. SAICSIT 2000 Algebraic results for structured operational semantics 11 Questions 1. Is A 0 ⊕ A 1 a (Σ 0 ⊕ Σ 1 )-algebra? 2. Is ≡ A 0 ⊕A 1 the same as ≡ A 0 ⊕ ≡ A 1 ? 3. Is ≡ A 0 ⊕ ≡ A 1 conservative with respect to ≡ A 0 ? 4. Is ≡ A 0 ⊕ ≡ A 1 compatible with E 0 ⊕ E 1 ? 5. Are there general conditions that ensure compatibility? SAICSIT 2000 Algebraic results for structured operational semantics 12 Answers 1. A 0 ⊕ A 1 is a (Σ 0 ⊕ Σ 1 )-algebra always 2. Under condition of sort-similarity 3. Under condition of sort-similarity 4. Under condition of sort-similarity 5. Under conditions on functions representing the operators that ap- pears in the terms for which compatibility is required

  7. SAICSIT 2000 Algebraic results for structured operational semantics 13 Sort-similarity • Σ 0 ⊕ Σ 1 is sort-similar if for each s ∈ S 0 ∩ S 1 , f ∈ F 0 ∪ F 1 with f : s 1 , . . . , s n → s implies f ∈ F 0 ∩ F 1 • this implies that the closed terms T (Σ 0 ⊕ Σ 1 ) = T (Σ 0 ) ∪ T (Σ 1 ), namely no new terms are formed by summing the eTSSs • this also implies that any closed term with a sort from S 0 ∩ S 1 must be in T (Σ 0 ) ∩ T (Σ 1 ) SAICSIT 2000 Algebraic results for structured operational semantics 14 Proofs • ≡ A 0 ⊕A 1 = ≡ A 0 ⊕ ≡ A 1 – use sort-similarity to show that i A 0 ⊕A 1 = i A 0 – ⇒ : straightforward – ⇐ : induction on the definition of ≡ A 0 ⊕ ≡ A 1 • ≡ A 0 ⊕ ≡ A 1 is conservative with respect to ≡ A 0 – use the fact that i A 0 ⊕A 1 = i A 0 • ≡ A 0 ⊕ ≡ A 1 is compatible with E 0 ⊕ E 1 – s ∈ ( S 0 ∪ S 1 ) − ( S 0 ∩ S 1 ) – by conservativity – s ∈ ( S 0 ∩ S 1 ) – use the fact that i A 0 ⊕A 1 = i A 0

  8. SAICSIT 2000 Algebraic results for structured operational semantics 15 Conclusion • existing results for extended tyft/tyxt format for semantic equiva- lence comparison • conditions on algebras used to represent process algebra labels • under condition of sort-similarity, can work with equivalence in- duced by sum of algebras • general conditions under which compatibility can be achieved

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