Metalogic. TWO CONCEPTIONS OF LOGICAL CONSEQUENCE.

Slides:



Advertisements
Similar presentations
TRUTH TABLES Section 1.3.
Advertisements

TRUTH TABLES The general truth tables for each of the connectives tell you the value of any possible statement for each of the connectives. Negation.
Truth-Tables. Recap Deductive Validity We say that an argument is deductively valid when it has the following property: If the premises of the argument.
Logic & Critical Reasoning
Sentential Logic 2. REVIEW Deductive Validity We say that an argument is deductively valid when it has the following property: If the premises of the.
Sentential Logic. One of our main critical thinking questions was: Does the evidence support the conclusion? How do we evaluate whether specific evidence.
Chapter Two Symbolizing in Sentential Logic This chapter is a preliminary to the project of building a model of validity for sentential arguments. We.
Logic ChAPTER 3 1. Truth Tables and Validity of Arguments
Review: Logic of Categories = Categorical Logic.
DEDUCTIVE REASONING: PROPOSITIONAL LOGIC Purposes: To analyze complex claims and deductive argument forms To determine what arguments are valid or not.
Today’s Topics n Review Logical Implication & Truth Table Tests for Validity n Truth Value Analysis n Short Form Validity Tests n Consistency and validity.
1 Section 1.2 Propositional Equivalences. 2 Equivalent Propositions Have the same truth table Can be used interchangeably For example, exclusive or and.
1 Math 306 Foundations of Mathematics I Math 306 Foundations of Mathematics I Goals of this class Introduction to important mathematical concepts Development.
Reading: Chapter 4, section 4 Nongraded Homework: Problems at the end of section 4. Graded Homework #4 is due at the beginning of class on Friday. You.
Let remember from the previous lesson what is Knowledge representation
The semantics of SL   Defining logical notions (validity, logical equivalence, and so forth) in terms of truth-value assignments   A truth-value assignment:
Propositional Logic USEM 40a Spring 2006 James Pustejovsky.
Through the Looking Glass, 1865
Propositional Logic Lecture 2: Sep 9. Conditional Statement If p then q p is called the hypothesis; q is called the conclusion “If your GPA is 4.0, then.
EE1J2 – Discrete Maths Lecture 4 Analysis of arguments Logical consequence Rules of deduction Rules of equivalence Formal proof of arguments See: Anderson,
Predicate Logic. Goal of Logic The goal of logic is to develop formal tests for validity. This is done by finding deductively valid argument forms. In.
The Language of Propositional Logic The Syntax and Semantics of PL.
Homework 3.
TRUTH TABLES. Introduction Statements have truth values They are either true or false but not both Statements may be simple or compound Compound statements.
Logic ChAPTER 3.
Validity: Long and short truth tables Sign In! Week 10! Homework Due Review: MP,MT,CA Validity: Long truth tables Short truth table method Evaluations!
Propositional Logic Review
Elementary Logic PHIL Intersession 2013 MTWHF 10:00 – 12:00 ASA0118C Steven A. Miller Day 4.
Propositional Logic.
Intro to Discrete Structures
Chapter 1 Section 1.4 More on Conditionals. There are three statements that are related to a conditional statement. They are called the converse, inverse.
Discrete Maths 2. Propositional Logic Objective
Lecture for Week Spring.   Introduction to Propositional Logic  Types of Proposition  Operator and Truth table Agenda.
LDK R Logics for Data and Knowledge Representation Exercise 2: PL, ClassL, Ground ClassL.
Truth-Tables. Midterm Grades Grade Distribution.
Valid and Invalid Arguments
Reason and Argument Chapter 6 (2/3). A symbol for the exclusive ‘or’ We will use ұ for the exclusive ‘or’ Strictly speaking, this connective is not necessary.
1 Propositional Logic Proposition 2 Propositions can be divided into simple propositions and compound propositions. A simple (or basic) proposition is.
Predicate Logic. TRUTH-TABLE REMINDERS The problem people had the most trouble with was 1e: construct a truth-table for: (P & (~Q & R)) Many of you only.
Of 33 lecture 12: propositional logic – part I. of 33 propositions and connectives … two-valued logic – every sentence is either true or false some sentences.
Logic Review. FORMAT Format Part I 30 questions 2.5 marks each Total 30 x 2.5 = 75 marks Part II 10 questions Answer only 5 of them! Total 5 x 5 marks.
Chapter 7 Logic, Sets, and Counting
Chapter 3: Semantics PHIL 121: Methods of Reasoning March 13, 2013 Instructor:Karin Howe Binghamton University.
Chapter 3: Introduction to Logic. Logic Main goal: use logic to analyze arguments (claims) to see if they are valid or invalid. This is useful for math.
MLS 570 Critical Thinking Reading Notes for Fogelin: Propositional Logic Fall Term 2006 North Central College.
Propositional Logic. Propositions Any statement that is either True (T) or False (F) is a proposition Propositional variables: a variable that can assume.
CS1022 Computer Programming & Principles Lecture 1 Logic and Proof.
Lecture 9 Conditional Statements CSCI – 1900 Mathematics for Computer Science Fall 2014 Bill Pine.
How do I show that two compound propositions are logically equivalent?
Chapter 7 Logic, Sets, and Counting Section 1 Logic.
Logic. Statements, Connectives, and Quantifiers In symbolic logic, we only care whether statements are true or false – not their content. In logic, a.
LOGIC.
Logical Form and Logical Equivalence Lecture 1 Section 1.1 Wed, Jan 12, 2005.
CS6133 Software Specification and Verification
1 Propositional Logic Introduction. 2 What is propositional logic? Propositional Logic is concerned with propositions and their interrelationships. 
The Foundations: Logic and Proof, Sets, and Foundations PROPOSITIONS A proposition is a declarative sentence that is either True or False, but not the.
Formal Test for Validity. EVALUATIONS Evaluations An evaluation is an assignment of truth-values to sentence letters. For example: A = T B = T C = F.
Notes - Truth Tables fun, fun, and more fun!!!!. A compound statement is created by combining two or more statements, p and q.
Joan Ridgway. If a proposition is not indeterminate then it is either true (T) or false (F). True and False are complementary events. For two propositions,
Sentential Logic.
ARTIFICIAL INTELLIGENCE Lecture 2 Propositional Calculus.
Outline Logic Propositional Logic Well formed formula Truth table
TRUTH TABLES Edited from the original by: Mimi Opkins CECS 100 Fall 2011 Thanks for the ppt.
More Proofs. REVIEW The Rule of Assumption: A Assumption is the easiest rule to learn. It says at any stage in the derivation, we may write down any.
Metalogic Soundness and Completeness. Two Notions of Logical Consequence Validity: If the premises are true, then the conclusion must be true. Provability:
Chapter 1. Chapter Summary  Propositional Logic  The Language of Propositions (1.1)  Logical Equivalences (1.3)  Predicate Logic  The Language of.
Chapter 1 Logic and proofs
Discrete Structures for Computer Science Presented By: Andrew F. Conn Slides adapted from: Adam J. Lee Lecture #1: Introduction, Propositional Logic August.
Logical functors and connectives. Negation: ¬ The function of the negation is to reverse the truth value of a given propositions (sentence). If A is true,
Natural Deduction.
Presentation transcript:

