A Very Rough Introduction to Linear Logic

Size: px
Start display at page:

Download "A Very Rough Introduction to Linear Logic"

Transcription

1 A Very Rough Introduction to Multicore Group Seminar January 7, 2014

2 Introduced by Jean-Yves Girard in 1987

3 Introduced by Jean-Yves Girard in 1987 Classical logic: is my formula true?

4 Introduced by Jean-Yves Girard in 1987 Classical logic: is my formula true? Intuitionistic logic: is my formula provable?

5 Introduced by Jean-Yves Girard in 1987 Classical logic: is my formula true? Intuitionistic logic: is my formula provable? Linear logic is a bit different

6 Vending machines Let: D := One dollar M := A pack of Marlboros C := A pack of Camels

7 Vending machines Let: D := One dollar M := A pack of Marlboros C := A pack of Camels Some axioms for a vending machine: D M D C

8 Vending machines Let: D := One dollar M := A pack of Marlboros C := A pack of Camels Some axioms for a vending machine: D M D C In classical or intuitionistic logic, we can deduce: D (M C)

9 Linear logic operators Two conjunctions: Multiplicative conjunction (A B): I can have both A and B at the same time Additive conjunction (A & B): I can have A or B (not both), and I choose which

10 Linear logic operators Two conjunctions: Multiplicative conjunction (A B): I can have both A and B at the same time Additive conjunction (A & B): I can have A or B (not both), and I choose which Two disjunctions: Multiplicative disjunction (A ` B): [we ll come back to this one] Additive disjunction (A B): I can have A or B (not both), but I don t choose which

11 Linear logic operators Two conjunctions: Multiplicative conjunction (A B): I can have both A and B at the same time Additive conjunction (A & B): I can have A or B (not both), and I choose which Two disjunctions: Multiplicative disjunction (A ` B): [we ll come back to this one] Additive disjunction (A B): I can have A or B (not both), but I don t choose which De Morgan rules: (A B) A ` B (A & B) A B

12 More vending machines Let R be a vending machine that accepts rubles and dispenses packs of rolos, and let S be a vending machine that accepts shillings and dispenses packs of softmints.

13 More vending machines Let R be a vending machine that accepts rubles and dispenses packs of rolos, and let S be a vending machine that accepts shillings and dispenses packs of softmints. Let P 1, P 2, P 3 and P 4 be four purchase orders.

14 More vending machines Let R be a vending machine that accepts rubles and dispenses packs of rolos, and let S be a vending machine that accepts shillings and dispenses packs of softmints. Let P 1, P 2, P 3 and P 4 be four purchase orders. P 1 (R S): If Ally hands in purchase order P 1, the college will install both machines side-by-side.

15 More vending machines Let R be a vending machine that accepts rubles and dispenses packs of rolos, and let S be a vending machine that accepts shillings and dispenses packs of softmints. Let P 1, P 2, P 3 and P 4 be four purchase orders. P 1 (R S): If Ally hands in purchase order P 1, the college will install both machines side-by-side. P 2 (R & S): If Ally hands in purchase order P 2, the college will install one machine of Ally s choice.

16 More vending machines Let R be a vending machine that accepts rubles and dispenses packs of rolos, and let S be a vending machine that accepts shillings and dispenses packs of softmints. Let P 1, P 2, P 3 and P 4 be four purchase orders. P 1 (R S): If Ally hands in purchase order P 1, the college will install both machines side-by-side. P 2 (R & S): If Ally hands in purchase order P 2, the college will install one machine of Ally s choice. P 3 (R S): If Ally hands in purchase order P 3, the college will install one machine of their choice.

17 More vending machines Let R be a vending machine that accepts rubles and dispenses packs of rolos, and let S be a vending machine that accepts shillings and dispenses packs of softmints. Let P 1, P 2, P 3 and P 4 be four purchase orders. P 1 (R S): If Ally hands in purchase order P 1, the college will install both machines side-by-side. P 2 (R & S): If Ally hands in purchase order P 2, the college will install one machine of Ally s choice. P 3 (R S): If Ally hands in purchase order P 3, the college will install one machine of their choice. P 4 (R ` S): If Ally hands in purchase order P 4, the college will install both machines side-by-side

18 More vending machines Let R be a vending machine that accepts rubles and dispenses packs of rolos, and let S be a vending machine that accepts shillings and dispenses packs of softmints. Let P 1, P 2, P 3 and P 4 be four purchase orders. P 1 (R S): If Ally hands in purchase order P 1, the college will install both machines side-by-side. P 2 (R & S): If Ally hands in purchase order P 2, the college will install one machine of Ally s choice. P 3 (R S): If Ally hands in purchase order P 3, the college will install one machine of their choice. P 4 (R ` S): If Ally hands in purchase order P 4, the college will install both machines side-by-side

19 More vending machines Let R be a vending machine that accepts rubles and dispenses packs of rolos, and let S be a vending machine that accepts shillings and dispenses packs of softmints. Let P 1, P 2, P 3 and P 4 be four purchase orders. P 1 (R S): If Ally hands in purchase order P 1, the college will install both machines side-by-side. P 2 (R & S): If Ally hands in purchase order P 2, the college will install one machine of Ally s choice. P 3 (R S): If Ally hands in purchase order P 3, the college will install one machine of their choice. P 4 (R ` S): If Ally hands in purchase order P 4, the college will install both machines side-by-side, and pre-load one of them with a coin.

