3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-29 20:05:51 +00:00

generate the basic sign lemma from the model

Signed-off-by: Lev <levnach@hotmail.com>
This commit is contained in:
Lev 2018-10-29 16:58:40 -07:00 committed by Lev Nachmanson
parent c20a04ea84
commit d4a426faf6
2 changed files with 196 additions and 49 deletions

View file

@ -28,6 +28,19 @@ struct hash_svector {
}
};
struct rat_hash {
typedef rational data;
unsigned operator()(const rational& x) const { return x.hash(); }
};
struct hash_vector {
size_t operator()(const vector<rational> & v) const {
return vector_hash<rat_hash>()(v);
}
};
struct vars_equivalence {
struct equiv {