Closed shek21 closed 6 years ago
@shek21 this is not a bug, if you do not specify the answer predicate then GProM uses the first mentioned predicate. Try this:
Q1(X,Y) :- R(X,Y). Q(X) :- Q1(X,Y). ANS : Q.
_(X0) <- _Q(X0).
_Q1(X,Y) <- R(X,Y).
_Q(X) <- _Q1(X,Y).
I got it. Thanks.
query "Q1(X,Y) :- R(X,Y). Q(X) :- Q1(X,Y)."
lb result: _(X0, X1) <- _Q1(X0, X1). _Q1(X,Y) <- R(X,Y). _Q(X) <- _Q1(X,Y).