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.

Slides:



Advertisements
Similar presentations
Logic The study of correct reasoning.
Advertisements

Geometry Logic.
TRUTH TABLES Section 1.3.
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
Hypotheticals: The If/Then Form Hypothetical arguments are usually more obvious than categorical ones. A hypothetical argument has an “if/then” pattern.
Symbolic Logic: The Language of Modern Logic
Sentential Logic. One of our main critical thinking questions was: Does the evidence support the conclusion? How do we evaluate whether specific evidence.
1. Propositions A proposition is a declarative sentence that is either true or false. Examples of propositions: The Moon is made of green cheese. Trenton.
04 March 2009Instructor: Tasneem Darwish1 University of Palestine Faculty of Applied Engineering and Urban Planning Software Engineering Department Introduction.
An Introduction to Propositional Logic Translations: Ordinary Language to Propositional Form.
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.
Logic Chapter 2. Proposition "Proposition" can be defined as a declarative statement having a specific truth-value, true or false. Examples: 2 is a odd.
Syllabus Every Week: 2 Hourly Exams +Final - as noted on Syllabus
An Introduction to Propositional Logic Translations: Ordinary Language to Propositional Form.
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.
Through the Looking Glass, 1865
Tweedledum: “I know what you’re thinking, but it isn’t so. No how.” Tweedledee: “Contrariwise, if it was so, it might be; and if it were so, it would be;
The Language of Propositional Logic The Syntax and Semantics of PL.
Homework 3.
Lecture 8 Introduction to Logic CSCI – 1900 Mathematics for Computer Science Fall 2014 Bill Pine.
Elementary Logic PHIL Intersession 2013 MTWHF 10:00 – 12:00 ASA0118C Steven A. Miller Day 4.
The Foundations: Logic and Proofs
Propositional Logic.
Intro to Discrete Structures
1.1 Sets and Logic Set – a collection of objects. Set brackets {} are used to enclose the elements of a set. Example: {1, 2, 5, 9} Elements – objects inside.
Chapter 8 Logic DP Studies. Content A Propositions B Compound propositions C Truth tables and logical equivalence D Implication and equivalence E Converse,
Discrete Maths 2. Propositional Logic Objective
Discrete Mathematics and Its Applications
Lecture for Week Spring.   Introduction to Propositional Logic  Types of Proposition  Operator and Truth table Agenda.
Truth-Tables. Midterm Grades Grade Distribution.
CS 285- Discrete Mathematics Lecture 2. Section 1.1 Propositional Logic Propositions Conditional Statements Truth Tables of Compound Propositions Translating.
BY: MISS FARAH ADIBAH ADNAN IMK. CHAPTER OUTLINE: PART III 1.3 ELEMENTARY LOGIC INTRODUCTION PROPOSITION COMPOUND STATEMENTS LOGICAL.
2.3 Analyze Conditional Statements. Objectives Analyze statements in if-then form. Analyze statements in if-then form. Write the converse, inverse, and.
1 Propositional Logic Proposition 2 Propositions can be divided into simple propositions and compound propositions. A simple (or basic) proposition is.
1 Propositional Logic 2. Double Negation 2 not-(not-A)=Anot-(not-A)=A A= Ibrahim makes good coffee not-A= Ibrahim does not make good coffee not-(not-A)=Ibrahim.
(CSC 102) Lecture 3 Discrete Structures. Previous Lecture Summary Logical Equivalences. De Morgan’s laws. Tautologies and Contradictions. Laws of Logic.
Discrete Mathematics Lecture1 Miss.Amal Alshardy.
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.
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.
CSNB143 – Discrete Structure LOGIC. Learning Outcomes Student should be able to know what is it means by statement. Students should be able to identify.
Lecture 4. CONDITIONAL STATEMENTS: Consider the statement: "If you earn an A in Math, then I'll buy you a computer." This statement is made up of two.
LOGIC Lesson 2.1. What is an on-the-spot Quiz  This quiz is defined by me.  While I’m having my lectures, you have to be alert.  Because there are.
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.
Chapter 8 – Symbolic Logic Professor D’Ascoli. Symbolic Logic Because the appraisal of arguments is made difficult by the peculiarities of natural language,
Propositional Logic. Propositions Any statement that is either True (T) or False (F) is a proposition Propositional variables: a variable that can assume.
LOGIC.
Chapter 2 Logic 2.1 Statements 2.2 The Negation of a Statement 2.3 The Disjunction and Conjunction of Statements 2.4 The Implication 2.5 More on Implications.
1 Propositional Logic Introduction. 2 What is propositional logic? Propositional Logic is concerned with propositions and their interrelationships. 
Section 1.1. Section Summary Propositions Connectives Negation Conjunction Disjunction Implication; contrapositive, inverse, converse Biconditional Truth.
CSNB143 – Discrete Structure Topic 4 – Logic. Learning Outcomes Students should be able to define statement. Students should be able to identify connectives.
Metalogic. TWO CONCEPTIONS OF LOGICAL CONSEQUENCE.
Sentential Logic.
Mathematics for Comter I Lecture 2: Logic (1) Basic definitions Logical operators Translating English sentences.
Section 1.1. Propositions A proposition is a declarative sentence that is either true or false. Examples of propositions: a) The Moon is made of green.
TRUTH TABLES Edited from the original by: Mimi Opkins CECS 100 Fall 2011 Thanks for the ppt.
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
Simple Logic.
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,
Truth Tables – Logic (Continued)
Natural Deduction.
Midterm Discussion.
TRUTH TABLES.
Presentation transcript:

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

