Modeling a Service and Session Calculus with Hierarchical Graph Transformation Roberto Bruni, Andrea Corradini, Ugo Montanari (based on joint work with.

Slides:



Advertisements
Similar presentations
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.
Advertisements

Introduction to Proofs
ARCHITECTURES FOR ARTIFICIAL INTELLIGENCE SYSTEMS
Introduction The concept of transform appears often in the literature of image processing and data compression. Indeed a suitable discrete representation.
M. Belkin and P. Niyogi, Neural Computation, pp. 1373–1396, 2003.
Problem Solving Well-formed predicate calculus expressions provide a means of describing objects and relations in a problem domain and inference rule.
CSE 425: Semantic Analysis Semantic Analysis Allows rigorous specification of a program’s meaning –Lets (parts of) programming languages be proven correct.
1 Towards formal manipulations of scenarios represented by High-level Message Sequence Charts Loïc Hélouet Claude Jard Benoît Caillaud IRISA/PAMPA (INRIA/CNRS/Univ.
Review of topics Final exam : -May 2nd to May 7 th - Projects due on May 7th.
CS 355 – Programming Languages
Mathematical Modeling Carsten Schürmann DemTech April 8, 2015 IEEE-SA VSSC
Roberto Pisa, Italy 13 June 2008 WADT Tiles for Reo Roberto Bruni Dipartimento di Informatica Università di Pisa WADT th International.
School of Computing and Mathematics, University of Huddersfield CAS2545: WEEK 11 LECTURE: n The meaning of Algebraic Specifications TUTORIAL/PRACTICAL:
1 Synchronization strategies for global computing models Ivan Lanese Computer Science Department University of Bologna.
1 Ivan Lanese Computer Science Department University of Bologna Roberto Bruni Computer Science Department University of Pisa A mobile calculus with parametric.
1 Ivan Lanese Computer Science Department University of Bologna Italy Behavioural Theory for SSCC Joint work with Luis Cruz-Filipe, Francisco Martins,
1 Mapping Fusion and Synchronized Hyperedge Replacement into Logic Programming joint work with Ugo Montanari Ivan Lanese Dipartimento di Informatica Università.
C SC 520 Principles of Programming Languages 1 C SC 520: Principles of Programming Languages Peter J. Downey Department of Computer Science Spring 2006.
Dr Eleni Mangina – COURSE: LOGIC PROGRAMMING (during a joint degree with Fudan University in Software Engineering) DEPT. OF COMPUTER SCIENCE UCD Problem.
1 Ivan Lanese Computer Science Department University of Pisa Prof. Ugo Montanari Synchronization strategies for global computing Relator: Thesis Progress.
1 Ivan Lanese Computer Science Department University of Bologna Italy Concurrent and located synchronizations in π-calculus.
1 CoMeta, final workshop, /12/2003 Ivan Lanese Dipartimento di Informatica Università di Pisa Ugo Montanari A graphical Fusion Calculus Joint work.
Modeling Community with Tiles joint work with Ivan Lanese Ugo Montanari Dipartimento di Informatica Università di Pisa Roberto Bruni Dipartimento di Informatica.
1 Ivan Lanese Computer Science Department University of Bologna Italy Behavioural Theory at Work: Program Transformations in a Service-centred Calculus.
An algebra of Connectors for modeling CommUnity with Tiles joint work with Roberto Bruni Ugo Montanari Dipartimento di Informatica Università di Pisa Ivan.
1 Formal Models for Transactions: BizTalk as ZSN Roberto Bruni Dipartimento di Informatica Università di Pisa Models and Languages for Coordination and.
Complete Axioms for Stateless Connectors joint work with Roberto Bruni and Ugo Montanari Dipartimento di Informatica Università di Pisa Ivan Lanese Dipartimento.
Synchronizations with Mobility for Graph Transformations joint work with Ugo Montanari Dipartimento di Informatica Università di Pisa Ivan Lanese Dipartimento.
1 Type-Directed Concurrency Deepak Garg, Frank Pfenning {dg+, Carnegie Mellon University.
THE TRANSITION FROM ARITHMETIC TO ALGEBRA: WHAT WE KNOW AND WHAT WE DO NOT KNOW (Some ways of asking questions about this transition)‏
An Information Theory based Modeling of DSMLs Zekai Demirezen 1, Barrett Bryant 1, Murat M. Tanik 2 1 Department of Computer and Information Sciences,
Category Theory By: Ashley Reynolds. HISTORY OF CATEGORY THEORY  In 1942–45, Samuel Eilenberg and Saunders Mac Lane introduced categories, functors,
Computational Thinking The VT Community web site:
What is Gestalt? Wiki: Gestalt refers to a structure, configuration, or pattern of physical, biological, or psychological phenomena so integrated as to.
Mathematical Modeling and Formal Specification Languages CIS 376 Bruce R. Maxim UM-Dearborn.
AToM 3 : A Tool for Multi- Formalism and Meta-Modelling Juan de Lara (1,2) Hans Vangheluwe (2) (1) ETS Informática Universidad Autónoma de Madrid Madrid,
Invariant Based Programming in Education Tutorial, FM’08 Linda Mannila
Logic in Computer Science - Overview Sep 1, 2011 POSTECH 박성우.
Validated Model Transformation Tihamér Levendovszky Budapest University of Technology and Economics Department of Automation and Applied Informatics Applied.
Categories and Computer Science
Introduction to Graph Grammars Fulvio D’Antonio LEKS, IASI-CNR Rome,
© 2012 Common Core, Inc. All rights reserved. commoncore.org NYS COMMON CORE MATHEMATICS CURRICULUM A Story of Functions Overview of Grade Nine.
Great Theoretical Ideas in Computer Science about AWESOME Some Generating Functions Probability Infinity MATH Some Formal Logic (which is really.
Big Ideas Differentiation Frames with Icons. 1. Number Uses, Classification, and Representation- Numbers can be used for different purposes, and numbers.
Formal Specification of Intrusion Signatures and Detection Rules By Jean-Philippe Pouzol and Mireille Ducassé 15 th IEEE Computer Security Foundations.
Logic in Computer Science - Overview Sep 1, 2009 박성우.
3.2 Semantics. 2 Semantics Attribute Grammars The Meanings of Programs: Semantics Sebesta Chapter 3.
Programming Languages and Design Lecture 3 Semantic Specifications of Programming Languages Instructor: Li Ma Department of Computer Science Texas Southern.
Syntax and Semantics CIS 331 Syntax: the form or structure of the expressions, statements, and program units. Semantics: the meaning of the expressions,
Lesson 58 – Slope Fields – Graphical Solutions to DE
Modeling a Service and Session Calculus with Hierarchical Graph Transformation Joint work with Roberto Bruni and Andrea Corradini, second part Ugo Montanari.
2004 Hawaii Inter Conf Comp Sci1 Specifying and Proving Object- Oriented Programs Arthur C. Fleck Computer Science Department University of Iowa.
1 Beginning & Intermediate Algebra – Math 103 Math, Statistics & Physics.
Geometry The Van Hiele Levels of Geometric Thought.
Concepts and Realization of a Diagram Editor Generator Based on Hypergraph Transformation Author: Mark Minas Presenter: Song Gu.
CSC3315 (Spring 2009)1 CSC 3315 Languages & Compilers Hamid Harroud School of Science and Engineering, Akhawayn University
Hierarchical Modeling.  Explain the 3 different types of model for which computer graphics is used for.  Differentiate the 2 different types of entity.
5 Lecture in math Predicates Induction Combinatorics.
PPL Syntax & Formal Semantics Lecture Notes: Chapter 2.
CSE 20: Discrete Mathematics for Computer Science Prof. Shachar Lovett.
Rewriting Nested Graphs, through Term Graphs Roberto Bruni, Andrea Corradini, Fabio Gadducci Alberto Lluch Lafuente and Ugo Montanari Dipartimento di Informatica,
Exploiting the hierarchical structure of
Spring 2017 Program Analysis and Verification
Validating Reconfigurations of Reo Circuits
Chapter 10 Design Patterns.
Matching Logic An Alternative to Hoare/Floyd Logic
State Digrams in UML: A Formal Senmatics using Graph Transformations
Internet of Things A Process Calculus Approach
FUNCTIONS.
Sets and Probabilistic Models
Presentation transcript:

Modeling a Service and Session Calculus with Hierarchical Graph Transformation Roberto Bruni, Andrea Corradini, Ugo Montanari (based on joint work with Fabio Gadducci and Alberto Lluch Lafuente) GraMoT, International Colloquium on Graph and Model Transformation Berlin, February , 2010

2 Graphs are everywhere  Use of diagrams / graphs is pervasive to Computer Science

3 Graph-based approaches  Some key features of graph-based approaches  help to convey ideas visually  ability to represent in a direct way relevant topological features  to make "links", "connection", "separation", "structure" explicit  ability to model systems at the “right” level of abstraction  ability to represent systems “up to isomorphism”  irrelevant details can be omitted (e.g. names of states in FSA)  important body of theory available  Graph grammars  Graph transformation systems  DPO, SPO, SHR  Layout algorithms

4 Encoding computational formalisms: From algebraic to graph-based syntax

5 The goal: sound and complete encoding

6 Main complication: the representation gap

7 The proposed solution: graph algebras one to one

8  Start with a given class (category?) of graphs  Define an equational signature,  operators correspond to operations on graphs  axioms describe their properties  Prove once and for all soundness and completeness of the axioms with respect to the interpretation on graphs, as well as surjectivity  Next, you can safely use the algebra as an alternative, more handy syntax for the graphs  Example of graph algebra:  CHARM [CMR'94]  states correspond to monos of hypergraphs (graph with interface)  rewriting rules correspond to spans, reductions to dpo steps From graphs to graph algebras

9 Towards more structured graphs A classical example: Term Graphs  First-order terms are an ingredient of the syntax of several formalisms:  term rewriting  logic programming  functional programming  narrowing ...  A graphical modeling of this family of formalisms is easier when using graphs which embody a notion of operator applied to arguments: Term Graphs  Term Graphs were introduced in a variety of equivalent ways (directed graphs, jungles, linear systems of equations)  They also have a sound and complete axiomatization:  GS-monoidal theories

10 Modeling Sensoria calculi: Need of hierarchical graphs  Several process calculi have been proposed in the framework of the Sensoria project  Such calculi use names, and include a notion of nesting, for modeling sessions, transactions,...  To reduce the representation gap, we introduce an algebra of nested graphs which, besides the CHARM operators and axioms, provides primitives for representing  names  nesting of structures  The algebra is coupled with a new definition of hierarchical (layered) graphs  An interpretation of the terms of the algebra as hierarchical graphs is provided  Soundness and completeness of the axioms with respect to the encoding has been proved  The encoding is proved to be surjective

11 The Algebra of Graphs with Nesting: syntax and some terms, with their intuitive meaning

12 The Algebra of Graphs with Nesting: Axioms Optional for certain L

13 Hierarchical (layered) graphs

14 Interpreting AGN over Hierarchical Graphs Main result: soundness, completeness and surjectivity of the interpretation

15 Encoding AGN into Term Graphs  A different graphical representation of AGN is obtained by interpreting it over Term Graphs  The interpretation is defined using the GS-monoidal theory  The encoding is sound and complete, but not surjective

16 Conclusions... after Ugo's talk...

17 CHARM's axioms

18 GS-monoidal theory: an axiomatization of term graphs