1,441 views
1 1 vote
A(x) :- Apple on the table.

Give predicate logic that there is at most one apple on the table.

1. ∃x∃y(A(x) ^ A(y) ) ->x=y

2.∀x∀y(A(x) ^ A(y) ) ->x=y

I know first one is correct,but why second one is not correct?

If i translate first:- If there exists two apples then they must be same.And if LHS is false,i.e there is no apple then RHS will be true.So it fits both cases of 0 and 1 apple

If i translate second:- If any two objects in the universe are apples on the table ,then they must be same.It also follows same thing.

So are both versions correct?Or i am mistaking somehwere?

2 Answers

0 0 votes

 predicate logic that there is at most one apple on the table

More than one apple can't be on the table as per the predicate logic

0 0 votes

I'm going to slightly modify A(x) for better understanding. 

A(x) = x is an apple on the table.

Statement one is correct.

Statement two does not assert - If any two objects in the universe are apples on the table ,then they must be same.

Statement two asserts that - If, every object x in the universe is an apple on the table and every object y in the universe is an apple on the table then x = y.

As a rule of thumb, remember this - There exists goes with conjunction and For Every goes with implication.

Position:
Show:

Related questions

3 3 votes
1 1 answer
780
780 views
rahul sharma 5 asked Jan 24, 2018
780 views
Which of the following is true about below predicate logic P?A) P is satisfiableB) P is tautologyC) P is contradictionD) NoneThis expression in the end reduces to:-~ ∀z {...
2 2 votes
2 2 answers
2.5k
2.5k views
rahul sharma 5 asked Nov 16, 2017
2,547 views
Consider $F(P), Q(P), L(P)$ denotes statements “Printer $P$ is out of service”, “Print job $P$ is queued” and “Print job $P$ is lost” respectively. Then statement “If a j...
1 1 vote
2 answers 2 answers
1.5k
1.5k views
rahul sharma 5 asked Jul 28, 2017
1,458 views
( ∃x(P(x))→∃x(Q(x)) ) → ( ∃x(P(x)→Q(x)) )( ∃x(P(x)→Q(x)) ) → ( ∃x(P(x))→∃x(Q(x)) )Which of the above is valid and for not valid please give me counter example where LHS i...
0 0 votes
1 1 answer
1.7k
1.7k views
rahul sharma 5 asked Jun 18, 2017
1,729 views
Represent using logic connectives :- 1. "Whenever there is an active alert, all queued messages are transmitted."Given answer is :-∃x(Alert(x)∧Active(x))→∀y((Message(y)∧Q...