On Coinduction and Quantum Lambda Calculi

Size: px
Start display at page:

Download "On Coinduction and Quantum Lambda Calculi"

Transcription

1 On Coinduction and Quantum Lambda Calculi Yuxin Deng East China Normal University (Joint work with Yuan Feng and Ugo Dal Lago) To appear at CONCUR 15 1

2 Outline Motivation A quantum λ-calculus Coinductive proof techniques Soundness Completeness Summary 2

3 Motivation 3

4 Quantum programming languages Fruitful attempts of language design, e.g. QUIPPER: an expressive functional higher-order language that can be used to program many quantum algorithms and can generate quantum gate representations using trillions of gates. [Green et al. PLDI 13] LIQUi : a modular software architecture designed to control quantum hardware - it enables easy programming, compilation, and simulation of quantum algorithms and circuits. [Wecker and Svore. CoRR 2014] Open problem: Fully abstract denotational semantics wrt operational semantics 4

5 Contextual equivalence An important notion of program equivalence in programming languages. M N if C : C[M] C[N] 5

6 An example in linear PCF f 1 := val(λx.val(0) val(1)) f 2 := val(λx.val(0)) val(λx.val(1)). [Deng and Zhang, TCS, 2015] 6

7 An example f 1 := val(λx.val(0) val(1)) f 2 := val(λx.val(0)) val(λx.val(1)). f 1 f 2 C := bind f = [ ] in bind x = f(0) in bind y = f(0) in val(x = y). 7

8 Linear context? f 1 := val(λx.val(0) val(1)) f 2 := val(λx.val(0)) val(λx.val(1)). Equivalence under linear contexts. 8

9 A Quantum λ-calculus 9

10 Types A,B,C ::= qubit A B!(A B) 1 A B A B A l 10

11 Terms M, N, P ::= x Variables λx A.M M N Abstractions / applications skip M;N Skip / seq. compositions M N let x A y B = M in N Tensor products / proj. in l M in r M Sums match P with (x A : M y B : N) Matches split A Split letrec f A B x = M in N Recursions new meas U Quantum operators 11

12 Values V,W ::= x c λx A.M V W in l V in r W where c {skip,split A,meas,new,U}. As syntactic sugar bit = 1 1, tt = in r skip, and ff = in l skip. 12

13 Typing rules A linear!,x : A x : A,x : A M : B λx A.M : A B!, M : A!,x :!(A B) x : A B!, M : A B!, N : A!,, MN : B!, M : B!, in l M : A B!, in r M : A B!, P : A B!,,x : A M : C!,,y : B N : C!,, match P with (x A : M y B : N) : C!,f :!(A B),x : A M : B!,,f :!(A B) N : C!, letrec f A B x = M in N : C U of arity n! new : bit qubit! meas : qubit bit! U : qubit n qubit n 13

14 Quantum closure Def. A quantum closure is a triple [q,l,m] where q is a normalized vector of C 2n, for some integer n 0. It is called the quantum state; M is a term, not necessarily closed; l is a linking function that is an injective map from fqv(m) to the set {1,...,n}. A closure [q,l,m] is total if l is surjective. In that case we write l as x 1,...,x n if dom(l) = {x 1,...,x n } and l(x i ) = i for all i {1...n}. Non-total closures are allowed. E.g. [ ,{x 1},x] 14

15 Small-step reduction axioms [q, l, (λx A.M)V] 1 [q, l, M{V/x}] [q, l, let x A y B = V W in N] [q, l, skip;n] 1 [q, l, N] [q, l, match in l V with (x A : M y B : N)] [q, l, match in r V with (x A : M y B : N)] [q, l, letrec f A B x = M in N] [q,, newff] [q,, newtt] 1 [q 0, {x n+1}, x] 1 [q 1, {x n+1}, x] [αq 0 +βq 1, {x i}, measx] [αq 0 +βq 1, {x i}, measx] [q, l, U(x 1 x k )] 1 [q, l, N{V/x,W/y}] 1 [q, l, M{V/x}] 1 [q, l, N{V/y}] 1 [q, l, N{(λx A.letrec f A B x = M in M)/f}] α 2 [r 0,, ff] β 2 [r 1,, tt] 1 [r, l, (x 1 x k )] 15

16 Structural rule [q, l, M] [q, j l, E[M]] p [r, i, N] p [r, j i, E[N]] where E is any evaluation context generated by the grammar E ::= [] E M V E E;M E M V E in l E in r E let x A y B = E in M match E with (x A : M y B : N). 16

17 Extreme derivative Def. Suppose we have subdistributions µ, µ k, µ k following properties: for k 0 with the µ = µ 0 +µ 0 µ 0 µ 1 +µ 1 µ 1 µ 2 +µ 2. and each µ k is stable in the sense that C, for all C µ k. Then we call µ := k=0 µ k an extreme derivative of µ, and write µ µ. NB: µ could be a proper subdistribution. 17

18 Example Consider a Markov chain with three states {s 1,s 2,s 3 } and two transitions s s s 3 and s 3 s 3. Then s s 2. Let C be a quantum closure in the Markov chain (Cl, ). Then C [C] for a unique subdistribution [C]. 18

19 Big-step reduction C ε [q,l,v] [q,l,v] [q,l,m] k Kp k [r k,i k,v k ] {[r k,i k,n] µ k } k K [q,l,m N] k Kp k (V k µ k ) [q,l,m] k Kp k [r k,i k,v k W k ] {[r k,i k,(n{v k /x,w k /y})] µ k } k K [q,l,let x A y B = M in N] k Kp k µ k Lem. [C] = sup{µ C µ} 19

