On the origins of Bisimulation & Coinduction

Slides:



Advertisements
Similar presentations
Brief Introduction to Logic. Outline Historical View Propositional Logic : Syntax Propositional Logic : Semantics Satisfiability Natural Deduction : Proofs.
Advertisements

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.
Possible World Semantics for Modal Logic
Partial Order Reduction: Main Idea
Game-theoretic simulation checking tool Peter Bulychev, Vladimir Zakharov, Igor Konnov Moscow State University.
Rigorous Software Development CSCI-GA Instructor: Thomas Wies Spring 2012 Lecture 11.
Event structures Mauro Piccolo. Interleaving Models Trace Languages:  computation described through a non-deterministic choice between all sequential.
Determinization of Büchi Automata
4/25/20151 Metodi formali nello sviluppo software a.a.2013/2014 Prof.Anna Labella.
Copyright © Cengage Learning. All rights reserved.
Sets Lecture 11: Oct 24 AB C. This Lecture We will first introduce some basic set theory before we do counting. Basic Definitions Operations on Sets Set.
Basic Structures: Sets, Functions, Sequences, Sums, and Matrices
Basic Structures: Sets, Functions, Sequences, Sums, and Matrices
Behavioral Equivalence Hossein Hojjat Formal Lab University of Tehran.
A Semantic Characterization of Unbounded-Nondeterministic Abstract State Machines Andreas Glausch and Wolfgang Reisig 1.
Logic and Set Theory.
Programming Language Semantics Denotational Semantics Chapter 5 Based on a lecture by Martin Abadi.
Brief Introduction to Logic. Outline Historical View Propositional Logic : Syntax Propositional Logic : Semantics Satisfiability Natural Deduction : Proofs.
Discrete Mathematics Lecture 4 Harper Langston New York University.
Winter 2004/5Pls – inductive – Catriel Beeri1 Inductive Definitions (our meta-language for specifications)  Examples  Syntax  Semantics  Proof Trees.
Witness and Counterexample Li Tan Oct. 15, 2002.
Semantics with Applications Mooly Sagiv Schrirber html:// Textbooks:Winskel The.
ESE601: Hybrid Systems Introduction to verification Spring 2006.
Witness and Counterexample Li Tan Oct. 15, 2002.
Programming Language Semantics Denotational Semantics Chapter 5 Part III Based on a lecture by Martin Abadi.
Computability Thank you for staying close to me!! Learning and thinking More algorithms... computability.
2012: J Paul GibsonTSP: Mathematical FoundationsMAT7003/L5- CountingAndEnumeration.1 MAT 7003 : Mathematical Foundations (for Software Engineering) J Paul.
Copyright © 2007 Pearson Education, Inc. Slide 8-1.
Set Theory A B C.
Relation, function 1 Mathematical logic Lesson 5 Relations, mappings, countable and uncountable sets.
MATH 224 – Discrete Mathematics
Reactive systems – general
2G1516 Formal Methods2005 Mads Dam IMIT, KTH 1 CCS: Operational Semantics And Process Algebra Mads Dam Reading: Peled 8.3, 8.4, 8.6 – rest of ch. 8.
1 Bisimulations as a Technique for State Space Reductions.
Process Algebra Calculus of Communicating Systems Daniel Choi Provable Software Lab. KAIST.
Reading and Writing Mathematical Proofs Spring 2015 Lecture 4: Beyond Basic Induction.
Fall 2015 COMP 2300 Discrete Structures for Computation Donghyun (David) Kim Department of Mathematics and Physics North Carolina Central University 1.
CompSci 102 Discrete Math for Computer Science
Section 2.1. Section Summary Definition of sets Describing Sets Roster Method Set-Builder Notation Some Important Sets in Mathematics Empty Set and Universal.
Naïve Set Theory. Basic Definitions Naïve set theory is the non-axiomatic treatment of set theory. In the axiomatic treatment, which we will only allude.
MPRI 3 Dec 2007Catuscia Palamidessi 1 Why Probability and Nondeterminism? Concurrency Theory Nondeterminism –Scheduling within parallel composition –Unknown.
Weak Bisimilarity Coalgebraically Andrei Popescu Department of Computer Science University of Illinois.
MPRI – Course on Concurrency Lectures 11 and 12 The pi-calculus expressiveness hierarchy Catuscia Palamidessi INRIA Futurs and LIX
Chapter 2 With Question/Answer Animations. Section 2.1.
2G1516 Formal Methods2005 Mads Dam IMIT, KTH 1 CCS: Processes and Equivalences Mads Dam Reading: Peled 8.5.
2G1516/2G1521 Formal Methods2004 Mads Dam IMIT, KTH 1 CCS: Processes and Equivalences Mads Dam Reading: Peled 8.1, 8.2, 8.5.
Supercompilation and Normalisation by Evaluation Gavin Mendel-Gleason & Geoff Hamilton Dublin City University.
Recognising Languages We will tackle the problem of defining languages by considering how we could recognise them. Problem: Is there a method of recognising.
CSE 311: Foundations of Computing Fall 2013 Lecture 8: Proofs and Set theory.
1 2/21/2016 MATH 224 – Discrete Mathematics Sequences and Sums A sequence of the form ar 0, ar 1, ar 2, ar 3, ar 4, …, ar n, is called a geometric sequence.
From Natural Language to LTL: Difficulties Capturing Natural Language Specification in Formal Languages for Automatic Analysis Elsa L Gunter NJIT.
Presented by: Belgi Amir Seminar in Distributed Algorithms Designing correct concurrent algorithms Spring 2013.
About Alternating Automata Daniel Choi Provable Software Laboratory KAIST.
Process Algebra (2IF45) Basic Process Algebra Dr. Suzana Andova.
Today’s Agenda  Quiz 4  Temporal Logic Formal Methods in Software Engineering1.
Sets and Size Basic Question: Compare the “size” of sets. First distinction finite or infinite. –What is a finite set? –How can one compare finite sets?
Chapter 2 1. Chapter Summary Sets (This Slide) The Language of Sets - Sec 2.1 – Lecture 8 Set Operations and Set Identities - Sec 2.2 – Lecture 9 Functions.
Model Checking Lecture 2. Model-Checking Problem I |= S System modelSystem property.
Prof. Dr. Holger Schlingloff 1,2 Dr. Esteban Pavese 1
Georgiana Caltais - Damien Pous - Alexandra Silva
A set x is wellfounded iff there is some y  x such that yx = .
Lecture 2 Propositional Logic
EPISTEMIC LOGIC.
Lesson 5 Relations, mappings, countable and uncountable sets
Formal Methods in software development
Lesson 5 Relations, mappings, countable and uncountable sets
Formal Methods in software development
Formal Methods in software development
CSCI 2670 Introduction to Theory of Computing
Presentation transcript:

