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

Similar documents
Announcements For Formal Proofs & Boolean Logic I: Extending F with rules for and. Outline

Logik für Informatiker Logic for computer scientists

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

Logik für Informatiker Logic for computer scientists

PHIL12A Section answers, 28 Feb 2011

Logik für Informatiker Formal proofs for propositional logic

Phil Introductory Formal Logic

Your quiz in recitation on Tuesday will cover 3.1: Arguments and inference. Your also have an online quiz, covering 3.1, due by 11:59 p.m., Tuesday.

CMPSCI 601: Tarski s Truth Definition Lecture 15. where

Natural deduction for truth-functional logic

FORMAL PROOFS DONU ARAPURA

Overview of Today s Lecture

Logik für Informatiker Logic for computer scientists

Quantification What We ve Done. Multiple & Mixed Quantifiers Understanding Quantification. William Starr

Arguments and Proofs. 1. A set of sentences (the premises) 2. A sentence (the conclusion)

Writing proofs for MATH 61CM, 61DM Week 1: basic logic, proof by contradiction, proof by induction

Propositional Logic Review

Formal Logic. Critical Thinking

Logic: Propositional Logic Truth Tables

PUZZLE. You meet A, B, and C in the land of knights and knaves. A says Either B and I are both knights or we are both knaves.

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

Introduction to Metalogic

Announcements Multiple & Mixed Quantifiers Understanding Quantification. Quantification What We ve Done. Outline. William Starr

Section 3.1: Direct Proof and Counterexample 1

Discrete Mathematics

Phil 110, Spring 2007 / April 23, 2007 Practice Questions for the Final Exam on May 7, 2007 (9:00am 12:00noon)

Final Exam Theory Quiz Answer Page

The semantics of propositional logic

Introduction to Metalogic

Logik für Informatiker Proofs in propositional logic

Mathematics 114L Spring 2018 D.A. Martin. Mathematical Logic

KB Agents and Propositional Logic

KRIPKE S THEORY OF TRUTH 1. INTRODUCTION

Symbolic Logic 3. For an inference to be deductively valid it is impossible for the conclusion to be false if the premises are true.

Introducing Proof 1. hsn.uk.net. Contents

Part Two: The Basic Components of the SOFL Specification Language

Completeness for FOL

Chapter 1: The Logic of Compound Statements. January 7, 2008

INF3170 Logikk Spring Homework #8 For Friday, March 18

The Logic of Quantifiers

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

Propositions and Proofs

Overview of Today s Lecture

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

CHAPTER 6 - THINKING ABOUT AND PRACTICING PROPOSITIONAL LOGIC

Artificial Intelligence: Knowledge Representation and Reasoning Week 2 Assessment 1 - Answers

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

Tautological equivalence. entence equivalence. Tautological vs logical equivalence

1 Propositional Logic

Completeness for FOL

Deduction by Daniel Bonevac. Chapter 3 Truth Trees

Philosophy 148 Announcements & Such. The Probability Calculus: An Algebraic Approach XI. The Probability Calculus: An Algebraic Approach XII

CHAPTER 4 CLASSICAL PROPOSITIONAL SEMANTICS

VALIDITY IN SENTENTIAL LOGIC

Chapter 1 Elementary Logic

Chapter 2. Mathematical Reasoning. 2.1 Mathematical Models

A Little Deductive Logic

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

VALIDITY IN SENTENTIAL LOGIC

3 The Semantics of the Propositional Calculus

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

5. And. 5.1 The conjunction

What happens to the value of the expression x + y every time we execute this loop? while x>0 do ( y := y+z ; x := x:= x z )

Russell s logicism. Jeff Speaks. September 26, 2007

Manual of Logical Style (fresh version 2018)

Proof Techniques (Review of Math 271)

Lecture 11: Gödel s Second Incompleteness Theorem, and Tarski s Theorem

A Little Deductive Logic

Axiomatic set theory. Chapter Why axiomatic set theory?

Topics in Logic and Proofs

Logic for Computer Science - Week 4 Natural Deduction

MA554 Assessment 1 Cosets and Lagrange s theorem

THE LOGIC OF QUANTIFIED STATEMENTS. Predicates and Quantified Statements I. Predicates and Quantified Statements I CHAPTER 3 SECTION 3.

3 The language of proof

PHIL 50 - Introduction to Logic

Intermediate Logic. Natural Deduction for TFL

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

Boolean Algebra and Digital Logic

Class 29 - November 3 Semantics for Predicate Logic

INTENSIONS MARCUS KRACHT

Lecture 14 Rosser s Theorem, the length of proofs, Robinson s Arithmetic, and Church s theorem. Michael Beeson

THE LOGIC OF COMPOUND STATEMENTS

