Event structures Mauro Piccolo. Interleaving Models Trace Languages:  computation described through a non-deterministic choice between all sequential.

Slides:



Advertisements
Similar presentations
Partial Orderings Section 8.6.
Advertisements

T YPE I SOMORPHISM O LA M AHMOUD S UPERVISED BY : D R. M ARCELO F IORE UNIVERSITY OF CAMBRIDGE Computer Laboratory Theory & Semantics Group I NTRODUCTION.
Process Algebra Book: Chapter 8. The Main Issue Q: When are two models equivalent? A: When they satisfy different properties. Q: Does this mean that the.
Introduction The concept of transform appears often in the literature of image processing and data compression. Indeed a suitable discrete representation.
CSCI 115 Chapter 6 Order Relations and Structures.
Models of Concurrency Manna, Pnueli.
Primitive Recursive Functions (Chapter 3)
Distributed Markov Chains P S Thiagarajan School of Computing, National University of Singapore Joint work with Madhavan Mukund, Sumit K Jha and Ratul.
12 April 2009Instructor: Tasneem Darwish1 University of Palestine Faculty of Applied Engineering and Urban Planning Software Engineering Department Formal.
Introduction to Uppaal ITV Multiprogramming & Real-Time Systems Anders P. Ravn Aalborg University May 2009.
Chapter 7 Relations : the second time around
A Semantic Characterization of Unbounded-Nondeterministic Abstract State Machines Andreas Glausch and Wolfgang Reisig 1.
Programming Language Semantics Denotational Semantics Chapter 5 Based on a lecture by Martin Abadi.
1 Operational Semantics Mooly Sagiv Tel Aviv University Textbook: Semantics with Applications.
6th Biennial Ptolemy Miniconference Berkeley, CA May 12, 2005 Some Developments in the Tagged Signal Model Xiaojun Liu With J. Adam Cataldo, Edward A.
1 2. Constraint Databases Next level of data abstraction: Constraint level – finitely represents by constraints the logical level.
1 Ivan Lanese Computer Science Department University of Bologna Roberto Bruni Computer Science Department University of Pisa A mobile calculus with parametric.
FSM Decomposition using Partitions on States 290N: The Unknown Component Problem Lecture 24.
Technische Universität München Institut für Informatik D München, Germany Realizability of System Interface Specifications Manfred Broy.
Abstract Some of the so called smallness conditions in algebra as well as in Category Theory, important and interesting for their own and also tightly.
A Denotational Semantics For Dataflow with Firing Edward A. Lee Jike Chong Wei Zheng Paper Discussion for.
Operational Semantics Semantics with Applications Chapter 2 H. Nielson and F. Nielson
An algebra of Connectors for modeling CommUnity with Tiles joint work with Roberto Bruni Ugo Montanari Dipartimento di Informatica Università di Pisa Ivan.
Programming Language Semantics Denotational Semantics Chapter 5 Part III Based on a lecture by Martin Abadi.
1 Partial Orderings Based on Slides by Chuck Allison from Rosen, Chapter 8.6 Modified by.
Sets, POSets, and Lattice © Marcelo d’Amorim 2010.
Solving fixpoint equations
12 April 2009Instructor: Tasneem Darwish1 University of Palestine Faculty of Applied Engineering and Urban Planning Software Engineering Department Formal.
MATH 224 – Discrete Mathematics
Benjamin Gamble. What is Time?  Can mean many different things to a computer Dynamic Equation Variable System State 2.
An Algebra for Composing Access Control Policies (2002) Author: PIERO BONATTI, SABRINA DE CAPITANI DI, PIERANGELA SAMARATI Presenter: Siqing Du Date:
SDS Foil no 1 Process Algebra Process Algebra – calculating with behaviours.
Program Analysis and Verification
Advanced Topics in SE Spring Process Algebra Hossein Hojjat Formal Methods Lab University of Tehran.
 FOAL 2010 Modeling Aspects by Category Theory Serge P. Kovalyov Novosibirsk, Russia.
Pushdown Automata Part I: PDAs Chapter Recognizing Context-Free Languages Two notions of recognition: (1) Say yes or no, just like with FSMs (2)
Sets Define sets in 2 ways  Enumeration  Set comprehension (predicate on membership), e.g., {n | n  N   k  k  N  n = 10  k  0  n  50} the set.
The homology groups of a partial monoid action category Ahmet A. Husainov
Sequences & Series MATH Precalculus S. Rook.
Relations, Functions, and Countability
Strings and Languages CS 130: Theory of Computation HMU textbook, Chapter 1 (Sec 1.5)
Morphisms of State Machines Sequential Machine Theory Prof. K. J. Hintz Department of Electrical and Computer Engineering Lecture 8 Updated and adapted.
Mathematical Preliminaries
Sets and Subsets Set A set is a collection of well-defined objects (elements/members). The elements of the set are said to belong to (or be contained in)
MPRI 3 Dec 2007Catuscia Palamidessi 1 Why Probability and Nondeterminism? Concurrency Theory Nondeterminism –Scheduling within parallel composition –Unknown.
Introduction to Real Analysis Dr. Weihu Hong Clayton State University 8/19/2008.
Weak Bisimilarity Coalgebraically Andrei Popescu Department of Computer Science University of Illinois.
Greatest Common Factor Least Common Multiple Factorization.
Sequence Control Syntax and Semantics Jian Xu March 3, 2004 CS706, CAS McMaster.
Operational Semantics Mooly Sagiv Tel Aviv University Textbook: Semantics with Applications Chapter.
CSCI 115 Course Review.
1 Partial Orderings Based on Slides by Chuck Allison from Rosen, Chapter 8.6 Modified by.
Operational Semantics Mooly Sagiv Tel Aviv University Sunday Scrieber 8 Monday Schrieber.
Operational Semantics Mooly Sagiv Reference: Semantics with Applications Chapter 2 H. Nielson and F. Nielson
Rewriting Nested Graphs, through Term Graphs Roberto Bruni, Andrea Corradini, Fabio Gadducci Alberto Lluch Lafuente and Ugo Montanari Dipartimento di Informatica,
Greatest Common Factor Least Common Multiple
Introduction to Formal Methods
Formal methods: Lecture
Relations and Functions
Unit-III Algebraic Structures
NP-Completeness (2) NP-Completeness Graphs 7/23/ :02 PM x x x x
ISA 763 Security Protocol Verification
CS2210 Discrete Structures Relations
Concurrent Models of Computation
Formal Methods in software development
Defining A Formal Semantics For The Rosetta Specification Language
What are the following properties?
Compositional Refinement for Hierarchical Hybrid Systems
Formal Methods in software development
Algebraic Trace Theory
Presentation transcript:

