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.

Slides:



Advertisements
Similar presentations
Biointelligence Lab School of Computer Sci. & Eng.
Advertisements

Formal Semantics of S. Semantics and Interpretations There are two kinds of interpretation we can give to wffs: –Assigning natural language sentences.
L41 Lecture 2: Predicates and Quantifiers.. L42 Agenda Predicates and Quantifiers –Existential Quantifier  –Universal Quantifier 
Predicate Logic and the language PL  In SL, the smallest unit is the simple declarative sentence.  But many arguments (and other relationships between.
Computability and Complexity 9-1 Computability and Complexity Andrei Bulatov Logic Reminder (Cnt’d)
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.
Predicate Logic (PL) 1.Syntax: The language of PL Formula VS. Sentence Symbolize A-, E, I-, and O-sentences 2.Semantic: a sentence compare two sentences.
March 5: more on quantifiers We have encountered formulas and sentences that include multiple quantifiers: Take, for example: UD: People in Michael’s office.
1 Relational Algebra and Calculus Yanlei Diao UMass Amherst Feb 1, 2007 Slides Courtesy of R. Ramakrishnan and J. Gehrke.
PL continued: Quantifiers and the syntax of PL 1. Quantifiers of PL 1. Quantifier symbols 2. Variables used with quantifiers 2. Truth functional compounds.
Sets.
Predicates and Quantifiers
Debbie Mueller Mathematical Logic Spring English sentences take the form Q A B Q is a determiner expression  the, every, some, more than, at least,
22 March 2009Instructor: Tasneem Darwish1 University of Palestine Faculty of Applied Engineering and Urban Planning Software Engineering Department Formal.
The Foundations: Logic and Proofs
ARTIFICIAL INTELLIGENCE [INTELLIGENT AGENTS PARADIGM] Professor Janis Grundspenkis Riga Technical University Faculty of Computer Science and Information.
Logic Specification and Z Schema 3K04 McMaster. Basic Logic Operators Logical negation ( ¬ ) Logical conjunction ( Λ or & ) Logical disjunction ( V or.
Math 3121 Abstract Algebra I Section 0: Sets. The axiomatic approach to Mathematics The notion of definition - from the text: "It is impossible to define.
First Order Logic Chapter 7. PL is a Weak Representational Language §Propositional Logic (PL) is not a very expressive language because: §Hard to identify.
Atomic Sentences Chapter 1 Language, Proof and Logic.
1st-order Predicate Logic (FOL)
The Language S : Æ Ç ! $.
Mathematical Preliminaries (Hein 1.1 and 1.2) Sets are collections in which order of elements and duplication of elements do not matter. – {1,a,1,1} =
Chapter 1, Part II: Predicate Logic With Question/Answer Animations.
CMPF144 FUNDAMENTALS OF COMPUTING THEORY Module 5: Classical Logic.
PART TWO PREDICATE LOGIC. Chapter Seven Predicate Logic Symbolization.
Introduction to Quantification Chapter 9 Language, Proof and Logic.
Copyright © Cengage Learning. All rights reserved. CHAPTER 3 THE LOGIC OF QUANTIFIED STATEMENTS THE LOGIC OF QUANTIFIED STATEMENTS.
Chapter 1, Part II: Predicate Logic With Question/Answer Animations.
1 Predicate (Relational) Logic 1. Introduction The propositional logic is not powerful enough to express certain types of relationship between propositions.
DISCRETE COMPUTATIONAL STRUCTURES
1 Introduction to Computational Linguistics Eleni Miltsakaki AUTH Spring 2006-Lecture 8.
Key Concepts Representation Inference Semantics Discourse Pragmatics Computation.
First Order Logic Dr. Rogelio Dávila Pérez Professor - Researcher Information Technologies Department ITESM, Campus Guadalajara.
Lecture 4: Predicates and Quantifiers; Sets.
1 Introduction to Abstract Mathematics Predicate Logic Instructor: Hayk Melikya Purpose of Section: To introduce predicate logic (or.
1 Georgia Tech, IIC, GVU, 2006 MAGIC Lab Rossignac Lecture 02: QUANTIFIERS Sections 1.3 and 1.4 Jarek Rossignac CS1050:
Discrete Mathematics CS 2610 August 22, Agenda Last class Propositional logic Logical equivalences This week Predicate logic & rules of inference.
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.
第 1 6 章 谓词演算中的归结. 2 Outline Unification Predicate-Calculus Resolution Completeness and Soundness Converting Arbitrary wffs to Clause Form Using Resolution.
For Friday Read chapter 8 Homework: –Chapter 7, exercises 2 and 10 Program 1, Milestone 2 due.
Copyright © Cengage Learning. All rights reserved. Fundamental Concepts of Algebra 1.1 Real Numbers.
Fundamental Concepts of Algebra
Predicate Logic One step stronger than propositional logic Copyright © Curt Hill.
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.
EEL 5937 Content languages EEL 5937 Multi Agent Systems Lecture 10, Feb. 6, 2003 Lotzi Bölöni.
PREDICATES AND QUANTIFIERS COSC-1321 Discrete Structures 1.
Section 1.4. Propositional Functions Propositional functions become propositions (and have truth values) when their variables are each replaced by a value.
Metalogic Soundness and Completeness. Two Notions of Logical Consequence Validity: If the premises are true, then the conclusion must be true. Provability:
Discrete Mathematical Structures: Theory and Applications 1 Logic: Learning Objectives  Learn about statements (propositions)  Learn how to use logical.
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.
Chapter 2 1. Chapter Summary Sets The Language of Sets - Sec 2.1 – Lecture 8 Set Operations and Set Identities - Sec 2.2 – Lecture 9 Functions and sequences.
DISCRETE COMPUTATIONAL STRUCTURES CSE 2353 Fall 2010 Most slides modified from Discrete Mathematical Structures: Theory and Applications by D.S. Malik.
Chapter 2 Sets and Functions.
Lecture 1 – Formal Logic.
Chapter 3 The Logic of Quantified Statements
Testing simple quantification schemas for satisfiability
Discrete Structure II: Introduction
The Foundations: Logic and Proofs
CS201: Data Structures and Discrete Mathematics I
Copyright © Cengage Learning. All rights reserved.
1st-order Predicate Logic (FOL)
Predicates and Quantifiers
Logics for Data and Knowledge Representation
CS201: Data Structures and Discrete Mathematics I
1st-order Predicate Logic (FOL)
Presentation transcript:

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 quantifiers, predicates, and names. We will study the properties which arguments and sentences have in virtue of their quantificational structure.

Predicates and Singular Terms Socrates is human Plato is human Socrates is bald The inventor of Velcro is bald The inventor of Velcro kills Plato Socrates kills Socrates Seven is less than twenty Socrates introduces Plato to the inventor of Velcro The least prime number is between seven and twenty

Singular Terms Singular Term: A singular term is a word or phrase which designates or is supposed to designate some individual object. Natural language singular terms are either proper nouns or definite descriptions (a phrase which is supposed to designate an object via a unique description of it). From the previous slide: Socrates Plato the inventor of Velcro seven twenty the least prime number

Predicates Predicate: A predicate is a series of words with one or more blanks which yields a sentence when all its blanks are filled with singular terms. Conversely, we could think of a predicate as what remains after removing one or more singular terms from a sentence. From the earlier slide: ___ is human ___ is bald ___ kills … ___ is less than … ___ introduces … to ___ is between … and - - -

Predicate Letters and Constants We will use uppercase letters A-Z (with or without super- and subscripts) as predicates of P We will use lowercase letters a-v (with or without subscripts) as constants of P to represent proper nouns (definite descriptions will receive a special analysis) We will use lowercase letters w-z (with or without subscripts) as variables (to be discussed later)

Interpretation in P Interpretation in P: An interpretation in P consists of 3 components: 1)a non-empty universe of discourse (UD) specifying the range of the variables (i.e., the things about which we’ll be talking) 2)an interpretation of the predicate letters, either via a translation key, or a specification of extensions 3)an interpretation of the constants via an assignment of objects from the UD to constants such that a)every individual constant is interpreted, and b)no individual constant is allowed more than one interpretation

