Stratifications and complexity in linear logic. Daniel Murfet

Size: px
Start display at page:

Download "Stratifications and complexity in linear logic. Daniel Murfet"

Transcription

1 Stratifications and complexity in linear logic Daniel Murfet

2

3 Curry-Howard correspondence logic programming categories formula type objects sequent input/output spec proof program morphisms cut-elimination execution contraction copying coproducts stratification complexity? this talk

4 Outline 1 Turing machines 2 Sequent calculus of linear logic 3 Programs (Turing machines) as proofs 4 Stratification vs complexity

5 Turing machines w op L w R configuration is (w L,w R,a) 2 {0, 1} {0, 1} {1,,q} binary integer binary integer q-boolean Shown configuration: (1011, 101, 3)

6 Turing machines Turing machine T is a function T : {0, 1} {1,,q}! {0, 1} {1,,q} {L, R} read symbol current state write new state move to {0, 1} {0, 1} {1,,q}! {0, 1} {0, 1} {1,,q}

7 Linear logic Discovered by Girard in the 1980s, linear logic is a substructural logic with contraction and weakening available only for formulas marked with an exponential connective, written! The usual connectives of logic (eg conjunction, implication) are decomposed into! together with a linearised version of that connective (called resp tensor, linear implication) Under Curry-Howard, linear logic corresponds to a programming language with resource management and symmetric monoidal categories equipped with a special kind of comonad We will use second-order intuitionistic linear logic with additives (as expressive as polymorphic lambda calculus)

