Propositional Logic Sequent Calculus

Size: px
Start display at page:

Download "Propositional Logic Sequent Calculus"

Transcription

1 1 / 16 Propositional Logic Sequent Calculus Mario Alviano University of Calabria, Italy A.Y. 2017/2018

2 Outline 2 / 16 1 Intuition 2 The LK system 3 Derivation 4 Summary 5 Exercises

3 Outline 3 / 16 1 Intuition 2 The LK system 3 Derivation 4 Summary 5 Exercises

4 Intuition 4 / 16 Idea Define inference rules for sequents Γ where Γ and are sequences of formulas

5 Intuition 4 / 16 Idea Define inference rules for sequents Γ where Γ and are sequences of formulas Intuition Γ is the syntactic counterpart of Γ = Goal 1 Γ holds if Γ = (completeness) Goal 2 Γ implies Γ = (soundness)

6 Intuition 4 / 16 Idea Define inference rules for sequents Γ where Γ and are sequences of formulas Intuition Γ is the syntactic counterpart of Γ = Goal 1 Γ holds if Γ = (completeness) Goal 2 Γ implies Γ = (soundness) Notation S 1 S or S 1 S 2 S From sequents S 1 (and S 2 ) conclude sequent S.

7 Intuition Idea Define inference rules for sequents Γ where Γ and are sequences of formulas Intuition Γ is the syntactic counterpart of Γ = Goal 1 Γ holds if Γ = (completeness) Goal 2 Γ implies Γ = (soundness) Notation S 1 S or S 1 S 2 S From sequents S 1 (and S 2 ) conclude sequent S. System considered here: LK, defined by Gerhard Gentzen 4 / 16

8 Outline 5 / 16 1 Intuition 2 The LK system 3 Derivation 4 Summary 5 Exercises

9 LK Logistischer Klassischer Kalkül (1) 6 / 16 Axioms Structural rules

10 LK Logistischer Klassischer Kalkül (1) 6 / 16 Axioms A A (ax) Structural rules

11 LK Logistischer Klassischer Kalkül (1) 6 / 16 Axioms A A (ax) Structural rules permutation Γ, A, B, Γ Γ, B, A, Γ (p.l) Γ, A, B, Γ, B, A, (p.r)

12 LK Logistischer Klassischer Kalkül (1) 6 / 16 Axioms A A (ax) Structural rules permutation contraction Γ, A, B, Γ Γ, B, A, Γ (p.l) Γ, A, B, Γ, B, A, (p.r) Γ, A, A Γ, A (c.l) Γ, A, A Γ, A (c.r)

13 LK Logistischer Klassischer Kalkül (1) 6 / 16 Axioms A A (ax) Structural rules permutation contraction weakening Γ, A, B, Γ Γ, B, A, Γ (p.l) Γ, A, B, Γ, B, A, (p.r) Γ, A, A Γ, A (c.l) Γ, A, A Γ, A (c.r) Γ Γ, A (w.l) Γ Γ, A (w.r)

14 LK Logistischer Klassischer Kalkül (1) Axioms A A (ax) Structural rules permutation contraction weakening cut Γ, A, B, Γ Γ, B, A, Γ (p.l) Γ, A, B, Γ, B, A, (p.r) Γ, A, A Γ, A (c.l) Γ, A, A Γ, A (c.r) Γ Γ, A (w.l) Γ Γ, A (w.r) Γ, A Γ, A Γ, Γ, (cut) 6 / 16

15 LK Logistischer Klassischer Kalkül (1) Axioms A A (ax) Structural rules What are A and B? What Γ, Γ,,? permutation contraction weakening cut Γ, A, B, Γ Γ, B, A, Γ (p.l) Γ, A, B, Γ, B, A, (p.r) Γ, A, A Γ, A (c.l) Γ, A, A Γ, A (c.r) Γ Γ, A (w.l) Γ Γ, A (w.r) Γ, A Γ, A Γ, Γ, (cut) 6 / 16

