You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The result for h__ changes and I get: [(38, 88, 18), (76, 18, 65), (86, 73, 91), (98, 26, 91), (76, 10, 14)]
Adding the subgoal c__(e, a, e) should not change the result for relation h__.
The tuple (5, 5, 5) disappears for the second program which should not have appeared for the first program in the first place.
My Cargo.toml file:
[package]
name = "ascent_project"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
ascent = "0.2"
Please let me know if you cannot reproduce this or if I am doing anything wrong.
The text was updated successfully, but these errors were encountered:
Thanks for finding it. Indeed this is a bug. It has to do with the interaction of repeated vars in c__(e, f, e) and reordering of clauses. I will push a fix soon. Will you be able to move to 0.3 when the fix is pushed?
And if you need a quick workaround, change it to c__(e, f, e1), if e == e1
Hi guys,
Consider the following program:
If I run the program, I get the following for the relation
h__
:[(38, 88, 18), (76, 18, 65), (86, 73, 91), (98, 26, 91), (76, 10, 14), (5, 5, 5)]
Now, if I add a subgoal
c__(e, a, e)
in the rule forh__
to get the following new program:The result for
h__
changes and I get:[(38, 88, 18), (76, 18, 65), (86, 73, 91), (98, 26, 91), (76, 10, 14)]
Adding the subgoal
c__(e, a, e)
should not change the result for relationh__
.The tuple
(5, 5, 5)
disappears for the second program which should not have appeared for the first program in the first place.My
Cargo.toml
file:Please let me know if you cannot reproduce this or if I am doing anything wrong.
The text was updated successfully, but these errors were encountered: