ediprolog icon indicating copy to clipboard operation
ediprolog copied to clipboard

Ediprolog gives incorrect answer even though scryer is correct

Open lambdaofgod opened this issue 1 year ago • 1 comments

I have a following Prolog file

man(socrates).
man(adam).
woman(alice).

mortal(X):- man(X).
mortal(X):- woman(X).

/*
?- mortal(alice).
*/

Ediprolog responds with

/*
?- mortal(alice).
%@    false.
*/

But when I run the file with scryer it recognized that Alice is also mortal.

I tried to run ediprolog-remove-interactions but it didn't change the answer.

lambdaofgod avatar Apr 26 '24 12:04 lambdaofgod

Could you please post the content of the buffer *ediprolog-history*? Thank you a lot!

triska avatar Apr 26 '24 16:04 triska