For 42 – 47: UD = everything; Ax = x is an apple; Nxy = x is in y; Px = x is a pear; Rx = x is rotten; b = the basket 42There are apples and pears in the.

Slides:



Advertisements
Similar presentations
Formal Semantics of S. Semantics and Interpretations There are two kinds of interpretation we can give to wffs: –Assigning natural language sentences.
Advertisements

Section 1.3. More Logical Equivalences Constructing New Logical Equivalences We can show that two expressions are logically equivalent by developing.
SL Truth value assignments. SL Truth value assignments PL Interpretation.
FOL Practice. Models A model for FOL requires 3 things: A set of things in the world called the UD A list of constants A list of predicates, relations,
Section 1.4: Nested Quantifiers We will now look more closely at how quantifiers can be nested in a proposition and how to interpret more complicated logical.
The Language P 8 9 ( 8 x) ( 9 y) ( 8 z) 9 8. Quantificational Logic Quantificational Logic: Quantificational Logic is the logic of sentences involving.
Proofs in Predicate Logic A rule of inference applies only if the main operator of the line is the right main operator. So if the line is a simple statement,
Exam #3 is Friday. It will consist of proofs, plus symbolizations in predicate logic.
March 10: Quantificational Notions Interpretations: Every interpretation interprets every individual constant, predicate, and sentence letter of PL. Our.
Review Test 5 You need to know: How to symbolize sentences that include quantifiers of overlapping scope Definitions: Quantificational truth, falsity and.
Sentential Logic(SL) 1.Syntax: The language of SL / Symbolize 2.Semantic: a sentence / compare two sentences / compare a set of sentences 3.DDerivation.
March 5: more on quantifiers We have encountered formulas and sentences that include multiple quantifiers: Take, for example: UD: People in Michael’s office.
Proving the implications of the truth functional notions  How to prove claims that are the implications of the truth functional notions  Remember that.
 x (x 2  0) 1. True2. False.  x (3x + 2 = 12) 1. True2. False.