16 LK Logistischer Klassischer Kalkül (2) 7 / 16 Logical rules

17 LK Logistischer Klassischer Kalkül (2) 7 / 16 Logical rules Γ, A Γ, A B ( l.1) Γ, A Γ, B ( r) Γ, A B Γ, B Γ, A B ( l.2)

18 LK Logistischer Klassischer Kalkül (2) Logical rules Γ, A Γ, A B ( l.1) Γ, A Γ, B ( r) Γ, A B Γ, B Γ, A B ( l.2) Γ, A Γ, B ( l) Γ, A B Γ, A Γ, A B ( r.1) Γ, B Γ, A B ( r.2) 7 / 16

19 LK Logistischer Klassischer Kalkül (2) Logical rules Γ, A Γ, A B ( l.1) Γ, A Γ, B ( r) Γ, A B Γ, B Γ, A B ( l.2) Γ, A Γ, B ( l) Γ, A B Γ, A Γ, A B ( r.1) Γ, B Γ, A B ( r.2) Γ, A Γ, A ( l) Γ, A Γ, A ( r) 7 / 16

20 LK Logistischer Klassischer Kalkül (2) Logical rules Γ, A Γ, A B ( l.1) Γ, A Γ, B ( r) Γ, A B Γ, B Γ, A B ( l.2) Γ, A Γ, B ( l) Γ, A B Γ, A Γ, A B ( r.1) Γ, B Γ, A B ( r.2) Γ, A Γ, A ( l) Γ, A Γ, A ( r) Γ, A Γ, B ( l) Γ, A B Γ, A, B Γ, A B ( r) 7 / 16

21 Outline 8 / 16 1 Intuition 2 The LK system 3 Derivation 4 Summary 5 Exercises

22 Derivation 9 / 16 Use these inference rules consecutively

23 Derivation 9 / 16 Example Use these inference rules consecutively A A (ax) A, A ( r)

24 Derivation 9 / 16 Example Use these inference rules consecutively A A (ax) A, A ( r) If on top there are only axioms then it is a derivation of the bottom sequent

25 Derivation 9 / 16 Example Use these inference rules consecutively A A (ax) A, A ( r) If on top there are only axioms then it is a derivation of the bottom sequent Theorem Sequent Calculus is sound and complete, i.e., if we can derive Γ then Γ =, and if Γ = then there is a derivation for Γ.

26 Outline 10 / 16 1 Intuition 2 The LK system 3 Derivation 4 Summary 5 Exercises

27 LK Summary A A (ax) Γ, A, B, Γ Γ, B, A, Γ (p.l) Γ, A, B, Γ, B, A, (p.r) Γ Γ, A (w.l) Γ Γ, A (w.r) Γ, A, A Γ, A (c.l) Γ, A, A Γ, A (c.r) Γ, A Γ, A Γ, Γ, (cut) Γ, A Γ, A B ( l.1) Γ, A Γ, B ( r) Γ, A B Γ, B Γ, A B ( l.2) Γ, A Γ, B ( l) Γ, A B Γ, A Γ, A B ( r.1) Γ, B Γ, A B ( r.2) Γ, A Γ, A ( l) Γ, A Γ, A ( r) Γ, A Γ, B ( l) Γ, A B Γ, A, B ( r) Γ, A B 11 / 16

28 12 / 16 LK Example Example Do the following entailments hold? 1 (A B) B, A = 2 A C, A B = (On the blackboard.)

29 Outline 13 / 16 1 Intuition 2 The LK system 3 Derivation 4 Summary 5 Exercises

30 14 / 16 Exercises (1) (From Logic for Computer Science: Foundations of Automatic Theorem Proving) Give proof trees for the following tautologies: 1 A (B A) 2 (A B) ((A (B C)) (A C)) 3 A (B A B) 4 A A B 5 B A B 6 (A B) ((A B) A) 7 A B A 8 A B B 9 (A C) ((B C) (A B C)) 10 A A

