Introduction to Quantification Chapter 9 Language, Proof and Logic.

Slides:



Advertisements
Similar presentations
B ϋ CHIS MONADIC SECOND ORDER LOGIC Verification Seminar V.Sowjanya Lakshmi ( Subhasree M.
Advertisements

First-Order Logic (and beyond)
Chapter 1: The Foundations: Logic and Proofs 1.1 Propositional Logic 1.2 Propositional Equivalences 1.3 Predicates and Quantifiers 1.4 Nested Quantifiers.
L41 Lecture 2: Predicates and Quantifiers.. L42 Agenda Predicates and Quantifiers –Existential Quantifier  –Universal Quantifier 
Knowledge Representation Methods
Computability and Complexity 8-1 Computability and Complexity Andrei Bulatov Logic Reminder.
Exam #3 is Friday. It will consist of proofs, plus symbolizations in predicate logic.
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.
1 Chapter 7 Propositional and Predicate Logic. 2 Chapter 7 Contents (1) l What is Logic? l Logical Operators l Translating between English and Logic l.
Chapter Predicate Calculus Formal language –True/False statements –Supports reasoning Usage –Integrity constraints –Non-procedural query languages.
Formal Logic Mathematical Structures for Computer Science Chapter 1 Copyright © 2006 W.H. Freeman & Co.MSCS SlidesFormal Logic.
1 CS 1502 Formal Methods in Computer Science Lecture Notes 12 Variables and Quantifiers.
Section 1.3: Predicates and Quantifiers
INTRODUCTION TO LOGIC FALL 2009 Quiz Game. ConceptsTrue/FalseTranslations Informal Proofs Formal Proofs
Formal Logic Mathematical Structures for Computer Science Chapter Copyright © 2006 W.H. Freeman & Co.MSCS SlidesFormal Logic.
First Order Logic Chapter 7. PL is a Weak Representational Language §Propositional Logic (PL) is not a very expressive language because: §Hard to identify.
1 Chapter 7 Propositional and Predicate Logic. 2 Chapter 7 Contents (1) l What is Logic? l Logical Operators l Translating between English and Logic l.
1st-order Predicate Logic (FOL)
LDK R Logics for Data and Knowledge Representation First Order Logics (FOL) Originally by Alessandro Agostini and Fausto Giunchiglia Modified by Fausto.
Chapter 8 Relational Calculus. Copyright © 2004 Pearson Addison-Wesley. All rights reserved.8-2 Topics in this Chapter Tuple Calculus Calculus vs. Algebra.
PART TWO PREDICATE LOGIC. Chapter Seven Predicate Logic Symbolization.
The Logic of Quantifiers Chapter 10 Language, Proof and Logic.
Mathematical Induction Chapter 16 Language, Proof and Logic.
1 Predicate (Relational) Logic 1. Introduction The propositional logic is not powerful enough to express certain types of relationship between propositions.
Hazırlayan DISCRETE COMPUTATIONAL STRUCTURES Propositional Logic PROF. DR. YUSUF OYSAL.
Key Concepts Representation Inference Semantics Discourse Pragmatics Computation.
Lecture 4: Predicates and Quantifiers; Sets.
Scope, free variable, closed wff §In  X(A) or  X(A), where A is a wff : X is called the variable quantified over; A is said to be (within) the scope.
0 Propositional logic versus first-order (predicate) logic The universe of discourse Constants, variables, terms and valuations Predicates as generalized.
1 Introduction to Abstract Mathematics Predicate Logic Instructor: Hayk Melikya Purpose of Section: To introduce predicate logic (or.
CSS342: Quantifiers1 Professor: Munehiro Fukuda. CSS342: Quantifiers2 Review of Propositions Proposition: a statement that is either true or false, but.
No new reading for Wednesday. Keep working on chapter 5, section 3. Exam #3 is next Monday.
Lecture 7 – Jan 28, Chapter 2 The Logic of Quantified Statements.
Fall 2008/2009 I. Arwa Linjawi & I. Asma’a Ashenkity 1 The Foundations: Logic and Proofs Predicates and Quantifiers.
Chapter 2 Symbolic Logic. Section 2-1 Truth, Equivalence and Implication.
CS 285- Discrete Mathematics Lecture 4. Section 1.3 Predicate logic Predicate logic is an extension of propositional logic that permits concisely reasoning.
A Problem That Is Complete for PSPACE (Polynomial Space) BY TEJA SUDHA GARIGANTI.
LDK R Logics for Data and Knowledge Representation First Order Logics (FOL) Originally by Alessandro Agostini and Fausto Giunchiglia Modified by Fausto.
Chapter 9: Syntax and Semantics II : Logic & Proofs July 23, 2009 Karin Howe.
1 Section 8.3 Higher-Order Logic A logic is higher-order if it allows predicate names or function names to be quantified or to be arguments of a predicate.
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.
1 Outline Quantifiers and predicates Translation of English sentences Predicate formulas with single variable Predicate formulas involving multiple variables.
Instructor: Eyal Amir Grad TAs: Wen Pu, Yonatan Bisk Undergrad TAs: Sam Johnson, Nikhil Johri CS 440 / ECE 448 Introduction to Artificial Intelligence.
Section 1.5 and 1.6 Predicates and Quantifiers. Vocabulary Predicate Domain Universal Quantifier Existential Quantifier Counterexample Free variable Bound.
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.
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.
1 Section 7.1 First-Order Predicate Calculus Predicate calculus studies the internal structure of sentences where subjects are applied to predicates existentially.
Logics for Data and Knowledge Representation
Predicate Calculus Discussion #14 Chapter 2, Section 1 1/20.
Discussion #14 Predicate Calculus
Chapter 1: The Foundations: Logic and Proofs
The Boolean Connectives
Chapter 1 The Foundations: Logic and Proofs
CS201: Data Structures and Discrete Mathematics I
Decidability of logical theories
Predicate Calculus Discussion #14 Chapter 2, Section 1.
Introduction to Predicates and Quantified Statements I
Discrete Mathematics Lecture 4 & 5: Predicate and Quantifier
Discrete Mathematics Lecture 4 & 5: Predicate and Quantifier
Formal Methods in software development
Decidability of logical theories
Chapter 1: Propositional and First-Order Logic
Logics for Data and Knowledge Representation
CS201: Data Structures and Discrete Mathematics I
Predicate Calculus. Predicate Calculus Topics Predicates Variables and instantiation Quantifiers Logical expressions Bound and free variables.
Presentation transcript:

Introduction to Quantification Chapter 9 Language, Proof and Logic

Variables and atomic wffs 9.1 Variables --- a new type of basic terms, along with names/constants. They can be seen as placeholders for names Atomic wffs (well-formed formulas): Home(x), Taller(max,y),… Tarski’s World understands the variables u through z; Fitch understands t,u,v,w,x,y,z with or without subscripts.

The quantifier symbols: ,  9.2 Universal quantifier   xA(x) is read as: “for every x, A(x)” “for all x, A(x)” “for every object x, A(x)” etc. Existential quantifier   xA(x) is read as: “for some x, A(x)” “for at least one x, A(x)” “there is an object x such that A(x)” etc.  xHome(x)  x(Doctor(x)  Smart(x))  xHome(x)  x(Doctor(x)  Smart(x))

Wffs and sentences 9.3.a Wff: 0. Every atomic wff is a wff 1. If P is a wff, so is  P 2. If P 1,…,P n are wffs, so are (P 1  …  P n ) and (P 1  …  P n ) 3. If P and Q are wffs, so are (P  Q) and (P  Q) 4. If P is a wff and x is a variable,  xP and  xP are wffs; every occurrence of x in these wffs is said to be bound. As always, external parentheses can be omitted. An occurrence of a variable that is not bound is said to be free. In other words, x is free iff it is not in the scope of  x or  x. A sentence is a wff that has no free occurrences of variables.

Wffs and sentences 9.3.b Is x free or bound in: x=0  (  x(x=0) )  (  y(x=0) )  y(x=y)  x ( (x=0)  (x=y) ) (  x(x=0) )  (x=y) Is the following wff a sentence:  (0=1) x=0  x(x=x)  x(x=y)  x ( x=1  y(x+y=1) )

Semantics for the quantifiers 9.4.a Consider any wff P(x) that has no free occurrences of variables other than x. Take any object, and give it a (new) name c if it does not already have one. We say that this object satisfies P(x) iff P(c) is true. When evaluating quantified sentences, we always have some nonempty domain of discourse in mind, i.e. the set of all possible objects in a given treatment. E.g., in a Tarski’s world, this would be the set of all objects on the board; in arithmetic, this would be the set of all natural numbers; etc.  xP(x) is true iff there is an object in the domain that satisfies P(x)  xP(x) is true iff every object of the domain satisfies P(x)

Semantics for the quantifiers 9.4.b  x(x+x=x)  x(x+x=x)  x(x=1+1)  x(x=1+1)  x(x+x=x  x)  x(x  1=x)  x(x  1=x)  x(x=0  (x+x=x))  x(x+x=1) When the domain of discourse is {0,1,2,…}, then  xP(x) = P(0)  P(1)  P(2)  … and  xP(x) = P(0)  P(1)  P(2)  …

Semantics for the quantifiers 9.4.c Game rules for  xP(x): If you commit to the truth, then your opponent chooses an object c, and the game continues as if you had committed to the truth of P(c). If you commit to the falsity, then you have to choose an object c, and the game continues as if you had committed to the falsity of P(c). Game rules for  xP(x): If you commit to the truth, then you have to choose an object c, and the game continues as if you had committed to the truth of P(c). If you commit to the falsity, then your opponent chooses an object c, and the game continues as if you had committed to the falsity of P(c). You try it, page 240 [Game World + Game Sentences]

The four Aristotelian forms 9.5 You try it, page 242 All Ps are Qs Some Ps are Qs No Ps are Qs Some Ps are not Qs

Translating complex noun phrases 9.6 Small, Happy, Dog, Home. Translate “A small happy dog is at home” (existential noun phrase) Translate “Every small dog that is at home is happy” (universal noun phr.) True or false?  x[(x>15  x<6)  Even(x)]  x(x  0  x=x) You try it, p. 248 Dodgson’s sentences + Peano’s world; Pierce’s world