Metalogic

TWO CONCEPTIONS OF LOGICAL CONSEQUENCE

Deductive Validity We say that an argument is deductively valid when it has the following property: If the premises of the argument are true, then the conclusion of the argument must be true. A valid argument is “truth-preserving”: the truth of the premises gets passed on to the conclusion.

Soundness A sound argument is one that (i) is valid and (ii) has true premises. Every sound argument is valid (by definition), but the reverse is not true. Some valid arguments are not sound.

Example Consider the following argument: Premise 1: All dogs have eight legs. Premise 2: I am a dog. Therefore, Conclusion: I have eight legs.

Example This argument is valid. If the premises are true, then the conclusion must also be true. If all dogs truly have eight legs, and I am truly a dog, then it is true that I have eight legs! However, the argument is not sound. The premises are false (and so is the conclusion).

Comprehension Questions Can arguments that are deductively valid have false conclusions? False premises? Can arguments that are not deductively valid have true conclusions? True premises? Can deductively sound arguments have false conclusions? Can arguments that are not deductively sound still be deductively valid?

Deductive Logic Deductive logic (often just called ‘logic’) is the study of deductively valid argument forms.

Argument Forms Example Premise 1: If horses had wings, they could fly. Premise 2: Horses cannot fly. Therefore, Conclusion: Horses don’t have wings.