31 Exercises (2) (From Logic for Computer Science: Foundations of Automatic Theorem Proving) Give proof trees for the following equivalences: 1 (A B) C A (B C) (associativity) 2 (A B) C A (B C) (associativity) 3 A B B A (commutativity) 4 A B B A (commutativity) 5 A (B C) (A B) (A C) (distributivity) 6 A (B C) (A B) (A C) (distributivity) 7 (A B) A B (De Morgan) 8 (A B) A B (De Morgan) 9 A A A (idempotency) 10 A A A (idempotency) 11 A A (double negation) 12 (A B) ( A C) (A B) ( A C) (B C) (resolution) 15 / 16

32 END OF THE LECTURE 16 / 16

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

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

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

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

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

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

Propositional Logic: Deductive Proof & Natural Deduction Part 1

Propositional Logic: Deductive Proof & Natural Deduction Part 1 Propositional Logic: Deductive Proof & Natural Deduction Part 1 CS402, Spring 2016 Shin Yoo Deductive Proof In propositional logic, a valid formula is a tautology. So far, we could show the validity of

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

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

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

Computational Logic. Davide Martinenghi. Spring Free University of Bozen-Bolzano. Computational Logic Davide Martinenghi (1/30)

Computational Logic. Davide Martinenghi. Spring Free University of Bozen-Bolzano. Computational Logic Davide Martinenghi (1/30) Computational Logic Davide Martinenghi Free University of Bozen-Bolzano Spring 2010 Computational Logic Davide Martinenghi (1/30) Propositional Logic - sequent calculus To overcome the problems of natural

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

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

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

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

arxiv:math/ v1 [math.lo] 27 Jan 2003

arxiv:math/ v1 [math.lo] 27 Jan 2003 Locality for Classical Logic arxiv:math/0301317v1 [mathlo] 27 Jan 2003 Kai Brünnler Technische Universität Dresden Fakultät Informatik - 01062 Dresden - Germany kaibruennler@inftu-dresdende Abstract In

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

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

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

3 Propositional Logic

3 Propositional Logic 3 Propositional Logic 3.1 Syntax 3.2 Semantics 3.3 Equivalence and Normal Forms 3.4 Proof Procedures 3.5 Properties Propositional Logic (25th October 2007) 1 3.1 Syntax Definition 3.0 An alphabet Σ consists

More information

2. The Logic of Compound Statements Summary. Aaron Tan August 2017

