Coherence Generalises Duality
|
|
- Maximilian Welch
- 5 years ago
- Views:
Transcription
1 Coherence Generalises Duality Marco Carbone, Sam Lindley, Fabrizio Montesi, Carsten Schürmann, Philip Wadler University of Lisbon Tuesday 23 January
2 CONCUR,
3 CONCUR,
4 FORTE,
5 ABCD,
6 Part I CP: Classical Processes 6
7 Types A, B, C::= output types input types X type variable X dual of type variable A B output A then behave as B A B input A then behave as B A B select from A or B A B offer choice of A or B?A client request!a server accept 1 unit for unit for 0 unit for unit for 7
8 Duals (X) = X (X ) = X (A B) = A B (A B) = A B (A B) = A B (A B) = A B (!A) =?A (?A) =!A 1 = = 1 0 = = 0 8
9 CP: Old and new Old P Γ, x : A Q, x : A x y x : A, y : A AXIOM νx:a. (P Q) Γ, CUT New P Γ, x : A Q, y : A x y A x : A, y : A AXIOM (νx A y) (P Q) Γ, CUT 9
10 CP: Processes P Γ, x : A Q, y : A x y A x : A, y : A AXIOM (νx A y) (P Q) Γ, P Γ, y : A Q, x : B x[y].(p Q) Γ,, x : A B P Γ, x : A x[inl].p Γ, x : A B 1 P Γ, x : A Q Γ, x : B x.case(p, Q) Γ, x : A B P Γ, y : A?x[y].P Γ, x :?A? P Γ, y : A, x : B x(y).p Γ, x : A B P Γ, x : B x[inr].p Γ, x : A B 2 P?Γ, y : A!x(y).P?Γ, x :!A! P Γ P Γ, y :?A, z :?A P Γ, x :?A WEAKEN P {x/y, x/z} Γ, x :?A CONTRACT x[] x : 1 1 CUT P Γ x().p Γ, x : (no rule for 0) x.case() Γ, x : 10
11 Duplicating a bit P x def = x[y].(y[inl].y[] x[inl].x[]) Q x def = x[y].(y[inr].y[] x[inr].x[]) y[] y : 1 1 y[inl].y[] y :1 1 x[] x : x[inl].x[] x:1 1 y[] y : y[inr].y[] y :1 1 x[] x : x[inr].x[] x:1 1 2 P x x : (1 1) (1 1) w().p x w :, x : (1 1) (1 1) Q x x : (1 1) (1 1) w().q x w :, x : (1 1) (1 1) w.case(w().p x, w().q x ) w :, x : (1 1) (1 1) x(w).w.case(w().p x, w().q x ) x : ( ) ((1 1) (1 1)) 11
12 Two-buyer protocol 12
13 Two-buyer protocol b 1 (b 1).s[s ].(b 1 s name s(s ).b 1 [b 1].(s b 1cost s(s ).b 2 [b 2].(s b 2cost b 1 (b 1).b 2 [b 2].(b 1 b 2cost b 2.case(s[inl].b 2 (b 2).s[s ].(b 2 s addr b 1 ().b 2 ().s[]), s[inr].b 1 ().b 2 ().s[]))))) b 1 : name (cost (cost )), b 2 : cost (cost ((addr ) )), s : name (cost (cost ((addr 1) 1))) 13
14 Part II GCP: Globally-governed Classical Processes 14
15 GCP: Coherence x A y x : A, y : A AXIOM G (x i : A i ) i, y : C H Γ, (x i : B i ) i, y : D x y(g).h Γ, (x i : A i B i ) i, y : C D G Γ, x : A, (y i : C i ) i H Γ, x : B, (y i : D i ) i x ỹ.case(g, H) Γ, x : A B, (y i : C i D i ) i G x : A, (y i : B i ) i!x ỹ(g) x :?A, (y i :!B i ) i?! x y (x i : 1) i, y : 1 x ỹ.case() Γ, x : 0, (y i : ) i 0 15
16 GCP: Processes (P i Γ i, x i : A i ) i G (x i : A i ) i (ν xã : G) ( P ) Γ CCUT 16
17 From GCP to CP Global cut as binary cut (ν xã : G) ( P ) def = (νx 1 A 1 y 1 ) ( P 1 (νx n A n y n ) ( P n G {ỹ/ x}) ) Global types as processes x A y def = x y A x y(g).h def = x 1 (u 1 ). x n (u n ).y[v].( G {ũ/ x, v/y} H ) (ỹ fresh) x ỹ.case(g, H) def = x.case(y 1 [inl]. y n [inl]. G, y 1 [inr]. y n [inr]. H )!x ỹ(g) def =!x(u).?y 1 [v 1 ].?y n [v n ]. G {u/x, ṽ/ỹ} x y def = x 1 (). x n ().y[] x ỹ.case() def = x.case() (ũ, v, u, ṽ fresh) 17
18 η-expansion x y A B x : A B, y : A B AXIOM = u v A u : A, v : A AXIOM x y B x : B, y : B AXIOM y[v].(u v A x y B ) u : A, x : B, y : A B x(u).y[v].(u v A x y B ) x : A B, y : A B 18
19 From duality to coherence Duality G u : A, v : C H x : B, y : D y[v].( G H ) u : A, x : B, y : C D x(u).y[v].( G H ) x : A B, y : C D Coherence G u 1 : A 1, u 2 : A 2, v : C H x 1 : B 1, x 2 : B 2, y : D y[v].( G H ) u 1 : A 1, x 1 : B 1, u 2 : A 2, x 2 : B 2, y : C D x 2 (u 2 ).y[v].( G H ) u 1 : A 1, x 1 : B 1, x 2 : A 2 B 2, y : C D x 1 (u 1 ).x 2 (u 2 ).y[v].( G H ) x 1 : A 1 B 1, x 2 : A 2 B 2, y : C D 19
20 From GCP to CP Theorem 1 (Type preservation from GCP to CP) 1. If P Γ in GCP, then P Γ in CP. 2. If G Γ in GCP, then G Γ in CP. Theorem 2 (Simulation of GCP in CP) 1. If P Γ and P Q in GCP, then P Q in CP. 2. If P Γ and P η Q in GCP, then P η Q in CP. 3. If G Γ and G η H in GCP, then G η H in CP. 4. If P Γ and P Q in GCP, then P = + Q in CP. Theorem 3 (Reflection of CP in GCP) If P Γ in GCP and P Q in CP, then there exists Q such that P = Q in GCP and Q = Q in CP. 20
21 From CP to GCP Binary cut as global cut (νx A y) (P Q) = (νx, y : x A y) ( P Q ) Theorem 4 (Type preservation from CP to GCP) If P Γ, then P Γ. Theorem 5 (Simulation of CP in GCP) 1. If P Γ and P Q in CP, then P Q in GCP. 2. If P Γ and P Q in CP, then P + Q in GCP. 21
22 Two-buyer protocol B 1 S(B name 1 S). S B 1 (S cost B 1 ). S B 2 (S cost B 2 ). B 1 B 2 (B cost 1 B 2 ). B 2 S.case(B 2 S(B addr 2 S).(B 1, B 2 ) S, (B 1, B 2 ) S)) B 1 : name (cost (cost 1)), B 2 : cost (cost ((addr 1) 1)), S : name (cost (cost ((addr ) ))) 22
23 Part III MCP: Multiparty Classical Processes 23
24 Types A, B, C::= output types input types X type variable X dual of type variable A z B output A then behave as B A z B input A then behave as B A z B select from A or B A z B offer choice of A or B? z A client request! z A server accept 1 z unit for z unit for 0 z unit for z unit for 24
25 MCP: Coherence A = B x A y B x : A, y : B AXIOM G (x i :A i ) i, y :C H Γ, (x i :B i ) i, y :D x y(g).h Γ, (x i :A i y B i ) i, y :C x D G 1 Γ, x:a, (y i :C i ) i G 2 Γ, x:b, (y i :D i ) i x ỹ.case(g 1, G 2 ) Γ, x:a ỹ B, (y i :C i x D i ) i G x:a, (y i :B i ) i!x ỹ(g) x:?ỹa, (y i :! x B i ) i!? x y (x i :1 y ) i, y : x 1 x ỹ.case() Γ, x:0ỹ, (y i : x ) i 0 25
26 MCP: Processes A = B (P i Γ i, x i : A i ) i G ( x i : A i ) i x A y B x : A, y : B AXIOM (ν xã : G) ( P ) Γ P Γ, y : A Q, x : B x z [y].(p Q) Γ,, x : A z B P Γ, x : A x z [inl].p Γ, u : A z B 1 P Γ, x : A Q Γ, x : B x z.case(p, Q) Γ, x : A z B P Γ, y : A, x : B x z (y).p Γ, x : A z B P Γ, x : B x z [inr].p Γ, x : A z B 2 P?Γ, y : A!x z (y).p?γ, x :! z A! P Γ, y : A?x z [y].p Γ, x :? z A? P Γ P Γ, x :? z A WEAKEN P Γ, y :? w A, z :? w A P [x/y, x/z] Γ, x :? w A CONTRACT CCUT x z [] x : 1 z 1 P Γ x z ().P Γ, x : z no rule for 0 x z.case() Γ, x : z 26
27 Two-buyer protocol B 1 S(B name 1 S). S B 1 (S cost B 1 ). S B 2 (S cost B 2 ). B 1 B 2 (B cost 1 B 2 ). B 2 S.case(B 2 S(B addr 2 S).(B 1, B 2 ) S, (B 1, B 2 ) S)) B 1 : name S (cost S (cost B 2 1 S )), B 2 : cost S (cost B 1 ((addr S 1 S ) S 1 S ), S : name B 1 (cost B 1 (cost B 2 ((addr B 2 B 1,B 2 ) B 2 B 1,B 2 ))) 27
28 Bibliography Marco Carbone, Fabrizio Montesi, Carsten Schrmann, Nobuko Yoshida. Multiparty Types as Coherence Proofs. CONCUR, Marco Carbone, Sam Lindley, Fabrizio Montesi, Carsten Schrmann, Philip Wadler. Coherence Generalises Duality: a logical explanation of multiparty session types. CONCUR, Luis Caires and Jorge Perez. Multiparty session types within a canonical binary theory, and beyond. FORTE,
Syddansk Universitet. Classical higher-order processes. Montesi, Fabrizio
Syddansk Universitet Classical higher-order processes Montesi, Fabrizio Published in: Formal Techniques for Distributed Objects, Components, and Systems DOI: 10.1007/978-3-319-60225-7_12 Publication date:
More informationPropositions in Linear Multirole Logic as Multiparty Session Types
Propositions in Linear Multirole Logic as Multiparty Session Types Hongwei Xi and Hanwen Wu Boston University hwxi,hwwu@cs.bu.edu Abstract We identify multirole logic as a new form of logic and formalize
More informationTowards Concurrent Type Theory
Towards Concurrent Type Theory Luís Caires 1, Frank Pfenning 2, Bernardo Toninho 1,2 1 Universidade Nova de Lisboa 2 Carnegie Mellon University Workshop on Types in Language Design and Implementation (TLDI)
More informationPropositions as Sessions
Propositions as Sessions Philip Wadler University of Edinburgh wadler@inf.ed.ac.uk Abstract Continuing a line of work by Abramsky (1994), by Bellin and Scott (1994), and by Caires and Pfenning (2010),
More informationObserved Communication Semantics for Classical Processes
Observed Communication Semantics for Classical Processes Robert Atkey MSP Group, University of Strathclyde robert.atkey@strath.ac.uk Abstract. Classical Linear Logic (CLL) has long inspired readings of
More informationA Semantics for Propositions as Sessions
A Semantics for Propositions as Sessions Sam Lindley and J. Garrett Morris The University of Edinburgh {Sam.Lindley,Garrett.Morris}@ed.ac.uk Abstract. Session types provide a static guarantee that concurrent
More informationProof-Carrying Code in a Session-Typed Process Calculus
Proof-Carrying Code in a Session-Typed Process Calculus Frank Pfenning with Luís Caires and Bernardo Toninho Department of Computer Science Carnegie Mellon University 1st International Conference on Certified
More informationLinear Logic Propositions as Session Types
Under consideration for publication in Math. Struct. in Comp. Science Linear Logic Propositions as Session Types Luis Caires 1, Frank Pfenning 2 and Bernardo Toninho 1,2 1 Faculdade de Ciências e Tecnologia
More informationCut Reduction in Linear Logic as Asynchronous Session-Typed Communication
Cut Reduction in Linear Logic as Asynchronous Session-Typed Communication Henry DeYoung 1, Luís Caires 2, Frank Pfenning 1, and Bernardo Toninho 1,2 1 Computer Science Department, Carnegie Mellon University
More informationRelational Parametricity for Polymorphic Session Types (Extended Version)
Relational Parametricity for Polymorphic Session Types (Extended Version) Luís Caires 1, Jorge A. Pérez 1, Frank Pfenning 2, and Bernardo Toninho 1,2 1 CITI and Departamento de Informática, FCT, Universidade
More informationCounty Council Named for Kent
\ Y Y 8 9 69 6» > 69 ««] 6 : 8 «V z 9 8 x 9 8 8 8?? 9 V q» :: q;; 8 x () «; 8 x ( z x 9 7 ; x >«\ 8 8 ; 7 z x [ q z «z : > ; ; ; ( 76 x ; x z «7 8 z ; 89 9 z > q _ x 9 : ; 6? ; ( 9 [ ) 89 _ ;»» «; x V
More informationSubrings and Ideals 2.1 INTRODUCTION 2.2 SUBRING
Subrings and Ideals Chapter 2 2.1 INTRODUCTION In this chapter, we discuss, subrings, sub fields. Ideals and quotient ring. We begin our study by defining a subring. If (R, +, ) is a ring and S is a non-empty
More informationImperial College of Science, Technology and Medicine Department of Computing. A Study of Bisimulation Theory for Session Types. Dimitrios Kouzapas
Imperial College of Science, Technology and Medicine Department of Computing A Study of Bisimulation Theory for Session Types Dimitrios Kouzapas Submitted in part fulfilment of the requirements for the
More informationBehavioral Polymorphism and Parametricity in Session-Based Communication
Behavioral Polymorphism and Parametricity in Session-Based Communication Luís Caires 1, Jorge A. Pérez 1, Frank Pfenning 2, and Bernardo Toninho 1,2 1 CITI and Departamento de Informática, FCT, Universidade
More informationLinear Logical Relations and Observational Equivalences for Session-Based Concurrency
Linear Logical Relations and Observational Equivalences for Session-Based Concurrency Jorge A. Pérez a, Luís Caires a, Frank Pfenning b, Bernardo Toninho a,b a CITI and Departamento de Informática, FCT
More informationT9: Covering. Prove true by: Method 1: Perfect induction Method 2: Using other theorems and axioms. Number Theorem. T9 B (B+C) = B Covering
T9: Covering Number Theorem Name T9 B (B+C) = B Covering Prove true by: Method 1: Perfect induction Method 2: Using other theorems and axioms Chapter 2 T9: Covering Number Theorem Name T9 B (B+C)
More informationLOWELL JOURNAL. MUST APOLOGIZE. such communication with the shore as Is m i Boimhle, noewwary and proper for the comfort
- 7 7 Z 8 q ) V x - X > q - < Y Y X V - z - - - - V - V - q \ - q q < -- V - - - x - - V q > x - x q - x q - x - - - 7 -» - - - - 6 q x - > - - x - - - x- - - q q - V - x - - ( Y q Y7 - >»> - x Y - ] [
More informationPredicate Logic - Deductive Systems
CS402, Spring 2018 G for Predicate Logic Let s remind ourselves of semantic tableaux. Consider xp(x) xq(x) x(p(x) q(x)). ( xp(x) xq(x) x(p(x) q(x))) xp(x) xq(x), x(p(x) q(x)) xp(x), x(p(x) q(x)) xq(x),
More informationSession Types Revisited
Session Types Revisited Ornela Dardha a, Elena Giachino b, Davide Sangiorgi b a School of Computing Science, University of Glasgow, United Kingdom b INRIA Focus Team / DISI, University of Bologna, Italy
More informationAdjoint Logic and Its Concurrent Semantics
Adjoint Logic and Its Concurrent Semantics Frank Pfenning ABCD Meeting, Edinburgh, December 18-19, 2017 Joint work with Klaas Pruiksma and William Chargin Outline Proofs as programs Linear sequent proofs
More informationECEN 248: INTRODUCTION TO DIGITAL SYSTEMS DESIGN. Week 2 Dr. Srinivas Shakkottai Dept. of Electrical and Computer Engineering
ECEN 248: INTRODUCTION TO DIGITAL SYSTEMS DESIGN Week 2 Dr. Srinivas Shakkottai Dept. of Electrical and Computer Engineering Boolean Algebra Boolean Algebra A Boolean algebra is defined with: A set of
More informationParametricity and excluded middle
Parametricity and excluded middle Auke Booij University of Birmingham May 2016 Auke Booij (University of Birmingham) Parametricity and excluded middle TYPES 2016 1 / 15 Polymorphic functions f :: forall
More informationAsterix calculus - classical computation in detail
Asterix calculus - classical computation in detail (denoted X ) Dragiša Žunić 1 Pierre Lescanne 2 1 CMU Qatar 2 ENS Lyon Logic and Applications - LAP 2016 5th conference, September 19-23, Dubrovnik Croatia
More informationHomework 1/Solutions. Graded Exercises
MTH 310-3 Abstract Algebra I and Number Theory S18 Homework 1/Solutions Graded Exercises Exercise 1. Below are parts of the addition table and parts of the multiplication table of a ring. Complete both
More informationLecture Notes: Axiomatic Semantics and Hoare-style Verification
Lecture Notes: Axiomatic Semantics and Hoare-style Verification 17-355/17-665/17-819O: Program Analysis (Spring 2018) Claire Le Goues and Jonathan Aldrich clegoues@cs.cmu.edu, aldrich@cs.cmu.edu It has
More informationSession Types as Intuitionistic Linear Propositions
Session Types as Intuitionistic Linear Propositions Luís Caires 1 and Frank Pfenning 2 1 CITI and Departamento de Informática, FCT, Universidade Nova de Lisboa 2 Department of Computer Science, Carnegie
More informationThe Logical Meeting Point of Multiset Rewriting and Process Algebra
MFPS 20 @ MU May 25, 2004 The Logical Meeting Point of Multiset Rewriting and Process Algebra Iliano ervesato iliano@itd.nrl.navy.mil ITT Industries, inc @ NRL Washington, D http://theory.stanford.edu/~iliano
More informationCHAPTER III BOOLEAN ALGEBRA
CHAPTER III- CHAPTER III CHAPTER III R.M. Dansereau; v.. CHAPTER III-2 BOOLEAN VALUES INTRODUCTION BOOLEAN VALUES Boolean algebra is a form of algebra that deals with single digit binary values and variables.
More informationSession Types as Intuitionistic Linear Propositions
Session Types as Intuitionistic Linear Propositions Luis Caires Frank Pfenning Bernardo Toninho December 21, 2011 CMU-CS-11-138 School of Computer Science Carnegie Mellon University Pittsburgh, PA 15213
More informationLinear Forwarders. 1 Introduction. Philippa Gardner 1, Cosimo Laneve 2, and Lucian Wischik 2
Linear Forwarders Philippa Gardner 1, Cosimo Laneve 2, and Lucian Wischik 2 1 Imperial College, London. pg@doc.ic.ac.uk 2 University of Bologna, Italy. laneve@cs.unibo.it, lu@wischik.com Abstract. A linear
More informationParameterizations and Fixed-Point Operators on Control Categories
Parameterizations and Fixed-Point Operators on Control Categories oshihiko Kakutani 1 and Masahito Hasegawa 12 1 Research Institute for Mathematical Sciences, Kyoto University {kakutani,hassei}@kurims.kyoto-u.ac.jp
More informationA π-calculus with preorders
A π-calculus with preorders Daniel Hirschkoff, Jean-Marie Madiot, Davide Sangiorgi École Normale Supérieure de Lyon Università di Bologna PACE kick-off meeting, 2013-04-23 Jean-Marie Madiot (Lyon, Bologna)
More informationDigital Circuit And Logic Design I. Lecture 3
Digital Circuit And Logic Design I Lecture 3 Outline Combinational Logic Design Principles (). Introduction 2. Switching algebra 3. Combinational-circuit analysis 4. Combinational-circuit synthesis Panupong
More informationProof Nets in Process Algebraic Form
Proof Nets in Process Algebraic Form Dimitris Mostrous Department of Informatics, University of Lisbon, Portugal dimitris@di.fc.ul.pt Abstract. We present δ-calculus, a computational interpretation of
More informationLie Derivatives and Almost Analytic Vector Fields in a Generalised Structure Manifold
Int. J. Contemp. Math. Sciences, Vol. 5, 2010, no. 2, 81-90 Lie Derivatives and Almost Analytic Vector Fields in a Generalised Structure Manifold R. P. Singh 1 and S. D. Singh Dept. of Mathematics, Faculty
More informationComputer Organization I
Computer Organization I Lecture 6: Boolean Algebra /2/29 Wei Lu CS283 Overview Two Principles in Boolean Algebra () Duality Principle (2) Complement Principle Standard Form of Logic Expression () Sum of
More informationFocusing on Binding and Computation
Focusing on Binding and Computation Dan Licata Joint work with Noam Zeilberger and Robert Harper Carnegie Mellon University 1 Programming with Proofs Represent syntax, judgements, and proofs Reason about
More informationBusiness Process Management
Business Process Management Theory: The Pi-Calculus Frank Puhlmann Business Process Technology Group Hasso Plattner Institut Potsdam, Germany 1 What happens here? We discuss the application of a general
More informationLecture Notes on Classical Linear Logic
Lecture Notes on Classical Linear Logic 15-816: Linear Logic Frank Pfenning Lecture 25 April 23, 2012 Originally, linear logic was conceived by Girard [Gir87] as a classical system, with one-sided sequents,
More informationA Logic of Authentication. Borrows, Abadi and Needham TOCS 1990, DEC-SRC 1989
A Logic of Authentication Borrows, Abadi and Needham TOCS 1990, DEC-SRC 1989 Logic Constructs P believes X : P may act as though X is true. P sees X : a message containing X was sent to P; P can read and
More informationECE 20B, Winter 2003 Introduction to Electrical Engineering, II LECTURE NOTES #2
ECE 20B, Winter 2003 Introduction to Electrical Engineering, II LECTURE NOTES #2 Instructor: Andrew B. Kahng (lecture) Email: abk@ucsd.edu Telephone: 858-822-4884 office, 858-353-0550 cell Office: 3802
More informationA fresh perspective on canonical extensions for bounded lattices
A fresh perspective on canonical extensions for bounded lattices Mathematical Institute, University of Oxford Department of Mathematics, Matej Bel University Second International Conference on Order, Algebra
More informationThe Knot Quandle. Steven Read
The Knot Quandle Steven Read Abstract A quandle is a set with two operations that satisfy three conditions. For example, there is a quandle naturally associated to any group. It turns out that one can
More information3. Abstract Boolean Algebras
3. ABSTRACT BOOLEAN ALGEBRAS 123 3. Abstract Boolean Algebras 3.1. Abstract Boolean Algebra. Definition 3.1.1. An abstract Boolean algebra is defined as a set B containing two distinct elements 0 and 1,
More informationMultiple Conclusion Linear Logic: Cut-elimination and more
Multiple Conclusion Linear Logic: Cut-elimination and more Harley Eades III Augusta University Valeria de Paiva Nuance Communications LFCS 2015 Full Intuitionistic linear Logic (FILL): Cut Elimination
More information1 Variance of a Random Variable
Indian Institute of Technology Bombay Department of Electrical Engineering Handout 14 EE 325 Probability and Random Processes Lecture Notes 9 August 28, 2014 1 Variance of a Random Variable The expectation
More informationUnderstanding SVM (and associated kernel machines) through the development of a Matlab toolbox
Understanding SVM (and associated kernel machines) through the development of a Matlab toolbox Stephane Canu To cite this version: Stephane Canu. Understanding SVM (and associated kernel machines) through
More informationStrong bisimilarity can be opened
Strong bisimilarity can be opened Henning E. Andersen Hans Hüttel Karina N. Jensen June 7, 2002 Abstract We present an extension of the semantics of the π-calculus without match where strong bisimilarity
More informationCHAPTER III BOOLEAN ALGEBRA
CHAPTER III- CHAPTER III CHAPTER III R.M. Dansereau; v.. CHAPTER III-2 BOOLEAN VALUES INTRODUCTION BOOLEAN VALUES Boolean algebra is a form of algebra that deals with single digit binary values and variables.
More informationBoolean Algebra CHAPTER 15
CHAPTER 15 Boolean Algebra 15.1 INTRODUCTION Both sets and propositions satisfy similar laws, which are listed in Tables 1-1 and 4-1 (in Chapters 1 and 4, respectively). These laws are used to define an
More informationarxiv: v1 [cs.lo] 1 Oct 2018
COMPARING TYPE SYSTEMS FOR DEADLOCK-FREEDOM ORNELA DARDHA AND JORGE A. PÉREZ arxiv:1810.00635v1 [cs.lo] 1 Oct 2018 School of Computing Science, University of Glasgow, UK e-mail address: ornela.dardha@glasgow.ac.uk
More informationSequential Synchronous Circuit Analysis
Sequential Synchronous Circuit Analysis General Model Current State at time (t) is stored in an array of flip-flops. Next State at time (t+1) is a Boolean function of State and Inputs. Outputs at time
More informationLab 1 starts this week: go to your session
Lecture 3: Boolean Algebra Logistics Class email sign up Homework 1 due on Wednesday Lab 1 starts this week: go to your session Last lecture --- Numbers Binary numbers Base conversion Number systems for
More informationExtra Problems and Examples
Extra Problems and Examples Steven Bellenot October 11, 2007 1 Separation of Variables Find the solution u(x, y) to the following equations by separating variables. 1. u x + u y = 0 2. u x u y = 0 answer:
More informationUnit 3 Session - 9 Data-Processing Circuits
Objectives Unit 3 Session - 9 Data-Processing Design of multiplexer circuits Discuss multiplexer applications Realization of higher order multiplexers using lower orders (multiplexer trees) Introduction
More informationCategories and Quantum Informatics
Categories and Quantum Informatics Week 6: Frobenius structures Chris Heunen 1 / 41 Overview Frobenius structure: interacting co/monoid, self-duality Normal forms: coherence theorem Frobenius law: coherence
More informationStrategic Manipulability without Resoluteness or Shared Beliefs: Gibbard-Satterthwaite Generalized
Strategic Manipulability without Resoluteness or Shared Beliefs: Gibbard-Satterthwaite Generalized Christian Geist Project: Modern Classics in Social Choice Theory Institute for Logic, Language and Computation
More informationAxioms of Kleene Algebra
Introduction to Kleene Algebra Lecture 2 CS786 Spring 2004 January 28, 2004 Axioms of Kleene Algebra In this lecture we give the formal definition of a Kleene algebra and derive some basic consequences.
More informationChapter 3. Boolean Algebra. (continued)
Chapter 3. Boolean Algebra (continued) Algebraic structure consisting of: set of elements B binary operations {+, -} unary operation {'} Boolean Algebra such that the following axioms hold:. B contains
More informationSpace complexity of cutting planes refutations
Space complexity of cutting planes refutations Nicola Galesi, Pavel Pudlák, Neil Thapen Nicola Galesi Sapienza - University of Rome June 19, 2015 () June 19, 2015 1 / 32 Cutting planes proofs A refutational
More informationAn Introduction to Modal Logic V
An Introduction to Modal Logic V Axiomatic Extensions and Classes of Frames Marco Cerami Palacký University in Olomouc Department of Computer Science Olomouc, Czech Republic Olomouc, November 7 th 2013
More informationMidterm1 Review. Jan 24 Armita
Midterm1 Review Jan 24 Armita Outline Boolean Algebra Axioms closure, Identity elements, complements, commutativity, distributivity theorems Associativity, Duality, De Morgan, Consensus theorem Shannon
More informationSpring 2014 Program Analysis and Verification. Lecture 6: Axiomatic Semantics III. Roman Manevich Ben-Gurion University
Spring 2014 Program Analysis and Verification Lecture 6: Axiomatic Semantics III Roman Manevich Ben-Gurion University Syllabus Semantics Static Analysis Abstract Interpretation fundamentals Analysis Techniques
More informationTR : Possible World Semantics for First Order LP
City University of New York (CUNY) CUNY Academic Works Computer Science Technical Reports Graduate Center 2011 TR-2011010: Possible World Semantics for First Order LP Melvin Fitting Follow this and additional
More informationCHAPTER1: Digital Logic Circuits Combination Circuits
CS224: Computer Organization S.KHABET CHAPTER1: Digital Logic Circuits Combination Circuits 1 PRIMITIVE LOGIC GATES Each of our basic operations can be implemented in hardware using a primitive logic gate.
More informationUnifying Functional Interpretations
Paulo Oliva pbo@dcs.qmul.ac.uk Queen Mary, University of London, UK Dagstuhl, January 11, 2004 p.1/22 History 1958. Gödel s Dialectica interpretation Relative consistency of PA p.2/22 History 1958. Gödel
More informationA Proof Theory for Generic Judgments
A Proof Theory for Generic Judgments Dale Miller INRIA/Futurs/Saclay and École Polytechnique Alwen Tiu École Polytechnique and Penn State University LICS 2003, Ottawa, Canada, 23 June 2003 Outline 1. Motivations
More informationA linear account of session types in the pi calculus
A linear account of session types in the pi calculus Marco Giunti 1 and Vasco T. Vasconcelos 2 1 Iuav University, Venice 2 LaSIGE, Faculty of Sciences, University of Lisbon Abstract. We present a reconstruction
More informationEECS150 - Digital Design Lecture 19 - Combinational Logic Circuits : A Deep Dive
EECS150 - Digital Design Lecture 19 - Combinational Logic Circuits : A Deep Dive March 30, 2010 John Wawrzynek Spring 2010 EECS150 - Lec19-cl1 Page 1 Boolean Algebra I (Representations of Combinational
More informationPart 1. For any A-module, let M[x] denote the set of all polynomials in x with coefficients in M, that is to say expressions of the form
Commutative Algebra Homework 3 David Nichols Part 1 Exercise 2.6 For any A-module, let M[x] denote the set of all polynomials in x with coefficients in M, that is to say expressions of the form m 0 + m
More informationBlame for All. Amal Ahmed, Robert Bruce Findler, Jeremy Siek, Philip Wadler
Blame for All Amal Ahmed, Robert Bruce Findler, Jeremy Siek, Philip Wadler Vs. Part I The bit you know from before with a twist A simple untyped program let inc = λx. x + 1 in let app = λf. λx. f x in
More informationGrothendieck Inequalities, XOR games, and Communication Complexity
Grothendieck Inequalities, XOR games, and Communication Complexity Troy Lee Rutgers University Joint work with: Jop Briët, Harry Buhrman, and Thomas Vidick Overview Introduce XOR games, Grothendieck s
More informationRepresentations on real toric spaces
Representations on real toric spaces Soojin Cho Ajou University, Korea joint with Suyoung Choi (Ajou Univ.) & Shizuo Kaji (Yamaguchi Univ.) JMM Special Session in honor of Dennis Stanton January 11, 2018
More informationBoolean Algebra & Logic Gates. By : Ali Mustafa
Boolean Algebra & Logic Gates By : Ali Mustafa Digital Logic Gates There are three fundamental logical operations, from which all other functions, no matter how complex, can be derived. These Basic functions
More informationCS 121 Digital Logic Design. Chapter 2. Teacher Assistant. Hanin Abdulrahman
CS 121 Digital Logic Design Chapter 2 Teacher Assistant Hanin Abdulrahman 1 2 Outline 2.2 Basic Definitions 2.3 Axiomatic Definition of Boolean Algebra. 2.4 Basic Theorems and Properties 2.5 Boolean Functions
More informationLogical Preliminaries
Logical Preliminaries Johannes C. Flieger Scheme UK March 2003 Abstract Survey of intuitionistic and classical propositional logic; introduction to the computational interpretation of intuitionistic logic
More informationCombinational Logic. Review of Combinational Logic 1
Combinational Logic! Switches -> Boolean algebra! Representation of Boolean functions! Logic circuit elements - logic gates! Regular logic structures! Timing behavior of combinational logic! HDLs and combinational
More informationProgram Analysis and Verification
Program Analysis and Verification 0368-4479 Noam Rinetzky Lecture 4: Axiomatic Semantics Slides credit: Tom Ball, Dawson Engler, Roman Manevich, Erik Poll, Mooly Sagiv, Jean Souyris, Eran Tromer, Avishai
More informationT e c h n i c u e. SOUTH'S LIVEST COLLEGE WEEKLY Georgia School of Technology. Phi Kappa Tau Frat Installed With WeekEnd of Activity mm
V X V U' V KY y,!!j[»jqu,, Y, 9 Y, 99 6 J K B B U U q : p B B By VV Y Kpp vy Y 7-8 y p p Kpp, z, p y, y, y p y, Kpp,, y p p p y p v y y y p, p, K, B, y y, B v U, Uvy, x, ; v y,, Uvy ; J, p p ( 5),, v y
More informationA Note on the Central Limit Theorem for a Class of Linear Systems 1
A Note on the Central Limit Theorem for a Class of Linear Systems 1 Contents Yukio Nagahata Department of Mathematics, Graduate School of Engineering Science Osaka University, Toyonaka 560-8531, Japan.
More information2.1. Jordan algebras. In this subsection, we introduce Jordan algebras as well as some of their basic properties.
FULL NESTEROV-TODD STEP INTERIOR-POINT METHODS FOR SYMMETRIC OPTIMIZATION G. GU, M. ZANGIABADI, AND C. ROOS Abstract. Some Jordan algebras were proved more than a decade ago to be an indispensable tool
More informationHarvard School of Engineering and Applied Sciences CS 152: Programming Languages
Harvard School of Engineering and Applied Sciences CS 152: Programming Languages Lecture 17 Tuesday, April 2, 2013 1 There is a strong connection between types in programming languages and propositions
More informationLinear and Combinatorial Optimization
Linear and Combinatorial Optimization The dual of an LP-problem. Connections between primal and dual. Duality theorems and complementary slack. Philipp Birken (Ctr. for the Math. Sc.) Lecture 3: Duality
More informationRelating State-Based and Process-Based Concurrency through Linear Logic
École Polytechnique 17 September 2009 Relating State-Based and Process-Based oncurrency through Linear Logic Iliano ervesato arnegie Mellon University - Qatar iliano@cmu.edu Specifying oncurrent Systems
More information2009 Spring CS211 Digital Systems & Lab CHAPTER 2: INTRODUCTION TO LOGIC CIRCUITS
CHAPTER 2: INTRODUCTION TO LOGIC CIRCUITS What will we learn? 2 Logic functions and circuits Boolean Algebra Logic gates and Synthesis CAD tools and VHDL Read Section 2.9 and 2.0 Terminology 3 Digital
More informationSelf-Adaptation and Information Flow in Multiparty Communications
Self-Adaptation and Information Flow in Multiparty Communications Joint work with Ilaria Castellani (INRIA, FR) Jorge A. Pérez (University of Groningen, NL) ABCD meeting London, 20th April, 2015 1 / 36
More informationBoolean Algebras, Boolean Rings and Stone s Representation Theorem
Boolean Algebras, Boolean Rings and Stone s Representation Theorem Hongtaek Jung December 27, 2017 Abstract This is a part of a supplementary note for a Logic and Set Theory course. The main goal is to
More informationLecture 1: Overview. January 24, 2018
Lecture 1: Overview January 24, 2018 We begin with a very quick review of first-order logic (we will give a more leisurely review in the next lecture). Recall that a linearly ordered set is a set X equipped
More informationModels of Concurrency
Models of Concurrency GERARDO SCHNEIDER UPPSALA UNIVERSITY DEPARTMENT OF INFORMATION TECHNOLOGY UPPSALA, SWEDEN Thanks to Frank Valencia Models of Concurrency p.1/57 Concurrency is Everywhere Concurrent
More informationChapter 2 Combinational Logic Circuits
Logic and Computer Design Fundamentals Chapter 2 Combinational Logic Circuits Part 1 Gate Circuits and Boolean Equations Chapter 2 - Part 1 2 Chapter 2 - Part 1 3 Chapter 2 - Part 1 4 Chapter 2 - Part
More informationMode checking in the Concurrent Logical Framework
Mode checking in the Concurrent Logical Framework Jorge Luis Sacchini Iliano Cervesato Frank Pfenning Carsten Schürmann August 2014 CMU-CS-14-134 CMU-CS-QTR-123 School of Computer Science Carnegie Mellon
More informationII. COMBINATIONAL LOGIC DESIGN. - algebra defined on a set of 2 elements, {0, 1}, with binary operators multiply (AND), add (OR), and invert (NOT):
ENGI 386 Digital Logic II. COMBINATIONAL LOGIC DESIGN Combinational Logic output of digital system is only dependent on current inputs (i.e., no memory) (a) Boolean Algebra - developed by George Boole
More informationSymmetry Methods for Differential and Difference Equations. Peter Hydon
Lecture 2: How to find Lie symmetries Symmetry Methods for Differential and Difference Equations Peter Hydon University of Kent Outline 1 Reduction of order for ODEs and O Es 2 The infinitesimal generator
More information1 The Real Number System
1 The Real Number System The rational numbers are beautiful, but are not big enough for various purposes, and the set R of real numbers was constructed in the late nineteenth century, as a kind of an envelope
More informationSpring 2015 Program Analysis and Verification. Lecture 6: Axiomatic Semantics III. Roman Manevich Ben-Gurion University
Spring 2015 Program Analysis and Verification Lecture 6: Axiomatic Semantics III Roman Manevich Ben-Gurion University Tentative syllabus Semantics Static Analysis Abstract Interpretation fundamentals Analysis
More informationLogic Synthesis and Verification
Logic Synthesis and Verification Boolean Algebra Jie-Hong Roland Jiang 江介宏 Department of Electrical Engineering National Taiwan University Fall 2014 1 2 Boolean Algebra Reading F. M. Brown. Boolean Reasoning:
More informationCombinational Logic Fundamentals
Topic 3: Combinational Logic Fundamentals In this note we will study combinational logic, which is the part of digital logic that uses Boolean algebra. All the concepts presented in combinational logic
More informationBoolean bunched logic: its semantics and completeness
Boolean bunched logic: its semantics and completeness James Brotherston Programming Principles, Logic and Verification Group Dept. of Computer Science University College London, UK J.Brotherston@ucl.ac.uk
More informationThe Accelerator Hamiltonian in a Straight Coordinate System
Hamiltoninan Dynamics for Particle Accelerators, Lecture 2 The Accelerator Hamiltonian in a Straight Coordinate System Andy Wolski University of Liverpool, and the Cockcroft Institute, Daresbury, UK. Given
More informationProgress as Compositional Lock-Freedom
Progress as Compositional Lock-Freedom Marco Carbone, Ornela Dardha, Fabrizio Montesi To cite this version: Marco Carbone, Ornela Dardha, Fabrizio Montesi. Progress as Compositional Lock-Freedom. David
More information