Phil Introductory Formal Logic

Similar documents
PHIL12A Section answers, 28 Feb 2011

Phil Introductory Formal Logic

Logic for Computer Science - Week 4 Natural Deduction

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

Announcements For The Logic of Atomic Sentences Counterexamples & Formal Proofs. Logical Consequence & Validity The Definitions.

Propositional Logic: Deductive Proof & Natural Deduction Part 1

PHIL 50 - Introduction to Logic

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

Propositional Calculus - Hilbert system H Moonzoo Kim CS Division of EECS Dept. KAIST

Lecture 10: Gentzen Systems to Refinement Logic CS 4860 Spring 2009 Thursday, February 19, 2009

In this chapter, we specify a deductive apparatus for PL.

Deductive Systems. Lecture - 3

EXERCISE 10 SOLUTIONS

Chapter 11: Automated Proof Systems (1)

Logic: Propositional Logic Truth Tables

Propositions and Proofs

1 Propositional Logic

CS 512, Spring 2016, Handout 02 Natural Deduction, and Examples of Natural Deduction, in Propositional Logic

a. Do you think the function is linear or non-linear? Explain using what you know about powers of variables.

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

PL: Truth Trees. Handout Truth Trees: The Setup

Proof strategies, or, a manual of logical style

Overview of Today s Lecture

Warm-Up Problem. Write a Resolution Proof for. Res 1/32

Notes on Inference and Deduction

Learning Goals of CS245 Logic and Computation

Natural Deduction for Propositional Logic

Propositional Logic Sequent Calculus

Modal Logic XX. Yanjing Wang

CS 2740 Knowledge Representation. Lecture 4. Propositional logic. CS 2740 Knowledge Representation. Administration

Lesson 8: Graphs of Simple Non Linear Functions

Announcements For Methods of Proof for Boolean Logic Proof by Contradiction. Outline. The Big Picture Where is Today? William Starr

Supplementary Notes on Inductive Definitions

Natural deduction for truth-functional logic

Automated Reasoning Lecture 2: Propositional Logic and Natural Deduction

Manual of Logical Style (fresh version 2018)

a. ~p : if p is T, then ~p is F, and vice versa

Classical Propositional Logic

Formal (natural) deduction in propositional logic

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

Syllogistic Logic and its Extensions

Lecture Notes on Cut Elimination

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

INTRODUCTION. Tomoya Sato. Department of Philosophy University of California, San Diego. Phil120: Symbolic Logic Summer 2014

Honors 213 / Math 300. Second Hour Exam. Name

COMP219: Artificial Intelligence. Lecture 19: Logic for KR

COMP219: Artificial Intelligence. Lecture 19: Logic for KR

Natural Deduction in Sentential Logic

Today s Lecture 2/25/10. Truth Tables Continued Introduction to Proofs (the implicational rules of inference)

3 Propositional Logic

Chapter 11: Automated Proof Systems

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

Mathematics for linguists

The semantics of propositional logic

Madhavan Mukund Chennai Mathematical Institute

lec6 8: Natural deduction

Propositional Calculus - Natural deduction Moonzoo Kim CS Dept. KAIST

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

CITS2211 Discrete Structures Proofs

Logic: Propositional Logic Tableaux

Logical Form 5 Famous Valid Forms. Today s Lecture 1/26/10

Logik für Informatiker Logic for computer scientists

Propositional Logic: Gentzen System, G

Logic. Introduction to Artificial Intelligence CS/ECE 348 Lecture 11 September 27, 2001