An Interpretation B  :  is bald H  :  is human K  :  kills  L  :  is less than  B  :  is between  and  e:eleven l:Plato p:Plato s:Socrates t:twenty v:seven UD:All people and all positive integers

Pronouns and Quantifiers You see, a pronoun was made to take the place of a noun ’Cause saying all those nouns over and over can really wear you down! —Albert Andreas Armadillo in “Rufus Xavier Sarsaparilla” Schoolhouse Rock

Eliminable Pronouns (Pronouns of Laziness) Socrates was human, and he killed himself Socrates was human, and Socrates killed Socrates Da Vinci painted the Mona Lisa and now he is considered a great artist and it is considered a masterpiece Da Vinci painted the Mona Lisa and now Da Vinci is considered a great artist and the Mona Lisa is considered a masterpiece Rufus Xavier Sarsaparilla found a kangaroo that followed him home and now it belongs to him Rufus Xavier Sarsaparilla found a kangaroo that followed Rufus Xavier Sarsaparilla home, and now the kangaroo that Rufus Xavier Sarsaparilla found belongs to Rufus Xavier Sarsaparilla

Ineliminable Pronouns Any student caught cheating will have her name published and she will be expelled ?Any student caught cheating will have Susie’s name published and Susie will be expelled ?Any student caught cheating will have any student’s name published and any student will be expelled Every thing is such that, if it is a student and it is caught cheating, then it will have its name published and it will be expelled