Notes on induction proofs and recursive definitions

5. And. 5.1 The conjunction

G12MAN Mathematical Analysis Fully-justified answers to Revision Quiz questions

Logical Agents. Knowledge based agents. Knowledge based agents. Knowledge based agents. The Wumpus World. Knowledge Bases 10/20/14

PHIL12A Section answers, 14 February 2011

Deductive and Inductive Logic

INTRODUCTION TO LOGIC 8 Identity and Definite Descriptions

Sets, Logic, Relations, and Functions

Notes on Propositional and First-Order Logic (CPSC 229 Class Notes, January )

Symbolic Logic Outline

TRUTH-THEORIES FOR FRAGMENTS OF PA

Propositional Logic: Syntax

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

3. The Logic of Quantified Statements Summary. Aaron Tan August 2017

A Guide to Proof-Writing

Since the two-sided limits exist, so do all one-sided limits. In particular:

INTRODUCTION TO LOGIC 1 Sets, Relations, and Arguments. Why logic? Arguments

2 nd Assignment Answer Key Phil 210 Fall 2013

Transcription:

Announcements For 0906 The Logic of Atomic Sentences & William Starr 1 Complete survey for Logic section times (on Bb) Before Wednesday at midnight!! 2 HW1 & HW2 are due next Tuesday But you can start working on them now! 3 The textbook should be in stock today or tomorrow 0906 William Starr Phil 2310: Intro Logic Cornell University 1/28 William Starr Phil 2310: Intro Logic Cornell University 2/28 Outline Logical Consequence & Validity The Definitions 1 2 Logical Validity & Consequence 1 An argument is logically valid if and only if there is no way of making the premises true that does not make the conclusion true as well 2 One claim is a logical consequence of another if and only if there is no way the latter could be true without the former also being true In a valid argument the truth of the premises guarantees the truth of the conclusion Soundness = validity + true premises William Starr Phil 2310: Intro Logic Cornell University 3/28 William Starr Phil 2310: Intro Logic Cornell University 6/28

Proof Showing Validity Our account of logical consequence is great in theory But, it doesn t give us any specific tools for actually showing that a given argument is valid In our simple examples it was fairly easy to tell whether or not the arguments were valid But, for most interesting arguments this issue cannot be decided so easily Today, we ll begin to learn the more precise & powerful techniques for doing this that modern logic offers The key notion here will be that of proof Proof What is it? Proof A proof is a step-by-step demonstration which shows that a conclusion C must be true in any circumstance where some premises P 1,, P n are true 1 The step-by-step demonstration of C can proceed through intermediate conclusions 2 It may not be obvious how to show C from P 1 and P 2, but it may be obvious how to show C from some other claim Q that is an obvious consequence of P 1 and P 2 3 Each step must provide incontrovertible evidence for the next William Starr Phil 2310: Intro Logic Cornell University 7/28 William Starr Phil 2310: Intro Logic Cornell University 8/28 The Argument From Informal to Formal Argument 2 Superman is Clark Kent Superman is from Krypton Clark Kent is from Krypton Remember this argument? Let s review our (informal) proof of it Then we ll look at a formal proof of it and contrast/compare the two proofs Argument 2: Informal Proof Since superman is Clark Kent, whatever holds of Superman also holds of Clark Kent We are given that Superman is from Krypton, so it must be the case that Clark Kent is from Krypton Formal Proof of Argument 2 1 FromKrypton(superman) 2 superman = clarkkent 3 FromKrypton(clarkkent) = Elim: 1,2 William Starr Phil 2310: Intro Logic Cornell University 9/28 William Starr Phil 2310: Intro Logic Cornell University 10/28

Discussion Formal Proof of Argument 2 1 FromKrypton(superman) 2 superman = clarkkent 3 FromKrypton(clarkkent) = Elim: 1,2 In our informal proof of Argument 2 we appealed to a fact about the meaning of is: The Indiscernibility of Identicals In our formal proof we also appealed to this fact, but under a different guise: = Elim We indicated that by listing it next to the formula we used it to infer Also write numbers of formulas we inferred it from William Starr Phil 2310: Intro Logic Cornell University 11/28 What is = Elim? = Elim In formal deduction system, the facts about meanings used to justify each step are recast as rules of inference = Elim is the way to formally recast the Indiscernibility of Identicals Here they are: P(n) n = m P(m) Indiscernibility of Identicals If n is m, then whatever is true of n is also true of m (where n and m are names) = Elim restates Ind of Id s formally: If you have a formula of the form n = m and one of the form P(n) then you can infer one of the form P(m) William Starr Phil 2310: Intro Logic Cornell University 12/28 = Elim in Action Let s see exactly how = Elim was applied earlier = Elim P(n) n = m P(m) Formal Proof of Argument 2 1 FromKrypton(superman) 2 superman = clarkkent 3 FromKrypton(clarkkent) = Elim: 1,2 3 is inferred by = Elim from 1 & 2 1 is of the form P(n) 2 is of the form n = m 3 is of the form P(m) Rules of Inference Overview More rules to our formal system of deduction later For simplicity, we are going to call our system F So far, we ve only looked at one rule: = Elim But there s another rule for identity: = Intro Rules will always come in pairs: Intro and Elim Are we going to have rules for all of the predicates of the blocks language? No! We will focus on rules for logical words like is, and, not, etc For now, we are going add just two more rules William Starr Phil 2310: Intro Logic Cornell University 13/28 William Starr Phil 2310: Intro Logic Cornell University 14/28

