3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-10-05 07:23:58 +00:00

fix model generation: don't build interpretations for Length()

This commit is contained in:
Murphy Berzish 2015-10-01 20:31:40 -04:00
parent fb5f3cbc13
commit bdf755156c
4 changed files with 80 additions and 9 deletions

View file

@ -43,7 +43,11 @@ namespace smt {
v2 = m_util.mk_string("value 2");
return true;
}
virtual expr * get_fresh_value(sort * s) { NOT_IMPLEMENTED_YET(); }
virtual expr * get_fresh_value(sort * s) {
// TODO this may be causing crashes in model gen? investigate
//return m_util.mk_fresh_string();
NOT_IMPLEMENTED_YET();
}
virtual void register_value(expr * n) { /* Ignore */ }
};
@ -75,6 +79,9 @@ namespace smt {
bool avoidLoopCut;
bool loopDetected;
std::map<expr*, std::stack<T_cut *> > cut_var_map;
std::set<expr*> variable_set;
std::set<expr*> internal_variable_set;
protected:
void assert_axiom(expr * e);
void assert_implication(expr * premise, expr * conclusion);