3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-07-19 10:52:02 +00:00

mb-skolem for arithmetic with model repair

The contract is that users of mb-skolem ensure that
interface equalities are preserved (by adding a
sufficient set of disequalities, such as a chain
x1 < x2 < x3 .., to force that solutions for
x_i does not clash).

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2018-06-14 17:13:10 -07:00 committed by Arie Gurfinkel
parent a0af3383db
commit baa96909cc
5 changed files with 34 additions and 13 deletions

View file

@ -35,6 +35,7 @@ namespace qe {
}
};
}
namespace is_pure_ns {
struct found{};
struct proc {
@ -776,7 +777,7 @@ namespace qe {
for (auto &kv : val2rep) {
expr *rep = kv.m_value;
if (!m.is_unique_value(rep))
reps.push_back(kv.m_value);
reps.push_back(kv.m_value);
}
if (reps.size() <= 1) return;