20 More vending machines Let R be a vending machine that accepts rubles and dispenses packs of rolos, and let S be a vending machine that accepts shillings and dispenses packs of softmints. Let P 1, P 2, P 3 and P 4 be four purchase orders. P 1 (R S): If Ally hands in purchase order P 1, the college will install both machines side-by-side. P 2 (R & S): If Ally hands in purchase order P 2, the college will install one machine of Ally s choice. P 3 (R S): If Ally hands in purchase order P 3, the college will install one machine of their choice. P 4 (R ` S): If Ally hands in purchase order P 4, the college will install both machines side-by-side, and pre-load one of them with a coin. If a customer puts a coin in the other slot,

21 More vending machines Let R be a vending machine that accepts rubles and dispenses packs of rolos, and let S be a vending machine that accepts shillings and dispenses packs of softmints. Let P 1, P 2, P 3 and P 4 be four purchase orders. P 1 (R S): If Ally hands in purchase order P 1, the college will install both machines side-by-side. P 2 (R & S): If Ally hands in purchase order P 2, the college will install one machine of Ally s choice. P 3 (R S): If Ally hands in purchase order P 3, the college will install one machine of their choice. P 4 (R ` S): If Ally hands in purchase order P 4, the college will install both machines side-by-side, and pre-load one of them with a coin. If a customer puts a coin in the other slot, then one of the machines will consume its coin and dispense its confectionery!

22 Exponentials!A: Produces an unlimited number of A s?a: Consumes an unlimited number of A s Connected via linear negation: (?A) =!(A )

23 Jeroen s Burger Shack Set menu $5 per person Hamburger Fries or Wedges Unlimited Pepsi Ice-cream or sorbet (subject to availability)

24 Jeroen s Burger Shack Set menu $5 per person Hamburger Fries or Wedges Unlimited Pepsi Ice-cream or sorbet (subject to availability) D D D D D H (F & W )!P (I S)

25 Gentzen s LK The sequent A 1,..., A m B 1,..., B n means (A 1 A m ) (B 1 B n )

26 Gentzen s LK vs. A A Axiom Γ, A, A Γ, A Cont L Γ A, A, Γ A, Cont R Γ, A A, Γ Γ, Γ, Cut Γ, A Γ, B L Γ, A B Γ Γ, A W L Γ A, Γ A B, R1 Γ Γ A, W R Γ B, Γ A B, R2 Γ, A Γ, A B L1 Γ, B Γ, A B L2 Γ A, Γ B, R Γ A B,

27 Gentzen s LK vs. A A Axiom Γ, A, A Γ, A Cont L Γ A, A, Γ A, Cont R Γ, A A, Γ Γ, Γ, Cut Γ, A Γ, B L Γ, A B Γ Γ, A W L Γ A, Γ A B, R1 Γ Γ A, W R Γ B, Γ A B, R2 Γ, A Γ, A B L1 Γ, B Γ, A B L2 Γ A, Γ B, R Γ A B, Γ, A Γ, B Γ, Γ, A B, L Γ, A, B Γ, A B L Γ A, B, Γ A B, R Γ A, Γ B, Γ, Γ A B,, R

28 Gentzen s LK vs. A A Axiom Γ, A A, Γ Γ, Γ, Cut Γ, A Γ, B L Γ, A B Γ A, Γ A B, R1 Γ B, Γ A B, R2 Γ, A Γ, A B L1 Γ, B Γ, A B L2 Γ A, Γ B, R Γ A B, Γ, A Γ, B Γ, Γ, A B, L Γ, A, B Γ, A B L Γ A, B, Γ A B, R Γ A, Γ B, Γ, Γ A B,, R

29 Gentzen s LK vs. A A Axiom Γ, A A, Γ Γ, Γ, Cut Γ, A Γ, B L Γ, A B Γ A, Γ A B, R1 Γ B, Γ A B, R2 Γ, A Γ, A & B & L1 Γ, B Γ, A & B & L2 Γ A, Γ B, & R Γ A & B, Γ, A Γ, B Γ, Γ, A ` B, `L Γ, A, B Γ, A B L Γ A, B, Γ A ` B, `R Γ A, Γ B, Γ, Γ A B,, R