The semantics of SL   Defining logical notions (validity, logical equivalence, and so forth) in terms of truth-value assignments   A truth-value assignment:
Ch 1.3: Quantifiers Open sentences, or predicates, are sentences that contain one or more variables. They do not have a truth value until variables are.
Formal Logic Mathematical Structures for Computer Science Chapter 1 Copyright © 2006 W.H. Freeman & Co.MSCS SlidesFormal Logic.
1Everyone that Michael likes likes either Henry or Sue 2Michael likes everyone that both Sue and Rita like 3Michael likes everyone that either Sue or Rita.
EE1J2 - Slide 1 EE1J2 – Discrete Maths Lecture 11 Introduction to Predicate Logic Limitations of Propositional Logic Predicates, quantifiers and propositions.
Introduction to Logic for Artificial Intelligence Lecture 2 Erik Sandewall 2010.
Predicates and Quantifiers
Chapter 1: The Foundations: Logic and Proofs
The Foundations: Logic and Proofs
Formal Logic Mathematical Structures for Computer Science Chapter Copyright © 2006 W.H. Freeman & Co.MSCS SlidesFormal Logic.
Proofs in Predicate Logic A rule of inference applies only if the main operator of the line is the right main operator. So if the line is a simple statement,
CSCE 4613 Artificial Inteligence
Predicates and Quantified Statements M , 3.2.
Quantifiers, Predicates, and Names Kareem Khalifa Department of Philosophy Middlebury College Universals, by Dena Shottenkirk.
1 Section 7.2 Equivalent Formulas Two wffs A and B are equivalent, written A  B, if they have the same truth value for every interpretation. Property:
© Jalal Kawash 2010Peeking into Computer Science George Boole English Mathematician His The Mathematical Analysis of Logic, 1848 is the first.
Chapter Three Truth Tables 1. Computing Truth-Values We can use truth tables to determine the truth-value of any compound sentence containing one of.
Chapter 1, Part II: Predicate Logic With Question/Answer Animations.
1Everyone that Michael likes likes either Henry or Sue 2Michael likes everyone that both Sue and Rita like 3Michael likes everyone that either Sue or Rita.
Hazırlayan DISCRETE COMPUTATIONAL STRUCTURES Propositional Logic PROF. DR. YUSUF OYSAL.
Selected Exercises of Sec. 1.2~Sec.1.4 Sec. 1.2 Exercise 41 p, q, r 중에 두 개가 참이면 참이 되고, 그 외 의 경우에는 거짓이 되는 복합명제를 구하 시오. Find a compound proposition involving.
Chapter 2 The Logic of Quantified Statements. Section 2.1 Intro to Predicates & Quantified Statements.
Nested Quantifiers Section 1.5.
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 Introduction to Abstract Mathematics Predicate Logic Instructor: Hayk Melikya Purpose of Section: To introduce predicate logic (or.
Lecture Predicates and Quantifiers 1.4 Nested Quantifiers.
Lecture 7 – Jan 28, Chapter 2 The Logic of Quantified Statements.
Discrete Mathematics CS 2610 August 22, Agenda Last class Propositional logic Logical equivalences This week Predicate logic & rules of inference.
Fall 2008/2009 I. Arwa Linjawi & I. Asma’a Ashenkity 1 The Foundations: Logic and Proofs Predicates and Quantifiers.
CSE (c) S. Tanimoto, 2008 Predicate Calculus II 1 Predicate Calculus 2 Outline: Unification: definitions, algorithm Formal interpretations and satisfiability.
1 CMSC 250 Chapter 2, Predicate Logic. 2 CMSC 250 Definitions l Subject / predicate John / went to the store. The sky / is blue. l Propositional logic-
80-210: Logic & Proofs July 30, 2009 Karin Howe
Chapter 9: Syntax and Semantics II : Logic & Proofs July 23, 2009 Karin Howe.
Lecture 041 Predicate Calculus Learning outcomes Students are able to: 1. Evaluate predicate 2. Translate predicate into human language and vice versa.
1 Introduction to Abstract Mathematics Chapter 3: The Logic of Quantified Statements. Predicate Calculus Instructor: Hayk Melikya 3.1.
Section 1.4. Propositional Functions Propositional functions become propositions (and have truth values) when their variables are each replaced by a value.
Section 1.5. Section Summary Nested Quantifiers Order of Quantifiers Translating from Nested Quantifiers into English Translating Mathematical Statements.
Review for Final Exam : Logic & Proofs August 6, 2009 Karin Howe.
Introduction to Predicates and Quantified Statements I Lecture 9 Section 2.1 Wed, Jan 31, 2007.
Chapter Eight Predicate Logic Semantics. 1. Interpretations in Predicate Logic An argument is valid in predicate logic iff there is no valuation on which.
Discrete Mathematical الرياضيات المتقطعة. Example 12 June OR Q(x,y): x+y=x-y a) Q(1,1): 2=0 False b) Q(2,0): 2+0=2-0 True c) Q(1,y): 1+y=1-y False(take.
Introduction to Discrete Mathematics Discrete Mathematics: is the part of mathematics devoted to the study of discrete objects. Discrete Mathematics is.
Lecture 1-3: Quantifiers and Predicates. Variables –A variable is a symbol that stands for an individual in a collection or set. –Example, a variable.
3. The Logic of Quantified Statements Summary
The Finite Universe Method
Chapter 1 The Foundations: Logic and Proofs
Today’s Topics Universes of Discourse
CS201: Data Structures and Discrete Mathematics I
Introduction to Predicates and Quantified Statements I
Proofs in Predicate Logic
Predicates and Quantifiers
Discrete Mathematics Lecture 4 Logic of Quantified Statements
Encoding Knowledge with First Order Predicate Logic
Encoding Knowledge with First Order Predicate Logic
CS201: Data Structures and Discrete Mathematics I
Encoding Knowledge with First Order Predicate Logic
Presentation transcript:

For 42 – 47: UD = everything; Ax = x is an apple; Nxy = x is in y; Px = x is a pear; Rx = x is rotten; b = the basket 42There are apples and pears in the basket 43The only pear in the basket is rotten 44There are at least two apples in the basket 45There are two (and only two) apples in the basket 46There are no more than two pears in the basket 47there are at least three apples in the basket

For 42 – 47: UD = everything; Ax = x is an apple; Nxy = x is in y; Px = x is a pear; Rx = x is rotten; b = the basket 42There are apples and pears in the basket  x(Px & Nxb) &  x(Ax & Nxb) 43The only pear in the basket is rotten 44There are at least two apples in the basket 45There are two (and only two) apples in the basket 46There are no more than two pears in the basket 47there are at least three apples in the basket

For 42 – 47: UD = everything; Ax = x is an apple; Nxy = x is in y; Px = x is a pear; Rx = x is rotten; b = the basket 42There are apples and pears in the basket  x(Px & Nxb) &  x(Ax & Nxb) 43The only pear in the basket is rotten  x(Px & Nxb & Rx 44There are at least two apples in the basket 45There are two (and only two) apples in the basket 46There are no more than two pears in the basket 47there are at least three apples in the basket

For 42 – 47: UD = everything; Ax = x is an apple; Nxy = x is in y; Px = x is a pear; Rx = x is rotten; b = the basket 42There are apples and pears in the basket  x(Px & Nxb) &  x(Ax & Nxb) 43The only pear in the basket is rotten  x(Px & Nxb & Rx &  y(Py & Nyb  y=x) ) 44There are at least two apples in the basket 45There are two (and only two) apples in the basket 46There are no more than two pears in the basket 47there are at least three apples in the basket

For 42 – 47: UD = everything; Ax = x is an apple; Nxy = x is in y; Px = x is a pear; Rx = x is rotten; b = the basket 42There are apples and pears in the basket  x(Px & Nxb) &  x(Ax & Nxb) 43The only pear in the basket is rotten  x(Px & Nxb & Rx &  y(Py & Nyb  y=x) ) 44There are at least two apples in the basket  x  y(Ax & Nxb & Ay & Nyb 45There are two (and only two) apples in the basket 46There are no more than two pears in the basket 47there are at least three apples in the basket

For 42 – 47: UD = everything; Ax = x is an apple; Nxy = x is in y; Px = x is a pear; Rx = x is rotten; b = the basket 42There are apples and pears in the basket  x(Px & Nxb) &  x(Ax & Nxb) 43The only pear in the basket is rotten  x(Px & Nxb & Rx &  y(Py & Nyb  y=x) ) 44There are at least two apples in the basket  x  y(Ax & Nxb & Ay & Nyb & x  y ) 45There are two (and only two) apples in the basket 46There are no more than two pears in the basket 47there are at least three apples in the basket

For 42 – 47: UD = everything; Ax = x is an apple; Nxy = x is in y; Px = x is a pear; Rx = x is rotten; b = the basket 42There are apples and pears in the basket  x(Px & Nxb) &  x(Ax & Nxb) 43The only pear in the basket is rotten  x(Px & Nxb & Rx &  y(Py & Nyb  y=x) ) 44There are at least two apples in the basket  x  y(Ax & Nxb & Ay & Nyb & x  y ) 45There are two (and only two) apples in the basket  x  y(Ax & Nxb & Ay & Nyb &  z(Az & Nzb  (z=y  z=x) & x  y ) 46There are no more than two pears in the basket 47there are at least three apples in the basket

For 42 – 47: UD = everything; Ax = x is an apple; Nxy = x is in y; Px = x is a pear; Rx = x is rotten; b = the basket 42There are apples and pears in the basket  x(Px & Nxb) &  x(Ax & Nxb) 43The only pear in the basket is rotten  x(Px & Nxb & Rx &  y(Py & Nyb  y=x) ) 44There are at least two apples in the basket  x  y(Ax & Nxb & Ay & Nyb & x  y ) 45There are two (and only two) apples in the basket  x  y(Ax & Nxb & Ay & Nyb &  z(Az & Nzb  (z=y  z=x) & x  y ) 46There are no more than two pears in the basket  x  y(Ax & Nxb & Ay & Nyb &  z(Az & Nzb  (z=y  z=x) ) 47there are at least three apples in the basket

For 42 – 47: UD = everything; Ax = x is an apple; Nxy = x is in y; Px = x is a pear; Rx = x is rotten; b = the basket 42There are apples and pears in the basket  x(Px & Nxb) &  x(Ax & Nxb) 43The only pear in the basket is rotten  x(Px & Nxb & Rx &  y(Py & Nyb  y=x) ) 44There are at least two apples in the basket  x  y(Ax & Nxb & Ay & Nyb & x  y ) 45There are two (and only two) apples in the basket  x  y(Ax & Nxb & Ay & Nyb &  z(Az & Nzb  (z=y  z=x) ) 46There are no more than two pears in the basket  x  y(Ax & Nxb & Ay & Nyb &  z(Az & Nzb  (z=y  z=x) ) 47there are at least three apples in the basket  x  y  z (Ax & Ay & Az & Nxb & Nyb & Nzb & x  y & x  z & z  y )

For 42 – 47: UD = everything; Ax = x is an apple; Nxy = x is in y; Px = x is a pear; Rx = x is rotten; b = the basket 42There are apples and pears in the basket  x(Px & Nxb) &  x(Ax & Nxb) 43The only pear in the basket is rotten  x(Px & Nxb & Rx &  y(Py & Nyb  y=x) ) 44There are at least two apples in the basket  x  y(Ax & Nxb & Ay & Nyb & x  y ) 45There are two (and only two) apples in the basket  x  y(Ax & Nxb & Ay & Nyb &  z(Az & Nzb  (z=y  z=x) ) 46There are no more than two pears in the basket  x  y(Ax & Nxb & Ay & Nyb &  z(Az & Nzb  (z=y  z=x) ) 47there are at least three apples in the basket  x  y  z (Ax & Ay & Az & Nxb & Nyb & Nzb & x  y & x  z & z  y ) 48there are at most three apples in the basket  x  y  z (Ax & Ay & Az & Nxb & Nyb & Nzb & &  w(Aw & Nwb  w=x  w=y  w=z) )

SL Truth value assignments

SL Truth value assignments PL Interpretation

SL Truth value assignments PL Interpretation Giving an interpretation means defining: UD

SL Truth value assignments PL Interpretation Giving an interpretation means defining: UD Predicates

SL Truth value assignments PL Interpretation Giving an interpretation means defining: UD Predicates Constants

SL Truth value assignments PL Interpretation Giving an interpretation means defining: UD Predicates Constants Of course, we do not define variables

Truth values of PL sentences are relative to an interpretation

Truth values of PL sentences are relative to an interpretation Examples: Fa Fx = x is human a = Socrates Bab

Truth values of PL sentences are relative to an interpretation Examples: Fa Fx = x is humanFx = x is handsomea = Socrates Bab

Truth values of PL sentences are relative to an interpretation Examples: Fa Fx = x is humanFx = x is handsomea = Socrates Bab Bxy = x is bigger than y a = Himalayas b = Alpes

Truth values of PL sentences are relative to an interpretation Examples: Fa Fx = x is humanFx = x is handsomea = Socrates Bab Bxy = x is bigger than ya = Himalayas b = Alpesb = the moon

Truth values of PL sentences are relative to an interpretation Examples: Fa Fx = x is humanFx = x is handsomea = Socrates Bab Bxy = x is bigger than y a = Himalayasa = Himalayas a = Himalayas b = Alpesb = the moon b = Himalayas

Truth values of PL sentences are relative to an interpretation Examples: Fa Fx = x is humanFx = x is handsomea = Socrates Bab Bxy = x is bigger than y a = Himalayasa = Himalayas a = Himalayas b = Alpesb = the moon b = Himalayas No constant can refer to more than one individual!

Truth values of PL sentences are relative to an interpretation Examples: Fa Bab ~  xFx UD = food Fx = x is in the fridge

Truth values of PL sentences are relative to an interpretation Examples: Fa Bab ~  xFx UD = food Fx = x is in the fridge UD = everything Fx = x is in the fridge

Extensional definition of predicates Predicates are sets

Extensional definition of predicates Predicates are sets Their members are everything they are true of

Extensional definition of predicates Predicates are sets Their members are everything they are true of Predicates are defined relative to a UD

Extensional definition of predicates Predicates are sets Their members are everything they are true of Predicates are defined relative to a UD Example: UD = natural numbers Ox = x is odd O = {1,3,5,7,9,...}

Extensional definition of predicates Predicates are sets Their members are everything they are true of Predicates are defined relative to a UD Example: UD = natural numbers Ox = x is odd Ox = {1,3,5,7,9,...} Bxy = x>y Bxy = {(2,1), (3,1), (3,2),...}

Extensional definition of predicates Predicates are sets Their members are everything they are true of Predicates are defined relative to a UD Example: UD = natural numbers Ox = x is oddBxyz = x is between y and z Ox = {1,3,5,7,9,...} Bxyz = {(2,1,3), (3,2,4),...} Bxy = x>y Bxy = {(2,1), (3,1), (3,2),...}

Extensional definition of predicates Predicates are sets Their members are everything they are true of Predicates are defined relative to a UD Example: UD = natural numbers Ox = x is oddBxyz = x is between y and z Ox = {1,3,5,7,9,...} Bxyz = {(2,1,3), (3,2,4),...} Bxy = x>yBxyz = y is between x and z Bxy = {(2,1), (3,1), (3,2),...}Bxyz = {(1,2,3), (2,3,4),...}

(An & Bmn)  ~ Cn UD: All positive integers Ax: x is odd Bxy: x is bigger than y Cx: x is prime m: 2 n: 1 Truth-values of compound sentences

(An & Bmn)  ~ Cn UD: All positive integers Ax: x is odd Bxy: x is bigger than y Cx: x is prime m: 2 n: 1 Truth-values of compound sentences UD: All positive integers Ax: x is even Bxy: x is bigger than y Cx: x is prime m: 2 n: 1

Truth-values of quantified sentences Birds fly UD = birds  xFx

Truth-values of quantified sentences Birds fly UD = birds  xFx Fa Fb Fc : Ftwooty :

Truth-values of quantified sentences Birds fly UD = birdsUD = everything  xFx  x(Bx  Fx) Fa Fb Fc : Ftwooty :

Truth-values of quantified sentences Birds fly UD = birdsUD = everything  xFx  x(Bx  Fx) FaBa  Fa FbBb  Fb FcBc  Fc: FtwootyBtwootie  Ftwootie:

Truth-values of quantified sentences Birds flySome birds don’t fly UD 1 = birdsUD 2 = everythingUD 1  xFx  x(Bx  Fx)  x~Fx FaBa  Fa FbBb  Fb FcBc  Fc: FtwootyBtwootie  Ftwootie:

Truth-values of quantified sentences Birds flySome birds don’t fly UD 1 = birdsUD 2 = everythingUD 1  xFx  x(Bx  Fx)  x~Fx FaBa  Fa~Ftwootie FbBb  Fb FcBc  Fc: FtwootyBtwootie  Ftwootie:

Truth-values of quantified sentences Birds flySome birds don’t fly UD 1 = birdsUD 2 = everythingUD 1  xFx  x(Bx  Fx)  x~Fx FaBa  Fa~Ftwootie FbBb  Fb FcBc  FcUD 2 ::  x(Bx & ~Fx) FtwootyBtwootie  FtwootieBt & ~Ft:

Truth-values of quantified sentences  xFx Fa & Fb & Fc &...

Truth-values of quantified sentences  xFx Fa & Fb & Fc &...  xBx Fa  Fb  Fc ...

Truth-values of quantified sentences (  x)(Ax  (  y)Lyx)

Truth-values of quantified sentences (  x)(Ax  (  y)Lyx) UD 1 : positive integers Ax: x is odd Lxy: x is less than y

Truth-values of quantified sentences (  x)(Ax  (  y)Lyx) UD 1 : positive integers Ax: x is odd Lxy: x is less than y UD 2 : positive integers Ax: x is even Lxy: x is less than y

Truth-values of quantified sentences (  x)(Ax  (  y)Lyx) UD 1 : positive integers Ax: x is odd Lxy: x is less than y UD 2 : positive integers Ax: x is even Lxy: x is less than y (  x)(  y)(Lxy & ~Ax)

Va & (  x) (Lxa  ~ Exa) UD 1 : positive integers Vx: x is even Lxy: x is larger than y Exy: x is equal to y a:2 UD 2 : positive integers Vx: x is odd Lxy: x is less than y Exy: x is equal to y a:1 UD 3 : positive integers Vx: x is odd Lxy: x is larger than or equal to y Exy: x is equal to y a: 1

A sentence P of PL is quantificationally true if and only if P is true on every possible interpretation. A sentence P of PL is quantificationally false if and only if P is false on every possible interpretation. A sentence P of PL is quantificationally indeterminate if and only if P is neither quantificationally true nor quantificationally false. Quantificational Truth, Falsehood, and Indeterminacy

A sentence P of PL is quantificationally true if and only if P is true on every possible interpretation. Quantificational Truth, Falsehood, and Indeterminacy Explain why the following is quantificationally true. ~ (  x) (Ax ≡ ~Ax)

A sentence P of PL is quantificationally false if and only if P is false on every possible interpretation. Quantificational Truth, Falsehood, and Indeterminacy Explain why the following is quantificationally false: (  x)Ax & (  y) ~Ay

A sentence P of PL is quantificationally indeterminate if and only if P is neither quantificationally true nor quantificationally false. Quantificational Truth, Falsehood, and Indeterminacy Show that the following is quantificationally indeterminate: (Ac & Ad) & (  y) ~Ay

Sentences P and Q of PL are quantificationally equivalent if and only if there is no interpretation on which P and Q have different truth values. A set of sentences of PL is quantificationally consistent if and only if there is at least one interpretation on which all members are true. A set of sentences of PL is quantificationally inconsistent if and only if it is not quantificationally consistent, i.e. if and only if there is no interpretation on which all members have the same truth value. Quantificational Equivalence and Consistency

A set  of sentences of PL quantificationally entails a sentence P of PL if and only if there is no interpretation on which all the members of  are true and P is false. An argument is quantificationally valid if and only if there is no interpretation on which every premise is true yet the conclusion false. Quantificational Entailment and Validity