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
~ = Not
-> = implies