Propositional Logic Symbolic logic If A, then B A  B Capital letters stand for simple sentences A simple sentence is an affirmative single statement “It’s.

Slides:



Advertisements
Similar presentations
Symbolic Logic: The Language of Modern Logic
Advertisements

Chapter Two Symbolizing in Sentential Logic This chapter is a preliminary to the project of building a model of validity for sentential arguments. We.
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.
Goals Determine the true value of statements with AND, OR, IF..THEN. Negate statements with the connectives above Construct truth tables Understand when.
6.1 Symbols and Translation
SYMBOLIZATION Statement: A sentence that makes a claim about the world. Simple Statement: A statement that makes a single claim about the world. It is.
Symbolization techniques Identify component propositions.
Today’s Topics n Symbolizing conditionals and bi-conditionals n Other complex symbolizations. n Unless.
Syllabus Every Week: 2 Hourly Exams +Final - as noted on Syllabus
An Introduction to Propositional Logic Translations: Ordinary Language to Propositional Form.
1 Section 1.1 Logic. 2 Proposition Statement that is either true or false –can’t be both –in English, must contain a form of “to be” Examples: –Cate Sheller.
Sentential Logic(SL) 1.Syntax: The language of SL / Symbolize 2.Semantic: a sentence / compare two sentences / compare a set of sentences 3.DDerivation.
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.
Copyright © Cengage Learning. All rights reserved.
Chapter 2: The Logic of Compound Statements 2.1 Logical Forms and Equivalence 12.1 Logical Forms and Equivalences Logic is a science of the necessary laws.
The Foundations: Logic and Proofs
Propositions and Truth Tables
2009/9 1 Logic and Proofs §1.1 Introduction §1.2 Propositional Equivalences §1.3 Predicates and Quantifiers §1.4 Nested Quantifiers §1.5~7 Methods of Proofs.
Discrete Mathematics and Its Applications
Truth-Tables. Midterm Grades Grade Distribution.
Chapter 1: The Foundations: Logic and Proofs
A Modern Logician Said: By the aid of symbolism, we can make transitions in reasoning almost mechanically by eye, which otherwise would call into play.
1 Propositional Logic Proposition 2 Propositions can be divided into simple propositions and compound propositions. A simple (or basic) proposition is.
Chapter 1 Section 1.2 Symbolic Logic. Sentences vs Statements A truth value is one of two words either true (T) or false (F). A statement is a particular.
2.2 Statements, Connectives, and Quantifiers
Symbolic Language and Basic Operators Kareem Khalifa Department of Philosophy Middlebury College.
Copyright 2013, 2010, 2007, Pearson, Education, Inc. Objectives 1. Statements, quantifiers, and compound statements 2. Statements involving the words not,
Discrete Mathematics Lecture1 Miss.Amal Alshardy.
Transposition (p > q) : : ( ~ q > ~ p) Negate both statements when switching order of antecedent and consequent If the car starts, there’s gas in the tank.
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.
CS 381 DISCRETE STRUCTURES Gongjun Yan Aug 25, November 2015Introduction & Propositional Logic 1.
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.
PHIL 120: Third meeting I. I. What to know for Test 1 (in general terms). II. II. Symbolizing compound sentences (cont’d) a. a. Paying attention to English.
Thinking Mathematically
Logic. Statements, Connectives, and Quantifiers In symbolic logic, we only care whether statements are true or false – not their content. In logic, a.
Chapter 1: The Foundations: Logic and Proofs
Section 1.1. Section Summary Propositions Connectives Negation Conjunction Disjunction Implication; contrapositive, inverse, converse Biconditional Truth.
Thinking Mathematically Statements, Negations, and Quantified Statements.
Mathematics for Comter I Lecture 2: Logic (1) Basic definitions Logical operators Translating English sentences.
Copyright 2008, Scott Gray1 Propositional Logic 2) The Formal Language.
Introduction to Logic Lecture 13 An Introduction to Truth Tables By David Kelsey.
Symbolization techniques Identify component propositions.
Discrete Mathematics Lecture # 4. Conditional Statements or Implication  If p and q are statement variables, the conditional of q by p is “If p then.
Chapter 1. Chapter Summary  Propositional Logic  The Language of Propositions (1.1)  Logical Equivalences (1.3)  Predicate Logic  The Language of.
Simple Logic.
Sentential logic. Lecture based on: Graeme Forbes, Modern Logic Katarzyna Paprzycka, online lectures.
Logic.
AND.
DISCRETE MATHEMATICS CHAPTER I.
CSNB 143 Discrete Mathematical Structures
Today’s Topics Symbolizing conditionals and bi-conditionals
Logic.
Truth Tables – Logic (Continued)
Discrete Mathematics Lecture # 6.
6.1 Symbols and Translation
The Foundations: Logic and Proofs
Principles of Computing – UFCFA3-30-1
Logic – Bell Ringer.
Discrete Mathematics and Its Applications Kenneth H
Discrete Mathematics Lecture 2: Propositional Logic
Statements of Symbolic Logic
CHAPTER 3 Logic.
Statements and Logical Connectives
Transposition (p > q) : : ( ~ q > ~ p) Negate both statements
The Structure of Sentential Logic
Truth tables.
Truth Tables for Conditional and Biconditional Statements
Presentation transcript:

Propositional Logic Symbolic logic If A, then B A  B Capital letters stand for simple sentences A simple sentence is an affirmative single statement “It’s warm in here” : W “Yesterday it was not raining”: compound sentence Not R ~ stands for “Not” ~R

Capital letters symbolize simple sentences Five additional symbols stand for other basic operators that affect statements. In English, these five are: “not” “and” “or” “if…then…” “if and only if”

