Nested Quantifiers. 2 Nested Iteration Let the domain be {1, 2, …, 10}. Let P(x, y) denote x > y.  x,  y, P(x, y) means  x, (  y, P(x, y) ) Is the.

Slides:



Advertisements
Similar presentations
Nested Quantifiers Needed to express statements with multiple variables Example 1: “x+y = y+x for all real numbers”  x  y(x+y = y+x) where the domains.
Advertisements

The Logic of Quantified Statements
Chapter 1: The Foundations: Logic and Proofs 1.1 Propositional Logic 1.2 Propositional Equivalences 1.3 Predicates and Quantifiers 1.4 Nested Quantifiers.
22C:19 Discrete Structures Logic and Proof Spring 2014 Sukumar Ghosh.
Discrete Mathematics Lecture 2 Alexander Bukharovich New York University.
CSE115/ENGR160 Discrete Mathematics 01/25/11 Ming-Hsuan Yang UC Merced 1.
Nested Quantifiers Goals: Explain how to work with nested quantifiers
Discrete Structures Chapter 3: The Logic of Quantified Statements
Discrete Structures Chapter 3: The Logic of Quantified Statements
CSE115/ENGR160 Discrete Mathematics 01/20/11 Ming-Hsuan Yang UC Merced 1.
Quantifiers and Negation Predicates. Predicate Will define function. The domain of a function is the set from which possible values may be chosen for.
Predicates and Quantifiers
Predicates & Quantifiers Goal: Introduce predicate logic, including existential & universal quantification Introduce translation between English sentences.
CS 2210 (22C:019) Discrete Structures Logic and Proof Spring 2015 Sukumar Ghosh.
Predicates and Quantifiers
Chapter 1: The Foundations: Logic and Proofs
CSci 2011 Discrete Mathematics Lecture 3 CSci 2011.
The Foundations: Logic and Proofs
(CSC 102) Lecture 7 Discrete Structures. Previous Lectures Summary Predicates Set Notation Universal and Existential Statement Translating between formal.
1 Predicates and Quantifiers CS/APMA 202, Spring 2005 Rosen, section 1.3 Aaron Bloomfield.
Predicates and Quantified Statements M , 3.2.
Chapter 1, Part II: Predicate Logic With Question/Answer Animations.
Chapter 1, Part II: Predicate Logic With Question/Answer Animations.
Chapter 1: The Foundations: Logic and Proofs 1.1 Propositional Logic 1.2 Propositional Equivalences 1.3 Predicates and Quantifiers 1.4 Nested Quantifiers.
Statements with Multiple Quantifiers. When a statement contains more than one quantifier, we imagine the actions suggested by the quantifiers as being.
Math 51/COEN 19 Day 3, 1.4 Quantifiers 1. 3 Predicates A lot like functions that return booleans Let P(x) denote x
(CSC 102) Lecture 8 Discrete Structures. Previous Lectures Summary Predicates Set Notation Universal and Existential Statement Translating between formal.
Chapter 2 The Logic of Quantified Statements. Section 2.1 Intro to Predicates & Quantified Statements.
Nested Quantifiers Section 1.5.
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 Georgia Tech, IIC, GVU, 2006 MAGIC Lab Rossignac Lecture 02: QUANTIFIERS Sections 1.3 and 1.4 Jarek Rossignac CS1050:
Lecture Predicates and Quantifiers 1.4 Nested Quantifiers.
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.
Discrete Structures – CNS 2300
CS 285- Discrete Mathematics Lecture 4. Section 1.3 Predicate logic Predicate logic is an extension of propositional logic that permits concisely reasoning.
Table of Contents Rational Expressions and Functions where P(x) and Q(x) are polynomials, Q(x) ≠ 0. Example 1: The following are examples of rational expressions:
Rational Functions and Domains where P(x) and Q(x) are polynomials, Q(x) ≠ 0. A rational expression is given by.
Predicates and Quantifiers Dr. Yasir Ali. 1.Predicates 2.Quantifiers a.Universal Quantifiers b.Existential Quantifiers 3.Negation of Quantifiers 4.Universal.
22C:19 Discrete Structures Logic and Proof Fall 2014 Sukumar Ghosh.
Copyright © Peter Cappello 2011 Predicates & Quantifiers.
321 Section, Week 2 Natalie Linnell. Extra Credit problem.
1 Outline Quantifiers and predicates Translation of English sentences Predicate formulas with single variable Predicate formulas involving multiple variables.
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.
Introduction to Predicates and Quantified Statements I Lecture 9 Section 2.1 Wed, Jan 31, 2007.
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.
رياضيات متقطعة لعلوم الحاسب MATH 226. Chapter 1 Predicates and Quantifiers 1.4.
CSE15 Discrete Mathematics 01/25/17
CS 2210:0001 Discrete Structures Logic and Proof
3. The Logic of Quantified Statements Summary
Predicates and Quantified Statements I
Predicates & Quantifiers
Nested Quantifiers Goals: Explain how to work with nested quantifiers
Negations of Quantified Statements
Chapter 1 The Foundations: Logic and Proofs
CS201: Data Structures and Discrete Mathematics I
Introduction to Predicates and Quantified Statements II
CS 220: Discrete Structures and their Applications
Nested Quantifiers Nested quantifiers are often necessary to express the meaning of sentences in English as well as important concepts in computer science.
Introduction to Predicates and Quantified Statements II
Introduction to Predicates and Quantified Statements I
Discrete Mathematics Lecture 4 & 5: Predicate and Quantifier
Discrete Mathematics Lecture 3: Predicate and Quantifier
Discrete Mathematics Lecture 4 & 5: Predicate and Quantifier
ICS 253: Discrete Structures I
Predicates and Quantifiers
Discrete Mathematics Lecture 4 Logic of Quantified Statements
CS201: Data Structures and Discrete Mathematics I
Presentation transcript:

Nested Quantifiers

2 Nested Iteration Let the domain be {1, 2, …, 10}. Let P(x, y) denote x > y.  x,  y, P(x, y) means  x, (  y, P(x, y) ) Is the above statement true?

3 Multiple Quantifiers  x,  y, P(x, y)  y,  x, P(x, y)  x,  y, P(x, y)  y,  x, P(x, y)  y,  x, P(x, y)  x,  y, P(x, y)  y,  x, P(x, y)  x,  y, P(x, y) Legend: AB is valid

4 Translate to English Let the domain be the real numbers.  x,  y, (((x ≥ 0)  (y 0)) Is there something wrong with  x, (((x ≥ 0)  (  y, y 0))

5 Translate to Locigal Expression Let Q(x,y) denote “student x has been a contestant on quiz show y” The domain for x is all students at UCSB. The domain for y is all quiz shows on TV. Express as a logical expression –Every TV quiz show has had a student from UCSB as a contestant. –At least 2 students from UCSB have been contestants on Jeopardy.

6 Translations  y  x Q(x, y).  x 1  x 2 ( (x 1  x 2 )  Q(x 1, Jeopardy)  Q(x 2, Jeopardy) )

7 Negating Nested Quantifiers Negate  x  y (P(x, y)  Q(x, y)) so that only predicates are negated. 1.  x  y (P(x, y)  Q(x, y)). 2.  x  y (P(x, y)  Q(x, y)). 3.  x  y  (P(x, y)  Q(x, y)). 4.  x  y (  P(x, y)   Q(x, y)).

8 Characters    ≥ ≡                        