Week 8 Discussion: Ch 8, 8.1-8.3 TA: Karin Howe PHIL 121 Spring 2012.

Slides:



Advertisements
Similar presentations
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.
Advertisements

Constructing a Truth Table
Symbolic Logic: The Language of Modern Logic
Chapter Two Symbolizing in Sentential Logic This chapter is a preliminary to the project of building a model of validity for sentential arguments. We.
Introductory Logic PHI 120 Presentation: "Intro to Formal Logic" Please turn off all cell phones!
Formal Semantics of S. Semantics and Interpretations There are two kinds of interpretation we can give to wffs: –Assigning natural language sentences.
Today’s Topics Logical Syntax Logical Syntax o Well-Formed Formulas o Dominant Operator (Main Connective) Putting words into symbols Putting words into.
Copyright 2013, 2010, 2007, Pearson, Education, Inc. Section 3.2 Truth Tables for Negation, Conjunction, and Disjunction.
Truth Trees Intermediate Logic.
6.1 Symbols and Translation
EE1J2 - Slide 1 EE1J2 – Discrete Maths Lecture 3 Syntax of Propositional Logic Parse trees revised Construction of parse trees Semantics of propositional.
Propositional Logic. Negation Given a proposition p, negation of p is the ‘not’ of p.
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.
Sentential Logic(SL) 1.Syntax: The language of SL / Symbolize 2.Semantic: a sentence / compare two sentences / compare a set of sentences 3.DDerivation.
1 Math 306 Foundations of Mathematics I Math 306 Foundations of Mathematics I Goals of this class Introduction to important mathematical concepts Development.
Let remember from the previous lesson what is Knowledge representation
Exam #1 is Friday. It will take the entire period. You do not need to bring an exam booklet; you’ll write directly on the exam. Outline: I. T/F, covering.
Propositional Logic USEM 40a Spring 2006 James Pustejovsky.
Phil 120 week 1 About this course. Introducing the language SL. Basic syntax. Semantic definitions of the connectives in terms of their truth conditions.
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.
Chapter 3 Introduction to Logic © 2008 Pearson Addison-Wesley. 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.
Adapted from Discrete Math
3.2 – Truth Tables and Equivalent Statements
Chapter 3 – Introduction to Logic The initial motivation for the study of logic was to learn to distinguish good arguments from bad arguments. Logic is.
Propositional Logic.
Intro to Discrete Structures
LDK R Logics for Data and Knowledge Representation Exercise 2: PL, ClassL, Ground ClassL.
Chapter 1: The Foundations: Logic and Proofs
1 Propositional Logic Proposition 2 Propositions can be divided into simple propositions and compound propositions. A simple (or basic) proposition is.
Advanced Topics in Propositional Logic Chapter 17 Language, Proof and Logic.
Logic Disjunction A disjunction is a compound statement formed by combining two simple sentences using the word “OR”. A disjunction is true when at.
Introductory Logic PHI 120 Presentation: “Basic Concepts Review "
HAWKES LEARNING Students Count. Success Matters. Copyright © 2015 by Hawkes Learning/Quant Systems, Inc. All rights reserved. Section 3.2 Truth Tables.
1 Predicate (Relational) Logic 1. Introduction The propositional logic is not powerful enough to express certain types of relationship between propositions.
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.
Thinking Mathematically
CS6133 Software Specification and Verification
Thinking Mathematically Statements, Negations, and Quantified Statements.
CS2351 Artificial Intelligence Bhaskar.V Class Notes on Knowledge Representation - Logical Agents.
Section 1.1 Propositions and Logical Operations. Introduction Remember that discrete is –the study of decision making in non-continuous systems. That.
Mathematics for Comter I Lecture 2: Logic (1) Basic definitions Logical operators Translating English sentences.
Albert Gatt LIN3021 Formal Semantics Lecture 3. Aims This lecture is divided into two parts: 1. We make our first attempts at formalising the notion of.
Propositional Logic Rather than jumping right into FOL, we begin with propositional logic A logic involves: §Language (with a syntax) §Semantics §Proof.
ARTIFICIAL INTELLIGENCE Lecture 2 Propositional Calculus.
Outline Logic Propositional Logic Well formed formula Truth table
CSE 20: Discrete Mathematics for Computer Science Prof. Shachar Lovett.
 2012 Pearson Education, Inc. Slide Chapter 3 Introduction to Logic.
Introductory Logic PHI 120 Presentation: "Truth Tables – Sentences"
 Statement - sentence that can be proven true or false  Truth value – true or false  Statements are often represented using letters such as p and q.
March 3, 2016Introduction to Artificial Intelligence Lecture 12: Knowledge Representation & Reasoning I 1 Back to “Serious” Topics… Knowledge Representation.
Section 3.2: Truth Tables for Negation, Conjunction, and Disjunction
Introduction to Logic © 2008 Pearson Addison-Wesley.
AND.
Truth Tables and Equivalent Statements
Truth Tables for Negation, Conjunction, and Disjunction
Chapter 3 Introduction to Logic 2012 Pearson Education, Inc.
CS201: Data Structures and Discrete Mathematics I
Chapter 3 Introduction to Logic 2012 Pearson Education, Inc.
Klenk's Tree Method for Determining the Truth Values of Statements
TRUTH TABLES.
Introductory Logic PHI 120
CS201: Data Structures and Discrete Mathematics I
2-2 Logic Vocab Statement: A sentence that is either true or false
Compounding.
Presentation transcript:

