ErrorID: TYP001
Message: The sort of
variable [X at (/Users/yuazhang/Desktop/CALM/examples/allInOneMonkeyB.tp :3:53)]
cannot be determined.
Explanation: Every variable must have a sort from which it obtains its possible values.
Recommendation: Consider adding an instance(Var, sort) literal to the body of the rule.
for ALM statement
executability conditions
impossible occurs(X) if
instance(X, actions), occurs(Y), X!=Y.
I got error message
for ALM statement
Is there anything wrong here?