Closed haz closed 1 year ago
Closes #30
Great idea! It caught a corner case where (x & ~x) | y
was being simplified to just y
. Can you have another look after the latest commit?
Ah! I hadn't spotted that.
My only concern now is that the name simplify_tautologies
is inaccurate because it also covers contradictions.
Ah, right. Just simplify
work?
Thanks, @blyxxyz ! Should be all set to go if you want to approve/merge.
Idea is to allow for tautologies in
to_CNF
conversions so that model counts aren't thrown off (variables mentioned in a tautological clause will be missing from the compilation).