Replies: 1 comment 6 replies
-
Any suggestions how to directly find an unsatisfiable model in a satisfiable problem with Z3? |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm looking to identify any unsatisfiable cases in a set of statements. I understand Z3 can identify unsatisfiability and unsatisfiable subsets as long as the problem is unsatisfiable. Can Z3 also pinpoint unsatisfiable assignments within a satisfiable problem?
For instance, consider the following statements:
Here, a conflict arises if A > B, while the whole problem is satisfiable when A <= B. I want to avoid checking every possible combination manually, or adding negated statement to the model. Can Z3 help identify such conflicting cases? Ideally, is it possible for it to generate the (minimal) unsatisfiable subset?
Beta Was this translation helpful? Give feedback.
All reactions