First order logic formula

Posted by user177883 on Stack Overflow See other posts from Stack Overflow or by user177883
Published on 2010-04-08T00:48:06Z Indexed on 2010/04/08 0:53 UTC
Read the original article Hit count: 423

Filed under:
|

R(x) is a red block
B(x) is a blue block
T(x,y) block x is on top of block y

Question:
Write a formula asserting that if no red block is on top of a red block then no red block is on top of itself.

My answer: (Ax)(Ay)(R(x) and R(y) -> ~T(x,y))->(Ax)(R(x)-> ~T(x,x)) A = For all

© Stack Overflow or respective owner

Related posts about logic

Related posts about homework