Event structures Mauro Piccolo

Interleaving Models Trace Languages:  computation described through a non-deterministic choice between all sequential order of actions  HO games: A play:  a trace of computation Strategy:  A set of play

Example P = a1. a2 || b Traces Labelled Transition System

Causal models Ordering, concurrency and conflict between actions is explicitly represented  Order between action which are causally related  Choice is modeled by a conflict relation  Two action are concurrent if they are neither in conflict nor causally related Example: Event Structures

Plan Event structures: Definitions A category of Event Structures Domain of configurations Event structure semantics of CCS

EVENT STRUCTURES: DEFINITIONS

(Prime) Event Structure: definition An event structure is a triple E = where  E is a countable set of events  is a partially ordered set  the set [e) = {e' | e'<e} is finite  is an binary irreflexive symmetric relation on events satifying

Some notation parents(e): set of maximal events of [e) [e] = [e) U {e} e1 e2 is inherited if there exists e3<e1 s.t. e3 e2. It is immediate (written ) otherwise Remark: conflict and causal order are mutually exclusive.

Labelled Event Structures Events are occurrence of actions A labelled event structure is an event structure together with a labelling function λ : E --> L (where L is a set of labels)

Configurations A configuration is a downward closed conflict free set of events We denote with D(E) the set of configurations of E L.T.S. of Labelled Event Structure:  State: configuration  Transitions:

A CATEGORY OF EVENT STRUCTURES

Morphisms on event structures Let and two event structures: a morphism is a map f : E1 --> E2 satifsfying  f(e) = e' can be interpreted as the fact that e' is a component of the event e

Morphism on event structures Prop: A morphism between event structures is a partial function f: E1 --> E2 such that  [f(e)] ⊆ f([e]) Products and co-products are always defined

Co-product (Sum) Let two event structure. The co-product is the event structure where and

Product (Synchronous Parallel Composition) e1 e2 e3 E1 E2 (e1,*, ∅ )(e1,e3, ∅ )(*,e3, ∅ ) e f g (e2,*,{e}) (e2,e3,{e})(e2,*,{f}) E1 x E2

DOMAIN OF CONFIGURATIONS

Let a poset (we denote l.u.b. of a subset X with ⊔ X  D is bounded complete if all subsets X that have an upper bound, have a ⊔ X in D  D is coherent if all subsets X which are pairwise bounded have a l.u.b. ⊔ X in D  A complete prime of D is an element p such that for all X that have l.u.b. we have that  D is prime algebric iff for all x in D x = ⊔ {p≤x|p is complete prime}  D is finitary iff for all q complete prime the set {p≤q|p is complete prime} is finite

Prime algebric domains and Event Structures Let E an event structure  then is a finitary prime algebric domain where the complete primes are the set {[e] | e in E} Let a finitary prime algebric domain and let P the set of complete primes  then is an event structure where p p' if they do not have an upper bound in D The finitary prime algebric domains are precisely the dI-domains

EVENT STRUCTURE SEMANTICS OF CCS

Synchronization algebra A synchronization algebra is a triple where  L is a set of labels that contains * . is a partial commutative associative operator with * as neutral element. Synchronization algebra of CCS  L = N U N U {τ,*}  for all α in N, α.α=α.α=τ and  for all α, α. * = *. α = α

The language Proc_L Syntax Operational semantics (LTS) S is an endomorphism of L

Constructions on Event Structures Prefixing where Sum E1 + E2 (categorical product) Restriction where X is a set of labels Relabelling where f : E --> L Parallel Composition E1 || E2 =  E1 x E2 is the categorical product  X is the set of pair of labels where. is undefined  f(l1,l2) = l1. l2

Example of parallel composition

Semantics of Proc_L ρ is the environment function mapping process variables into event structures

Properties [[ ]] is well defined  Prefix order We say that an event structure E is a prefix of E' (written E ≤ E') if there exists an event structure E'' isomorph to E' such that E ⊆ E'' and no event of E''\E is below any other event of E.  It is possible to show that the class of event structures with the prefix order form a cpo all the constructions above are continuos