Consider the following predicates defined over the domain of people: S(x): x is a student W(x): x works hard Now express the following expressions in English: (a) S(Natalie) (b) Vx. (S(x) ⇒ W(x)) (c) ExW(x) ⇒¬S(David) (d) 3x (S(x) ^ W(x))

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question

Formal Specification Predicate Logic

 By quantification
A quantifier is a mechanism for specifying an expression about a set of values. There
are three quantifiers that we can use, each with its own symbol:
–The universal quantifier ∀
This quantifier enables a predicate to make a statement about all the elements in
a particular set. For example, if M(x) is the predicate x chases mice, we could write:
∀x  Cats ● M(x)
This reads For all the x which are members of the set Cats, x chases mice, or, more
simply, All cats chase mice.
– The existential quantifier ∃
In this case, a statement is made about whether or not at least one element of a set
meets a particular criterion. For example, if, as above, P(n) is the predicate n is a
prime number, then we could write:
∃n  ● P(n)
This reads There exists an n in the set of natural numbers such that n is a prime
number, or, put another way, There exists at least one prime number in the set of
natural numbers.
–The unique existential quantifier !
This quantifier modifies a predicate to make a statement about whether or not
precisely one element of a set meets a particular criterion. For example, if G(x) is the
predicate x is green, we could write
∃!x  Cats ● G(x)
This would mean There is one and only one cat that is green. 

6. Consider the following predicates defined over the domain of people:
S(x) x is a student
W(x): x works hard
Now express the following expressions in English:
(a) S(Natalie)
(b) Vx. (S(x) ⇒ W(x))
(c) Ex W(x) ⇒¬S(David)
(d) 3!x (S(x)^ W(x))
Transcribed Image Text:6. Consider the following predicates defined over the domain of people: S(x) x is a student W(x): x works hard Now express the following expressions in English: (a) S(Natalie) (b) Vx. (S(x) ⇒ W(x)) (c) Ex W(x) ⇒¬S(David) (d) 3!x (S(x)^ W(x))
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Algebraic Expression
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education