On the origins of Bisimulation & Coinduction Speaker: Filippo Bonchi (work by Davide Sangiorgi)

Plan of the talk Bisimulation & Coinduction In Computer Science In Set Theory In Philosophical Logic My work on Bisimulation

Plan of the talk Bisimulation & Coinduction In Computer Science In Set Theory In Philosophical Logic My work on Bisimulation

Sequentiality and Concurrency Sequential programs can be seen as function X:=2 X:=1 ; X:=X+1

Sequentiality and Concurrency Sequential programs can be seen as function X:=2 X:=1 ; X:=X+1 Put them in a parallel context - |X:=2 X:=2 | X:=2 X:=1 ; X:=X+1 | X:=2

Sequentiality and Concurrency Sequential programs can be seen as function X:=2 X:=1 ; X:=X+1 Put them in a parallel context - |X:=2 X:=2 | X:=2 X:=1 ; X:=X+1 | X:=2 Thus Concurrent Programs are not functions (non terminating process could be usefull - Non deterministic behaviour)

Sequentiality and Concurrency What is a process? When are two process equivalent? Thus Concurrent Programs are not functions (non terminating process could be usefull - Non deterministic behaviour)

Labeled Transition System X P A A A Q R Y B C B C W Z S T

Trace Equivalence X tr(X)={ab, ac}=tr(P) P A A A Q R Y B C B C W Z S T

Bisimulation X P A A A Q R Y B C B C W Z S T

Bisimulation X P A A A Q R Y B C B C W Z S T

Bisimulation X P A A A Q R Y B C B C W Z S T

Bisimulation X P A A A A Y Z Q R B C B C W S T

Bisimulation X P A A A A Y Z Q R B C B C W S T

Bisimulation X P A A A A Y Z Q R B C B C W S T

Bisimulation X P A A A A Y Z Q R B C B C W S T

Bisimulation Proof Method In order to prove that s ~ t, we have to build a bisimulation R such that s R t (another proof method through the minimal canonical representative) It is pratically interesting mainly for: The locality of checks on the states The lack of hierarchy on the pairs of bisimulation

A (wrong) Inductive Definition This definition requires a hierachy, since the checks on (s1, s2) must follow those on (s1’, s2’). The definition is ill-founded if the states space is infinite or includes loops.

A (wrong) Inductive Definition The definition is ill-founded if the states space is infinite or includes loops. a a S1 T1 S2 a S1=S2 if T1=S2 T1=S2 if S1=S2

Stratification of Bisimilarity Let W be the set of states of an LTS:

A0

A1 A0 a

… An An-1 … A2 A1 A0 a a a a a a

a Aw … An An-1 … A2 A1 A0 a a a a a a

a Aw T a a a a a a … An An-1 … A2 A1 A0 a a a a a a

a Aw T a a S a a a a a a a a a a a … An An-1 … A2 A1 A0 a a a a a a

Coinduction A set A is defined coinductively if It is the greatest solution of a set of inequation of a certain form The coinduction proof principle just say that: Any set that is solution of these inequations is contained in A

Bisimulation as Coinduction

Plan of the talk Bisimulation & Coinduction In Computer Science In Set Theory In Philosophical Logic My work on Bisimulation

