Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

QUESTION 2 Question 2 . 1 Consider the following predicate symbols and their intended meanings: ( i ) Express the following predicate logic formula in

QUESTION 2
Question 2.1
Consider the following predicate symbols and their intended meanings:
(i) Express the following predicate logic formula in English, where the symbols have the meanings
as given above:
EEy(P(y)J(y))
(i) Express the following declarative sentence in predicate logic using the symbols as given above:
There is an advanced course such that every programmer has a final exam in it.
Question 2.2
Let
P be a predicate symbol with one argument and Q a predicate with one argument, respectively
x,y are variables
State which of the following are well formed formulas:
(i)P(x)??Q(x)
(ii)P(x)
(iii) EEx
(iv)
Question 2.3
Consider the following formula where P,Q and R are predicate symbols with one argument .:
(AAx(x)??EEynotQ(y))vvEEzR(z)
(i) Draw the parse tree of .
(ii) Mark the free and bound variables on the tree.
(iii) Let g be a function with one argument. Is g(x) free for y in ? Explain your answer.
Question 2.4
Using the basic natural deduction rules for predicate logic, prove the validity of the following sequent:
(i),AAx(P(x)??Q(x)),EEyS(y)|--EEz(P(z)??S(z))
(ii) AAx(P(x)(Q(x)vvR(x))),notEEx(P(x)??R(x))|--AAx(P(x)Q(x))
image text in transcribed

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

Database Concepts

Authors: David M Kroenke, David J Auer

6th Edition

0132742926, 978-0132742924

More Books

Students also viewed these Databases questions