789 views
1 votes
1 votes
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 votes
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 votes
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.

Related questions

2 votes
2 votes
2 answers
2
rahul sharma 5 asked Nov 16, 2017
1,258 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 state...
1 votes
1 votes
2 answers
3