How do I get only the relevant value assignments for the variables used after the z3 satisfiability check?
For example:
I have multiple assertions that are given as constraints to Z3 Sat Solver, whereas a single Boolean Expression that I need to check for whether it satisfies or not.
Note: The assertion may contain variables which are not present/irrelevant in the Boolean Expression (Formula)
The values assigned to the model contain the assignment for the assertion constraints as well which has no impact on the satisfiability of the Boolean Expression.
I can see in the module smt.relevance: 2 as default value in z3 configuration.
How do I limit it only to the variables which have an impact on the Expression satisfiability?