2. The Logic of Compound Statements Summary. Aaron Tan August 2017 2. The Logic of Compound Statements Summary Aaron Tan 21 25 August 2017 1 2. The Logic of Compound Statements 2.1 Logical Form and Logical Equivalence Statements; Compound Statements; Statement Form (Propositional

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

Announcements. CS243: Discrete Structures. Propositional Logic II. Review. Operator Precedence. Operator Precedence, cont. Operator Precedence Example

Announcements. CS243: Discrete Structures. Propositional Logic II. Review. Operator Precedence. Operator Precedence, cont. Operator Precedence Example Announcements CS243: Discrete Structures Propositional Logic II Işıl Dillig First homework assignment out today! Due in one week, i.e., before lecture next Tuesday 09/11 Weilin s Tuesday office hours are

More information

Equivalents of Mingle and Positive Paradox

Equivalents of Mingle and Positive Paradox Eric Schechter Equivalents of Mingle and Positive Paradox Abstract. Relevant logic is a proper subset of classical logic. It does not include among itstheoremsanyof positive paradox A (B A) mingle A (A

More information

Logic: Propositional Logic (Part I)

Logic: Propositional Logic (Part I) Logic: Propositional Logic (Part I) Alessandro Artale Free University of Bozen-Bolzano Faculty of Computer Science http://www.inf.unibz.it/ artale Descrete Mathematics and Logic BSc course Thanks to Prof.

More information

Phil Introductory Formal Logic

Phil Introductory Formal Logic Phil 134 - Introductory Formal Logic Lecture 7: Deduction At last, it is time to learn about proof formal proof as a model of reasoning demonstrating validity metatheory natural deduction systems what

More information

Description Logics. Foundations of Propositional Logic. franconi. Enrico Franconi

Description Logics. Foundations of Propositional Logic.   franconi. Enrico Franconi (1/27) Description Logics Foundations of Propositional Logic Enrico Franconi franconi@cs.man.ac.uk http://www.cs.man.ac.uk/ franconi Department of Computer Science, University of Manchester (2/27) Knowledge

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

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

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

Propositional Calculus - Soundness & Completeness of H

Propositional Calculus - Soundness & Completeness of H Propositional Calculus - Soundness & Completeness of H Moonzoo Kim CS Dept. KAIST moonzoo@cs.kaist.ac.kr 1 Review Goal of logic To check whether given a formula Á is valid To prove a given formula Á `

More information

CSC Discrete Math I, Spring Propositional Logic

CSC Discrete Math I, Spring Propositional Logic CSC 125 - Discrete Math I, Spring 2017 Propositional Logic Propositions A proposition is a declarative sentence that is either true or false Propositional Variables A propositional variable (p, q, r, s,...)

More information

Packet #1: Logic & Proofs. Applied Discrete Mathematics

Packet #1: Logic & Proofs. Applied Discrete Mathematics Packet #1: Logic & Proofs Applied Discrete Mathematics Table of Contents Course Objectives Page 2 Propositional Calculus Information Pages 3-13 Course Objectives At the conclusion of this course, you should

More information

LING 501, Fall 2004: Laws of logic and the definitions of the connectives

LING 501, Fall 2004: Laws of logic and the definitions of the connectives LING 501, Fall 2004: Laws of logic and the definitions of the connectives Modified October 24, adding a test yourself section at the end. Modified October 21, correcting errors noted in class on October

More information

Dual-Intuitionistic Logic and Some Other Logics

Dual-Intuitionistic Logic and Some Other Logics Dual-Intuitionistic Logic and Some Other Logics Hiroshi Aoyama 1 Introduction This paper is a sequel to Aoyama(2003) and Aoyama(2004). In this paper, we will study various proof-theoretic and model-theoretic

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

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

Chapter 3: Propositional Calculus: Deductive Systems. September 19, 2008

Chapter 3: Propositional Calculus: Deductive Systems. September 19, 2008 Chapter 3: Propositional Calculus: Deductive Systems September 19, 2008 Outline 1 3.1 Deductive (Proof) System 2 3.2 Gentzen System G 3 3.3 Hilbert System H 4 3.4 Soundness and Completeness; Consistency

More information

Announcements. CS311H: Discrete Mathematics. Propositional Logic II. Inverse of an Implication. Converse of a Implication

Announcements. CS311H: Discrete Mathematics. Propositional Logic II. Inverse of an Implication. Converse of a Implication Announcements CS311H: Discrete Mathematics Propositional Logic II Instructor: Işıl Dillig First homework assignment out today! Due in one week, i.e., before lecture next Wed 09/13 Remember: Due before

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

Intelligent Agents. First Order Logic. Ute Schmid. Cognitive Systems, Applied Computer Science, Bamberg University. last change: 19.

Intelligent Agents. First Order Logic. Ute Schmid. Cognitive Systems, Applied Computer Science, Bamberg University. last change: 19. Intelligent Agents First Order Logic Ute Schmid Cognitive Systems, Applied Computer Science, Bamberg University last change: 19. Mai 2015 U. Schmid (CogSys) Intelligent Agents last change: 19. Mai 2015

More information

Logic: First Order Logic

Logic: First Order Logic Logic: First Order Logic Raffaella Bernardi bernardi@inf.unibz.it P.zza Domenicani 3, Room 2.28 Faculty of Computer Science, Free University of Bolzano-Bozen http://www.inf.unibz.it/~bernardi/courses/logic06

More information

AN INTRODUCTION TO SEPARATION LOGIC. 2. Assertions

AN INTRODUCTION TO SEPARATION LOGIC. 2. Assertions AN INTRODUCTION TO SEPARATION LOGIC 2. Assertions John C. Reynolds Carnegie Mellon University January 7, 2011 c 2011 John C. Reynolds Pure Assertions An assertion p is pure iff, for all stores s and all

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

Propositional Reasoning

Propositional Reasoning Propositional Reasoning CS 440 / ECE 448 Introduction to Artificial Intelligence Instructor: Eyal Amir Grad TAs: Wen Pu, Yonatan Bisk Undergrad TAs: Sam Johnson, Nikhil Johri Spring 2010 Intro to AI (CS

More information

Predicate Logic - Deductive Systems

Predicate Logic - Deductive Systems CS402, Spring 2018 G for Predicate Logic Let s remind ourselves of semantic tableaux. Consider xp(x) xq(x) x(p(x) q(x)). ( xp(x) xq(x) x(p(x) q(x))) xp(x) xq(x), x(p(x) q(x)) xp(x), x(p(x) q(x)) xq(x),

More information

Propositional Calculus - Natural deduction Moonzoo Kim CS Dept. KAIST

Propositional Calculus - Natural deduction Moonzoo Kim CS Dept. KAIST Propositional Calculus - Natural deduction Moonzoo Kim CS Dept. KAIST moonzoo@cs.kaist.ac.kr 1 Review Goal of logic To check whether given a formula Á is valid To prove a given formula Á ` Á Syntactic

More information

COMP 182 Algorithmic Thinking. Proofs. Luay Nakhleh Computer Science Rice University

COMP 182 Algorithmic Thinking. Proofs. Luay Nakhleh Computer Science Rice University COMP 182 Algorithmic Thinking Proofs Luay Nakhleh Computer Science Rice University 1 Reading Material Chapter 1, Section 3, 6, 7, 8 Propositional Equivalences The compound propositions p and q are called

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

MAI0203 Lecture 7: Inference and Predicate Calculus

MAI0203 Lecture 7: Inference and Predicate Calculus MAI0203 Lecture 7: Inference and Predicate Calculus Methods of Artificial Intelligence WS 2002/2003 Part II: Inference and Knowledge Representation II.7 Inference and Predicate Calculus MAI0203 Lecture

More information

Propositional Logic: Evaluating the Formulas

Propositional Logic: Evaluating the Formulas Institute for Formal Models and Verification Johannes Kepler University Linz VL Logik (LVA-Nr. 342208) Winter Semester 2015/2016 Propositional Logic: Evaluating the Formulas Version 2015.2 Armin Biere

More information

Nonclassical logics (Nichtklassische Logiken)

Nonclassical logics (Nichtklassische Logiken) Nonclassical logics (Nichtklassische Logiken) VU 185.249 (lecture + exercises) http://www.logic.at/lvas/ncl/ Chris Fermüller Technische Universität Wien www.logic.at/people/chrisf/ chrisf@logic.at Winter

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

COMP219: Artificial Intelligence. Lecture 20: Propositional Reasoning

COMP219: Artificial Intelligence. Lecture 20: Propositional Reasoning COMP219: Artificial Intelligence Lecture 20: Propositional Reasoning 1 Overview Last time Logic for KR in general; Propositional Logic; Natural Deduction Today Entailment, satisfiability and validity Normal

More information

Supplementary exercises in propositional logic

Supplementary exercises in propositional logic Supplementary exercises in propositional logic The purpose of these exercises is to train your ability to manipulate and analyze logical formulas. Familiarize yourself with chapter 7.3-7.5 in the course

More information

COM S 330 Homework 02 Solutions. Type your answers to the following questions and submit a PDF file to Blackboard. One page per problem.

COM S 330 Homework 02 Solutions. Type your answers to the following questions and submit a PDF file to Blackboard. One page per problem. Type your answers to the following questions and submit a PDF file to Blackboard. One page per problem. Problem 1. [5pts] Construct a truth table for the compound proposition (p q) ( p r). Solution: (only

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

A Local System for Classical Logic

A Local System for Classical Logic A Local ystem for Classical Logic ai Brünnler 1 and Alwen Fernanto iu 1,2 kaibruennler@inftu-dresdende and tiu@csepsuedu 1 echnische Universität Dresden, Fakultät Informatik, D - 01062 Dresden, Germany

More information

Solutions to Homework I (1.1)

Solutions to Homework I (1.1) Solutions to Homework I (1.1) Problem 1 Determine whether each of these compound propositions is satisable. a) (p q) ( p q) ( p q) b) (p q) (p q) ( p q) ( p q) c) (p q) ( p q) (a) p q p q p q p q p q (p

More information

Propositional Logic: Part II - Syntax & Proofs 0-0

Propositional Logic: Part II - Syntax & Proofs 0-0 Propositional Logic: Part II - Syntax & Proofs 0-0 Outline Syntax of Propositional Formulas Motivating Proofs Syntactic Entailment and Proofs Proof Rules for Natural Deduction Axioms, theories and theorems

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

https://vu5.sfc.keio.ac.jp/slide/

https://vu5.sfc.keio.ac.jp/slide/ 1 FUNDAMENTALS OF LOGIC NO.7 PREDICATE LOGIC Tatsuya Hagino hagino@sfc.keio.ac.jp lecture URL https://vu5.sfc.keio.ac.jp/slide/ 2 So Far Propositional Logic Logical Connectives (,,, ) Truth Table Tautology

More information

Warm-Up Problem. Is the following true or false? 1/35

Warm-Up Problem. Is the following true or false? 1/35 Warm-Up Problem Is the following true or false? 1/35 Propositional Logic: Resolution Carmen Bruni Lecture 6 Based on work by J Buss, A Gao, L Kari, A Lubiw, B Bonakdarpour, D Maftuleac, C Roberts, R Trefler,

More information

Propositional Logic Logical Implication (4A) Young W. Lim 4/11/17

Propositional Logic Logical Implication (4A) Young W. Lim 4/11/17 Propositional Logic Logical Implication (4A) Young W. Lim Copyright (c) 2016-2017 Young W. Lim. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation

More information

CATEGORICAL MODELS OF FIRST-ORDER CLASSICAL PROOFS

CATEGORICAL MODELS OF FIRST-ORDER CLASSICAL PROOFS CATEGORICAL MODELS OF FIRST-ORDER CLASSICAL PROOFS Submitted by Richard M c Kinley for the degree of Doctor of Philosophy of the University of Bath 2006 COPYRIGHT Attention is drawn to the fact that copyright

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

Semantics for Propositional Logic

Semantics for Propositional Logic Semantics for Propositional Logic An interpretation (also truth-assignment, valuation) of a set of propositional formulas S is a function that assigns elements of {f,t} to the propositional variables in

More information

22c:145 Artificial Intelligence

22c:145 Artificial Intelligence 22c:145 Artificial Intelligence Fall 2005 Propositional Logic Cesare Tinelli The University of Iowa Copyright 2001-05 Cesare Tinelli and Hantao Zhang. a a These notes are copyrighted material and may not

More information

Computational Logic Chapter 2. Propositional Logic

Computational Logic Chapter 2. Propositional Logic Computational Logic Chapter 2. Propositional Logic Pedro Cabalar Dept. Computer Science University of Corunna, SPAIN December 14, 2010 P. Cabalar ( Dept. Ch2. Computer Propositional ScienceLogic University

More information

Part 1: Propositional Logic

Part 1: Propositional Logic Part 1: Propositional Logic Literature (also for first-order logic) Schöning: Logik für Informatiker, Spektrum Fitting: First-Order Logic and Automated Theorem Proving, Springer 1 Last time 1.1 Syntax

More information

Program Analysis Part I : Sequential Programs

Program Analysis Part I : Sequential Programs Program Analysis Part I : Sequential Programs IN5170/IN9170 Models of concurrency Program Analysis, lecture 5 Fall 2018 26. 9. 2018 2 / 44 Program correctness Is my program correct? Central question for

More information

Atomic Cut Elimination for Classical Logic

Atomic Cut Elimination for Classical Logic Atomic Cut Elimination for Classical Logic Kai Brünnler kaibruennler@inftu-dresdende echnische Universität Dresden, Fakultät Informatik, D - 01062 Dresden, Germany Abstract System SKS is a set of rules

More information

Today. Proof using contrapositive. Compound Propositions. Manipulating Propositions. Tautology

Today. Proof using contrapositive. Compound Propositions. Manipulating Propositions. Tautology 1 Math/CSE 1019N: Discrete Mathematics for Computer Science Winter 2007 Suprakash Datta datta@cs.yorku.ca Office: CSEB 3043 Phone: 416-736-2100 ext 77875 Course page: http://www.cs.yorku.ca/course/1019

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

Deductive Systems. Lecture - 3

Deductive Systems. Lecture - 3 Deductive Systems Lecture - 3 Axiomatic System Axiomatic System (AS) for PL AS is based on the set of only three axioms and one rule of deduction. It is minimal in structure but as powerful as the truth

More information

Propositional Logic. Jason Filippou UMCP. ason Filippou UMCP) Propositional Logic / 38

Propositional Logic. Jason Filippou UMCP. ason Filippou UMCP) Propositional Logic / 38 Propositional Logic Jason Filippou CMSC250 @ UMCP 05-31-2016 ason Filippou (CMSC250 @ UMCP) Propositional Logic 05-31-2016 1 / 38 Outline 1 Syntax 2 Semantics Truth Tables Simplifying expressions 3 Inference