Argument Forms Example Premise 1: If the butler committed the murder, then the murder weapon is the candlestick. Premise 2: The murder weapon is not the candlestick. Therefore, Conclusion: The butler did not commit the murder.

Argument Forms Example Premise 1: If Sally is free this evening, George will take her to dinner. Premise 2: George did not take Sally to dinner. Therefore, Conclusion: Sally was not free this evening.

Argument Forms Example All of these arguments share a deductively valid argument form: Premise 1: if A, then B. Premise 2: not B. Conclusion: not A. Any argument with this form is valid, no matter what ‘A’ and ‘B’ are.

Argument Forms Example Premise: Everyone is happy. Conclusion: There is not someone who is not happy. Premise: Everyone is F. Conclusion: There is not someone who is not F.

Argument Forms Example Premise: You can’t be happy and successful. Conclusion: If you’re happy, you’re not successful. Premise: not (A and B). Conclusion: if A then not B.

Argument Forms Example Premise: Either Fred took the train or he took the ferry. Premise 2: Fred did not take the ferry. Conclusion: Fred took the train. Premise: Either A or B. Premise: not B Conclusion: A

Deductive Logic The goal of deductive logic is to identify deductively valid argument forms. We can use these as a formal test for validity: if an argument has a certain form, then that argument is deductively valid.

Sentential Logic Sentential Logic (SL, also known as Propositional Logic, or the Propositional Calculus) is a formal logical system that represents logical relations among sentences (or propositions).

Logical Consequence x2 There are two ways of thinking about one formula ‘logically following’ from another: Syntactic Criteria: formula 1 is provable (given the system’s rules) from formula 2. Semantic Criteria: formula 1 evaluates as true whenever formula 2 does.

SYNTAX: WELL-FORMEDNESS

Syntax Every formal logical system has a syntax (or grammar) that defines which sequences of symbols are well-formed expressions (called “well-formed formulas” or WFFs) and which are ill-formed.

Sentential Variables In SL, simple sentences are represented by capital letters A, B, C, D, etc. These are sometimes called “sentence letters” or “sentential variables”– they’re variables, because A can represent the sentence “snow is white” or the sentence “snow is green” or the sentence “turtles love noodles,” or whatever.

Sentential Variables By convention, we prefer the letters P, Q, R, S… for sentential variables.

Connectives In language, various words allow you to make new, complex sentences out of other sentences. For example, consider the sentences “snow is green” and “turtles love noodles.” The word “and” lets us make the complex sentence “snow is green and turtles love noodles” out of these two simple sentences.

Examples of Connectives Snow is white. Grass is green. It is false that snow is white. Michael believes that snow is white. It is possible that snow is white. Snow is white and grass is green. If snow is white, then grass is green.

SL Connectives Each truth-functional English connective is given an SL counterpart: “not…”: ~ (called “tilde”) “…and…”: & (called “ampersand”) “…or…”: v (called “wedge”) “if…then…”: → (called “arrow”) “…if, and only if,…”: ↔ (called “double- arrow”)

Definition of WFF i.All sentence letters are WFFs. ii.If φ is a WFF, then ~φ is a WFF. iii.If φ and ψ are WFFs, then (φ & ψ), (φ v ψ), (φ → ψ), (φ ↔ ψ) are also WFFs. iv.Nothing else is a WFF. Question: why do we use φ and ψ here instead of, for example, P and Q?

