Quantifiers, Predicates, and Names Kareem Khalifa Department of Philosophy Middlebury College Universals, by Dena Shottenkirk.

Slides:



Advertisements
Similar presentations
Reason and Argument Chapter 7 (1/2).
Advertisements

Artificial Intelligence in the 21 st Century S. Lucci / D. Kopec Chapter 5: Logic in Artificial Intelligence 1.
Exam #3 will be given on Monday Nongraded Homework: Now that we are familiar with the universal quantifier, try
Refutation, Part 1: Counterexamples & Reductio Kareem Khalifa Philosophy Department Middlebury College.
L41 Lecture 2: Predicates and Quantifiers.. L42 Agenda Predicates and Quantifiers –Existential Quantifier  –Universal Quantifier 
CAS LX 502 8a. Formal semantics Truth and meaning The basis of formal semantics: knowing the meaning of a sentence is knowing under what conditions.
1 Logic What is it?. 2 Formal logic is the science of deduction. It aims to provide systematic means for telling whether or not given conclusions follow.
RMIT University; Taylor's College This is a story about four people named Everybody, Somebody, Anybody and Nobody. There was an important job to be done.
For Wednesday, read chapter 6, section 1. As nongraded HW, do the problems on p Graded Homework #7 is due on Friday at the beginning of class. In.
For Friday, read chapter 6, section 2. As nongraded HW, do the problems on p Graded Homework #7 is due on Friday at the beginning of class.
Today’s Topics Relational predicates Multiple quantification Expansions of relational predicates.
Review Test 5 You need to know: How to symbolize sentences that include quantifiers of overlapping scope Definitions: Quantificational truth, falsity and.
March 5: more on quantifiers We have encountered formulas and sentences that include multiple quantifiers: Take, for example: UD: People in Michael’s office.
Existential Introduction Kareem Khalifa Department of Philosophy Middlebury College.
Formal Logic Mathematical Structures for Computer Science Chapter 1 Copyright © 2006 W.H. Freeman & Co.MSCS SlidesFormal Logic.
PL continued: Quantifiers and the syntax of PL 1. Quantifiers of PL 1. Quantifier symbols 2. Variables used with quantifiers 2. Truth functional compounds.
Logical and Rule-Based Reasoning Part I. Logical Models and Reasoning Big Question: Do people think logically?
Predicate-Argument Structure Monadic predicates: Properties Dyadic predicate: Binary relations Polyadic Predicates: Relations with more then two arguments.
FIRST ORDER LOGIC Levent Tolga EREN.
Predicate Logic What is a predicate? A property that can be attributed to --or said of –a thing. Being greenBeing contingent Being four feet tall Being.
Predicates and Quantifiers
Predicates & Quantifiers Goal: Introduce predicate logic, including existential & universal quantification Introduce translation between English sentences.
The Foundations: Logic and Proofs
Logical Equivalence & Predicate Logic
Formal Logic Mathematical Structures for Computer Science Chapter Copyright © 2006 W.H. Freeman & Co.MSCS SlidesFormal Logic.
Existential Elimination Kareem Khalifa Department of Philosophy Middlebury College 
1st-order Predicate Logic (FOL)
(CSC 102) Lecture 7 Discrete Structures. Previous Lectures Summary Predicates Set Notation Universal and Existential Statement Translating between formal.
Logic & Propositions Kareem Khalifa Department of Philosophy Middlebury College.
Section 1.5. Section Summary Nested Quantifiers Order of Quantifiers Translating from Nested Quantifiers into English Translating Mathematical Statements.
Predicate Logic Splitting the Atom.
Chapter 1, Part II: Predicate Logic With Question/Answer Animations.
Symbolic Language and Basic Operators Kareem Khalifa Department of Philosophy Middlebury College.
PART TWO PREDICATE LOGIC. Chapter Seven Predicate Logic Symbolization.
The Science of Good Reasons
Chapter 1, Part II: Predicate Logic With Question/Answer Animations.
1 Introduction to Computational Linguistics Eleni Miltsakaki AUTH Spring 2006-Lecture 8.
(CSC 102) Lecture 8 Discrete Structures. Previous Lectures Summary Predicates Set Notation Universal and Existential Statement Translating between formal.
1 Introduction to Abstract Mathematics Chapter 2: The Logic of Quantified Statements. Predicate Calculus Instructor: Hayk Melikya 2.3.
1 Sections 1.3 and 1.4 Predicates & Quantifiers. 2 Propositional Functions In a mathematical assertion, such as x < 3, there are two parts: –the subject,
1 Introduction to Abstract Mathematics Predicate Logic Instructor: Hayk Melikya Purpose of Section: To introduce predicate logic (or.
For Wednesday Read chapter 9, sections 1-3 Homework: –Chapter 7, exercises 8 and 9.
CS 285- Discrete Mathematics Lecture 4. Section 1.3 Predicate logic Predicate logic is an extension of propositional logic that permits concisely reasoning.
For Friday Read chapter 8 Homework: –Chapter 7, exercises 2 and 10 Program 1, Milestone 2 due.
Predicates and Quantifiers Dr. Yasir Ali. 1.Predicates 2.Quantifiers a.Universal Quantifiers b.Existential Quantifiers 3.Negation of Quantifiers 4.Universal.
Copyright © Peter Cappello 2011 Predicates & Quantifiers.
Week 4 - Friday.  What did we talk about last time?  Floor and ceiling  Proof by contradiction.
1 Outline Quantifiers and predicates Translation of English sentences Predicate formulas with single variable Predicate formulas involving multiple variables.
Predicate Logic Although Propositional Logic is complete... It is still inadequate.
1 Chapter 2.1 Chapter 2.2 Chapter 2.3 Chapter 2.4 All images are copyrighted to their respective copyright holders and reproduced here for academic purposes.
Lecture 041 Predicate Calculus Learning outcomes Students are able to: 1. Evaluate predicate 2. Translate predicate into human language and vice versa.
Chapter Ten Relational Predicate Logic. 1. Relational Predicates We now broaden our coverage of predicate logic to include relational predicates. This.
1 Section 7.1 First-Order Predicate Calculus Predicate calculus studies the internal structure of sentences where subjects are applied to predicates existentially.
Propositional Logic. Assignment Write any five rules each from two games which you like by using propositional logic notations.
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.
COT 3100, Spring 2001 Applications of Discrete Structures
Symbolic Language and Basic Operators
Predicate Logic Lecture 7.
Predicate Logic Splitting the Atom.
The Foundations: Logic and Proofs
Existential Elimination
CS201: Data Structures and Discrete Mathematics I
Discrete Mathematics Lecture 4 & 5: Predicate and Quantifier
Universal Elimination
Discrete Mathematics Lecture 4 & 5: Predicate and Quantifier
Predicates and Quantifiers
CS201: Data Structures and Discrete Mathematics I
Logical and Rule-Based Reasoning Part I
Introduction to Computational Linguistics
Presentation transcript:

Quantifiers, Predicates, and Names Kareem Khalifa Department of Philosophy Middlebury College Universals, by Dena Shottenkirk

Quick thing about typing hypothetical derivations

Overview What is quantification/predicate logic? Why this matters Singular Propositions Universal and Existential Propositions Exercises

What is predicate logic? To this point, we’ve been studying propositional logic. –This means that our smallest units of logical analysis are whole sentences. Predicate logic studies the relations between names, predicates, and quantifiers. –Names: Refer to individual people, places and things. Ex. ‘Khalifa,’ ‘Middlebury,’ ‘This computer’ –Predicates: Refer to properties of and relations between people, places, and things. Ex. ‘…is a professor.’ ‘…teaches at…,’ etc. –Quantifiers: Logical operators that reflect relations between subjects and predicates. Ex. “All” and “Some”

Example Khalifa is a professor. Khalifa works at Middlebury. Everybody who is a professor and works at Middlebury teaches at Middlebury. So Khalifa teaches at Middlebury. Name PredicateQuantifier

Why does predicate logic matter? There are many inferences whose validity cannot be captured by propositional logic. –All men are mortal. Socrates is a man. So Socrates is mortal. –A, S ├ M is clearly invalid! Predicate logic gives us a way of tying together names, predicates, and quantifiers so that we can discern the validity of these inferences. –In this example, it tells us that there are special ways of using “All” that will make this inference valid. More on this later…

Singular Propositions The most basic proposition in predicate logic is one in which something is predicated of an individual name(s). –Examples. Socrates is a man. Khalifa is a professor. Khalifa teaches at Middlebury. Names are represented as lowercase letters a through t. –s = Socrates; k = Khalifa; m = Middlebury Predicates are represented with capital letters. –Some predicates are one-place predicates: M = is a man; P = is a professor. –Others are n-place predicates: T = teaches at.

Proper notation for singular propositions PREDICATE, then NAME(S) = PROPOSITION. –Socrates is a man: Ms –Khalifa is a professor: Pk –Khalifa teaches at Middlebury: Tkm With n-place predicates, order of names matters. –Tmk means “Middlebury teaches at Khalifa.” This is nonsense! Furthermore, it’s ungrammatical to write a name followed by a predicate. –kP Professor, Khalifa is.

Since these are propositions… You can apply all of the logical connectives from propositional logic to them. Khalifa is a professor and teaches at Middlebury. –Pk & Tkm Either Khalifa is a professor or he is a god. –Pk v Gk Etc.

Propositional functions We use the letters u through z to denote variables for names. When we have a predicate followed by variables, we have a propositional function. –Mx, Px, Txy The best way to understand variables is as equivalent to the English word “thing.” Without quantifiers, these are not grammatical. –Thing is mortal, Thing is professor, Thing teaches at other thing.

Quantifiers Two kinds: –Universal: represented either as (x) or as  x: “For all x…” –Existential:  x: “There is at least one x such that…” These are also not propositions by themselves. However, quantifiers plus propositional functions are propositions. –  xBx= Everything is beautiful. –  xPx = Someone is a professor. –  xRxk = Somebody respects Khalifa.

How to interpret “is/are” in predicate logic:  We make many universal statements using “is” and “are” (  ) –Every student is happy. –All dogs are mammals. We represent “is” and “are” using  –Every student is happy =  x(Sx  Hx) –All dogs are mammals =  x(Dx  Mx) Literally, this says –For all x, if x is a student, then x is happy. –For all x, if x is a dog, then x is a mammal.

How to interpret “is/are” in predicate logic:  We also use “is” and “are” with existential quantifiers (  ) –At least one student is happy. –Some dogs are beagles. Here “is” and “are” are represented by “&” –At least one student is happy =  x(Sx&Hx) –Some dogs are beagles =  x(Dx&Bx) Literally: –There is at least one x such that x is a student and x is happy. –There is at least one x such that x is a dog and x is happy.

Some important English expressions formalized Nothing is an F = Everything is a non-F. –~  xFx   x~Fx Something is a non-F = Not everything is F. –  x~Fx  ~  xFx No F’s are G’s = Every F is a non-G. –~  x(Fx&Gx)   x(Fx  ~Gx) Some F’s are non-G’s = Not all F’s are G’s. –  x(Fx&~Gx)  ~  x(Fx  Gx)

Something that doesn’t track with ordinary language  x(Fx  Gx) –There is at least one x such that if x is F, then x is G. Example: –There exists a thing such that if it is an angel, then it is beautiful. –This might be true of nearly anything. If my hand is an angel, then it is beautiful. If beer is an angel, then it is beautiful. Etc.

Similarly…  x(Fx&Gx) says something very different than  x(Fx  Gx) The first statement says that everything is F&G. The second only says that everything that’s already an F is a G. Compare: –Everything’s funky and good. –Everything funky is good.

n-place predicates As we’ve already seen, there are predicates that involve multiple names. –Khalifa teaches at Middlebury = Tkm Quantifiers also apply to these, e.g. –  xTxm = Someone teaches at Middlebury. –  xTkx = Khalifa teaches somewhere –  x  yTxy = Someone teaches somewhere –  x  yTxy = Everyone teaches somewhere

A few nuances with n-place predicates If you use one variable for an n-place predicate, you often get a reflexive relationship, e.g. –  xLxx = Someone loves him/herself. Using two variables is compatible with, but does not entail, a reflexive relationship, e.g. –  x  yLxy = Someone loves someone, but x and y could refer to the same person.

Be mindful of the scope of the quantifier There’s a big difference between the following: –  x  yLxy &  x  y~Lxy Imagine four people (a-d); a is to the left of b, and c is not to the left of d –  x  y(Lxy & ~Lxy) Imagine two people; a is both to the left and not to the left of b –So the second sentence is a contradiction.

Mixing existential and universal quantifiers Always keep quantifiers as close to the variables they govern. Compare the following: –  x(  yLxy  Hx) = All lovers are happy. For all x, if x loves some y, then x is happy. –  x  y(Lxy  Hx)  Everyone has something that if they loved it, it would make them happy. For all x, there exists some y, such that if x loves y, then x is happy.

Example of the difference  x(  yLxy  Hx). –Jack loves Jill, so Jack is happy.  x  y(Lxy  Hx) –Jack doesn’t love Jill, but if he did, he would be happy.

With n-place predicates, order of quantifiers matters Consider two expressions: –  x  yLxy = There’s some x such that, for all y, x loathes y –  y  xLxy = For all y, there’s some x such that x loathes y The first requires a single person that loathes everything. The second requires that everything is loathed by at least one person, but this need not be the same person.

Exercise Beth is fortunate. So is Carl. Therefore both Carl and Beth are fortunate. Fb, Fc |- Fc & Fb

6.1.7 Everything good is praiseworthy. Healing is good. Therefore healing is praiseworthy.  x(Gx→Px), Gh ├ Ph

Not all acts are just. Therefore there are acts that are not just. ~  x(Ax→Jx) ├  x(Ax & ~Jx)

If Beth loves and respects Al, then Al is fortunate. But then Beth does not love Al, since Al is not fortunate, though Beth respects him. (Lba & Rba)→Fa, ~Fa & Rba ├ ~Lba

Al loves anything that Beth loves. Beth loves Al. Therefore Al loves something.  x(Lbx → Lax), Lba ├  xLax

Al respects a thing if and only if it does not respect itself. Ergo, happiness is maximized.  x(Rax ↔ ~Rxx) ├ H