Question on Predicate Logic "If Then" and "x if y" Here is the question I have: “There exists a res

veneciasp

veneciasp

Answered question

2022-07-08

Question on Predicate Logic "If Then" and "x if y"
Here is the question I have: “There exists a restaurant that, if it is midnight, then this restaurant would not be open.” and “Not all restaurant are open if it is midnight.” Assume the set of all restaurant as the universe of discourse.
I assume P(x) is the case that the restaurant will not be open and A is the event that it is midnight.
And I got x ( A P ( x ) ) for both sentences. Is there anything I did wrong? Since the question assumes there will be two individual answers for the statements, and have a sub-question requiring me to prove these two logic notation to be logically equivalent.

Answer & Explanation

Nirdaciw3

Nirdaciw3

Beginner2022-07-09Added 20 answers

Step 1
And i got " x ( A P ( x ) ) " for both sentence, Is there anything i did wrong?
The first statement reads: “There exists a restaurant that, if it is midnight, then that restaurant would not open” which is indeed x   ( A P ( x ) ).
Step 2
The second statement reads: “Not all restaurant open if it is midnight” which is also "If it is midnight, then not all restaurants open," which is slightly different. The immediate translation is: A ( ¬ x   ¬ P ( x ) )
Those are the distinct answers you were expected to obtain first, and then you may show equivalence by applying rules of equivalence.
kramberol

kramberol

Beginner2022-07-10Added 5 answers

Step 1
You are correct.
The second sentence literally says
A ¬ x ¬ P ( x ) ,,
which is logically equivalent to
A x P ( x ) ,
Step 2
which is logically equivalent to
x ( A P ( x ) ) ,,
which is literally what the first sentence says.

Do you have a similar question?

Recalculate according to your conditions!

New Questions in Discrete math

Ask your question.
Get an expert answer.

Let our experts help you. Answer in as fast as 15 minutes.

Didn't find what you were looking for?