Week 8 Discussion: Ch 8, TA: Karin Howe PHIL 121 Spring 2012

Finding the Major Operator The major operator of a formula is the one that determines the overall form of the sentence (Klenk, Understanding Symbolic Logic, p. 30) Find the major operator in the following formulas: –A  B –(A B)  (C D) –[A  (B C)]  [A  (C D)]

WFFs (Well-Formed Formulas) WFF (pronounced "woof") stands for well-formed formula A well-formed formula in sentential logic is defined recursively as follows: 1)(Base clause) Any statement constant is a WFF 2)(Recursion clause) If  and  are any WFFs, then all the following are also WFFs: (a) (    ), (b) (    ), (c) (    ), (d) (    ), and (e) ~ . 3)(Closure clause) Nothing will count as a WFF unless it can be constructed according to clauses (1) and (2). (Formulas that are not constructed according to clauses (1) and (2) are called non-WFFs)

The Two Chunk Rule The Two Chunk Rule says: "Once more than one logical connective symbol (note: negations do not function as connectives!) is necessary to translate a statement, there must be punctuation that identifies the main connective of a symbolic statement. In addition, there cannot be any part of a statement in symbols that contains more than two statements, or chunks of statements, without punctuation." (Jim Schofield, Introduction to Logic, Onondaga Community College) Examples: –A  B  C(wrong!) –(A  B)  C(correct) –A  (B  C) (correct)

Why do we care about the major operator?? We care about the major operator because it tells us what kind of logical statement we are looking at. (e.g., if we see that the main connective is a " ," then we know that the statement is a disjunction) This is important in two different contexts (somewhat a preview of coming attractions): 1.Working With Truth Tables oIt lets us know what the truth values of the statement are at each line of the truth table. We look at the main connective to tell us the truth value of that statement as a whole (on each line of the truth table). 2.Working With Derivation Rules oIt tells us what derivation rules we can use on that statement - either to take it apart or to build it up (or to convert it into another logically equivalent statement).

Practice: WFFs and Finding the Major Operator 1.A 2.~~A 3.A ~C 4.~B  A 5.~(B  A) 6.~(~B  A) 7.A  B  C 8.(A  B)  ~C 9.~(~A  ~C) 10.~~A  ~C 11.~~(A  ~C) 12.B  ~(A  C) 13.A  ~(C  ~D)] 14.~(B  C)  ~D 15.B  ~(~B  A) 16.~[A  ~(B  ~D)] 17.(~C  B)  A  ~C 18.~(C  B)  (A  ~C) 19.~[C  B  (A  ~C)] 20.~(~C  B)  ~(A  ~C)

Truth Tables This week in class we learned the basic truth tables for the four basic operators we have so far: conjunction (  ), disjunction (  ), negation (~), and conditionals (  ) Every full truth table will have 2 n rows, where n = the number of atomic statements in the formula or argument (more on truth tables and arguments next week) We can use truth tables to assess the truth or falsity of statements under all possible truth value assignments

Example: (p  q)  r pqr p  q(p  q)  r TTTTT TTFTF TFTFT TFFFT FTTTT FTFTF FFTTT FFFTF

Practice! Build truth tables for the following statements 1.~(P  Q) 2.~P  Q 3.~(P  Q) 4.~P  ~Q 5.(P  Q)  (R  S) 6.[P  (R  S)]  [Q  (R  S)]

Another Method for Finding the Truth or Falsity of a Formula Sometimes, rather than trying to find out all the possible truth values of a particular formula, what we want to do is find out the truth value of the formula under a particular assignment of truth values. We could do a truth table to find out, using only that particular truth value assignment However, there is another (easier?) way to find out the truth or falsity of a formula, given a particular assignment of truth values

Klenk's Tree Method for Computing Truth Values 1.Place the truth values of the simple sentences immediately above the atomic formulas. (A, B, C, etc.) 2.Check the statement for any negations attached to atomic formulas (~A, ~B, ~C, etc.) Write the truth value for these negations immediately below them. 3.Starting with the smallest subformulas and working your way out, determine the truth values of each subformula based on the truth values of its subformulas and the truth table for the major operator of the subformula. Write these truth value below the subformula, connecting it to the atomic formulas with arrows. "Bring down" the truth values for any atomic formulas that remain to be dealt with. Repeat Step 3 until you have worked your way out to the major operator of the formula as a whole.

Example 1 ~{[(A  B)  Z]  [(B  Z)  ~A]} Let A and B be true, and let Z be false TTTTFFStep 1 F Step 2 FT T Step 3a Step 3b F F F Step 3c Step 3d T Done!!

Example 2 Let A and B be true, and let X, Y and Z be false ({[(A  B)  X]  Z}  Y)  {[(X  Z)  A]  X} TTTFFFFFF Step 1 Step 2 (skip) T TT FFF F Step 3a Step 3b F FFF T Step 3c TF F F Step 3d Step 3e T Done!!

Practice! A, B, C are true; X, Y, Z are false 1.(A  X)  (B  Y) 2.~B  ~(X  Y) 3.[X  (Y  Z)]  [(A  B)  C] 4.~{A  [~A  (~B  X)]} 5.({[(A  B)  X]  Z}  Y)  [(X  Z)  A]

Practice with Unknown Truth Values A, B, C are true; X, Y, Z are false; G, H, I are unknown 1.(G  H)  ~A 2.~~A  [X  (G  ~A)] 3.H  (G  H) 4.H  (G  ~G) 5.(X  Y)  [(G  A)  ~(X  Z)]