30 Gentzen s LK vs. A A Axiom Γ,!A,!A Γ,!A Cont L Γ?A,?A, Γ?A, Cont R Γ, A A, Γ Γ, Γ, Cut Γ, A Γ, B L Γ, A B Γ Γ,!A W L Γ A, Γ A B, R1 Γ Γ?A, W R Γ B, Γ A B, R2 Γ, A Γ, A & B & L1 Γ, B Γ, A & B & L2 Γ A, Γ B, & R Γ A & B, Γ, A Γ, B Γ, Γ, A ` B, `L Γ, A, B Γ, A B L Γ A, B, Γ A ` B, `R Γ A, Γ B, Γ, Γ A B,, R

31 Application: Petri nets A B C D

32 Application: Petri nets A B C D!((A C) B)!((B D D) (C D)) A C D D

33 Application: Petri nets A B C D!((A C) B)!((B D D) (C D)) (C D) A C D D

34 Application: Petri nets A B C D!((A C) B)!((B D D) (C D)) (C D) A C D D

35 Application: Petri nets A B C D!((A C) B)!((B D D) (C D)) (C D) A C D D

36 Application: Petri nets A B C D!((A C) B)!((B D D) (C D)) (C D) A C D D Other applications include: finding optimisations in Haskell, logic programming, quantum physics, linguistics,...

37 Connection to separation logic Linear logic models the number of times a resource is used. To reason about computer memory, we want to control how resources are shared. The logic of bunched implications (BI) does this. (Separation logic is based on BI.)

38 The idea of BI Sequents in classical/linear logic have this form: where Γ ::= A Γ, Γ Γ Γ

39 The idea of BI Sequents in classical/linear logic have this form: Γ Γ where Γ ::= A Γ, Γ Sequents in intuitionistic logic have this form: Γ A

40 The idea of BI Sequents in classical/linear logic have this form: Γ Γ where Γ ::= A Γ, Γ Sequents in intuitionistic logic have this form: Γ A Sequents in BI have this form: B A where B ::= A B, B B; B

41 Some proof rules for BI Weakening and Contraction are allowed for ; but not for, B A B; B A W B; B A B A Cont

42 Some proof rules for BI Weakening and Contraction are allowed for ; but not for, B A B; B A W B; B A B A Cont The ; corresponds to (ordinary conjunction) B A B A B; B A A I

43 Some proof rules for BI Weakening and Contraction are allowed for ; but not for, B A B; B A W B; B A B A Cont The ; corresponds to (ordinary conjunction) B A B A B; B A A I The, corresponds to (separating conjunction) B A B A B, B A A I

44 Conclusion Linear logic... is a logic behind logics

45 Conclusion Linear logic... is a logic behind logics models production and consumption of resources (but not sharing)

46 Conclusion Linear logic... is a logic behind logics models production and consumption of resources (but not sharing) has two types of conjunction, and two types of disjunction

47 Conclusion Linear logic... is a logic behind logics models production and consumption of resources (but not sharing) has two types of conjunction, and two types of disjunction has exponentials, which relax the strict rules on resource usage

48 Conclusion Linear logic... is a logic behind logics models production and consumption of resources (but not sharing) has two types of conjunction, and two types of disjunction has exponentials, which relax the strict rules on resource usage is obtained by removing Weakening and Contraction from classical logic

49 Conclusion Linear logic... is a logic behind logics models production and consumption of resources (but not sharing) has two types of conjunction, and two types of disjunction has exponentials, which relax the strict rules on resource usage is obtained by removing Weakening and Contraction from classical logic has various applications, e.g. modelling Petri nets

50 Bibliography [1] J.-Y. Girard. Linear logic. Theoretical Computer Science, 50:1 102, [2] P. Lincoln. Linear logic. SIGACT, [3] P. W. O Hearn and D. J. Pym. The logic of bunched implications. Bulletin of Symbolic Logic, 5(2): , [4] A. Saurin. Introduction to proof theory

Chapter 11: Automated Proof Systems

Chapter 11: Automated Proof Systems Chapter 11: Automated Proof Systems SYSTEM RS OVERVIEW Hilbert style systems are easy to define and admit a simple proof of the Completeness Theorem but they are difficult to use. Automated systems are

More information

Chapter 11: Automated Proof Systems (1)

Chapter 11: Automated Proof Systems (1) Chapter 11: Automated Proof Systems (1) SYSTEM RS OVERVIEW Hilbert style systems are easy to define and admit a simple proof of the Completeness Theorem but they are difficult to use. Automated systems

More information

Uncertain Linear Logic via Fibring of Probabilistic and Fuzzy Logic (rough draft)

Uncertain Linear Logic via Fibring of Probabilistic and Fuzzy Logic (rough draft) Uncertain Linear Logic via Fibring of Probabilistic and Fuzzy Logic (rough draft) Ben Goertzel May 22, 2017 Abstract Beginning with a simple semantics for propositions, based on counting observations,

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

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

D = \One Dollar" M = \A pack of Marlboros" C = \A pack of Camels" Consider the following axiomatization of a vending machine: D implies M D implies C

