Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Hi, how to choose sets and predicates? 3. [8 marks] Choosing sets and predicates. This question gets you to investigate some of the subtleties of

Hi, how to choose sets and predicates?image text in transcribed

3. [8 marks] Choosing sets and predicates. This question gets you to investigate some of the subtleties of variable scope and precedence rules that are discussed on pp. 29-31 in the Course Notes. Consider the following statements: VIES, Jy e T, (Pr) VQ(y))^(-P(I) V-Q(y)) By ET, VT E S. (P(r) VQ(y))^(-P(I) V-Q(y)) (a) Provide one definition of sets S and T, and predicates P and Q, that makes the first statement true and the second statement false. Your sets must be non-empty, and your predicates may not be constant functions (i.e., always True or always False). Briefly justify your response, but no formal proofs are necessary. (b) Is it possible to provide one definition of sets S and T, and predicates P and Q, that makes the first statement false and the second statement true? Your sets must be non-empty, and your predicates may not be constant functions (i.e., always True or always False). If it is possible, describe the sets and briefly justify your response; if not, give a brief explanation as to why it is not possible. No formal proofs are necessary. 3. [8 marks] Choosing sets and predicates. This question gets you to investigate some of the subtleties of variable scope and precedence rules that are discussed on pp. 29-31 in the Course Notes. Consider the following statements: VIES, Jy e T, (Pr) VQ(y))^(-P(I) V-Q(y)) By ET, VT E S. (P(r) VQ(y))^(-P(I) V-Q(y)) (a) Provide one definition of sets S and T, and predicates P and Q, that makes the first statement true and the second statement false. Your sets must be non-empty, and your predicates may not be constant functions (i.e., always True or always False). Briefly justify your response, but no formal proofs are necessary. (b) Is it possible to provide one definition of sets S and T, and predicates P and Q, that makes the first statement false and the second statement true? Your sets must be non-empty, and your predicates may not be constant functions (i.e., always True or always False). If it is possible, describe the sets and briefly justify your response; if not, give a brief explanation as to why it is not possible. No formal proofs are necessary

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Modern Database Management

Authors: Jeffrey A. Hoffer Fred R. McFadden

9th Edition

B01JXPZ7AK, 9780805360479

More Books

Students also viewed these Databases questions