Ineliminable Pronouns Some student was caught cheating and she had her name published and she was expelled –Some student was caught cheating and Susie’s had Susie’s name published and Susie was expelled –Some student was caught cheating and some student had some student’s name published and some student was expelled Some thing is such that, it is a student and it was caught cheating and it had its name published and it was expelled

Example Quantifiers ( 8 x)Universal x-quantifier: all (objects, things) x are such that… for all x… every (thing) x is such that… ( 9 x)Existential x-quantifier: there exists at least one (thing) x such that… (for) some x… at least one x is such that…

The Symbols of P Predicate Letters: Individual Terms: Individual Constants: a, b,…, v, a 1,…, v 1, a 2,… Individual Variables: w, x, y, z, w 1, x 1, y 1, z 1, w 2,…

The Symbols of P Truth-Functional Connectives: : Æ Ç ! $ Quantifier Symbols: 8 9 Punctuation Marks: ( )

Metavariables Metavariables: Usually ‘t’ will range over individual terms, ‘a’ over individual constants, and ‘x’ over individual variables.

Expressions and Quantifiers of P Definition (Expression of P). An expression of P is any finite sequence of the symbols of P. Definition (Quantifier of P). Where x ranges over individual variables, expressions of the form ( 8 x) are called universal quantifiers of P, while expressions of the form ( 9 x) are called existential quantifiers of P.

Well-Formed Formulas of P Definition (Well-Formed Formula of P). Where P and Q range over expressions of P, ranges over predicate letters of P, t ranges over individual terms of P, and x ranges over individual variables of P, 1)Any expression of form t 1,…,t n is a wff of P 2)If P and Q are wffs of P, then a) : P is a wff of P b) (P Æ Q) is a wff of P c) (P Ç Q) is a wff of P d) (P ! Q) is a wff of P e) (P $ Q) is a wff of P 3)If x is an individual variable of P and P is a wff of P which i) contains at least one occurrence of x and ii) contains no x-quantifiers, then a) ( 8 x)P is a wff of P b) ( 9 x)P is a wff of P 4)Nothing is a wff of P unless it can be shown so by a finite number of applications of clauses 1) through 3)

Syntactic Concepts Bound Variable, Free Variable: An occurrence of a variable x in a wff P is bound iff it is within the scope of an x-quantifier. An occurrence of a variable is free iff it is not bound. Open Wff: A wff of P is open iff it contains at least one free occurrence of a variable. Closed Wff, Sentence of P : A wff of P is closed iff it contains no free occurrences of variables. We also call such wffs sentences of P.

Interpreting Quantifiers Where Fx is a wff with only instances of x free: –A universally quantified wff ( 8 x)Fx is true iff the condition expressed by the immediate subcomponent Fx is true of (satisfied by) every object in the UD. –An existentially quantified wff ( 9 x)Fx is true iff the condition expressed by the immediate subcomponent Fx is true of (satisfied by) at least one object in the UD.

UD:The marbles in Fred’s Collection B  :  is blue G  :  is green R  :  is red Y  :  is yellow C  :  is cracked S  :  is scratched B  :  is bigger than  S  :  is smaller than  g:The Green Giant o:Old Yeller r:Big Red s:Sky

UD:Fred, Susie, Fred’s marbles and Superballs, Susie’s marbles and Superballs M  :  is a marble S  :  is a Superball B  :  is blue G  :  is green R  :  is red Y  :  is yellow C  :  is cracked S 1  :  is scratched B  :  belongs to  H  :  bounces higher than  L  :  is larger than  S  :  is smaller than  G  :  gives  to  f:Fred g:The Green Giant o:Old Yeller r:Big Red s:Susie