Truth-functional operators don’t just connect statements to one another, but also determine the truth value of compound statements Clinton had bypass surgery: C True Clinton didn’t have bypass surgery: ~C False For any sentence p, ~p has the opposite truth value p ~p T F F T Lower case p, q, r, s,… are variables standing for any sentence, simple or compound

“ ~ ” the tilde represents Negation “not” “no” “never” “It is false that” ~ J John did not finish his work It’s false that John finished his work

“ · ” the dot represents Conjunction G · S Garfield and Snoopy are dogs. Garfield’s a dog and so is Snoopy. Garfield’s a dog, but Snoopy is too. Conjoining: asserting two things as both the case: “and” “but” “however” “although” “moreover” “ ; ”

Apple and Ford both make computers A · F ~(A · F) It’s false that both Apple and Ford make computers Not both companies make computers

Apple makes computers A Honda makes computers H A · H T · F F A conjunction is True only if both statements are True. p q p · q T T T T F F F T F F F F Truth-table definition of the dot.

“v” the wedge represents Disjunction A disjunction is an “either…or” statement. “Either…or” “…or…” “…unless…” Either Bill or Jane will get elected: B v J Jane will win unless Bill does: J v B

“Or” has a weak (inclusive) and a strong (exclusive) sense. Weak “or” : Jones is either getting a raise or a promotion Strong “or”: Bill is either 20 or 21.

“v” represents the weak sense of “or” I’ll either buy a Civic or a PT Cruiser: C v P (C v P) · ~(C · P) I’ll either buy a Civic or a PT Cruiser, but not both

A disjunction is False only if both statements are False p q p v q T T T T F T F T T F F F Truth-table definition of “v”

~ ( A v B)Neither apples nor bananas are vegetables ~(A · D) Adam and Dylan won’t both be late. It’s false that Adam and Dylan will both be late. “And” has some other meanings which are not truth-functional, such as You come near me again and I’ll call the police If you come near me again, I’ll call the police.

“  ” the horseshoe represents Conditionals “if…then…” “…in case…” “…given that…” “…only if…” C  P If you come near me again I’ll call the police The car will start only if there’s gas in the tank: S  G Kaine will win given that Warner campaigns for him. W  K

When is a material conditional statement true? If you get an A on the final, you’ll get an A in the course F  C F  C T T T F F T F F TFTT

p q p  q T T T T F F F T T F F T Truth-table definition of the horseshoe A conditional statement is false only when the antecedent is True and the consequent is False.

A Sufficient Condition is expressed as the antecedent of a conditional. A Necessary Condition is expressed as the consequent of a conditional. S > N You have to have a College ID to get in to the show. G > C

“  ” the triple bar represents “if and only if” “If and only if” is called the biconditional: two conditionals p if q and p only if q You are President of the USA iff you are Commander in Chief of the Armed Forces You are President if you are Commander in Chief and You are President only if you are Commander in Chief.

You are President if you are Commander in Chief and You are President only if you are Commander in Chief You are President if you are Commander in Chief C  P You are President only if you are Commander in Chief P  C (C  P) (P  C) P  C

(P  C) (C  P) P  C T T T T T T F F F F T T T F F F T T F T F F F F T F T F T F T F F T F The truth table definition of the triple bar is the equivalent of the truth table for a biconditional The triple bar means “…is equivalent to…”. A triple bar statement is True only if its two parts have the same truth-value.

Truth-table definitions of the logical operators p q T T T T F F F F T F F F p v q T T T T T F F T T F F F p ~p T F F T p  q T T T T F F F T T F T F p  q T T T T F F F F T F T F

The Tilde reverses the value of the statement it affects. A conjunction is True only if both conjuncts are true. A disjunction is False only if both disjuncts are false. A conditional is false only when the antecendent is True and the consequent is False. A biconditional is True when the two statements have the same truth-value.

~[(A v B) (D  E)] (A  C) v [(H  G)  (N v M)] [(F  B) v (K v G)] ~ P negation disjunction conjunction [(A v B)  (~B  A)]  [(A B) (~B ~A)] biconditional What kinds of statements are these? What is the main operator?

~[(A v B) (D  E) (A  C) v [(H ~  G)  (N v M)] [(F  B) v {(K v G)] ~ P} [(A v B)  (~B  A)]  [(A B) ~B ~A)] What is wrong with the punctuation in each of these examples?

1. Cats are not friendly ~C 2. Frank’s a jerk and so is Paul F. P 3. Either Al will buy dinner or we’ll go hungry A v H 4. If they get married, they’re crazy M > C 5. They’d have to be crazy to get marriedM > C 6. If Bob doesn’t take his umbrella, he’ll be sorry ~U > S

7. If Eve and Abel can spell, then it’s a sign of inferiority (E. A) > I 8. Either Humpty Dumpty controls the meaning of all the words he uses or else some of them are too expensive and he just has to accept that. C v (E. A) 9. It’s a most provoking thing if someone can’t tell a cravate from a belt. ~T > P 10. Either you can’t tell that unbirthday presents are better, or else you don’t understand basic arithmetic ~T v ~U

11. Either Poland and Holland were both invaded by Hitler or else Switzerland was. (P. H) v S 12. Poland was invaded by Hitler and either Holland or Switzerland was too. P. (H v S) 13. If you are President then you’re commander-in-chief, and vice versa (P > C). (C > P)

14. They have neither croissants nor Danish today ~(C v D) 15. If they had croissants, I would not even want Danish as long as they have coffee. C > (O > ~D) 16. Danish and croissants are high in fat; if you want something healthy, you should have a blueberry muffin (D. C). (H > B)