More information

Sequent calculus for predicate logic

Sequent calculus for predicate logic CHAPTER 13 Sequent calculus for predicate logic 1. Classical sequent calculus The axioms and rules of the classical sequent calculus are: Axioms { Γ, ϕ, ϕ for atomic ϕ Γ, Left Γ,α 1,α 2 Γ,α 1 α 2 Γ,β 1

More information

https://vu5.sfc.keio.ac.jp/slide/

https://vu5.sfc.keio.ac.jp/slide/ 1 FUNDAMENTALS OF LOGIC NO.3 NORMAL FORMS Tatsuya Hagino hagino@sfc.keio.ac.jp lecture URL https://vu5.sfc.keio.ac.jp/slide/ 2 So Far What is Logic? mathematical logic symbolic logic Proposition A statement

More information

Classical Propositional Logic

Classical Propositional Logic The Language of A Henkin-style Proof for Natural Deduction January 16, 2013 The Language of A Henkin-style Proof for Natural Deduction Logic Logic is the science of inference. Given a body of information,

More information

CSE 311: Foundations of Computing. Lecture 3: Digital Circuits & Equivalence

CSE 311: Foundations of Computing. Lecture 3: Digital Circuits & Equivalence CSE 311: Foundations of Computing Lecture 3: Digital Circuits & Equivalence Homework #1 You should have received An e-mail from [cse311a/cse311b] with information pointing you to look at Canvas to submit

More information

Propositional Resolution

Propositional Resolution Computational Logic Lecture 4 Propositional Resolution Michael Genesereth Spring 2005 Stanford University Modified by Charles Ling and TA, for CS2209 Use with permission Propositional Resolution Propositional

More information

A CUT-FREE SIMPLE SEQUENT CALCULUS FOR MODAL LOGIC S5

A CUT-FREE SIMPLE SEQUENT CALCULUS FOR MODAL LOGIC S5 THE REVIEW OF SYMBOLIC LOGIC Volume 1, Number 1, June 2008 3 A CUT-FREE SIMPLE SEQUENT CALCULUS FOR MODAL LOGIC S5 FRANCESCA POGGIOLESI University of Florence and University of Paris 1 Abstract In this

More information

Propositional Logic Logical Implication (4A) Young W. Lim 4/21/17

Propositional Logic Logical Implication (4A) Young W. Lim 4/21/17 Propositional Logic Logical Implication (4A) Young W. Lim Copyright (c) 2016-2017 Young W. Lim. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation

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

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

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

Propositional Logic Arguments (5A) Young W. Lim 10/11/16

Propositional Logic Arguments (5A) Young W. Lim 10/11/16 Propositional Logic (5A) Young W. Lim Copyright (c) 2016 Young W. Lim. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version

More information

EECS 1028 M: Discrete Mathematics for Engineers

EECS 1028 M: Discrete Mathematics for Engineers EECS 1028 M: Discrete Mathematics for Engineers Suprakash Datta Office: LAS 3043 Course page: http://www.eecs.yorku.ca/course/1028 Also on Moodle S. Datta (York Univ.) EECS 1028 W 18 1 / 12 Using the laws

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

1 FUNDAMENTALS OF LOGIC NO.10 HERBRAND THEOREM Tatsuya Hagino hagino@sfc.keio.ac.jp lecture URL https://vu5.sfc.keio.ac.jp/slide/ 2 So Far Propositional Logic Logical connectives (,,, ) Truth table Tautology

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

Learning Goals of CS245 Logic and Computation

Learning Goals of CS245 Logic and Computation Learning Goals of CS245 Logic and Computation Alice Gao April 27, 2018 Contents 1 Propositional Logic 2 2 Predicate Logic 4 3 Program Verification 6 4 Undecidability 7 1 1 Propositional Logic Introduction

More information

CISC-102 Winter 2016 Lecture 17

CISC-102 Winter 2016 Lecture 17 CISC-102 Winter 2016 Lecture 17 Logic and Propositional Calculus Propositional logic was eventually refined using symbolic logic. The 17th/18th century philosopher Gottfried Leibniz (an inventor of calculus)

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

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

1. Tarski consequence and its modelling

1. Tarski consequence and its modelling Bulletin of the Section of Logic Volume 36:1/2 (2007), pp. 7 19 Grzegorz Malinowski THAT p + q = c(onsequence) 1 Abstract The famous Tarski s conditions for a mapping on sets of formulas of a language:

More information

A Deep Inference System for the Modal Logic S5

A Deep Inference System for the Modal Logic S5 A Deep Inference System for the Modal Logic S5 Phiniki Stouppa March 1, 2006 Abstract We present a cut-admissible system for the modal logic S5 in a formalism that makes explicit and intensive use of deep

More information

10/5/2012. Logic? What is logic? Propositional Logic. Propositional Logic (Rosen, Chapter ) Logic is a truth-preserving system of inference

10/5/2012. Logic? What is logic? Propositional Logic. Propositional Logic (Rosen, Chapter ) Logic is a truth-preserving system of inference Logic? Propositional Logic (Rosen, Chapter 1.1 1.3) TOPICS Propositional Logic Truth Tables Implication Logical Proofs 10/1/12 CS160 Fall Semester 2012 2 What is logic? Logic is a truth-preserving system

More information

Lecture Notes on Cut Elimination

Lecture Notes on Cut Elimination Lecture Notes on Cut Elimination 15-317: Constructive Logic Frank Pfenning Lecture 10 October 5, 2017 1 Introduction The entity rule of the sequent calculus exhibits one connection between the judgments

More information