UD: The people in Kate’s Office A  :  is an accountant C  :  is a cashier D  :  is diligent L  :  is lazy U  :  is upbeat L  :  likes  W  :  works for  f:Fred k:Kate

UD: Positive Integers E  :  is even O  :  is odd P  :  is prime G  :  is greater than  L  :  is less than  E  :  times  is even O  :  times  is odd P  :  times  is prime T  :  times  equals  a 1 :one a 2 :two a 3 :three a 4 :four  a n :n

Simple Square of Opposition Everything is F ( 8 x)Fx : ( 9 x) : Fx Contraries (cannot both be true) Nothing is F ( 8 x) : Fx : ( 9 x)Fx : ( 8 x) : Fx ( 9 x)Fx Something is F (cannot both be false) Subcontraries : ( 8 x)Fx ( 9 x) : Fx Something is not F Contradictories Implies

Quantifiers, Conjunction, Disjunction ( 8 x)Fx Æ ( 8 x)Gx, ( 8 x)(Fx Æ Gx) ( 8 x)Fx Ç ( 8 x)Gx ) ( 8 x)(Fx Ç Gx) ( 9 x)Fx Æ ( 9 x)Gx ( ( 9 x)(Fx Æ Gx) ( 9 x)Fx Ç ( 9 x)Gx, ( 9 x)(Fx Ç Gx)

Modern Categorical Square of Opposition A: All F are G ( 8 x)(Fx ! Gx) : ( 9 x)(Fx Æ : Gx) E: No F are G ( 8 x)(Fx ! : Gx) : ( 9 x)(Fx Æ Gx) : ( 8 x)(Fx ! : Gx) ( 9 x)(Fx Æ Gx) I: Some F are G : ( 8 x)(Fx ! Gx) ( 9 x)(Fx Æ : Gx) O: Some F is not G Contradictories

Variations on A and O Forms

Vagaries of ‘Any’

Quantifiers with Overlapping Scope ( 9 x)( 9 y)… There is an x and there is a y such that… There is a pair x, y such that… ( 8 x)( 8 y)… For every x and for every y… For every pair x, y… ( 8 x)( 9 y)… For every x there is a y such that… ( 9 x)( 8 y)… There is an x such that for every y… Note: the object denoted by x is not necessarily different from y

Examples of Overlapping Scopes 1.Everyone loves someone ( 8 x)( 9 y)Lxy 2.Everyone is loved by someone ( 8 x)( 9 y)Lyx 3.Someone loves everyone ( 9 y)( 8 x)Lyx 4.Someone is loved by everyone ( 9 y)( 8 x)Lxy ab cd ab cd ab cd ab cd Note: 4 ‘ 1, 1 — 4 3 ‘ 2, 2 — 3 (These are not the only models which satisfy their respective sentences. They were chosen to illustrate the above entailments/failures of entailment.)

Identity Identity: By identity we mean numerical identity—that what may appear to be distinct objects are actually one and the same thing. Object x is identical to object y iff x is y. We do not mean exactly similar, as identical twins or triplets are exactly similar—since there are two or three of them, they are not numerically identical.

Identity Sign To express numerical identity, we introduce a new predicate letter into the symbols of P, the identity sign:  =  :  is (numerically) identical to  This predicate letter is receives a fixed interpretation for all interpretations, and so does not need to be explicitly included in any interpretation Unlike other two-place predicates the identity sign is written with infix notation, i.e., between the individual terms: a = ba = yx = y Rather than using a hook to negate the identity sign, we slash it: a ≠ ba ≠ yx ≠ y

Identity, Definite Descriptions, and Numerical Quantification There are at least two Fs ( 9 x)( 9 y)(x  y Æ (Fx Æ Fy)) There is at least one x and at least one y s.t., x and y are distinct and both are F There is exactly one F ( 9 x)(Fx Æ ( 8 y)(Fy ! x = y)) There is an x s.t. it is F and for any y, if y is F, then y is the same thing as x There are exactly two Fs ( 9 x)( 9 y)((x  y Æ (Fx Æ Fy)) Æ ( 8 z)(Fz ! (x = z Ç y = z))) There is at least one x and at least one y s.t., x and y are distinct and both are F, and for any z, if z is F, then z is either the same thing as x or the same thing as y The F is G ( 9 x)((Fx Æ ( 8 y)(Fy ! x = y)) Æ Gx) There is an x s.t. it is F and for any y, if y is F, then y is the same thing as x, and x is G