From Automata to Bisimulation Algebraic Theory of Automata (60s): Notion of Simulation on Mealy Automata Late 60s: Works on program correctness (Floyd ‘67- Manna ‘69 – Landin ‘69) Early 70s, Milner uses the notion of simulation to prove equivalence of sequential (possibly not terminating) programs: locality is central in the proof technique Milner 1980: CCS & Bisimulation

… and Coinduction (David Park 1980) Bisimilarity was defined by Milner as Park was one of the top-expert in fixed point theory (and was sleeping in Milner’s house) Bisimulation as the greatest fixed point Park: Mimicry Milner: Bisimilarity

Plan of the talk Bisimulation & Coinduction In Computer Science In Set Theory In Philosophical Logic My work on Bisimulation

“Two sets are equal iff they have exactly the same elements” Set Theory Foundational theory of modern mathematics introduced by Cantor in the late XIX century Paradoxes: Burali-Forti (1897), Russell (1901) Axioms System by Zermelo (1908): Foundation Axiom: “The membership relation does not give rise to infinite descending chains” Extensionality Axiom: “Two sets are equal iff they have exactly the same elements”

“Two sets are equal iff they have exactly the same elements” Set Theory Foundational theory of modern mathematics introduced by Cantor in the late XIX century Paradoxes: Burali-Forti (1897), Russell (1901) Axioms System by Zermelo (1908): Foundation Axiom: “The membership relation does not give rise to infinite descending chains” Extensionality Axiom: “Two sets are equal iff they have exactly the same elements”

Non-Well-Founded sets (Dimitry Mirimanoff 1917) “not all the circular definition are dangerous, and it is a task for the logician to isolate the good one”

Equivalence for Non-Well-founded Sets Are A and B equal? If we apply the extensionality axiom we get: “A and B are equal iff A and B are equal”

Anti Foundation Axiom (Marco Forti, Furio Honsell 1983) This formulation is due to Peter Aczel 1988 A decoration for a graph maps nodes to sets s.t. the set assigned to a node is equal to the set of the children of the node

Anti Foundation Axiom (Marco Forti, Furio Honsell 1983) This formulation is due to Peter Aczel 1988 A decoration for a graph maps nodes to sets s.t. the set assigned to a node is equal to the set of the children of the node

Anti Foundation Axiom (Marco Forti, Furio Honsell 1983) This formulation is due to Peter Aczel 1988 A decoration for a graph maps nodes to sets s.t. the set assigned to a node is equal to the set of the children of the node

Anti Foundation Axiom (Marco Forti, Furio Honsell 1983) This formulation is due to Peter Aczel 1988 A decoration for a graph maps nodes to sets s.t. the set assigned to a node is equal to the set of the children of the node

Anti Foundation Axiom (Marco Forti, Furio Honsell 1983) This formulation is due to Peter Aczel 1988 A decoration for a graph maps nodes to sets s.t. the set assigned to a node is equal to the set of the children of the node

Anti Foundation Axiom (Marco Forti, Furio Honsell 1983) This formulation is due to Peter Aczel 1988 A decoration for a graph maps nodes to sets s.t. the set assigned to a node is equal to the set of the children of the node

Anti Foundation Axiom (Marco Forti, Furio Honsell 1983) This formulation is due to Peter Aczel 1988 A decoration for a graph maps nodes to sets s.t. the set assigned to a node is equal to the set of the children of the node Anti-Foundation-Axiom: “every graph has a unique decoration”

Anti Foundation Axiom (Marco Forti, Furio Honsell 1983) This formulation is due to Peter Aczel 1988 A decoration for a graph maps nodes to sets s.t. the set assigned to a node is equal to the set of the children of the node Anti-Foundation-Axiom: “every graph has a unique decoration” are all the same set

Plan of the talk Bisimulation & Coinduction In Computer Science In Set Theory In Philosophical Logic My work on Bisimulation

Modal Logics Logic of necessity and possibility Temporal logic (“it always be truth that” “it was the case that”) Epistemic Logic (“it certenlay true that” “it may be true that”) Deontic Logic (“it is obligatory that” “it is permitted that”) …

Basic Modal Logic x y z w {p1,p2} { } {p1} {p2,p3}

Semantics of Modal Logic x y { } {p,q}

Homomorphisms When is the truth of a formula preserved when the model changes? Homomorphisms are maps that preserve structure N M u x y H { } { } {p,q}

P-Morphisms Krister Segeberg ‘71

P-Morphisms Krister Segeberg ‘71 P-Morphisms are maps that preserve and reflect structure Modal Formula are invariant under p-morphism x y z P u v { } {p,q} { } {p,q} { }

P-Relations (Bisimulations) Johan van Benthem ‘76

P-Relations (Bisimulations) Johan van Benthem ‘76 Which First Order Logic formulas can be translated in Modal Logic? xTx A First Order Logic Formula is equivalent to a modal formula iff it is bisimulation invariant u v u {p} {p} {p}