Invalidity An argument that is not valid is called invalid. Valid: If the premises are true, then the conclusion must be true. Invalid: The premises can be true while the conclusion is false.

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.

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

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. By convention, we prefer the letters P, Q, R, S… for sentential variables.

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?

TRUTH TABLES

The Interpretation of ~ (Tilde) Remember that in SL, capital Roman letters symbolize simple English sentences. So, for example, we might translate the following English sentences into SL in these ways: “Today is Wednesday” ─ “W” “My name is Michael” ─ “M”

The Interpretation of ~ (Tilde) According to our definition of a WFF, ii. If φ is a WFF, then ~φ is a WFF. So “~W” and “~M” are also WFFs (as are “~~M” and “~~~W” etc). Which English sentences do they represent? “~” is our SL counterpart for English negation. So “~W” translated back into English means “Today is not Wednesday.” And “~M” means “My name is not Michael.”

Negation in English There are other ways of saying “My name is not Michael” in English that are all appropriately translated into SL using “~.” For example: My name isn’t Michael It’s false that my name is Michael. It isn’t true that my name is Michael. It isn’t the case that my name is Michael.

Longer Locutions These longer locutions (“it is false that…”) are sometimes needed. Consider the SL WFF “~(M&W).” This means “it is false that my name is Michael and today is Wednesday.” “Not” usually goes by the verb, but here “~” is negating a conjunction, a sentence with two verbs.

Wrong Translation “Not” usually goes by the verb, but here “~” is negating a conjunction, a sentence with two verbs. And if we put “not” by one or both of them, we get the wrong translation: “My name is not Michael and today is Thursday.” “My name is Michael and today is not Thursday.” “My name is not Michael and today is not Thursday.”

Truth-Value Declarative sentences (normal ones, not commands or questions) all have truth-values: they are all either true or false. There are two truth-values: true and false. So, for example, the sentence “My name is Michael” is true, and the sentence “Today is Wednesday” is false. Since a translation of a sentence is true when the original sentence is true and false when it is false, “M” is true in SL, and “W” is false in SL.

