Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

please answer a), b), c), and d) of problem 4 Problem 4 [20 points] Consider predicate logic formulas over the set of variables V={x,y,z}, the

image text in transcribedplease answer a), b), c), and d) of problem 4

Problem 4 [20 points] Consider predicate logic formulas over the set of variables V={x,y,z}, the set of function symbols F={g}, and the set of predicate symbols P={P,Q}. Suppose that we have a model M=(DM,FM,PM) where DM={1,2,3,4}FM={gM}PM={PM,QM} gM and PM are defined as follows and QM is defined such that for all d1 and d2DM, QM(d1,d2)={true,if(d1=1d2=2)(d1=2d2=4)(d1=3d2=2)false,otherwise For each of the formulas f1,f2,f3, and f4 in the following four questions, determine whether M=f1 or M=fi, that is, whether it holds in the model. Write "holds" as the answer if the formula holds and write "does not hold" otherwise. Also, justify your answer briefly and precisely. (a) (5 points) f1:x((yQ(y,x))P(x)) (b) (5 points) f2:y(Q(g(y),y)Q(y,y)) (c) (5 points) f3:z(P(z)P(g(z))) (d) (5 points) f4:xy(P(x)Q(x,y)) i.e., forall x exists y(P(x) iff Q(x,y))

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

Step: 3

blur-text-image

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

OCA Oracle Database SQL Exam Guide Exam 1Z0-071

Authors: Steve O'Hearn

1st Edition

1259585492, 978-1259585494

More Books

Students also viewed these Databases questions

Question

Fixed dollar match: 75 cents per each $1 employee contribution.

Answered: 1 week ago