Closed ningit closed 5 months ago
Most likely it is an issue in classification.
@brossignol, by any chance does this work in your patched version?
@ningit, I've just checked and it is true that the issue was caused by classification of negation terms, and it seems fixed in the PR prepared by @brossignol.
The patch fix it.
It is the same problem. The double negation of Atom(2) adds [-2] to the clauses when it should not.
Thanks for confirming. Then I am closing it.
It also works for me. Thank you!
The following piece of code produces
False
andT
as output, i.e. it says that the formulaf
is not satisfiable, then simplifies it to true with some assumptions.The formula is satisfiable, so either I am not properly using the library or this is a bug in
solve
.