Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

roblem4[20points]ConsiderpredicatelogicformulasoverthesetofvariablesV={x,y,z},thesetoffunctionsymbols 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

image text in transcribed

roblem4[20points]ConsiderpredicatelogicformulasoverthesetofvariablesV={x,y,z},thesetoffunctionsymbols 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=fi or Mfi, 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

Business Process Driven Database Design With Oracle PL SQL

Authors: Rajeev Kaula

1st Edition

1795532386, 978-1795532389

More Books

Students also viewed these Databases questions