Write the following logical arguments as predicate expressions, defining the predicates used and domains of variables. For each argument, mention the inference rules used in each step. [6 marks] a) “Asim, a student in this class, owns a Honda bike. Everyone who owns a Honda bike has gotten at least one traffic violation challan. Therefore, someone in this class has gotten a traffic violation challan.” b) “Every student who has taken discrete structures course can take algorithms course. Haris, Nouman, and Azhar, has taken discrete structures course. Therefore, all five roommates can take algorithms course.” c) “All movies produced by John Sayles are wonderful. John Sayles produced a movie about coal miners. Therefore, there is a wonderful movie about coal miners.” d) “There is someone in this class who has been to Saudi Arabia. Everyone who goes to Saudi Arabia performs Umrah. Therefore, someone in this class has performed Umrah.”
The Answer to the Question
is below this banner.
Can't find a solution anywhere?
NEED A FAST ANSWER TO ANY QUESTION OR ASSIGNMENT?
Get the Answers Now!You will get a detailed answer to your question or assignment in the shortest time possible.
Here's the Solution to this Question
a)
U- set of allpeople
C- students of this class
P:U->{0,1}- predicat,P(X)=1~man X U has Honda bike.
Q:U->{0,1}-predicat,Q(X)=1~ man X has gotten at least one traffic violation challen.
Given that
From specialization rule we have
Therefore by modus ponens rule Q(Asim), but
By definition we have
b)
U- set of all students.
P:U->{0,1}-predicat, P(X)~X has taken discret structure course
Q:U->{0,1}-predicat ,Q(X)~ X can take algorithm course.
C- set of five roommates, |C|=5,
Statement is
is not true because there is such interpretation that left part true but right part is false. Evidently C\{Azhar,Haris,Nouman} .
Let \{Azhar,Haris,Nouman},in interpretation we assume P(a)=Q(a)=0,
P(Azhar)=P(Haris)=P(Nouman)=Q(Azhar)Q=(Haris)=Q(Nouman)=1
Then and , therefore
Thus statement is not true.
c)
P(X)- movie X is wonderful.
Q(X) movie X produced by John Sayles.
R(X) movie X is about coal miners.
U-set of all movies.
Statement is:
Proof:
concretization;
spesialization
conjuction rule
modus ponens
conjuction rule
build conjuction rule
build existence rule
d)
P(X)~ X has been to Saudi Arabia
Q(X)~X performs Umrah
U- set of all people
C- this class
Statement:
Proof:
a C, P(a)- conctetization'
P(a)->Q(a)- specialization;
modus ponens
definition of