D = \One Dollar M = \A pack of Marlboros C = \A pack of Camels Consider the following axiomatization of a vending machine: D implies M D implies C Appeared in SIGACT 1992 Linear Logic Patrick Lincoln lincoln@csl.sri.com SRI and Stanford University 1 Linear Logic Linear logic was introduced by Girard in 1987 [11]. Since then many results have supported

More information

CHAPTER 10. Gentzen Style Proof Systems for Classical Logic

CHAPTER 10. Gentzen Style Proof Systems for Classical Logic CHAPTER 10 Gentzen Style Proof Systems for Classical Logic Hilbert style systems are easy to define and admit a simple proof of the Completeness Theorem but they are difficult to use. By humans, not mentioning

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

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

Propositional Logic Sequent Calculus

Propositional Logic Sequent Calculus 1 / 16 Propositional Logic Sequent Calculus Mario Alviano University of Calabria, Italy A.Y. 2017/2018 Outline 2 / 16 1 Intuition 2 The LK system 3 Derivation 4 Summary 5 Exercises Outline 3 / 16 1 Intuition

More information

Structures mathématiques du langage

Structures mathématiques du langage Structures mathématiques du langage Alain Lecomte 8 mai 2012 Résumé Ce cours/séminaire est consacré aux rapports entre mathématiques et langage. Initialement prévu pour être une introduction aux concepts

More information

Linear Temporal Logic (LTL)

Linear Temporal Logic (LTL) Chapter 9 Linear Temporal Logic (LTL) This chapter introduces the Linear Temporal Logic (LTL) to reason about state properties of Labelled Transition Systems defined in the previous chapter. We will first

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

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

Boolean bunched logic: its semantics and completeness

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

Logical Specification of Resource Consumption and Production

Logical Specification of Resource Consumption and Production Proceedings of the 29th Annual Hawaii International Conference on System Sciences - I996 Logical Specification of Resource Consumption and Production Young U. Ryu Decision Sciences Department The University

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

A survey on Geometry of Interactions

A survey on Geometry of Interactions A survey on Geometry of Interactions Università di Bologna 13 may 2010 Foundation: linear logic References for G.o.I. (1) J.-Y. Girard. Le point aveugle, tome 1: vers la perfection, tome 2: vers limperfection.

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

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

n logical not (negation) n logical or (disjunction) n logical and (conjunction) n logical exclusive or n logical implication (conditional)

n logical not (negation) n logical or (disjunction) n logical and (conjunction) n logical exclusive or n logical implication (conditional) Discrete Math Review Discrete Math Review (Rosen, Chapter 1.1 1.6) TOPICS Propositional Logic Logical Operators Truth Tables Implication Logical Equivalence Inference Rules What you should know about propositional

More information

On Hájek s Fuzzy Quantifiers Probably and Many