8 Linear logic variables:,,, formulas:!f, F F 0,F ( F 0,F&F 0, 8 F, constants int = 8!( ( ) ( ( ( ) bint = 8!( ( ) (!( ( ) ( ( ( )

9 for a list of ` may be used with an empty premise In the promotion rule,! stands ulas each of which is preceeded by an exponential modality, for example0!1,,!n 0, ` ` ` -R, ` ( (45) (Right diagrams on the right are ): string diagrams and should be ignored until Section 5 In,,, ` C C cut (Cut): Deduction logic 0,` -Lrules for linear! ` (46) (Left ):,, ` prom (49) (Promotion): cular they are not the trees associated to proofs,! `!, ` C! 0 (xiom): `,, ` (Left (): 0,, (, (Left ): `C (Cut): (L `C (Promotion):! `! `!,,, ` C,, 0 ` C,, ` (Dereliction):,,, ` C!, `` (Exchange): (Right ():,,,,, `,, ` (Exchange): cut C (48) (42) 0,, `! 0 der (R ` C `(Right ( ): -L prom C (Right ): ( ( 0 ` `, `,,,,,, `C `C 0 ( (49) C -R (46)! (410) 0! `,, ` C (43) ` (Left`(): -R 0,, (, ` C ( L (47), ` (! C ( 8 Definition 75 (Second-order linear logic) The Definition 75 (Second-order linear logic) The formulas of second-order linear logic, formula `,, ` recursively! ` are defined as follows: any pr prom,,, ` C weak of (Weakening): (49) der (Promotion): (410 are defined recursively as follows: any formula of (Left propositional linear logic is a formula, (Dereliction): -L ):,!, 0 `,!, `! `!, x, `so Care if is a variable formula then is 8x for any proposi and if is a formula then so is 8x for anyand propositional There two new C deduction rules: deduction rules:, ` (47) (R (Right ():!! ` ` `(8R, [/x] ` C ` 8R,!,!,, 8L (411) (Contraction): ` 8x ctr ` 8x,!, `, 8x,,!, ` C ` C -L (Left ):,, ` C is a sequence of formulas,8possibly empty, and in the right introduction rule we,8 ( where ( Here [/x] is a sequence of formulas, possibly empty, a require that x is not free in any formula of where means a formula with all, `!! ` (Left 1-L Here 1):necessary prom that x is not free in any formula of a sequent of is x replaced ` forbya asequence of(as formulae, where ` is the turnstile (Promotion): free occurrences formula require usual, there is some chicanery,!,!, `, 1, `! `! ctr (411 (Contraction): to avoid free variables in being captured, free but,we occurrences!,ignore ` this)of x replaced by a formula (as usu 9,, `

10 inary integers bint = 8!( ( ) (!( ( ) ( ( ( ) S 2 {0, 1} 7! proof t S of ` bint ` ` ( L `, ( ` ( L `, (, ( ` ( L, (, (, ( ` (, (, ( ` ( der t 001!( ( ),!( ( ),!( ( ) ` ( ctr!( ( ),!( ( ) ` (!( ( ) `!( ( ) ( ( ( ) `!( ( ) (!( ( ) ( ( ( )

11 side on linear logic!, ` C

12 inary integers bint = 8!( ( ) (!( ( ) ( ( ( ) S 2 {0, 1} 7! proof t S of ` bint ` ` ( L `, ( ` ( L `, (, ( ` ( L, (, (, ( ` (, (, ( ` ( der t 001!( ( ),!( ( ),!( ( ) ` ( ctr!( ( ),!( ( ) ` (!( ( ) `!( ( ) ( ( ( ) `!( ( ) (!( ( ) ( ( ( )

13 inary integers bint = 8!( ( ) (!( ( ) ( ( ( ) S 2 {0, 1} 7! proof t S of ` bint input g input f output ffg = g f f 001 7! {(f,g) 7! ffg} 101 7! {(f,g) 7! gfg} ` ` ( L `, ( ` ( L `, (, ( ` ( L, (, (, ( ` (, (, ( ` ( der!( ( ),!( ( ),!( ( ) ` ( ctr!( ( ),!( ( ) ` (!( ( ) `!( ( ) ( ( ( ) `!( ( ) (!( ( ) ( ( ( ) t 001

14 Stratified Linear logic variables:,,, formulas:!f, F, F F, F ( F, F&F, 8 F, constants bint = 8!( ( ) (!( ( ) ( ( ( ) int = 8!( ( ) ( ( ( )

15 (Left ): (46) -L, an, empty ` C premise In the promotion rule,! stands for a list o rule may be used with 0 formulas each by an exponential modality, for example!1,,!n ` of which,, is` preceeded C ( L (Left (): 0 Deduction rules for stratified linear (48) logic until Section 5 I The diagrams,, on (the, right ` C are string diagrams and should be ignored!! ` particular they are not the trees associated to proofs prom (Promotion): same rules as! before eg `! (xiom): ( i 0,, ` (` cut (Cut): 0,, `! (410) i i! 0 `,, ` C ( L (Left (): 0,,C (, ` C i! i+1 0 `,, `i i der (Dereliction): i,!, ` i, ` (Right (): `( (R i i+1 (Promotion):! ` prom (Dereliction):! `!,,, ` C (Exchange): =1 (Contraction): i,,, i i,!,!, `,!, ` i `C ctr,, `,!, ` i (Right ): plus! i der C (47), ` (Weakening): (49),!, ` ` `, ` -R i+1, `, ` i (42) i 0 0 weak (43) i+1!, ` (411)!, ` i!, ` 1-L (Left 1): proof in the stratified sequent calculus is a proof the sense,! `in promusual, 1, ` (Promotion):,!,!, `! `! ctr (Contraction): together with a stratification, which is9an assignment of integers to all,(left!, ): `,,, ` C -L occurrences such that conclusions, are assigned 0 and the,, of` formulas,, ` C 10 der (410) (Dereliction): assignment changes across deduction rules are as shown in blue,!, ` 8!! C

16 inary integers bint = 8!( ( ) (!( ( ) ( ( ( ) S 2 {0, 1} 7! proof t S of ` bint ` ` ( L `, ( ` ( L `, (, ( ` ( L, (, (, ( ` (, (, ( ` ( der t 001!( ( ),!( ( ),!( ( ) ` ( ctr!( ( ),!( ( ) ` (!( ( ) `!( ( ) ( ( ( ) `!( ( ) (!( ( ) ( ( ( )

17 inary integers (stratified) bint = 8!( ( ) (!( ( ) ( ( ( ) S 2 {0, 1} 7! proof t S of ` bint ` ` ( L `, ( ` ( L `, (, ( ` ( L, (, (, ( ` (, (, ( ` ( der, t 001!( ( ),!( ( ),!( ( ) ` ( ( ) ctr!( ( ),!( ( ) ` ( ( )!( ( ) `!( ( ) ( ( ( ) `!( ( ) (!( ( ) ( ( ( )

18 inary integers (stratified) bint = 8!( ( ) (!( ( ) ( ( ( ) S 2 {0, 1} 7! proof t S of ` bint 1 ` 1 1 ` 1 ( L 1 ` 1 1, ( 1 ` 1 ( L 1 ` 1 1, ( 1, ( 1 ` 1 ( L 1, ( 1, ( 1, ( 1 ` 1 ( 1, ( 1, ( 1 ` ( 1 der,!( ( 0 ),!( ( 0 ),!( ( 0 ) ` ( ( 0 ) ctr!( ( 0 ),!( ( 0 ) ` ( ( 0 )!( ( 0 ) `!( ( ) ( 0 ( ( ) `!( ( ) (!( ( 0 ) ( ( ( ) t 001

19 Integers int = 8!( ( ) ( ( ( ) 8n 2 N there is a proof n of ` int ddition is a proof of int, int ` int Multiplication is a proof of int, int ` int polynomial of degree k is a proof of int ` int

20 Integers (stratified) int = 8!( ( ) ( ( ( ) 8n 2 N there is a proof n of ` int (note that!( ( ) ( ( ( ) is not provable) ddition is a proof of int, int ` int Multiplication is a proof of int, int ` int polynomial of degree k is a proof of int ` k int

21 Turing machines as proofs w op L w R Tur = bint bint bool q Configuration (w L,w R,q) of Turing machine 7! proof of ` Tur Instructions for a Turing machine T 7! proof of ` Tur ( Tur

22 Running a Turing machine (Identify a Turing machine T with a proof of ` Tur ( Tur) T prepare initial state ` Tur ( Tur `!(Tur ( Tur) prom bint ` Tur Tur ` Tur bint, Tur ( Tur ` Tur bint,!(tur ( Tur) ( (Tur ( Tur) ` Tur bint, int ` Tur 8 L ( L ( L input binary integer number of steps n to run config of Turing machine after n steps

23 Running a Turing machine (stratified) Tur = bint bint bool q prepare initial state T bint ` Tur Tur ` Tur ( L ` Tur ( Tur `!(Tur ( Tur ) prom bint, Tur ( Tur ` Tur bint, (Tur ( Tur ) ` Tur bint,!(tur ( Tur ) ( (Tur ( Tur ) ` Tur bint, int ` Tur 8 L ( L

24 Theorem (Girard) function {0, 1}! {0, 1} is polytime if and only if it can be typed as a proof of bint ` bint which admits a stratification bint ` k+2 bint stratifies bint ` bint

25 Theorem (Girard) function {0, 1}! {0, 1} is polytime if and only if it can be typed as a proof of bint ` bint which admits a stratification f : {0, 1}! {0, 1} computed by a Turing machine T with polyclock P length P copy bint ` bint bint bint ` bint bint ` bint int bint ` int bint ` int bint bint ` bint int int ` int cut bint ` Tur R, L cut iterate T bint, int ` Tur bint int ` Tur

26 Theorem (Girard) function {0, 1}! {0, 1} is polytime if and only if it can be typed as a proof of bint ` bint which admits a stratification f : {0, 1}! {0, 1} computed by a Turing machine T with polyclock P length P copy bint ` bint bint bint ` bint bint ` bint int bint ` int bint ` int bint bint ` bint int int ` int cut R, L cut iterate T bint, int ` Tur bint int ` Tur read off output ` bint ` Tur Tur ` bint bint ` bint Upshot: computes f

27 Theorem (Girard) function {0, 1}! {0, 1} is polytime if and only if it can be typed as a proof of bint ` bint which admits a stratification f : {0, 1}! {0, 1} computed by a Turing machine T with polyclock P copy bint ` (bint bint ) P int ` k int iterate T bint, int ` Tur bint ` k+2 bint stratifies bint ` bint

28 Summary There is a notion of stratification for proofs Turing machines can be encoded into linear logic If a Turing machine is polytime, the stratification of the clock polynomial gives a stratification of the corresponding proof in linear logic Theorem: a function of binary integers is polytime iff it admits a stratification

29 References JY Girard, Light linear logic, Information and Computation 14, 1995 P aillot, D Mazza Linear logic by levels and bounded time complexity, Theoretical Computer Science 4112, 2010 P oudes, D Mazza, and L Tortora de Falco, n abstract approach to stratification in linear logic, Information and Computation 241, 2015 D Murfet, Logic and linear algebra: an introduction, arxiv: Slides of this lecture available at therisingseaorg

Linear logic and deep learning. Huiyi Hu, Daniel Murfet

Linear logic and deep learning. Huiyi Hu, Daniel Murfet Linear logic and deep learning Huiyi Hu, Daniel Murfet Move 37, Game 2, Sedol-lphaGo It s not a human move. I ve never seen a human play this move So beautiful. - Fan Hui, three-time European Go champion.

More information

Notes on proof-nets. Daniel Murfet. 8/4/2016 therisingsea.org/post/seminar-proofnets/

Notes on proof-nets. Daniel Murfet. 8/4/2016 therisingsea.org/post/seminar-proofnets/ Notes on proof-nets Daniel Murfet 8/4/2016 therisingseaorg/post/seminar-proofnets/ Why proof-nets Girard Proof-nets: the parallel syntax for proof-theory The formulas of second order unit-free multiplicative

More information

AN ALTERNATIVE NATURAL DEDUCTION FOR THE INTUITIONISTIC PROPOSITIONAL LOGIC

AN ALTERNATIVE NATURAL DEDUCTION FOR THE INTUITIONISTIC PROPOSITIONAL LOGIC Bulletin of the Section of Logic Volume 45/1 (2016), pp 33 51 http://dxdoiorg/1018778/0138-068045103 Mirjana Ilić 1 AN ALTERNATIVE NATURAL DEDUCTION FOR THE INTUITIONISTIC PROPOSITIONAL LOGIC Abstract

More information

Turing Machines and Differential Linear Logic

Turing Machines and Differential Linear Logic Turing Machines and Differential Linear Logic James Clift Supervisor: Daniel Murfet Masters Thesis The University of Melbourne Department of Mathematics and Statistics October 2017 Abstract We describe

More information

Harvard School of Engineering and Applied Sciences CS 152: Programming Languages

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

Attack of the Exponentials

Attack of the Exponentials Attack of the Exponentials Damiano Mazza LIPN, CNRS Université Paris 13, France LL2016, Lyon school: 7 and 8 November 2016 D. Mazza (LIPN) Attack of the Exponentials LL2016 1 / 26 Something is missing...

More information

Two odd things about computation. Daniel Murfet University of Melbourne

Two odd things about computation. Daniel Murfet University of Melbourne Two odd things about computation Daniel Murfet University of Melbourne Two odd things I. Maxwell s demon (1871) Energy cost of computation II. Russell s paradox (1901) Time and space cost of computation

More information

Categories, Proofs and Programs

Categories, Proofs and Programs Categories, Proofs and Programs Samson Abramsky and Nikos Tzevelekos Lecture 4: Curry-Howard Correspondence and Cartesian Closed Categories In A Nutshell Logic Computation 555555555555555555 5 Categories

More information

Implicit Computational Complexity

Implicit Computational Complexity Implicit Computational Complexity Simone Martini Dipartimento di Scienze dell Informazione Università di Bologna Italy Bertinoro International Spring School for Graduate Studies in Computer Science, 6

More information

Lecture Notes on Classical Linear Logic

Lecture 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 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

Logical Preliminaries

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

Programming Languages in String Diagrams. [ one ] String Diagrams. Paul-André Melliès. Oregon Summer School in Programming Languages June 2011

Programming Languages in String Diagrams. [ one ] String Diagrams. Paul-André Melliès. Oregon Summer School in Programming Languages June 2011 Programming Languages in String Diagrams [ one ] String Diagrams Paul-ndré Melliès Oregon Summer School in Programming Languages June 2011 String diagrams diagrammatic account o logic and programming 2

More information

Structuring Logic with Sequent Calculus

Structuring Logic with Sequent Calculus Structuring Logic with Sequent Calculus Alexis Saurin ENS Paris & École Polytechnique & CMI Seminar at IIT Delhi 17th September 2004 Outline of the talk Proofs via Natural Deduction LK Sequent Calculus

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

185.A09 Advanced Mathematical Logic

185.A09 Advanced Mathematical Logic 185.A09 Advanced Mathematical Logic www.volny.cz/behounek/logic/teaching/mathlog13 Libor Běhounek, behounek@cs.cas.cz Lecture #1, October 15, 2013 Organizational matters Study materials will be posted

More information

Propositional and Predicate Logic. jean/gbooks/logic.html

Propositional and Predicate Logic.   jean/gbooks/logic.html CMSC 630 February 10, 2009 1 Propositional and Predicate Logic Sources J. Gallier. Logic for Computer Science, John Wiley and Sons, Hoboken NJ, 1986. 2003 revised edition available on line at http://www.cis.upenn.edu/

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

Relational semantics for a fragment of linear logic

Relational semantics for a fragment of linear logic Relational semantics for a fragment of linear logic Dion Coumans March 4, 2011 Abstract Relational semantics, given by Kripke frames, play an essential role in the study of modal and intuitionistic logic.

More information

Propositions as Types

Propositions as Types Propositions as Types Martin Pfeifhofer & Felix Schett May 25, 2016 Contents 1 Introduction 2 2 Content 3 2.1 Getting Started............................ 3 2.2 Effective Computability And The Various Definitions.......

More information

Quantum groupoids and logical dualities

Quantum groupoids and logical dualities Quantum groupoids and logical dualities (work in progress) Paul-André Melliès CNS, Université Paris Denis Diderot Categories, ogic and Foundations of Physics ondon 14 May 2008 1 Proof-knots Aim: formulate

More information

The category of open simply-typed lambda terms

The category of open simply-typed lambda terms The category of open simply-typed lambda terms Daniel Murfet based on joint work with William Troiani o Reminder on category theory Every adjunction gives rise to a monad C F / G D C(Fx,y) = D(x, Gy) C(FGx,x)

More information

Lecture 11: Measuring the Complexity of Proofs

Lecture 11: Measuring the Complexity of Proofs IAS/PCMI Summer Session 2000 Clay Mathematics Undergraduate Program Advanced Course on Computational Complexity Lecture 11: Measuring the Complexity of Proofs David Mix Barrington and Alexis Maciel July

More information

Resource lambda-calculus: the differential viewpoint

Resource lambda-calculus: the differential viewpoint Resource lambda-calculus: the differential viewpoint Preuves, Programmes et Systèmes (PPS) Université Paris Diderot and CNRS September 13, 2011 History ( 1985): Girard Girard had differential intuitions

More information

Linear Logic & Polynomial Time

Linear Logic & Polynomial Time Under consideration for publication in Math. Struct. in Comp. Science Linear Logic & Polynomial Time D a m i a n o M a z z a Institut de Mathématiques de Luminy (UMR 6206) Campus de Luminy, Case 907 13288

More information

Non-classical Logics: Theory, Applications and Tools

Non-classical Logics: Theory, Applications and Tools Non-classical Logics: Theory, Applications and Tools Agata Ciabattoni Vienna University of Technology (TUV) Joint work with (TUV): M. Baaz, P. Baldi, B. Lellmann, R. Ramanayake,... N. Galatos (US), G.

More information

CS Lecture 19: Logic To Truth through Proof. Prof. Clarkson Fall Today s music: Theme from Sherlock

CS Lecture 19: Logic To Truth through Proof. Prof. Clarkson Fall Today s music: Theme from Sherlock CS 3110 Lecture 19: Logic To Truth through Proof Prof. Clarkson Fall 2014 Today s music: Theme from Sherlock Review Current topic: How to reason about correctness of code Last week: informal arguments

More information

An overview of Structural Proof Theory and Computing

An overview of Structural Proof Theory and Computing An overview of Structural Proof Theory and Computing Dale Miller INRIA-Saclay & LIX, École Polytechnique Palaiseau, France Madison, Wisconsin, 2 April 2012 Part of the Special Session in Structural Proof

More information

Computation and Logic Definitions

Computation and Logic Definitions Computation and Logic Definitions True and False Also called Boolean truth values, True and False represent the two values or states an atom can assume. We can use any two distinct objects to represent

More information

An Abstract Approach to Stratification in Linear Logic

An Abstract Approach to Stratification in Linear Logic An Abstract Approach to Stratification in Linear Logic Pierre Boudes a, Damiano Mazza a, Lorenzo Tortora de Falco b a LIPN, UMR 7030 CNRS-Université Paris 13 b Dipartimento di Filosofia, Università Roma

More information

Derivatives of proofs in linear logic

Derivatives of proofs in linear logic Derivatives pros in linear logic Daniel Murfet based on joint work with James Clift Precis HK interpretation: intuitionistic pros give rise to functions Pros) Pros) Can se functions be differentiated?

More information

A completeness theorem for symmetric product phase spaces

A completeness theorem for symmetric product phase spaces A completeness theorem for symmetric product phase spaces Thomas Ehrhard Fédération de Recherche des Unités de Mathématiques de Marseille CNRS FR 2291 Institut de Mathématiques de Luminy CNRS UPR 9016

More information

Adjoint Logic and Its Concurrent Semantics

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

Type Systems. Lecture 9: Classical Logic. Neel Krishnaswami University of Cambridge

Type Systems. Lecture 9: Classical Logic. Neel Krishnaswami University of Cambridge Type Systems Lecture 9: Classical Logic Neel Krishnaswami University of Cambridge Where We Are We have seen the Curry Howard correspondence: Intuitionistic propositional logic Simply-typed lambda calculus

More information

A Polynomial Time Algorithm for Parsing with the Bounded Order Lambek Calculus

A Polynomial Time Algorithm for Parsing with the Bounded Order Lambek Calculus A Polynomial Time Algorithm for Parsing with the Bounded Order Lambek Calculus Timothy A. D. Fowler Department of Computer Science University of Toronto 10 King s College Rd., Toronto, ON, M5S 3G4, Canada

More information

CS 4110 Programming Languages & Logics. Lecture 16 Programming in the λ-calculus

CS 4110 Programming Languages & Logics. Lecture 16 Programming in the λ-calculus CS 4110 Programming Languages & Logics Lecture 16 Programming in the λ-calculus 30 September 2016 Review: Church Booleans 2 We can encode TRUE, FALSE, and IF, as: TRUE λx. λy. x FALSE λx. λy. y IF λb.

More information

Handbook of Logic and Proof Techniques for Computer Science

Handbook of Logic and Proof Techniques for Computer Science Steven G. Krantz Handbook of Logic and Proof Techniques for Computer Science With 16 Figures BIRKHAUSER SPRINGER BOSTON * NEW YORK Preface xvii 1 Notation and First-Order Logic 1 1.1 The Use of Connectives

More information

On a computational interpretation of sequent calculus for modal logic S4

On a computational interpretation of sequent calculus for modal logic S4 On a computational interpretation of sequent calculus for modal logic S4 Yosuke Fukuda Graduate School of Informatics, Kyoto University Second Workshop on Mathematical Logic and Its Applications March

More information

How and when axioms can be transformed into good structural rules

How and when axioms can be transformed into good structural rules How and when axioms can be transformed into good structural rules Kazushige Terui National Institute of Informatics, Tokyo Laboratoire d Informatique de Paris Nord (Joint work with Agata Ciabattoni and

More information

Introduction to Intuitionistic Logic

Introduction to Intuitionistic Logic Introduction to Intuitionistic Logic August 31, 2016 We deal exclusively with propositional intuitionistic logic. The language is defined as follows. φ := p φ ψ φ ψ φ ψ φ := φ and φ ψ := (φ ψ) (ψ φ). A

More information

in Linear Logic Denis Bechet LIPN - Institut Galilee Universite Paris 13 Avenue Jean-Baptiste Clement Villetaneuse, France Abstract

in Linear Logic Denis Bechet LIPN - Institut Galilee Universite Paris 13 Avenue Jean-Baptiste Clement Villetaneuse, France Abstract Second Order Connectives and roof Transformations in Linear Logic Denis Bechet LIN - Institut Galilee Universite aris 1 Avenue Jean-Baptiste Clement 90 Villetaneuse, France e-mail: dbe@lipnuniv-paris1fr

More information

Denotational semantics of linear logic

Denotational semantics of linear logic Denotational semantics of linear logic Lionel Vaux I2M, Université d Aix-Marseille, France LL2016, Lyon school: 7 and 8 November 2016 L. Vaux (I2M) Denotational semantics of linear logic LL2016 1 / 31

More information

On Frankl conjecture. Coherence in predicate logic. Algebraic theory of fuzzy languages and automata

On Frankl conjecture. Coherence in predicate logic. Algebraic theory of fuzzy languages and automata On Frankl conjecture Vladimir Božin University of Warwick, Coventry, United Kingdom bozin@maths.warwick.ac.uk Frankl conjecture states that for every finite family of sets closed under intersections there

More information

1 Circuit Complexity. CS 6743 Lecture 15 1 Fall Definitions

1 Circuit Complexity. CS 6743 Lecture 15 1 Fall Definitions CS 6743 Lecture 15 1 Fall 2007 1 Circuit Complexity 1.1 Definitions A Boolean circuit C on n inputs x 1,..., x n is a directed acyclic graph (DAG) with n nodes of in-degree 0 (the inputs x 1,..., x n ),

More information

Natural Deduction for Propositional Logic

Natural Deduction for Propositional Logic Natural Deduction for Propositional Logic Bow-Yaw Wang Institute of Information Science Academia Sinica, Taiwan September 10, 2018 Bow-Yaw Wang (Academia Sinica) Natural Deduction for Propositional Logic

More information

Propositional logic (revision) & semantic entailment. p. 1/34

Propositional logic (revision) & semantic entailment. p. 1/34 Propositional logic (revision) & semantic entailment p. 1/34 Reading The background reading for propositional logic is Chapter 1 of Huth/Ryan. (This will cover approximately the first three lectures.)

More information

A brief introduction to Logic. (slides from

A brief introduction to Logic. (slides from A brief introduction to Logic (slides from http://www.decision-procedures.org/) 1 A Brief Introduction to Logic - Outline Propositional Logic :Syntax Propositional Logic :Semantics Satisfiability and validity

More information

Display calculi in non-classical logics

Display calculi in non-classical logics Display calculi in non-classical logics Revantha Ramanayake Vienna University of Technology (TU Wien) Prague seminar of substructural logics March 28 29, 2014 Revantha Ramanayake (TU Wien) Display calculi

More information

Advanced Topics in LP and FP

Advanced Topics in LP and FP Lecture 1: Prolog and Summary of this lecture 1 Introduction to Prolog 2 3 Truth value evaluation 4 Prolog Logic programming language Introduction to Prolog Introduced in the 1970s Program = collection

More information

Part Two: The Basic Components of the SOFL Specification Language

Part Two: The Basic Components of the SOFL Specification Language Part Two: The Basic Components of the SOFL Specification Language SOFL logic Module Condition Data Flow Diagrams Process specification Function definition and specification Process decomposition Other

More information

Linear Logic Pages. Yves Lafont (last correction in 2017)

Linear Logic Pages. Yves Lafont (last correction in 2017) Linear Logic Pages Yves Lafont 1999 (last correction in 2017) http://iml.univ-mrs.fr/~lafont/linear/ Sequent calculus Proofs Formulas - Sequents and rules - Basic equivalences and second order definability

More information

What is computation?

What is computation? What is computation? Daniel Murfet October 2014 therisingsea.org 1407.2650 Logic and linear algebra 1406.5749 On Sweedler s cofree cocommutative coalgebra 1402.4541 Computing with cut systems Turing machines,

More information

REPRESENTATION THEOREMS FOR IMPLICATION STRUCTURES

REPRESENTATION THEOREMS FOR IMPLICATION STRUCTURES Wojciech Buszkowski REPRESENTATION THEOREMS FOR IMPLICATION STRUCTURES Professor Rasiowa [HR49] considers implication algebras (A,, V ) such that is a binary operation on the universe A and V A. In particular,

More information

Database Theory VU , SS Complexity of Query Evaluation. Reinhard Pichler

Database Theory VU , SS Complexity of Query Evaluation. Reinhard Pichler Database Theory Database Theory VU 181.140, SS 2018 5. Complexity of Query Evaluation Reinhard Pichler Institut für Informationssysteme Arbeitsbereich DBAI Technische Universität Wien 17 April, 2018 Pichler

More information

Sémantique des jeux asynchrones et réécriture 2-dimensionnelle

Sémantique des jeux asynchrones et réécriture 2-dimensionnelle Sémantique des jeux asynchrones et réécriture 2-dimensionnelle Soutenance de thèse de doctorat Samuel Mimram Laboratoire PPS (CNRS Université Paris Diderot) 1 er décembre 2008 1 / 64 A program is a text

More information

Decomposing Modalities

Decomposing Modalities Decomposing Modalities Frank Pfenning Department of Computer Science Carnegie Mellon University Logical Frameworks and Meta-Languages: Theory and Practice (LFMTP 15) Berlin, Germany August 1, 2015 1 /

More information

On the Complexity of the Reflected Logic of Proofs

On the Complexity of the Reflected Logic of Proofs On the Complexity of the Reflected Logic of Proofs Nikolai V. Krupski Department of Math. Logic and the Theory of Algorithms, Faculty of Mechanics and Mathematics, Moscow State University, Moscow 119899,

More information

Topos Theory. Lectures 17-20: The interpretation of logic in categories. Olivia Caramello. Topos Theory. Olivia Caramello.

Topos Theory. Lectures 17-20: The interpretation of logic in categories. Olivia Caramello. Topos Theory. Olivia Caramello. logic s Lectures 17-20: logic in 2 / 40 logic s Interpreting first-order logic in In Logic, first-order s are a wide class of formal s used for talking about structures of any kind (where the restriction

More information

Decision Problems with TM s. Lecture 31: Halting Problem. Universe of discourse. Semi-decidable. Look at following sets: CSCI 81 Spring, 2012

Decision Problems with TM s. Lecture 31: Halting Problem. Universe of discourse. Semi-decidable. Look at following sets: CSCI 81 Spring, 2012 Decision Problems with TM s Look at following sets: Lecture 31: Halting Problem CSCI 81 Spring, 2012 Kim Bruce A TM = { M,w M is a TM and w L(M)} H TM = { M,w M is a TM which halts on input w} TOTAL TM

More information

Geometry of Interaction

Geometry of Interaction Linear logic, Ludics, Implicit Complexity, Operator Algebras Geometry of Interaction Laurent Regnier Institut de Mathématiques de Luminy Disclaimer Syntax/Semantics Syntax = nite (recursive) sets Semantics

More information

Fundamentals of Logic

Fundamentals of Logic Fundamentals of Logic No.5 Soundness and Completeness Tatsuya Hagino Faculty of Environment and Information Studies Keio University 2015/5/18 Tatsuya Hagino (Faculty of Environment and InformationFundamentals

More information

On the Syntax and Semantics of Quantitative Typing

On the Syntax and Semantics of Quantitative Typing On the Syntax and Semantics of Quantitative Typing Andreas Abel 1 1 Department of Computer Science and Engineering Chalmers and Gothenburg University, Sweden Workshop on Mixed Inductive-Coinductive Reasoning

More information

CSE 20. Lecture 4: Introduction to Boolean algebra. CSE 20: Lecture4

CSE 20. Lecture 4: Introduction to Boolean algebra. CSE 20: Lecture4 CSE 20 Lecture 4: Introduction to Boolean algebra Reminder First quiz will be on Friday (17th January) in class. It is a paper quiz. Syllabus is all that has been done till Wednesday. If you want you may

More information

Analyzing Extraction. N.B.: Each type has its own set of variables (Church typing).

Analyzing Extraction. N.B.: Each type has its own set of variables (Church typing). Analyzing Extraction Carl Pollard Linguistics 602.02 Mar. 8, 2007 (1) TLC Revisited To motivate our approach to analyzing nonlocal phenomena, we first look at a reformulation TLC of that makes explicit

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

Derivatives of Turing machines in Linear Logic

Derivatives of Turing machines in Linear Logic Derivatives of Turing machines in Linear Logic arxiv:1805.11813v1 [math.lo] 30 May 2018 James Clift, Daniel Murfet May 31, 2018 Abstract We calculate denotations under the Sweedler semantics of the Ehrhard-Regnier

More information

Multiple Conclusion Linear Logic: Cut-elimination and more

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

Lecture Notes on Linear Logic

Lecture Notes on Linear Logic Lecture Notes on Linear Logic 15-816: Modal Logic Frank Pfenning Lecture 23 April 20, 2010 1 Introduction In this lecture we will introduce linear logic [?] in its judgmental formulation [?,?]. Linear

More information

Introduction to linear logic

Introduction to linear logic Introduction to linear logic Emmanuel Beffara To cite this version: Emmanuel Beffara Introduction to linear logic Master Italy 2013 HAL Id: cel-01144229 https://halarchives-ouvertesfr/cel-01144229

More information

Lecture Notes on From Rules to Propositions

Lecture Notes on From Rules to Propositions Lecture Notes on From Rules to Propositions 15-816: Substructural Logics Frank Pfenning Lecture 2 September 1, 2016 We review the ideas of ephemeral truth and linear inference with another example from

More information

Fixed-point elimination in Heyting algebras 1

Fixed-point elimination in Heyting algebras 1 1/32 Fixed-point elimination in Heyting algebras 1 Silvio Ghilardi, Università di Milano Maria João Gouveia, Universidade de Lisboa Luigi Santocanale, Aix-Marseille Université TACL@Praha, June 2017 1 See

More information

On Elementary Linear Logic and polynomial time (Extended Abstract)

On Elementary Linear Logic and polynomial time (Extended Abstract) On Elementary Linear Logic and polynomial time (Extended Abstract) Patrick Baillot ENS Lyon, Université de Lyon, LIP (UMR 5668 CNRS-ENSL-INRIA-UCBL) 1 Introduction Linear logic (LL) [Gir87] has been used

More information

Sequents are written as A, where A; B represent formulae and ; represent multisets of formulae. Where represents the multiset A 1 ; : : : ; A n, then!

Sequents are written as A, where A; B represent formulae and ; represent multisets of formulae. Where represents the multiset A 1 ; : : : ; A n, then! What is a Categorical Model of ntuitionistic Linear Logic G.M. Bierman University of Cambridge Computer Laboratory Abstract. This paper re-addresses the old problem of providing a categorical model for

More information

Logarithmic Space and Permutations

Logarithmic Space and Permutations Logarithmic Space and Permutations Clément Aubert and Thomas Seiller Abstract In a recent work, Girard [6] proposed a new and innovative approach to computational complexity based on the proofs-as-programs

More information

The Logic of Bunched Implications. Presentation by Robert J. Simmons Separation Logic, April 6, 2009

The Logic of Bunched Implications. Presentation by Robert J. Simmons Separation Logic, April 6, 2009 The Logic of Bunched Implications Presentation by Robert J. Simmons Separation Logic, April 6, 2009 Big Picture P P {P } C {R } {P} C {R} Valid formula of separation logic for all s, h, s,h P P R R A valid

More information

MONADIC FRAGMENTS OF INTUITIONISTIC CONTROL LOGIC

MONADIC FRAGMENTS OF INTUITIONISTIC CONTROL LOGIC Bulletin of the Section of Logic Volume 45:3/4 (2016), pp. 143 153 http://dx.doi.org/10.18778/0138-0680.45.3.4.01 Anna Glenszczyk MONADIC FRAGMENTS OF INTUITIONISTIC CONTROL LOGIC Abstract We investigate

More information

CSE 200 Lecture Notes Turing machine vs. RAM machine vs. circuits

CSE 200 Lecture Notes Turing machine vs. RAM machine vs. circuits CSE 200 Lecture Notes Turing machine vs. RAM machine vs. circuits Chris Calabro January 13, 2016 1 RAM model There are many possible, roughly equivalent RAM models. Below we will define one in the fashion

More information

Implicit Computational Complexity:

Implicit Computational Complexity: Implicit Computational Complexity: A µ-tutorial Ugo Dal Lago Simone Martini Dipartimento di Scienze dell Informazione Università di Bologna FOLLIA meeting, January 19th 2006 Outline What is Implicit Computational

More information

Subtractive Logic. To appear in Theoretical Computer Science. Tristan Crolard May 3, 1999

Subtractive Logic. To appear in Theoretical Computer Science. Tristan Crolard May 3, 1999 Subtractive Logic To appear in Theoretical Computer Science Tristan Crolard crolard@ufr-info-p7.jussieu.fr May 3, 1999 Abstract This paper is the first part of a work whose purpose is to investigate duality

More information

Generalised elimination rules and harmony

Generalised elimination rules and harmony Generalised elimination rules and harmony Roy Dyckhoff Based on joint work with Nissim Francez Supported by EPSR grant EP/D064015/1 St ndrews, May 26, 2009 1 Introduction Standard natural deduction rules

More information

cis32-ai lecture # 18 mon-3-apr-2006

cis32-ai lecture # 18 mon-3-apr-2006 cis32-ai lecture # 18 mon-3-apr-2006 today s topics: propositional logic cis32-spring2006-sklar-lec18 1 Introduction Weak (search-based) problem-solving does not scale to real problems. To succeed, problem

More information

Undecidable Problems. Z. Sawa (TU Ostrava) Introd. to Theoretical Computer Science May 12, / 65

Undecidable Problems. Z. Sawa (TU Ostrava) Introd. to Theoretical Computer Science May 12, / 65 Undecidable Problems Z. Sawa (TU Ostrava) Introd. to Theoretical Computer Science May 12, 2018 1/ 65 Algorithmically Solvable Problems Let us assume we have a problem P. If there is an algorithm solving

More information

First-Order Logic First-Order Theories. Roopsha Samanta. Partly based on slides by Aaron Bradley and Isil Dillig

First-Order Logic First-Order Theories. Roopsha Samanta. Partly based on slides by Aaron Bradley and Isil Dillig First-Order Logic First-Order Theories Roopsha Samanta Partly based on slides by Aaron Bradley and Isil Dillig Roadmap Review: propositional logic Syntax and semantics of first-order logic (FOL) Semantic

More information

Natural Deduction. Formal Methods in Verification of Computer Systems Jeremy Johnson

Natural Deduction. Formal Methods in Verification of Computer Systems Jeremy Johnson Natural Deduction Formal Methods in Verification of Computer Systems Jeremy Johnson Outline 1. An example 1. Validity by truth table 2. Validity by proof 2. What s a proof 1. Proof checker 3. Rules of

More information

COMPUTER SCIENCE TRIPOS

COMPUTER SCIENCE TRIPOS CST.2016.6.1 COMPUTER SCIENCE TRIPOS Part IB Thursday 2 June 2016 1.30 to 4.30 COMPUTER SCIENCE Paper 6 Answer five questions. Submit the answers in five separate bundles, each with its own cover sheet.

More information

On Sequent Calculi for Intuitionistic Propositional Logic

On Sequent Calculi for Intuitionistic Propositional Logic On Sequent Calculi for Intuitionistic Propositional Logic Vítězslav Švejdar Jan 29, 2005 The original publication is available at CMUC. Abstract The well-known Dyckoff s 1992 calculus/procedure for intuitionistic

More information

About Translations of Classical Logic into Polarized Linear Logic

About Translations of Classical Logic into Polarized Linear Logic About Translations of Classical Logic into Polarized Linear Logic Olivier Laurent Preuves Programmes Systèmes CNRS - Paris 7 OlivierLaurent@ppsjussieufr Laurent Regnier Institut de Mathématiques de Luminy

More information

EFFICIENT PROOF NET VERIFICATION AND SEQUENTIALIZATION

EFFICIENT PROOF NET VERIFICATION AND SEQUENTIALIZATION EFFICIENT PROOF NET VERIFICATION AND SEQUENTIALIZATION ARTHUR VALE Abstract. When Girard introduced Linear Logic [Gir87], he also developed a novel syntax for writing proofs, proof nets, which enjoys many

More information

Forcing-based cut-elimination for Gentzen-style intuitionistic sequent calculus

Forcing-based cut-elimination for Gentzen-style intuitionistic sequent calculus Forcing-based cut-elimination for Gentzen-style intuitionistic sequent calculus Hugo Herbelin 1 and Gyesik Lee 2 1 INRIA & PPS, Paris Université 7 Paris, France Hugo.Herbelin@inria.fr 2 ROSAEC center,

More information

On sequent calculi vs natural deductions in logic and computer science

On sequent calculi vs natural deductions in logic and computer science On sequent calculi vs natural deductions in logic and computer science L. Gordeev Uni-Tübingen, Uni-Ghent, PUC-Rio PUC-Rio, Rio de Janeiro, October 13, 2015 1. Sequent calculus (SC): Basics -1- 1. Sequent

More information

Rules and derivations in an elementary logic course arxiv: v1 [cs.lo] 7 Jan 2016

Rules and derivations in an elementary logic course arxiv: v1 [cs.lo] 7 Jan 2016 Rules and derivations in an elementary logic course arxiv:160101483v1 [cslo] 7 Jan 2016 Gilles Dowek Inria, 23 avenue d Italie, CS 81321, 75214 Paris Cedex 13, France gillesdowek@inriafr When teaching

More information

Term Assignment for Intuitionistic Linear Logic (Preliminary Report) Nick Benton Gavin Bierman Valeria de Paiva Computer Laboratory University of Camb

Term Assignment for Intuitionistic Linear Logic (Preliminary Report) Nick Benton Gavin Bierman Valeria de Paiva Computer Laboratory University of Camb Term Assignment for Intuitionistic Linear Logic (Preliminary Report) Nick Benton Gavin Bierman Valeria de Paiva Computer Laboratory University of Cambridge fpnb,gmb,vcvpg@cl.cam.ac.uk Martin Hyland Department

More information

On Urquhart s C Logic

On Urquhart s C Logic On Urquhart s C Logic Agata Ciabattoni Dipartimento di Informatica Via Comelico, 39 20135 Milano, Italy ciabatto@dsiunimiit Abstract In this paper we investigate the basic many-valued logics introduced

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

On Modal Logics of Partial Recursive Functions

On Modal Logics of Partial Recursive Functions arxiv:cs/0407031v1 [cs.lo] 12 Jul 2004 On Modal Logics of Partial Recursive Functions Pavel Naumov Computer Science Pennsylvania State University Middletown, PA 17057 naumov@psu.edu June 14, 2018 Abstract

More information

Comp487/587 - Boolean Formulas

Comp487/587 - Boolean Formulas Comp487/587 - Boolean Formulas 1 Logic and SAT 1.1 What is a Boolean Formula Logic is a way through which we can analyze and reason about simple or complicated events. In particular, we are interested

More information

Informal Statement Calculus

Informal Statement Calculus FOUNDATIONS OF MATHEMATICS Branches of Logic 1. Theory of Computations (i.e. Recursion Theory). 2. Proof Theory. 3. Model Theory. 4. Set Theory. Informal Statement Calculus STATEMENTS AND CONNECTIVES Example

More information

Introduction to Kleene Algebras

Introduction to Kleene Algebras Introduction to Kleene Algebras Riccardo Pucella Basic Notions Seminar December 1, 2005 Introduction to Kleene Algebras p.1 Idempotent Semirings An idempotent semiring is a structure S = (S, +,, 1, 0)

More information

The Calculus of Inductive Constructions

The Calculus of Inductive Constructions The Calculus of Inductive Constructions Hugo Herbelin 10th Oregon Programming Languages Summer School Eugene, Oregon, June 16-July 1, 2011 1 Outline - A bit of history, leading to the Calculus of Inductive

More information

Notes for the Proof Theory Course

Notes for the Proof Theory Course Notes for the Proof Theory Course Master 1 Informatique, Univ. Paris 13 Damiano Mazza Contents 1 Propositional Classical Logic 5 1.1 Formulas and truth semantics.................... 5 1.2 Atomic negation...........................

More information