Relation between M and ~M The truth-value of any complex SL WFF is determined by the truth-values of its simple parts (sentence letters). [Remember that we learned that SL only has truth-functional connectives. That is what this means.] The only simple part of “~M” is “M.” And it is obvious that if “M” is true, then “~M” is false, and if “M” is false, then “~M” is true.

Relation between M and ~M If I said “My name is Michael” I would be speaking truly, because that’s my name. If I said “My name is not Michael” I would be speaking falsely– because it is true that my name is Michael.

Summary of ~ In SL, we often abbreviate “true” and “false” as T and F, respectively. We can sum up how “~” works in the following way: If φ is T, then ~φ is F. If φ is F, then ~φ is T.

Negation: Truth-Table φ~φ~φ TF FT

Truth-Tables All of the SL connectives are truth-functions, so they all have truth-tables. Truth-tables describe the relation between the simple sentences in a formula and the formula itself. In general, a formula containing 1 sentence letter has 2 rows for its truth-table (because that sentence letter can be either T or F). A formula with 2 sentence letters has 4 rows. Why?

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

& The SL symbol “&” translates English “and.” Our definition of a WFF says: iii. If φ and ψ are WFFs, then (φ & ψ) is also a WFF. We already know that “M,” “~M,” “W,” and “~~~W” are WFFs. This part of the definition tells us that “(M & M),” “(~~~W & ~M),” and “((M&M)&(~~~W&~M))” are all WFFs.

What Conjunctions Mean What does the conjunction “(~M & W)” mean? Since “&” translates “and” and “~” translates “not,” this means “Michael is not my name and today is Wednesday.”

Different Ways to Say “And” in English P and Q. P but Q. Although P, Q. P, also Q. P as well as Q.

The Truth-Values of Conjunctions How does the truth of a conjunction (φ&ψ) depend on the truth of its two conjuncts? A conjunction says that two things are true. (φ&ψ) means that φ is true AND ψ is true. So: When φ is T AND ψ is T, (φ&ψ) is T When φ is T AND ψ is F, (φ&ψ) is F When φ is F AND ψ is T, (φ&ψ) is F When φ is F AND ψ is F, (φ&ψ) is F

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

Wedge “v” is just like “&” in that it takes two WFFs and makes a new WFF. Here are some examples of disjunctions made with “v.” (P v Q) ((~P & Q) v ~R) ((P v Q) v ~~((~P & Q) v ~R))

“Or” in English There are some different ways of saying “or” in English. P or Q. Either P or Q. P, unless Q. Unless Q, P.

Unless In the reading, we see that this translation of “unless” is controversial. [See ] The basic idea, however, is that if I say “you won’t pass the class unless you take the final” that seems to mean “either you take the final or you won’t pass (or both: you take the final and you don’t pass).

“Or” in English Wedge in logic is a little bit different from ordinary English “or.” Normally, if the set menu says: Entrée: Steak with mashed potatoes OR Salmon filet with haricot verts It means that you can have the steak OR the salmon BUT NOT BOTH.

“Or” in English Sometimes, “or” allows for both. If someone says “I would like to visit Thailand or Tibet,” they don’t mean “I would like to visit Thailand OR I would like to visit Tibet BUT NOT BOTH.” We call the “or” that means “or… but not both” exclusive disjunction and the “or” that means “or… or both” inclusive disjunction.

“v” in Logic “v” in Logic is inclusive disjunction. (φ v ψ) is compatible with φ and ψ both being true. What (φ v ψ) means is that at least one (and maybe both) of φ, ψ is true. This means that if φ is T then (φ v ψ) is T, and if ψ is T, then (φ v ψ) is T. Only when both φ and ψ are F is (φ v ψ) F.

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

Arrow → in SL Arrow, “→” is the way we have of translating “if… then…” statements into logic. “If… then…” statements are especially important in applications of logic to computers, because computers need to understand instructions, and most instructions are of the form “if X is happening, then do Y” e.g. “if the milk boils, turn down the heat.”