Two More Rules = Intro & Reiteration Another Example = Introduction (= Intro) n = n Reiteration (Reit) P Argument 3 a = b b = a = Elim P(n) Everything is self-identical P Proof of Argument 3 n = m P(m) Nothing mind-blowing here! Once you ve shown P, reuse it wherever 1 a =b 2 a= a = Intro 3 b= a = Elim: 2,1 William Starr Phil 2310: Intro Logic Cornell University 15/28 William Starr Phil 2310: Intro Logic Cornell University 16/28 Generally Speaking Fitch Why Go Digital? A Formal Proof P 1 P n C 1 Justification 1 C m Justification m C Justification m + 1 P 1 C are in fol Premises: P 1 P n Conclusion: C Intermediate Conclusions: C 1 C m Justifications indicate where & how the formula on that line is being inferred That is: from which formula(e) & by what rule of inference Learning to hand-write formal proofs is okay But using a computer to write them is better A computer can check whether or not a formal proof is correct A computer can auto-format proofs A computer prevents you from making really bizarre mistakes A computer generates a more readable, electronically transferrable proof This is why we have Fitch William Starr Phil 2310: Intro Logic Cornell University 17/28 William Starr Phil 2310: Intro Logic Cornell University 19/28

Fitch Demo! Ana Con At Work Special Relations in the Blocks Language Now, we ll run through reconstructing the last two formal proofs in Fitch Fitch allows steps the are not strictly part of F Neither Fitch nor F have specific rules for predicates other than = Fitch, however, has: Ana Con Ana Con Ana Con allows you to infer things that follow from the meaning of the predicates in the Blocks Language of Tarski s World, eg LeftOf(a, b), therefore RightOf(b, a) 1 FrontOf(a, b) 2 BackOf(b, a) Ana Con: 1 1 Large(a) 2 b = c 3 SameSize(a, b) 4 Large(b) Ana Con: 1,3 5 Large(c) = Elim: 2,4 William Starr Phil 2310: Intro Logic Cornell University 20/28 William Starr Phil 2310: Intro Logic Cornell University 21/28 In-Class Exercise Exercise 29 About Construct a formal proof for the following argument (you will need to use Ana Con) LeftOf(a, b) b = c RightOf(c, a) You may work in groups of 6 or fewer You have 10 minutes, then I will call one of you to present your group s solution If an argument is valid, then it is impossible for the premises to be true & the So, to show that an argument is not valid you have to show is that it is possible for the premises to be true and the Okay, are there formal proofs of non-consequence? In general, no but for the blocks language, we can be more concrete William Starr Phil 2310: Intro Logic Cornell University 22/28 William Starr Phil 2310: Intro Logic Cornell University 24/28

in the Blocks Language Non-Consequence The Basic Fact Non-Consequence in the Blocks Language For the blocks language, a formal proof that Q is not a consequence of P 1, P n consists of: 1 A sentence file with P 1, P n labeled as premises, and Q labeled as conclusion 2 A world file that makes P 1, P n true but Q false We will call such a world a counterexample to the argument in the sentence file I ll do Exercise 221 To show that an argument is not valid you have to show is that it is possible for the premises to be true and the For the blocks language, we can use Tarski s World to do this In other cases, you just have to describe a consistent scenario in which the premises are true and the William Starr Phil 2310: Intro Logic Cornell University 25/28 William Starr Phil 2310: Intro Logic Cornell University 26/28 Non-Consequence Another Example Conclusion For 0906 I ll do Exercise 226 Conclusion 1 Validity: impossible for premises to be true while 2 Proof: demonstrating validity 3 Informal proof: stated in ordinary language 4 Formal proof: carried out in a formal proof system 5 Counterexample: a scenario where the premises are true and the conclusion is false 6 Non-consequence is demonstrated with a counterexample William Starr Phil 2310: Intro Logic Cornell University 27/28 William Starr Phil 2310: Intro Logic Cornell University 28/28