Structured Operational Semantics - PowerPoint PPT Presentation

About This Presentation
Title:

Structured Operational Semantics

Description:

SOS rules are very suitable for defining semantics. of dynamic components ... Used to define atoms and operators. Transition system semantics (many choices possible) ... – PowerPoint PPT presentation

Number of Views:97
Avg rating:3.0/5.0
Slides: 17
Provided by: wwwisW
Category:

less

Transcript and Presenter's Notes

Title: Structured Operational Semantics


1
Structured Operational Semantics
  • Marc Voorhoeve

2
Contents
  • Introduction
  • Definition and Examples
  • Bisimulation equivalence
  • Congruence

3
Introduction
SOS rules are very suitable for defining
semanticsof dynamic components Components
defined as terms. With operators, components are
placed in context.e.g. component C, context D,
together C_at_D Semantics s(C), s(D), s(C _at_D)
transition systems
4
Compositionality
Semantics of combination s(C _at_D) should only
depend upon s(C) and s(D) (component and
context) So the following situation should never
occur!
5
Compositionality(2)
different subnets
C C
6
SOS rules format
  • Syntax defines a set T of terms
  • SOS rules define transition relation
  • SOS rules have the form
  • Premises any predicate
  • Conclusion of form

7
SOS rules example
Set A (actions) given T defined by SOS rules
8
Conventions
  • TS states terms (syntax)
  • TS transitions smallest set satisfying SOS rules

Consequence d is deadlock
9
Example derivation
10
Term equivalence
Terms d and are equivalent (deadlock)bisimilar
TSs Other equivalences
11
Congruence
We want e.g. that f(xy) f(yx) for
any operator f. This imposes restrictions on SOS
rules.
Not e.g.
But e.g.
12
Petri Net Components
  1. Open Petri nets are transition systems
  2. State changes add/remove tokens, fire
  3. SOS rules define atoms (unconnectedplaces /
    transitions) and operators

13
PNC operator consume
Before
After
.
p
t
t
SOS
14
Requirement language
Temporal requirement language L
15
Requirement examples
Place a contains 1 token
After a firing of a, a b and c token
become available
Bisimilar iff satisfying same requirements! It is
possible to have non-bisimilar systems that both
satisfy all user requirements!
16
Conclusion
  • SOS rules suited for dynamic components
  • Used to define atoms and operators
  • Transition system semantics
  • (many choices possible)
  • Temporal requirements
Write a Comment
User Comments (0)
About PowerShow.com