Arrow → in English If P then Q. Q if P. P only if Q. Whenever P, Q. Q provided that P. P is sufficient for Q. Q is necessary for P.

Truth-Table for → How do we write the truth-table for “→”? Well, suppose that someone says “if you [Michael] eat a bowl of rice, you will die.” How could we know for sure that what they said was false? Well, if I ate a bowl of rice, and then I did not die. That is: When R is T and D is F, then (R → D) is F.

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

Difficult to Justify Some aspects of this truth-table are strange. Notice that whenever φ is F then, (φ→ψ) is T. But notice: FALSE: Michael has $5.20 in his pocket. FALSE: A giant purple bird will swallow the sun tomorrow. TRUE???: If Michael has $5.20 in his pocket, then a giant purple bird will swallow the sun tomorrow.

Difficult to Justify Also, whenever ψ is T, (φ→ψ) is T. However: TRUE: Michael will eat instant noodles for dinner. FALSE: All the rich people in the world will give Michael all of their money. TRUE???: If all of the rich people in the world give Michael all of their money, then he will eat instant noodles for dinner.

Tough to Argue Against Still, it would be very strange to argue for this in the truth-table: When φ is F and ψ is T, (φ→ψ) is F. FALSE: Michael will eat poison for dinner. TRUE: At some point, Michael will die. FALSE???: If Michael eats poison for dinner, then Michael will die.

Solution It’s probably not true that English “if… then…” is a truth functional connective. Sometimes “if P then Q” is T when P is F and Q is T, and other times it is F when P is F and Q is T. Whether “if P then Q” is T depends on more than just whether P is T and whether Q is T. (There has to be some important connection between P and Q.)

Reasonable Approximation Still, the truth-functional SL connective “→” is a reasonable approximation of English “if… then…” As we will see later when we look at derivations, this truth-table validates the following inferences: If P, then Q. P. Therefore Q.

Reasonable Approximation Still, the truth-functional SL connective “→” is a reasonable approximation of English “if… then…” As we will see later when we look at derivations, this truth-table validates the following inferences: P. Therefore, Q. Therefore, if P then Q.

The Biconditional TRUE: The streets are wet if it is raining. FALSE: It is raining if the streets are wet. FALSE: The streets are wet only if it is raining. TRUE: It is raining only if the streets are wet.

The Biconditional TRUE: The streets are wet if it is raining. TRUE: It is raining only if the streets are wet. FALSE: It is raining if the streets are wet. FALSE: The streets are wet only if it is raining.

Biconditional TRUE: W if R. TRUE: R only if W. FALSE: R if W. FALSE: W only if R. Claim: A if B = B only if A.

If and only If So what would an English sentence of the form “A if and only if B” mean? It would mean: “A if B and A only if B”– so it would mean “A if B and B if A.” Translated into logic, that would be: ((A → B) & (B → A))

↔ In logic, we have a special symbol for “((A → B) & (B → A))”: it’s “(A ↔ B)”. This is called the “biconditional” or “double-arrow” symbol, because it represents two conditionals: “(A → B)” and “(B → A).” We can work out what the truth-table should be for “(A ↔ B)” given what we already know.

AB((A→B)&(B→A)) TT TF FT FF

AB((A→B)&(B→A)) TTTT TFTT FTFF FFFF

AB((A→B)&(B→A)) TTTTTT TFTFFT FTFTTF FFFFFF

AB((A→B)&(B→A)) TTTTTTT TFTFFFT FTFTTTF FFFTFFF

AB((A→B)&(B→A)) TTTTTTTT TFTFFFTT FTFTTTFF FFFTFFTF

AB((A→B)&(B→A)) TTTTTTTTT TFTFFFFTT FTFTTFTFF FFFTFTFTF

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

The Meaning of ↔ Thus, formulas like (φ↔ψ) say that φ and ψ have the same truth-value: either both of them are T or both of them are F. If φ is F and ψ is T, or vice versa, then (φ↔ψ) is F.