On Hájek s Fuzzy Quantifiers Probably and Many On Hájek s Fuzzy Quantifiers Probably and Many Petr Cintula Institute of Computer Science Academy of Sciences of the Czech Republic Lukasiewicz logic L Connectives: implication and falsum (we set ϕ = ϕ

More information

Formulas for which Contraction is Admissible

Formulas for which Contraction is Admissible Formulas for which Contraction is Admissible ARNON AVRON, Department of Computer Science, School of Mathematical Sciences, Tel Aviv University, Tel Aviv 69978, Israel. E-mail: aa@math.tau.ac.il Abstract

More information

Errata and Remarks for The Semantics and Proof Theory of the Logic of Bunched Implications BI-monograph-errata.

Errata and Remarks for The Semantics and Proof Theory of the Logic of Bunched Implications  BI-monograph-errata. Errata and Remarks for The Semantics and Proof Theory of the Logic of Bunched Implications http://www.cs.bath.ac.uk/~pym/ BI-monograph-errata.pdf David J. Pym University of Bath 30 March, 2008 Abstract

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

cse371/mat371 LOGIC Professor Anita Wasilewska Fall 2018

cse371/mat371 LOGIC Professor Anita Wasilewska Fall 2018 cse371/mat371 LOGIC Professor Anita Wasilewska Fall 2018 Chapter 7 Introduction to Intuitionistic and Modal Logics CHAPTER 7 SLIDES Slides Set 1 Chapter 7 Introduction to Intuitionistic and Modal Logics

More information

An Introduction to Proof Theory

An Introduction to Proof Theory An Introduction to Proof Theory Class 1: Foundations Agata Ciabattoni and Shawn Standefer anu lss december 2016 anu Our Aim To introduce proof theory, with a focus on its applications in philosophy, linguistics

More information

Gentzen Sequent Calculus LK

Gentzen Sequent Calculus LK October 8, 2007 Completeness of Gentzen LK Proof for completeness to the proof Start from the root Γ Given a node Φ Ψ, break both Φ and Ψ until they only contain propositional variables Can be done using

More information

CHAPTER 11. Introduction to Intuitionistic Logic

CHAPTER 11. Introduction to Intuitionistic Logic CHAPTER 11 Introduction to Intuitionistic Logic Intuitionistic logic has developed as a result of certain philosophical views on the foundation of mathematics, known as intuitionism. Intuitionism was originated

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

~ p is always false. Based on the basic truth table for disjunction, if q is true then p ~

~ p is always false. Based on the basic truth table for disjunction, if q is true then p ~ MAT 101 Solutions Exam 2 (Logic, Part I) Multiple-Choice Questions 1. D Because this sentence contains exactly ten words, it is stating that it is false. But if it is taken to be false, then it has to

More information

Fuzzy Logics Interpreted as Logics of Resources

Fuzzy Logics Interpreted as Logics of Resources Fuzzy Logics Interpreted as Logics of Resources Libor Běhounek Girard s linear logic (1987) is often interpreted as the logic of resources, while formal fuzzy logics (see esp. Hájek, 1998) are usually

More information

TRANSLATING A SUPPES-LEMMON STYLE NATURAL DEDUCTION INTO A SEQUENT CALCULUS

TRANSLATING A SUPPES-LEMMON STYLE NATURAL DEDUCTION INTO A SEQUENT CALCULUS EuJAP VOL. 11 No. 2 2015 ORIGINAL SCIENTIFIC PAPER TRANSLATING A SUPPES-LEMMON STYLE NATURAL DEDUCTION INTO A SEQUENT CALCULUS UDK: 161/162 164:23 EDI PAVLOVIĆ Central European University Budapest ABSTRACT

More information

Compound Propositions

Compound Propositions Discrete Structures Compound Propositions Producing new propositions from existing propositions. Logical Operators or Connectives 1. Not 2. And 3. Or 4. Exclusive or 5. Implication 6. Biconditional Truth

More information

Propositional Logic: Gentzen System, G

Propositional Logic: Gentzen System, G CS402, Spring 2017 Quiz on Thursday, 6th April: 15 minutes, two questions. Sequent Calculus in G In Natural Deduction, each line in the proof consists of exactly one proposition. That is, A 1, A 2,...,

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

arxiv:math.lo/ v2 28 Jun 2005

arxiv:math.lo/ v2 28 Jun 2005 A classical sequent calculus free of structural rules arxiv:math.lo/0506463 v2 28 Jun 2005 DOMINI HUGHES Stanford University June 28, 2005 Gentzen s system LK, classical sequent calculus, has explicit

More information

ON THE ATOMIC FORMULA PROPERTY OF HÄRTIG S REFUTATION CALCULUS

ON THE ATOMIC FORMULA PROPERTY OF HÄRTIG S REFUTATION CALCULUS Takao Inoué ON THE ATOMIC FORMULA PROPERTY OF HÄRTIG S REFUTATION CALCULUS 1. Introduction It is well-known that Gentzen s sequent calculus LK enjoys the so-called subformula property: that is, a proof

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

Lecture Notes on Sequent Calculus

Lecture Notes on Sequent Calculus Lecture Notes on Sequent Calculus 15-816: Modal Logic Frank Pfenning Lecture 8 February 9, 2010 1 Introduction In this lecture we present the sequent calculus and its theory. The sequent calculus was originally

More information

Basic logic: reflection, symmetry, visibility.

Basic logic: reflection, symmetry, visibility. Basic logic: reflection, symmetry, visibility. Giovanni Sambin - Giulia Battilotti - Claudia Faggian Abstract We introduce a sequent calculus B for a new logic, named basic logic. The aim of basic logic

More information

A Proof of the Focusing Property of Linear Logic

A Proof of the Focusing Property of Linear Logic A Proof of the Focusing Property of Linear Logic Olivier LAURENT Laboratoire de l Informatique du Parallélisme (UMR 5668) Université de Lyon, CNRS, ENS de Lyon, Université Claude Bernard Lyon 1 46, allée

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

Knowledge representation DATA INFORMATION KNOWLEDGE WISDOM. Figure Relation ship between data, information knowledge and wisdom.

Knowledge representation DATA INFORMATION KNOWLEDGE WISDOM. Figure Relation ship between data, information knowledge and wisdom. Knowledge representation Introduction Knowledge is the progression that starts with data which s limited utility. Data when processed become information, information when interpreted or evaluated becomes

More information

Section 1.2: Propositional Logic

Section 1.2: Propositional Logic Section 1.2: Propositional Logic January 17, 2017 Abstract Now we re going to use the tools of formal logic to reach logical conclusions ( prove theorems ) based on wffs formed by some given statements.

More information

Teaching Natural Deduction as a Subversive Activity

Teaching Natural Deduction as a Subversive Activity Teaching Natural Deduction as a Subversive Activity James Caldwell Department of Computer Science University of Wyoming Laramie, WY Third International Congress on Tools for Teaching Logic 3 June 2011

More information

Intuitionistic N-Graphs

Intuitionistic N-Graphs Intuitionistic N-Graphs MARCELA QUISPE-CRUZ, Pontificia Universidade Católica de Rio de Janeiro, Departamento de Informática, Rio de Janeiro, RJ 22453-900, Brazil. E-mail: mcruz@inf.puc-rio.br ANJOLINA

More information

Propositional natural deduction

Propositional natural deduction Propositional natural deduction COMP2600 / COMP6260 Dirk Pattinson Australian National University Semester 2, 2016 Major proof techniques 1 / 25 Three major styles of proof in logic and mathematics Model

More information

Sequent Calculus. 3.1 Cut-Free Sequent Calculus

Sequent Calculus. 3.1 Cut-Free Sequent Calculus Chapter 3 Sequent Calculus In the previous chapter we developed linear logic in the form of natural deduction, which is appropriate for many applications of linear logic. It is also highly economical,

More information

A Tutorial on Computational Classical Logic and the Sequent Calculus

A Tutorial on Computational Classical Logic and the Sequent Calculus Under consideration for publication in J Functional Programming 1 A Tutorial on Computational Classical Logic and the Sequent Calculus Paul Downen and Zena M Ariola University of Oregon (e-mail: {pdownen,ariola}@csuoregonedu)

More information

Introduction to linear logic and ludics, Part I

Introduction to linear logic and ludics, Part I Introduction to linear logic and ludics, Part I Pierre-Louis Curien (CNRS & Université Paris VII) June 12, 2004 Abstract This two-parts paper offers a survey of linear logic and ludics, which were introduced

More information

CS206 Lecture 03. Propositional Logic Proofs. Plan for Lecture 03. Axioms. Normal Forms

CS206 Lecture 03. Propositional Logic Proofs. Plan for Lecture 03. Axioms. Normal Forms CS206 Lecture 03 Propositional Logic Proofs G. Sivakumar Computer Science Department IIT Bombay siva@iitb.ac.in http://www.cse.iitb.ac.in/ siva Page 1 of 12 Fri, Jan 03, 2003 Plan for Lecture 03 Axioms

More information

SEQUENTS AND BIVALUATIONS JEAN-YVES BÉZIAU

SEQUENTS AND BIVALUATIONS JEAN-YVES BÉZIAU Logique & Analyse 176 (2001), x x SEQUENTS AND BIVALUATIONS JEAN-YVES BÉZIAU Introduction At the time when Hilbert s Beweistheorie was considered as a dead end after Gödel s results, Gentzen developed

More information

Substructural Logics and Residuated Lattices an Introduction

Substructural Logics and Residuated Lattices an Introduction Hiroakira Ono Substructural Logics and Residuated Lattices an Introduction Abstract. This is an introductory survey of substructural logics and of residuated lattices which are algebraic structures for

More information

Polarized Intuitionistic Logic

Polarized Intuitionistic Logic Polarized Intuitionistic Logic Chuck Liang 1 and Dale Miller 2 1 Department of Computer Science, Hofstra University, Hempstead, NY 11550 chuck.c.liang at hofstra.edu 2 INRIA & LIX/Ecole Polytechnique,

More information

Uninorm Based Logic As An Extension of Substructural Logics FL e

Uninorm Based Logic As An Extension of Substructural Logics FL e Uninorm Based Logic As An Extension of Substructural Logics FL e Osamu WATARI Hokkaido Automotive Engineering College Sapporo 062-0922, JAPAN watari@haec.ac.jp Mayuka F. KAWAGUCHI Division of Computer

More information

Introduction to Linear Logic

Introduction to Linear Logic Introduction to Linear Logic Shane Steinert-Threlkeld November 29, 2011 What is Linear Logic? Structural Motivations Introduced by Jean-Yves Girard in 1987 [Gir87]. Linear logic is: Sequent calculus without

More information

Proof Complexity of Intuitionistic Propositional Logic

Proof Complexity of Intuitionistic Propositional Logic Proof Complexity of Intuitionistic Propositional Logic Alexander Hertel & Alasdair Urquhart November 29, 2006 Abstract We explore the proof complexity of intuitionistic propositional logic (IP L) The problem

More information

15414/614 Optional Lecture 1: Propositional Logic

15414/614 Optional Lecture 1: Propositional Logic 15414/614 Optional Lecture 1: Propositional Logic Qinsi Wang Logic is the study of information encoded in the form of logical sentences. We use the language of Logic to state observations, to define concepts,

More information

Proving Completeness for Nested Sequent Calculi 1

Proving Completeness for Nested Sequent Calculi 1 Proving Completeness for Nested Sequent Calculi 1 Melvin Fitting abstract. Proving the completeness of classical propositional logic by using maximal consistent sets is perhaps the most common method there

More information

Equational Logic: Part 2. Roland Backhouse March 6, 2001

Equational Logic: Part 2. Roland Backhouse March 6, 2001 1 Equational Logic: Part 2 Roland Backhouse March 6, 2001 Outline 2 We continue the axiomatisation of the propositional connectives. The axioms for disjunction (the logical or of two statements) are added

More information

Notes on Inference and Deduction

Notes on Inference and Deduction Notes on Inference and Deduction Consider the following argument 1 Assumptions: If the races are fixed or the gambling houses are crooked, then the tourist trade will decline. If the tourist trade declines

More information

Mathematical Logic 1

Mathematical Logic 1 Mathematical Logic 1 0525250 Christoph Redl 1 Winter term 2008/2009 Version 1.10, 26 th of January, 2009 1 E-mail: e0525250@mail.student.tuwien.ac.at Contents Preface 3 1 Classical Propositional Logic

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

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

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

CHAPTER 7. Introduction to Intuitionistic and Modal Logics. 1 Introduction to Intuitionictic Logic

CHAPTER 7. Introduction to Intuitionistic and Modal Logics. 1 Introduction to Intuitionictic Logic CHAPTER 7 ch7 Introduction to Intuitionistic and Modal Logics 1 Introduction to Intuitionictic Logic Intuitionistic logic has developed as a result of certain philosophical views on the foundation of mathematics,

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

Logic for Computer Science - Week 4 Natural Deduction

Logic for Computer Science - Week 4 Natural Deduction Logic for Computer Science - Week 4 Natural Deduction 1 Introduction In the previous lecture we have discussed some important notions about the semantics of propositional logic. 1. the truth value of a

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

Example. Logic. Logical Statements. Outline of logic topics. Logical Connectives. Logical Connectives

Example. Logic. Logical Statements. Outline of logic topics. Logical Connectives. Logical Connectives Logic Logic is study of abstract reasoning, specifically, concerned with whether reasoning is correct. Logic focuses on relationship among statements as opposed to the content of any particular statement.

More information

INTERPOLATION THEOREM FOR NONCOMMUTATIVE STANDARD EXTENSIONS OF LOGIC BB I

INTERPOLATION THEOREM FOR NONCOMMUTATIVE STANDARD EXTENSIONS OF LOGIC BB I JURNAL MATEMATIKA DAN KOMPUTER Vol. 7. No., 36-4, Agustus 004, ISSN : 40-858 INTERPOLATION THEOREM FOR NONCOMMUTATIVE STANDARD EXTENSIONS OF LOGIC BB I Bayu Surarso Department of Mathematics Faculty of

More information

LOGIC PROPOSITIONAL REASONING

LOGIC PROPOSITIONAL REASONING LOGIC PROPOSITIONAL REASONING WS 2017/2018 (342.208) Armin Biere Martina Seidl biere@jku.at martina.seidl@jku.at Institute for Formal Models and Verification Johannes Kepler Universität Linz Version 2018.1

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

A Local System for Linear Logic

A Local System for Linear Logic Lutz Straßburger Technische Universität Dresden Fakultät Informatik 01062 Dresden Germany lutz.strassburger@inf.tu-dresden.de Abstract. In this paper I will present a deductive system for linear logic

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

A Syntactic Realization Theorem for Justification Logics

A Syntactic Realization Theorem for Justification Logics A Syntactic Realization Theorem for Justification Logics Remo Goetschi joint work with Kai Brünnler and Roman Kuznets University of Bern Outline 1. What Is Justification Logic? 2. The Problem: No Realization

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

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

Fuzzy Logic. 1. Motivation, history and two new logics. Petr Cintula. Institute of Computer Science, Czech Academy of Sciences, Prague, Czech Republic

Fuzzy Logic. 1. Motivation, history and two new logics. Petr Cintula. Institute of Computer Science, Czech Academy of Sciences, Prague, Czech Republic Fuzzy Logic 1. Motivation, history and two new logics Petr Cintula Institute of Computer Science, Czech Academy of Sciences, Prague, Czech Republic www.cs.cas.cz/cintula/mfl-tuw Petr Cintula (CAS) Fuzzy

More information

Logic As Algebra COMP1600 / COMP6260. Dirk Pattinson Australian National University. Semester 2, 2017

Logic As Algebra COMP1600 / COMP6260. Dirk Pattinson Australian National University. Semester 2, 2017 Logic As Algebra COMP1600 / COMP6260 Dirk Pattinson Australian National University Semester 2, 2017 Recap: And, Or, and Not x AND y x y x y 0 0 0 0 1 0 1 0 0 1 1 1 x OR y x y x y 0 0 0 0 1 1 1 0 1 1 1

More information

Two hours. Note that the last two pages contain inference rules for natural deduction UNIVERSITY OF MANCHESTER SCHOOL OF COMPUTER SCIENCE

Two hours. Note that the last two pages contain inference rules for natural deduction UNIVERSITY OF MANCHESTER SCHOOL OF COMPUTER SCIENCE COMP 0 Two hours Note that the last two pages contain inference rules for natural deduction UNIVERSITY OF MANCHESTER SCHOOL OF COMPUTER SCIENCE Mathematical Techniques for Computer Science Date: Friday

More information

Polarized and Focalized Linear and Classical Proofs

Polarized and Focalized Linear and Classical Proofs Polarized and Focalized Linear and Classical Proofs Olivier Laurent IML CNRS Marseille OlivierLaurent@ppsjussieufr Myriam Quatrini IML CNRS Marseille quatrini@imluniv-mrsfr Lorenzo Tortora de Falco Roma

More information

Equivalent Types in Lambek Calculus and Linear Logic

Equivalent Types in Lambek Calculus and Linear Logic Equivalent Types in Lambek Calculus and Linear Logic Mati Pentus Steklov Mathematical Institute, Vavilov str. 42, Russia 117966, Moscow GSP-1 MIAN Prepublication Series for Logic and Computer Science LCS-92-02

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

Proof Search Foundations for Logic Programming

Proof Search Foundations for Logic Programming July 2003 1/51 Outline Proof Search Foundations for Logic Programming Dale Miller INRIA Futurs and École Polytechnique 1. Roles of logic in specifying computation 2. Focus on proof search (logic programming)

More information

Mathematics for linguists

Mathematics for linguists Mathematics for linguists WS 2009/2010 University of Tübingen January 7, 2010 Gerhard Jäger Mathematics for linguists p. 1 Inferences and truth trees Inferences (with a finite set of premises; from now

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

A BRIEF INTRODUCTION TO TYPED PREDICATE LOGIC

A BRIEF INTRODUCTION TO TYPED PREDICATE LOGIC A BRIEF INTRODUCTION TO TYPED PREDICATE LOGIC Raymond Turner December 6, 2010 Abstract Typed Predicate Logic 1 was developed to o er a unifying framework for many of the current logical systems, and especially

More information

BASIC LOGIC AND QUANTUM ENTANGLEMENT

BASIC LOGIC AND QUANTUM ENTANGLEMENT 1 SIC LOGIC ND UNTUM ENTNGLEMENT P Zizzi Dipartimento di Matematica Pura ed pplicata Via Trieste, 63-35121 Padova, Italy zizzi@mathunipdit bstract s it is well known, quantum entanglement is one of the

More information

Boolean Algebra, Gates and Circuits

Boolean Algebra, Gates and Circuits Boolean Algebra, Gates and Circuits Kasper Brink November 21, 2017 (Images taken from Tanenbaum, Structured Computer Organization, Fifth Edition, (c) 2006 Pearson Education, Inc.) Outline Last week: Von

More information

An Alternative Direct Simulation of Minsky Machines into Classical Bunched Logics via Group Semantics (full version)

An Alternative Direct Simulation of Minsky Machines into Classical Bunched Logics via Group Semantics (full version) MFPS 2010 An Alternative Direct Simulation of Minsky Machines into Classical Bunched Logics via Group Semantics (full version) Dominique Larchey-Wendling LORIA CNRS, UMR 7503 Vandœuvre-lès-Nancy, France

More information

A SEQUENT SYSTEM OF THE LOGIC R FOR ROSSER SENTENCES 2. Abstract

A SEQUENT SYSTEM OF THE LOGIC R FOR ROSSER SENTENCES 2. Abstract Bulletin of the Section of Logic Volume 33/1 (2004), pp. 11 21 Katsumi Sasaki 1 Shigeo Ohama A SEQUENT SYSTEM OF THE LOGIC R FOR ROSSER SENTENCES 2 Abstract To discuss Rosser sentences, Guaspari and Solovay

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

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

AMTH140 Lecture 8. Symbolic Logic

AMTH140 Lecture 8. Symbolic Logic AMTH140 Lecture 8 Slide 1 Symbolic Logic March 10, 2006 Reading: Lecture Notes 6.2, 6.3; Epp 1.1, 1.2 Logical Connectives Let p and q denote propositions, then: 1. p q is conjunction of p and q, meaning

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

Overview. I Review of natural deduction. I Soundness and completeness. I Semantics of propositional formulas. I Soundness proof. I Completeness proof.

Overview. I Review of natural deduction. I Soundness and completeness. I Semantics of propositional formulas. I Soundness proof. I Completeness proof. Overview I Review of natural deduction. I Soundness and completeness. I Semantics of propositional formulas. I Soundness proof. I Completeness proof. Propositional formulas Grammar: ::= p j (:) j ( ^ )

More information

On the Construction of Analytic Sequent Calculi for Sub-classical Logics

On the Construction of Analytic Sequent Calculi for Sub-classical Logics On the Construction of Analytic Sequent Calculi for Sub-classical Logics Ori Lahav Yoni Zohar Tel Aviv University WoLLIC 2014 On the Construction of Analytic Sequent Calculi for Sub-classical Logics A

More information