20 Linear contextual equivalence Def. A linear context is a term with a hole, written C( ;A), such that C[M] is a closed program when the hole is filled in by a term M, where M : A, and the hole lies in linear position. Def. Linear contextual equivalence is the typed relation given by M N : A if for every linear context C, quantum state q and linking function l such that C( ;A) : B, and both [q,l,c[m]] and [q,l,c[n]] are total quantum closures, [[q,l,c[m]]] = [[q,l,c[n]]] 20

21 Coinductive proof techniques 21

22 A Probabilistic Labelled Transition System [q,l,x 1 x n ] iu [q,l,u(x 1 x n )] [q,l,x] imeas [q,l,measx] [q,,skip] skip [q,,ω] V : A B W : A [q, l, [q, l r, VW] in l V : A B x : A M : C [q,l,in l V] l[r,m] [q,l r,m{v/x}] V W : A B [q,l,v W] x : A,y : B M : C [r,m] [l r,m{v/x,w/y}] C eval [C] 22

23 Lifting relations Def. Let S,T be two countable sets and R S T be a binary relation. The lifted relation R D(S) D(T) is defined by letting µ R ν iff µ(x) ν(r(x)) for all X S. Here R(X) = {t T s X. s R t} and µ(x) = s X µ(s). There are alternative formulations; related to the Kantorovich metric and the maximum network flow problem. See e.g. 23

24 State-based bisimilarity Def. C s D iff env(c) = env(d); [C] s [D]; if C,D are values then C a µ implies D a ν with µ s ν, and vice-versa. Write M s N : A if [q,l,m] s [q,l,n] for any q and l such that [q,l,m] and [q,l,n] are both typable quantum closures. env(µ) = i p i tr fqv(m) q i q i for any µ = i p i [q i,l i,m i ]. 24

25 Distribution-based bisimilarity Def. µ a ρ if ρ = s µ µ(s) µ s, where µ s is determined as follows: either s a µ s or there is no ν with s a ν, and in this case we set µ s = ε. Def. µ d ν iff env(µ) = env(ν); [µ] d [ν]; if µ and ν are value distributions and µ a ρ, then ν a ξ for some ξ with ρ d ξ, and vice-versa. Write M d N : A if [[q,l,m]] d [[q,l,n]] for any q and l such that [q,l,m] and [q,l,n] are quantum closures. 25

26 s is finer than d s t a a s 1 b t 1 t b b s 2 s 3 t 3 t 4 c d c d s 4 t 5 s s t 26

27 Similar behaviour by quantum closures [,,(λxy.meas(h(new ff)))x] eval [ , x 1 x 2,(λxy.measx 1 )(measx 2 )] eval [,, λy.meas(h(new [,, meas(h(new ff))] [ 0, x 1,λy.measx 1 ] [ 1, x 1,λy.measx 1 [ 0, x 1,measx 1 ] [ 1, x 1,measx 1 ] eval eval [,,ff] [,,tt] [,,ff] [,,tt] ff tt ff tt [,,Ω] [,,Ω] 27

28 Soundness 28

29 Congruence Basic idea: Given a relation R, construct a congruence candidate R H, and then show R=R H. 29

30 Howe s construction,x : A [q,l,m] R H [r,j,n] [r,j,λx A.N] R [p,i,l] [q,l,λx A.M] R H [p,i,l]!, [q,l,m] R H [r,j,n]!, [q,i,l] R H [r,m,p]!,, [r,j m,np] R [s,n,q]!,, [q,l i,ml] R H [s,n,q]!, [q,l,m] R H [r,j,n]!, [q,i,l] R H [r,m,p]!,, [r,j m,n P] R [s,n,q]!,, [q,l i,m L] R H [s,n,q] 30

31 Congruence Lem. If [q,l,m] s H [r,j,n] then [[q,l,m]] ( s H ) [[r,j,n]]. Lem. If [q,l,v] H s [r,j,w] then we have that [q,l,v] a [r,j,w] ν and µ ( H s ) ν. a µ implies Consequently, s = s H. Similar arguments apply to d. 31

32 Soundness Thm. Both s and d are included in. 32

33 Completeness 33

34 A simple testing language The tests: t ::= ω a t Apply a test to a distribution in a reactive plts Pr(µ,ω) = µ Pr(µ,a t) = Pr(ρ,t) where µ a ρ µ = T ν iff t T : Pr(µ,t) = Pr(ν,t). 34

35 Characterisation of d by tests Thm. Let µ and ν be two distributions in a reactive plts. Then µ d ν if and only if µ = T ν. 35

36 Converting a test into a context Lem. Let A be a type and t a test. There is a context C A t such that C A t ( ;A) : bit and for every M with M : A, we have Pr([q,l,M],t) = [[q,l,c A t [M]]] where [q,l,m] and [q,l,c A t [M]] are quantum closures for any q and l. 36

37 Full abstraction Thm. coincides with d. 37

38 Summary 38

39 Conclusion Two notions of bisimilarity for reasoning about higher-order quantum programs Both bisimilarities are sound with respect to the linear contextual equivalence The distribution-based one is complete. 39

40 Future work A denotational model fully abstract with respect to the linear contextual equivalence. 40

41 Thank you! 41

Probabilistic Applicative Bisimulation and Call-by-Value Lam

Probabilistic Applicative Bisimulation and Call-by-Value Lam Probabilistic Applicative and Call-by-Value Lambda Calculi Joint work with Ugo Dal Lago ENS Lyon February 9, 2014 Probabilistic Applicative and Call-by-Value Lam Introduction Fundamental question: when

More information

Quantum Functional Programming Language & Its Denotational Semantics

Quantum Functional Programming Language & Its Denotational Semantics Quantum Functional Programming Language & Its Denotational Semantics Ichiro Hasuo Dept. Computer Science University of Tokyo Naohiko Hoshino Research Inst. for Math. Sci. Kyoto University Talk based on:

More information

Applying quantitative semantics to higher-order quantum computing

Applying quantitative semantics to higher-order quantum computing Applying quantitative semantics to higher-order quantum computing Michele Pagani Université Paris 3, Sorbonne Paris Cité Villetaneuse, France michele.pagani@lipn.univ-paris3.fr Peter Selinger Dalhousie

More information

Congruence of Bisimulation in a Non-Deterministic Call-By-Need Lambda Calculus

Congruence of Bisimulation in a Non-Deterministic Call-By-Need Lambda Calculus Congruence of Bisimulation in a Non-Deterministic Call-By-Need Lambda Calculus Matthias Mann Johann Wolfgang Goethe-Universität, Frankfurt, Germany Congruence of Bisimulation p. 1/21 Lambda Calculi and

More information

Bisimulation and coinduction in higher-order languages

Bisimulation and coinduction in higher-order languages Bisimulation and coinduction in higher-order languages Davide Sangiorgi Focus Team, University of Bologna/INRIA ICE, Florence, June 2013 Bisimulation Behavioural equality One of the most important contributions

More information

A probabilistic lambda calculus - Some preliminary investigations

A probabilistic lambda calculus - Some preliminary investigations A probabilistic lambda calculus - Some preliminary investigations Ugo Dal Lago, Margherita Zorzi Università di Bologna, Università di Verona June, 9-11, 2010, Torino Introduction: Λ P We present some results

More information

An introduction to process calculi: Calculus of Communicating Systems (CCS)

An introduction to process calculi: Calculus of Communicating Systems (CCS) An introduction to process calculi: Calculus of Communicating Systems (CCS) Lecture 2 of Modelli Matematici dei Processi Concorrenti Paweł Sobociński University of Southampton, UK Intro to process calculi:

More information

Foundations of Quantum Programming

Foundations of Quantum Programming Foundations of Quantum Programming Mingsheng Ying University of Technology Sydney, Australia Institute of Software, Chinese Academy of Sciences Tsinghua University, China Outline Introduction Syntax of

More information

Přednáška 12. Důkazové kalkuly Kalkul Hilbertova typu. 11/29/2006 Hilbertův kalkul 1

Přednáška 12. Důkazové kalkuly Kalkul Hilbertova typu. 11/29/2006 Hilbertův kalkul 1 Přednáška 12 Důkazové kalkuly Kalkul Hilbertova typu 11/29/2006 Hilbertův kalkul 1 Formal systems, Proof calculi A proof calculus (of a theory) is given by: A. a language B. a set of axioms C. a set of

More information

Stochastic Domain Theory

Stochastic Domain Theory Stochastic Domain Theory Michael Mislove Tulane University Simons Institute on the Theory of Computing Reunion Workshop on Logical Structures for Computation December 12, 2017 Supported by US AFOSR Scott

More information

Bisimulation for Neighbourhood Structures

Bisimulation for Neighbourhood Structures Bisimulation for Neighbourhood Structures Helle Hvid Hansen 1,2 Clemens Kupke 2 Eric Pacuit 3 1 Vrije Universiteit Amsterdam (VUA) 2 Centrum voor Wiskunde en Informatica (CWI) 3 Universiteit van Amsterdam

More information

On Distribution Based Bisimulations for Probabilistic Automata

On Distribution Based Bisimulations for Probabilistic Automata On Distribution Based Bisimulations for Probabilistic Automata AVACS alumni technical talk Lijun Zhang Institute of Software, Chinese Academy of Sciences Joint work with Holger Hermanns, Lei Song, Christian

More information

QWIRE Practice: Formal Verification of Quantum Circuits in Coq

QWIRE Practice: Formal Verification of Quantum Circuits in Coq 1 / 29 QWIRE Practice: Formal Verification of Quantum Circuits in Coq Robert Rand, Jennifer Paykin, Steve Zdancewic University of Pennsylvania Quantum Physics and Logic, 2017 2 / 29 QWIRE A high-level

More information

Bisimulation for Neighbourhood Structures

Bisimulation for Neighbourhood Structures Bisimulation for Neighbourhood Structures Helle Hvid Hansen 1,2 Clemens Kupke 2 Eric Pacuit 3 1 Vrije Universiteit Amsterdam (VUA) 2 Centrum voor Wiskunde en Informatica (CWI) 3 Universiteit van Amsterdam

More information

Systems of modal logic

Systems of modal logic 499 Modal and Temporal Logic Systems of modal logic Marek Sergot Department of Computing Imperial College, London utumn 2008 Further reading: B.F. Chellas, Modal logic: an introduction. Cambridge University

More information

Simulation in the Call-by-Need Lambda-Calculus with Letrec, Case, Constructors, and Seq

Simulation in the Call-by-Need Lambda-Calculus with Letrec, Case, Constructors, and Seq Simulation in the Call-by-Need Lambda-Calculus with Letrec, Case, Constructors, and Seq Manfred Schmidt-Schauss 1 and David Sabel 1 and Elena Machkasova 2 1 Dept. Informatik und Mathematik, Inst. Informatik,

More information

A few bridges between operational and denotational semantics of programming languages

A few bridges between operational and denotational semantics of programming languages A few bridges between operational and denotational semantics of programming languages Soutenance d habilitation à diriger les recherches Tom Hirschowitz November 17, 2017 Hirschowitz Bridges between operational

More information

Operational Semantics Using the Partiality Monad

Operational Semantics Using the Partiality Monad page.1 Operational Semantics Using the Partiality Monad Nils Anders Danielsson (Göteborg) Shonan Meeting 026: Coinduction for computation structures and programming languages The research leading to these

More information

Step-indexed models of call-by-name: a tutorial example

Step-indexed models of call-by-name: a tutorial example Step-indexed models of call-by-name: a tutorial example Aleš Bizjak 1 and Lars Birkedal 1 1 Aarhus University {abizjak,birkedal}@cs.au.dk June 19, 2014 Abstract In this tutorial paper we show how to construct

More information

Towards Correctness of Program Transformations Through Unification and Critical Pair Computation

Towards Correctness of Program Transformations Through Unification and Critical Pair Computation Towards Correctness of Program Transformations Through Unification and Critical Pair Computation Conrad Rau and Manfred Schmidt-Schauß Institut für Informatik Johann Wolfgang Goethe-Universität Postfach

More information

A call-by-name lambda-calculus machine

A call-by-name lambda-calculus machine A call-by-name lambda-calculus machine Jean-Louis Krivine University Paris VII, C.N.R.S. 2 place Jussieu 75251 Paris cedex 05 (krivine@pps.jussieu.fr) Introduction We present, in this paper, a particularly

More information

Complete Partial Orders, PCF, and Control

Complete Partial Orders, PCF, and Control Complete Partial Orders, PCF, and Control Andrew R. Plummer TIE Report Draft January 2010 Abstract We develop the theory of directed complete partial orders and complete partial orders. We review the syntax

More information

A Propositional Dynamic Logic for Instantial Neighborhood Semantics

A Propositional Dynamic Logic for Instantial Neighborhood Semantics A Propositional Dynamic Logic for Instantial Neighborhood Semantics Johan van Benthem, Nick Bezhanishvili, Sebastian Enqvist Abstract We propose a new perspective on logics of computation by combining

More information

arxiv: v1 [cs.lo] 22 Jun 2015

arxiv: v1 [cs.lo] 22 Jun 2015 pplicative Bisimulation and Quantum λ-calculi (Long Version) Ugo Dal Lago lessandro Rioli arxiv:1506.06661v1 [cs.lo] 22 Jun 2015 February 24, 2018 bstract pplicative bisimulation is a coinductive technique

More information

A Note on Scope and Infinite Behaviour in CCS-like Calculi p.1/32

A Note on Scope and Infinite Behaviour in CCS-like Calculi p.1/32 A Note on Scope and Infinite Behaviour in CCS-like Calculi GERARDO SCHNEIDER UPPSALA UNIVERSITY DEPARTMENT OF INFORMATION TECHNOLOGY UPPSALA, SWEDEN Joint work with Pablo Giambiagi and Frank Valencia A

More information

Streams and Coalgebra Lecture 2

Streams and Coalgebra Lecture 2 Streams and Coalgebra Lecture 2 Helle Hvid Hansen and Jan Rutten Radboud University Nijmegen & CWI Amsterdam Representing Streams II, Lorentz Center, Leiden, January 2014 Tutorial Overview Lecture 1 (Hansen):

More information

A categorical model for a quantum circuit description language

A categorical model for a quantum circuit description language A categorical model for a quantum circuit description language Francisco Rios (joint work with Peter Selinger) Department of Mathematics and Statistics Dalhousie University CT July 16th 22th, 2017 What

More information

Bringing class diagrams to life

Bringing class diagrams to life Bringing class diagrams to life Luis S. Barbosa & Sun Meng DI-CCTC, Minho University, Braga & CWI, Amsterdam UML & FM Workshop 2009 Rio de Janeiro 8 December, 2009 Formal Methods proofs problems structures

More information

Communication and Concurrency: CCS

Communication and Concurrency: CCS Communication and Concurrency: CCS R. Milner, A Calculus of Communicating Systems, 1980 cours SSDE Master 1 Why calculi? Prove properties on programs and languages Principle: tiny syntax, small semantics,

More information

Coalgebra, lecture 10: Algebra and Coalgebra for Regular Expressions

Coalgebra, lecture 10: Algebra and Coalgebra for Regular Expressions Coalgebra, lecture 10: Algebra and Coalgebra for Regular Expressions Jurriaan Rot November 19, 2018 By now we ve been talking a lot about coalgebras and coinduction, as well as algebras and induction.

More information

On Coinductive Equivalences for Higher-Order Probabilistic Functional Programs

On Coinductive Equivalences for Higher-Order Probabilistic Functional Programs On Coinductive Equivalences for Higher-Order Probabilistic Functional Programs Ugo Dal Lago, Davide Sangiorgi, Michele Alberti To cite this version: Ugo Dal Lago, Davide Sangiorgi, Michele Alberti. On

More information

Probabilistic Bisimilarity as Testing Equivalence

Probabilistic Bisimilarity as Testing Equivalence Probabilistic Bisimilarity as Testing Equivalence Yuxin Deng a,, Yuan Feng b a Shanghai Key Laboratory of Trustworthy Computing, MOE International Joint Lab of Trustworthy Software, and International Research

More information

Coinductive big-step semantics and Hoare logics for nontermination

Coinductive big-step semantics and Hoare logics for nontermination Coinductive big-step semantics and Hoare logics for nontermination Tarmo Uustalu, Inst of Cybernetics, Tallinn joint work with Keiko Nakata COST Rich Models Toolkit meeting, Madrid, 17 18 October 2013

More information

Chapter 2 Classical Probability Theories

Chapter 2 Classical Probability Theories Chapter 2 Classical Probability Theories In principle, those who are not interested in mathematical foundations of probability theory might jump directly to Part II. One should just know that, besides

More information

Orthogonality and Algebraic Lambda-Calculus

Orthogonality and Algebraic Lambda-Calculus Orthogonality and Algebraic Lambda-Calculus Benoît Valiron March 28, 2010 Abstract Directly encoding lambda-terms on quantum strings while keeping a quantum interpretation is a hard task. As shown by van

More information

The non-logical symbols determine a specific F OL language and consists of the following sets. Σ = {Σ n } n<ω

The non-logical symbols determine a specific F OL language and consists of the following sets. Σ = {Σ n } n<ω 1 Preliminaries In this chapter we first give a summary of the basic notations, terminology and results which will be used in this thesis. The treatment here is reduced to a list of definitions. For the

More information

Meaning and Reference INTENSIONAL AND MODAL LOGIC. Intensional Logic. Frege: Predicators (general terms) have

Meaning and Reference INTENSIONAL AND MODAL LOGIC. Intensional Logic. Frege: Predicators (general terms) have INTENSIONAL AND MODAL LOGIC Meaning and Reference Why do we consider extensions to the standard logical language(s)? Requirements of knowledge representation / domain modelling Intensional expressions:

More information

Minimal logic for computable functionals

Minimal logic for computable functionals Minimal logic for computable functionals Helmut Schwichtenberg Mathematisches Institut der Universität München Contents 1. Partial continuous functionals 2. Total and structure-total functionals 3. Terms;

More information

Simulation in the Call-by-Need Lambda-Calculus with letrec

Simulation in the Call-by-Need Lambda-Calculus with letrec Simulation in the Call-by-Need Lambda-Calculus with letrec Manfred Schmidt-Schauss 1 and David Sabel 1 and Elena Machkasova 2 1 Dept. Informatik und Mathematik, Inst. Informatik, J.W. Goethe-University,

More information

An Equational Axiomatization for Multi-Exit Iteration

An Equational Axiomatization for Multi-Exit Iteration An Equational Axiomatization for Multi-Exit Iteration Luca Aceto BRICS Department of Computer Science Aalborg University, Fr. Bajersvej 7E 9220 Aalborg Ø, Denmark Wan Fokkink Utrecht University, Department

More information

Understanding Process Semantics

Understanding Process Semantics TU München March, 2017 Understanding Process Semantics David de Frutos Escrig In collaboration with: Carlos Gregorio Rodríguez, Miguel Palomino and Ignacio Fábregas Departamento de Sistemas Informáticos

More information

Communication and Concurrency: CCS. R. Milner, A Calculus of Communicating Systems, 1980

Communication and Concurrency: CCS. R. Milner, A Calculus of Communicating Systems, 1980 Communication and Concurrency: CCS R. Milner, A Calculus of Communicating Systems, 1980 Why calculi? Prove properties on programs and languages Principle: tiny syntax, small semantics, to be handled on

More information

Operationally-Based Theories of Program Equivalence

Operationally-Based Theories of Program Equivalence Operationally-Based Theories of Program Equivalence Andrew Pitts Contents 1 Introduction : : : : : : : : : : : : : : : : : : : : : : : : : : : : 241 2 Contextual Equivalence : : : : : : : : : : : : : :

More information

Local time of self-affine sets of Brownian motion type and the jigsaw puzzle problem

Local time of self-affine sets of Brownian motion type and the jigsaw puzzle problem Local time of self-affine sets of Brownian motion type and the jigsaw puzzle problem (Journal of Mathematical Analysis and Applications 49 (04), pp.79-93) Yu-Mei XUE and Teturo KAMAE Abstract Let Ω [0,

More information

Computational Soundness of a Call by Name Calculus of Recursively-scoped Records. UMM Working Papers Series, Volume 2, Num. 3.

Computational Soundness of a Call by Name Calculus of Recursively-scoped Records. UMM Working Papers Series, Volume 2, Num. 3. Computational Soundness of a Call by Name Calculus of Recursively-scoped Records. UMM Working Papers Series, Volume 2, Num. 3. Elena Machkasova Contents 1 Introduction and Related Work 1 1.1 Introduction..............................

More information

Lecture Notes 1 Basic Concepts of Mathematics MATH 352

Lecture Notes 1 Basic Concepts of Mathematics MATH 352 Lecture Notes 1 Basic Concepts of Mathematics MATH 352 Ivan Avramidi New Mexico Institute of Mining and Technology Socorro, NM 87801 June 3, 2004 Author: Ivan Avramidi; File: absmath.tex; Date: June 11,

More information

2 Results I: Lifting Computer Science

2 Results I: Lifting Computer Science Ben Greenman December 12, 2015 Call-By-Name, Call-By-Value, and the λ Calculus Abstract Plotkin s 1975 paper is strictly business. There are many theorems packed in the space of 35 pages, with little room

More information

Formal Techniques for Software Engineering: Denotational Semantics

Formal Techniques for Software Engineering: Denotational Semantics Formal Techniques for Software Engineering: Denotational Semantics Rocco De Nicola IMT Institute for Advanced Studies, Lucca rocco.denicola@imtlucca.it May 2013 Lesson 4 R. De Nicola (IMT-Lucca) FoTSE@LMU

More information

Completeness for coalgebraic µ-calculus: part 2. Fatemeh Seifan (Joint work with Sebastian Enqvist and Yde Venema)

Completeness for coalgebraic µ-calculus: part 2. Fatemeh Seifan (Joint work with Sebastian Enqvist and Yde Venema) Completeness for coalgebraic µ-calculus: part 2 Fatemeh Seifan (Joint work with Sebastian Enqvist and Yde Venema) Overview Overview Completeness of Kozen s axiomatisation of the propositional µ-calculus

More information

Parameterizations and Fixed-Point Operators on Control Categories

Parameterizations 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 information

Kleene modules and linear languages

Kleene modules and linear languages The Journal of Logic and Algebraic Programming 66 (2006) 185 194 THE JOURNAL OF LOGIC AND ALGEBRAIC PROGRAMMING wwwelseviercom/locate/jlap Kleene modules and linear languages Hans Leiß Centrum für Informations-

More information

Extending Abramsky s Lazy Lambda Calculus: (Non)-Conservativity of Embeddings

Extending Abramsky s Lazy Lambda Calculus: (Non)-Conservativity of Embeddings Extending Abramsky s Lazy Lambda Calculus: (Non)-Conservativity of Embeddings Manfred Schmidt-Schauß 1, Elena Machkasova 2, and David Sabel 1 1 Goethe-Universität, Frankfurt, Germany schauss,sabel@ki.informatik.uni-frankfurt.de

More information

Automated Verification of Asymmetric Encryption

Automated Verification of Asymmetric Encryption Automated Verification of Asymmetric Encryption V.C. Ngo C. Ene Y. Lakhnech VERIMAG, Grenoble ESORICS 2009 Outline Formal Model Formal Non-Deducibility and Indistinguishability Relations (FNDR and FIR)

More information

Logical Characterizations of Simulation and Bisimulation for Fuzzy Transition Systems

Logical Characterizations of Simulation and Bisimulation for Fuzzy Transition Systems Logical Characterizations of Simulation and Bisimulation for Fuzzy Transition Systems Hengyang Wu 1 Yuxin Deng 2 1 Information Engineer College, Hangzhou Dianzi University Hangzhou 310018, P.R. China 2

More information

Equations, contractions, and unique solutions

Equations, contractions, and unique solutions Equations, contractions, and unique solutions Davide Sangiorgi To cite this version: Davide Sangiorgi. Equations, contractions, and unique solutions. POPL 2015 - Proceedings of the 42nd Annual ACM SIGPLAN-SIGACT

More information

Simply Typed Lambda-Calculi (II)

Simply Typed Lambda-Calculi (II) THEORY AND PRACTICE OF FUNCTIONAL PROGRAMMING Simply Typed Lambda-Calculi (II) Dr. ZHANG Yu Institute of Software, Chinese Academy of Sciences Fall term, 2011 GUCAS, Beijing Introduction PCF Programming

More information

On the Executability of Interactive Computation. June 23, 2016 Where innovation starts

On the Executability of Interactive Computation. June 23, 2016 Where innovation starts On the Executability of Interactive Computation Bas Luttik Fei Yang June 23, 2016 Where innovation starts Outline 2/37 From Computation to Interactive Computation Executability - an Integration of Computability

More information

COMPUTER ARITHMETIC. 13/05/2010 cryptography - math background pp. 1 / 162

COMPUTER ARITHMETIC. 13/05/2010 cryptography - math background pp. 1 / 162 COMPUTER ARITHMETIC 13/05/2010 cryptography - math background pp. 1 / 162 RECALL OF COMPUTER ARITHMETIC computers implement some types of arithmetic for instance, addition, subtratction, multiplication

More information

The space of located subsets

The space of located subsets The space of located subsets Tatsuji Kawai Universtà di Padova Second CORE meeting, 27 January 2017, LMU 1 / 26 The space of located subsets We are interested in a point-free topology on the located subsets

More information

Propositional Logic Language

Propositional Logic Language Propositional Logic Language A logic consists of: an alphabet A, a language L, i.e., a set of formulas, and a binary relation = between a set of formulas and a formula. An alphabet A consists of a finite

More information

First-order logic Syntax and semantics

First-order logic Syntax and semantics 1 / 43 First-order logic Syntax and semantics Mario Alviano University of Calabria, Italy A.Y. 2017/2018 Outline 2 / 43 1 Motivation Why more than propositional logic? Intuition 2 Syntax Terms Formulas

More information

Automated Synthesis of Tableau Calculi

Automated Synthesis of Tableau Calculi Automated Synthesis of Tableau Calculi Renate A. Schmidt 1 and Dmitry Tishkovsky 1 School of Computer Science, The University of Manchester Abstract This paper presents a method for synthesising sound

More information

Environmental Bisimulations for Probabilistic Higher-Order Languages

Environmental Bisimulations for Probabilistic Higher-Order Languages Environmental Bisimulations for Probabilistic Higher-Order Languages Davide Sangiorgi, Valeria Vignudelli To cite this version: Davide Sangiorgi, Valeria Vignudelli. Environmental Bisimulations for Probabilistic

More information

Lazy Strong Normalization

Lazy Strong Normalization Lazy Strong Normalization Luca Paolini 1,2 Dipartimento di Informatica Università di Torino (ITALIA) Elaine Pimentel 1,2 Departamento de Matemática Universidade Federal de Minas Gerais (BRASIL) Dipartimento

More information

A Lambda Calculus Foundation for Universal Probabilistic Programming

A Lambda Calculus Foundation for Universal Probabilistic Programming A Lambda Calculus Foundation for Universal Probabilistic Programming Johannes Borgström (Uppsala University) Ugo Dal Lago (University of Bologna, INRIA) Andrew D. Gordon (Microsoft Research, University

More information

Small families. (at INRIA with Gérard and in the historical λ-calculus) Jean-Jacques Lévy

Small families. (at INRIA with Gérard and in the historical λ-calculus) Jean-Jacques Lévy Small families (at INRIA with Gérard and in the historical λ-calculus) Jean-Jacques Lévy INRIA Rocquencourt and Microsoft Research-INRIA Joint Centre June 22, 2007 caml years coq sixty years is 31,557,600

More information

Topology, Math 581, Fall 2017 last updated: November 24, Topology 1, Math 581, Fall 2017: Notes and homework Krzysztof Chris Ciesielski

Topology, Math 581, Fall 2017 last updated: November 24, Topology 1, Math 581, Fall 2017: Notes and homework Krzysztof Chris Ciesielski Topology, Math 581, Fall 2017 last updated: November 24, 2017 1 Topology 1, Math 581, Fall 2017: Notes and homework Krzysztof Chris Ciesielski Class of August 17: Course and syllabus overview. Topology

More information

On simulations and bisimulations of general flow systems

On simulations and bisimulations of general flow systems On simulations and bisimulations of general flow systems Jen Davoren Department of Electrical & Electronic Engineering The University of Melbourne, AUSTRALIA and Paulo Tabuada Department of Electrical

More information

Strong bisimilarity can be opened

Strong 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 information

ON THE AXIOMATIZABILITY OF IMPOSSIBLE FUTURES

ON THE AXIOMATIZABILITY OF IMPOSSIBLE FUTURES Logical Methods in Computer Science Vol. 11(3:17)2015, pp. 1 30 www.lmcs-online.org Submitted Jan. 4, 2015 Published Sep. 22, 2015 ON THE AXIOMATIZABILITY OF IMPOSSIBLE FUTURES TAOLUE CHEN a, WAN FOKKINK

More information

Example. Lemma. Proof Sketch. 1 let A be a formula that expresses that node t is reachable from s

Example. Lemma. Proof Sketch. 1 let A be a formula that expresses that node t is reachable from s Summary Summary Last Lecture Computational Logic Π 1 Γ, x : σ M : τ Γ λxm : σ τ Γ (λxm)n : τ Π 2 Γ N : τ = Π 1 [x\π 2 ] Γ M[x := N] Georg Moser Institute of Computer Science @ UIBK Winter 2012 the proof

More information

CS522 - Programming Language Semantics

CS522 - Programming Language Semantics 1 CS522 - Programming Language Semantics Simply Typed Lambda Calculus Grigore Roşu Department of Computer Science University of Illinois at Urbana-Champaign 2 We now discuss a non-trivial extension of

More information

Analyzing Quantum Circuits Via Polynomials

Analyzing Quantum Circuits Via Polynomials Analyzing Quantum Circuits Via Polynomials Kenneth W. Regan 1 University at Buffalo (SUNY) 15 November, 2013 1 Includes joint work with Amlan Chakrabarti and Robert Surówka Quantum Circuits Quantum circuits

More information

Streams and Coalgebra Lecture 1

Streams and Coalgebra Lecture 1 Streams and Coalgebra Lecture 1 Helle Hvid Hansen and Jan Rutten Radboud University Nijmegen & CWI Amsterdam Representing Streams II, Lorentz Center, Leiden, January 2014 Tutorial Overview Lecture 1 (Hansen):

More information

CPSC 313 Introduction to Computability

CPSC 313 Introduction to Computability CPSC 313 Introduction to Computability Grammars in Chomsky Normal Form (Cont d) (Sipser, pages 109-111 (3 rd ed) and 107-109 (2 nd ed)) Renate Scheidler Fall 2018 Chomsky Normal Form A context-free grammar

More information

The L Machines are very high-level, in two senses:

The L Machines are very high-level, in two senses: What is a Computer? State of the machine. CMPSCI 630: Programming Languages An Abstract Machine for Control Spring 2009 (with thanks to Robert Harper) Internal registers, memory, etc. Initial and final

More information

Axiomatic Semantics. Lecture 9 CS 565 2/12/08

Axiomatic Semantics. Lecture 9 CS 565 2/12/08 Axiomatic Semantics Lecture 9 CS 565 2/12/08 Axiomatic Semantics Operational semantics describes the meaning of programs in terms of the execution steps taken by an abstract machine Denotational semantics

More information

Predicate Calculus - Semantic Tableau (2/2) Moonzoo Kim CS Division of EECS Dept. KAIST

Predicate Calculus - Semantic Tableau (2/2) Moonzoo Kim CS Division of EECS Dept. KAIST Predicate Calculus - Semantic Tableau (2/2) Moonzoo Kim CS Division of EECS Dept. KAIST moonzoo@cs.kaist.ac.kr http://pswlab.kaist.ac.kr/courses/cs402-07 1 Formal construction is explained in two steps

More information

Quantum Recursion and Second Quantisation

Quantum Recursion and Second Quantisation Quantum Recursion and Second Quantisation Mingsheng Ying State Key Laboratory of Computer Science Outline 1. Introduction 2. Recursive Programming 3. Classical Recursion in Quantum Programming 4. Quantum

More information

Topological dynamics: basic notions and examples

Topological dynamics: basic notions and examples CHAPTER 9 Topological dynamics: basic notions and examples We introduce the notion of a dynamical system, over a given semigroup S. This is a (compact Hausdorff) topological space on which the semigroup

More information

On a Categorical Framework for Coalgebraic Modal Logic

On a Categorical Framework for Coalgebraic Modal Logic On a Categorical Framework for Coalgebraic Modal Logic Liang-Ting Chen 1 Achim Jung 2 1 Institute of Information Science, Academia Sinica 2 School of Computer Science, University of Birmingham MFPS XXX

More information

The State Explosion Problem

The State Explosion Problem The State Explosion Problem Martin Kot August 16, 2003 1 Introduction One from main approaches to checking correctness of a concurrent system are state space methods. They are suitable for automatic analysis

More information

MODERN APPLIED ALGEBRA

MODERN APPLIED ALGEBRA Paper IV (Elective -) - Curriculum ACHARYA NAGARJUNA UNIVERSITY CURRICULUM - B.A / B.Sc MATHEMATICS - PAPER - IV (ELECTIVE - ) MODERN APPLIED ALGEBRA 90 hrs (3hrs / week) UNIT - (30 Hours). SETS AND FUNCTIONS

More information

n-dimensional Boolean algebras

n-dimensional Boolean algebras n-dimensional Boolean algebras Antonio Bucciarelli IRIF, Univ Paris Diderot joint work with Antonio Ledda, Francesco Paoli and Antonino Salibra Outline 1 Church algebras and the λ-calculus 2 n-dimensional

More information

Iris: Higher-Order Concurrent Separation Logic. Lecture 4: Basic Separation Logic: Proving Pointer Programs

Iris: Higher-Order Concurrent Separation Logic. Lecture 4: Basic Separation Logic: Proving Pointer Programs 1 Iris: Higher-Order Concurrent Separation Logic Lecture 4: Basic Separation Logic: Proving Pointer Programs Lars Birkedal Aarhus University, Denmark November 10, 2017 2 Overview Earlier: Operational Semantics

More information

Names and Symmetry in Computer Science

Names and Symmetry in Computer Science 1/27 Names and Symmetry in Computer Science Andrew Pitts Computer Laboratory LICS 2015 Tutorial 2/27 An introduction to nominal techniques motivated by Programming language semantics Automata theory Constructive

More information

Preuves de logique linéaire sur machine, ENS-Lyon, Dec. 18, 2018

Preuves de logique linéaire sur machine, ENS-Lyon, Dec. 18, 2018 Université de Lorraine, LORIA, CNRS, Nancy, France Preuves de logique linéaire sur machine, ENS-Lyon, Dec. 18, 2018 Introduction Linear logic introduced by Girard both classical and intuitionistic separate

More information

Notation for Logical Operators:

Notation for Logical Operators: Notation for Logical Operators: always true always false... and...... or... if... then...... if-and-only-if... x:x p(x) x:x p(x) for all x of type X, p(x) there exists an x of type X, s.t. p(x) = is equal

More information

Realizability Semantics of Parametric Polymorphism, General References, and Recursive Types

Realizability Semantics of Parametric Polymorphism, General References, and Recursive Types Realizability Semantics of Parametric Polymorphism, General References, and Recursive Types Lars Birkedal IT University of Copenhagen Joint work with Kristian Støvring and Jacob Thamsborg Oct, 2008 Lars

More information

Justification logic for constructive modal logic

Justification logic for constructive modal logic Justification logic for constructive modal logic Sonia Marin With Roman Kuznets and Lutz Straßburger Inria, LIX, École Polytechnique IMLA 17 July 17, 2017 The big picture The big picture Justification

More information

How to Prove Similarity a Precongruence in Non-Deterministic Call-by-Need Lambda Calculi

How to Prove Similarity a Precongruence in Non-Deterministic Call-by-Need Lambda Calculi How to Prove Similarity a Precongruence in Non-Deterministic Call-by-Need Lambda Calculi Matthias Mann and Manfred Schmidt-Schauß Institut für Informatik Johann Wolfgang Goethe-Universität Postfach 11

More information

On Böhm Trees and Lévy-Longo Trees in π-calculus

On Böhm Trees and Lévy-Longo Trees in π-calculus On Böhm Trees and Lévy-Longo Trees in π-calculus Xian Xu East China University of Science and Technology (from ongoing work with Davide Sangiorgi) April, 1 Subject Encodings from to λ-calculus (sequential

More information

Extending the Lambda Calculus: An Eager Functional Language

Extending the Lambda Calculus: An Eager Functional Language Syntax of the basic constructs: Extending the Lambda Calculus: An Eager Functional Language canonical forms z cfm ::= intcfm boolcfm funcfm tuplecfm altcfm intcfm ::= 0 1-1... boolcfm ::= boolconst funcfm

More information

Constructive Formalization of Regular Languages

Constructive Formalization of Regular Languages Constructive Formalization of Regular Languages Jan-Oliver Kaiser Advisors: Christian Doczkal, Gert Smolka Supervisor: Gert Smolka UdS November 7, 2012 Jan-Oliver Kaiser (UdS) Constr. Formalization of

More information

Baire category theorem and nowhere differentiable continuous functions

Baire category theorem and nowhere differentiable continuous functions Baire category theorem and nowhere differentiable continuous functions Takako Nemoto JAIST third CORE meeting 26 January 2018 Abstract In constructive mathematics, Baire Category Theorem has at least the

More information

Marie Duží

Marie Duží Marie Duží marie.duzi@vsb.cz 1 Formal systems, Proof calculi A proof calculus (of a theory) is given by: 1. a language 2. a set of axioms 3. a set of deduction rules ad 1. The definition of a language

More information

Rings and Fields Theorems

Rings and Fields Theorems Rings and Fields Theorems Rajesh Kumar PMATH 334 Intro to Rings and Fields Fall 2009 October 25, 2009 12 Rings and Fields 12.1 Definition Groups and Abelian Groups Let R be a non-empty set. Let + and (multiplication)

More information

Algebraic Semantics for Coalgebraic Logics

Algebraic Semantics for Coalgebraic Logics CMCS 04 Preliminary Version Algebraic Semantics for Coalgebraic Logics Clemens Kupke a Alexander Kurz b,1 Dirk Pattinson c a CWI/Universiteit van Amsterdam b University of Leicester c LMU München Abstract

More information

Advanced Lambda Calculus Lecture 5

Advanced Lambda Calculus Lecture 5 Advanced Lambda Calculus Lecture 5 The fathers Alonzo Church (1903-1995) as mathematics student at Princeton University (1922 or 1924) Haskell B. Curry (1900-1982) as BA in mathematics at Harvard (1920)

More information

Partially commutative linear logic: sequent calculus and phase semantics

Partially commutative linear logic: sequent calculus and phase semantics Partially commutative linear logic: sequent calculus and phase semantics Philippe de Groote Projet Calligramme INRIA-Lorraine & CRIN CNRS 615 rue du Jardin Botanique - B.P. 101 F 54602 Villers-lès-Nancy

More information