Demonstration Using the definition we can show that certain sequences of symbols are WFFs. For example (P↔(Q&~R)) is a WFF.

Demonstration By (i), P, Q, and R are all WFFs. By (ii) ~R is a WFF. By (iii), since Q and ~R are WFFs, (Q&~R) is a WFF By (iii), since P and (Q&~R) are WFFs, (P↔(Q&~R)) is a WFF.

Ill-Formed Formulas Some sequences of symbols are not well- formed. Some examples include: ))PQ((( (~P) P & Q (P and Q)

Scope Every occurrence of a connective in a WFF has a scope. The scope of that occurrence is the smallest WFF that contains it. For example The scope of “&” in “(~(~P&Q)→P)” is “(~P&Q)” “(~(~P&Q)→P)” is not a WFF. “(~(~P&Q)→P)” is a WFF, but is bigger than “(~P&Q)”

Occurrences Notice that the same symbol can occur different times in the same formula, and that its different occurrences can have different scopes. ~((~P&Q)&(R↔Q))

Main Connective The main connective in a formula is the occurrence of the connective whose scope is widest (the scope of the occurrence of the connective = the formula). A formula is a conditional if its main connective is →, a conjunction if it’s &, a negation if it’s ~, etc.

SYNTAX: SYNTACTIC CONSEQUENCE (PROOF)

The Parts of a Derivation 11. (A & D)A 22. (A → (B & C))A 13. A1 &E 1,24. (B & C)2,3 →E 1,25. C4 &E

Derived WFFs 11. (A & D)A 22. (A → (B & C))A 13. A1 &E 1,24. (B & C)2,3 →E 1,25. C4 &E

Derived WFFs A derivation proceeds in stages. Each stage involves writing a new WFF that we have proven. We number each of the stages (1, 2, …).

Rules of Inference 11. (A & D)A 22. (A → (B & C))A 13. A1 &E 1,24. (B & C)2,3 →E 1,25. C4 &E

Rules of Inference Whenever we write a new WFF that we have proven, we write the justification out to the right of the WFF. This justification includes: the name of the logical rule we used to prove the WFF, and the previous stages of the derivation that were needed by the rule (if any).

Dependencies 11. (A & D)A 22. (A → (B & C))A 13. A1 &E 1,24. (B & C)2,3 →E 1,25. C4 &E

Dependencies To the left of each stage we write the “dependencies.” So for example, 1,24. (B & C)2,3 →E This line says that in stage #4 we proved the WFF “(B & C),” using the rule →E on lines 2 and 3. But we have only proved (B & C) assuming that 1 and 2 are true.

The Rule of Assumption: A Assumption is the easiest rule to learn. It says at any stage in the derivation, we may write down any WFF we want to. That WFF only depends on itself. For example, on line 57 we might write: (((P ↔ (A & B)) → ~~~R)A

Turnstile The proper way to read this is “line 57 is provable from line 57” or “On the assumption that (((P ↔ (A & B)) → ~~~R) it can be proved that (((P ↔ (A & B)) → ~~~R).” We can re-write any line to state preciesely what we have proved. Line 57 would be: (((P↔(A & B))→~~~R) Ⱶ (((P↔(A & B))→~~~R)

&-Elimination: &E &E is also a very easy-to-learn rule. If we have proved (φ & ψ) on some line, then on any future line we may write down φ, and on any future line we may write down ψ. The result depends on everything (φ & ψ) depended on.

Example 1,24. (B & C)2,3 →E 1,25. C4 &E On Line 4 we have proved “(B & C)”

Example 1,24. (B & C)2,3 →E 1,25. C4 &E So on line 5 (or any future line) we can write down C.

Example 1,24. (B & C)2,3 →E 1,25. C4 &E Since the rule we used in arriving at 5 was &E applied to line 4, we write down “4 &E” as our justification.

Example 1,24. (B & C)2,3 →E 1,25. C4 &E Finally, the rule &E says the result (line 5) depends on everything the original conjunction depended on. Since line 4 depends on 1 and 2, we write “1,2” to the left of line 5.

Arrow Elimination: →E The →E rule says that if on one line we have a conditional (φ → ψ) and on another line we have the antecedent of the conditional φ then on any future line, we may write down the consequent of the conditional ψ depending on everything (φ → ψ) and φ depended on.

Example 22. (A → (B & C))A 13. A1 &E 1,24. (B & C)2,3 →E On line 2 we have a conditional “(A → (B & C)),” and on line 3 we have its antecedent, “A.”

Example 22. (A → (B & C))A 13. A1 &E 1,24. (B & C)2,3 →E So on line 4 we can write its consequent “(B&C).”

Example 22. (A → (B & C))A 13. A1 &E 1,24. (B & C)2,3 →E Since the rule we used on line 4 was →E applied to lines 2 and 3, we write down “2,3 →E” to the right of 4.

Example 22. (A → (B & C))A 13. A1 &E 1,24. (B & C)2,3 →E Finally, since line 2 depends on line 2, and line 3 depends on line 1, line 4 depends on lines 1 and 2. We copy those numbers to the left of 4.

SEMANTICS: TRUTH-FUNCTIONS

Truth-functional Connectives A connective is truth-functional if the truth of sentences involving the connective depends only on the truth of the sentences they have as parts. For example “and” is truth-functional. Whether a sentence like “P and Q” is true depends only on whether P is true and whether Q is true.

Truth-Functional Connectives So the sentence “snow is white and grass is green” is true, because “snow is white” is true and “grass is green” is true. Replace “snow is white” with any other true sentence, and the result is still true.

Truth-Functional Connectives If all you know about “P and Q” is that P is true and Q is true, then you know that “P and Q” is also true. Or if you know that Q is false, you know that “P and Q” is false. You don’t have to know what P and Q are.

Non-Truth-Functional Connectives Some connectives are not truth-functional. You can replace true sentences in them with other true sentences, and this can change whether they are true. Or you can replace false sentences in them with other false sentences, and this can change whether they are true.

Example 1.CY Leung believes that illegal structures at his house are OK. 2.It’s false that illegal structures at CY Leung’s house are OK. 3.It’s false that dogs have 17 legs. 4.CY Leung believes that dogs have 17 legs.

Example Even if (1) is true, substituting another false sentence (3) for its false part (2) results in a false sentence.

Truth-Functional Connectives Sentential logic only contains truth-functional connectives, not non-truth-functional connectives like “CY Leung believes that___” or “It’s possible that____.”

SL Connectives Each truth-functional English connective is given an SL counterpart: “not…”: ~ (called “tilde”) “…and…”: & (called “ampersand”) “…or…”: v (called “wedge”) “if…then…”: → (called “arrow”) “…if, and only if,…”: ↔ (called “double- arrow”)

Since SL connectives are truth-functional, we can summarize the truth-functions they stand for in a truth-table.

Negation φ~φ~φ TF FT

Conjunction φψ(φ & ψ) TTT TFF FTF FFF

Disjunction φψ(φ v ψ) TTT TFT FTT FFF

Biconditional φψ(φ ↔ ψ) TTT TFF FTF FFT

The Material Conditional φψ(φ → ψ) TTT TFF FTT FFT

SEMANTICS: EVALUATIONS

Evaluations An evaluation is an assignment of truth-values to sentence letters. For example: A = T B = T C = F D = T E = F...

Evaluating WFFs To evaluate a WFF is to determine whether it is true or false according to an evaluation. Let’s consider ((Q & ~P) → R) Here’s our evaluation: Q = T, P = T, R = F.

Evaluation: Stage 1 PQR Write down sentence letters.

Evaluation: Stage 1 PQR TTF Insert truth-values from evaluation.

Evaluation: Stage 2 PQR((Q&~P)→R) TTF Copy down the formula to evaluate.

Evaluation: Stage 3 PQR((Q&~P)→R) TTFT Copy the truth-values of each variable.

Evaluation: Stage 3 PQR((Q&~P)→R) TTFTT Copy the truth-values of each variable.

Evaluation: Stage 3 PQR((Q&~P)→R) TTFTTF Copy the truth-values of each variable.

Evaluation: Stage 4 PQR((Q&~P)→R) TTFTTF Find a connective to evaluate.

Evaluation: Stage 4 PQR((Q&~P)→R) TTFTTF Need these truth values.

Evaluation: Stage 4 PQR((Q&~P)→R) TTFTTF Need these truth values.

Evaluation: Stage 4 PQR((Q&~P)→R) TTFTTF Need this truth value.

Evaluation: Stage 4 PQR((Q&~P)→R) TTFTFTF Need this truth value.

Evaluation: Stage 4 PQR((Q&~P)→R) TTFTFTF Need these truth values.

Evaluation: Stage 4 PQR((Q&~P)→R) TTFTFFTF Need these truth values.

Evaluation: Stage 4 PQR((Q&~P)→R) TTFTFFTF Need these truth values.

Evaluation: Stage 4 PQR((Q&~P)→R) TTFTFFTTF Need these truth values.

SEMANTICS: TRUTH-TABLES

Possibilities for One Sentence Letter φ…φ……φ… T F

Possibilities for Two Sentence Letters φψ…φ…ψ……φ…ψ… TT TF FT FF

Possibilities for Three Sentence Letters φψχ…φ…ψ…χ……φ…ψ…χ… TTT TTF TFT TFF FTT FTF FFT FFF

~(~P & ~Q) PQ~(~P&~Q) TT TF FT FF

Copy Whole Column PQ~(~P&~Q) TTT TFT FTF FFF

Copy Whole Column PQ~(~P&~Q) TTTT TFTF FTFT FFFF

Evaluate Each Row PQ~(~P&~Q) TTFTT TFFTF FTTFT FFTFF

Evaluate Each Row PQ~(~P&~Q) TTFTFT TFFTTF FTTFFT FFTFTF

~(~P & ~Q) PQ~(~P&~Q) TTFTFFT TFFTFTF FTTFFFT FFTFTTF

~(~P & ~Q) PQ~(~P&~Q) TTTFTFFT TFTFTFTF FTTTFFFT FFFTFTTF

(~(~P & ~Q) ↔ (P v Q)) So “~(~P & ~Q)” has the same truth-table as “(P v Q).” Why is that? Suppose I say: “you didn’t do your homework and you didn’t come to class on time.” When is this statement false? When either you did your homework or you came to class on time.

SEMANTICS: TRUTH-TABLE TEST

The Truth-Table Test for Validity We know that an argument is deductively valid when we know that if it is true, then its conclusion must be true. We can use truth-tables to show that certain arguments are valid.

The Test Suppose we want to show that the following argument is valid: (P → Q) ~Q Therefore, ~P We begin by writing down all the possible truth- values for the sentence letters in the argument.

Write Down All the Possibilities PQ TT TF FT FF

Write Truth-Table for Premises PQ(P → Q)~Q TTTF TFFT FTTF FFTT

Write Truth-Table for Conclusion PQ(P → Q)~Q~P TTTFF TFFTF FTTFT FFTTT

Look at Lines Where Premises are True PQ(P → Q)~Q~P TTT*FF TF TF FTT T FFTTT

NEXT TIME: SOUNDNESS & COMPLETENESS

With two understandings of “logical consequence” we can ask two questions: 1. Is it true that every time q is a syntactic consequence of (is provable from) p, that q is a semantic consequence of p? [Soundness]

With two understandings of “logical consequence” we can ask two questions: 1. Is it true that every time q is a semantic consequence of p, that q is a syntactic consequence of (is provable from) p? [Completeness]