Logical Structures in Natural Language: Propositional Logic II (Truth Tables and Reasoning

Lesson 5: Negative Exponents and the Laws of Exponents

Lecture Notes on Sequent Calculus

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

Propositional Resolution Introduction

Section 1.2: Propositional Logic

Propositional Calculus - Hilbert system H Moonzoo Kim CS Dept. KAIST

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

3 The Semantics of the Propositional Calculus

Propositional Logic Arguments (5A) Young W. Lim 2/23/17

Implementing Proof Systems for the Intuitionistic Propositional Logic

Systems of modal logic

General methods in proof theory for modal logic - Lecture 1

- a reversed conditional; if a conditional is p q, than its converse is q p

SE 212: Logic and Computation. se212 Nancy Day

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

Section 1.3: Valid and Invalid Arguments

a. Introduction to metatheory

Propositions as Types

Outline. Overview. Syntax Semantics. Introduction Hilbert Calculus Natural Deduction. 1 Introduction. 2 Language: Syntax and Semantics

Basic Algebraic Logic

Lecture Notes on Cut Elimination

185.A09 Advanced Mathematical Logic

Advanced Topics in LP and FP

Logic: Propositional Logic (Part I)

Classical First-Order Logic

Logic for Computer Science - Week 5 Natural Deduction

Lecture 15: Validity and Predicate Logic

CHAPTER 10. Gentzen Style Proof Systems for Classical Logic

Mathematical Logic Prof. Arindama Singh Department of Mathematics Indian Institute of Technology, Madras. Lecture - 15 Propositional Calculus (PC)

Lecture 4: Proposition, Connectives and Truth Tables

02 Propositional Logic

MA554 Assessment 1 Cosets and Lagrange s theorem

Lesson 28: A Focus on Square Roots

Manual of Logical Style

Overview of Today s Lecture

Transcription:

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 a proof looks like and how it works

Formal reasoning We have mathematically modelled statements with formulae, and situations with interpretations.

Formal reasoning We have mathematically modelled statements with formulae, and situations with interpretations. Now we will model reasoning with formal proof.

Formal reasoning We have mathematically modelled statements with formulae, and situations with interpretations. Now we will model reasoning with formal proof. A proof is a sequence of statements, beginning with premises and ending with a conclusion. After the premises, each statement is justified by some statements that precede it. A proof shows that its argument is valid.

Formal reasoning We have mathematically modelled statements with formulae, and situations with interpretations. Now we will model reasoning with formal proof. A proof is a sequence of statements, beginning with premises and ending with a conclusion. After the premises, each statement is justified by some statements that precede it. A proof shows that its argument is valid. What do we mean by justified?

Another validity test We already have a test for validity: the truth-tree technique.

Another validity test We already have a test for validity: the truth-tree technique. A truth-tree takes formulae and returns an interpretation (or assurance that none exists).

Another validity test We already have a test for validity: the truth-tree technique. A truth-tree takes formulae and returns an interpretation (or assurance that none exists). A proof takes us step by step from the premises to the conclusion. That is, from some formulae to a formula.

Metatheory Proof is independent of semantics. We can therefore ask questions about deductive systems, such as

Metatheory Proof is independent of semantics. We can therefore ask questions about deductive systems, such as soundness Are all the proveable sequents actually valid?

Metatheory Proof is independent of semantics. We can therefore ask questions about deductive systems, such as soundness Are all the proveable sequents actually valid? completeness Is there a proof for every valid sequent?

Metatheory Proof is independent of semantics. We can therefore ask questions about deductive systems, such as soundness Are all the proveable sequents actually valid? completeness Is there a proof for every valid sequent? decidability Is there some procedure which can find a proof for every valid sequent?

Metatheory Proof is independent of semantics. We can therefore ask questions about deductive systems, such as soundness Are all the proveable sequents actually valid? completeness Is there a proof for every valid sequent? decidability Is there some procedure which can find a proof for every valid sequent? computational complexity How much work does it take to find a proof?

Metatheory Proof is independent of semantics. We can therefore ask questions about deductive systems, such as soundness Are all the proveable sequents actually valid? completeness Is there a proof for every valid sequent? decidability Is there some procedure which can find a proof for every valid sequent? computational complexity How much work does it take to find a proof?

Metatheory Proof is independent of semantics. We can therefore ask questions about deductive systems, such as soundness Are all the proveable sequents actually valid? completeness Is there a proof for every valid sequent? decidability Is there some procedure which can find a proof for every valid sequent? computational complexity How much work does it take to find a proof? We will look briefly at these questions next week.

Natural Deduction The deductive systems we will learn are called natural deduction systems. They were invented in 1935 by Gerhard Gentzen, and the form we learn is due to E.J. Lemmon (Beginning Logic, 1965).

Natural Deduction The deductive systems we will learn are called natural deduction systems. They were invented in 1935 by Gerhard Gentzen, and the form we learn is due to E.J. Lemmon (Beginning Logic, 1965). They are called natural because they follow ordinary (mathematical) reasoning more closely than the more traditional Hilbert systems. (Remember Hilbert from the first lecture?)

PL Deduction A proof consists of a sequence of lines, each line has 4 parts:

PL Deduction A proof consists of a sequence of lines, each line has 4 parts: number line number, for referencing

PL Deduction A proof consists of a sequence of lines, each line has 4 parts: number line number, for referencing formula the formula which is established in this step

PL Deduction A proof consists of a sequence of lines, each line has 4 parts: number line number, for referencing formula the formula which is established in this step justification the rule and previous lines which justifies this formula

PL Deduction A proof consists of a sequence of lines, each line has 4 parts: number line number, for referencing formula the formula which is established in this step justification the rule and previous lines which justifies this formula dependencies references to the premises and assumptions this line depends on

An example proof This proves the sequent {1} 1. P Q premise {2} 2. P premise {1, 2} 3. Q MP 1, 2 P Q, P Q

An example proof This proves the sequent {1} 1. P Q premise {2} 2. P premise {1, 2} 3. Q MP 1, 2 P Q, P Q We write instead of : when the sequent is proved.

An example proof This proves the sequent {1} 1. P Q premise {2} 2. P premise {1, 2} 3. Q MP 1, 2 P Q, P Q We write instead of : when the sequent is proved. In fact, every line of a proof represents a sequent whose premises are the dependencies, and whose conclusion is the lines formula.

Deductive rules (See deductive rules handout)

Deductive rules (See deductive rules handout) For each connective, we have an

Deductive rules (See deductive rules handout) For each connective, we have an introduction rule which tells us under what circumstances a formula with that main connective is justified elimination rule which tells us how we can deduce something from a formula with this main connective

Deductive rules (See deductive rules handout) For each connective, we have an introduction rule which tells us under what circumstances a formula with that main connective is justified elimination rule which tells us how we can deduce something from a formula with this main connective Some would claim that it is these rules, rather than the formal semantics, which give meaning to the connectives. That is, they say meaning is use rather than statements are a picture.

Exercises Homework Assignment Please do more than these, until you are confident you know what you are doing. But hand in those listed below. Page 53, 2.3.2 7 Page 55, 2.4.1 2 Page 63, 2.5.1 7 Page 66, 2.6.1 4 Please note: I may not be able to mark the test before Tuesday s lesson, in which case, I will show you the marked papers on Thursday.