mirror of
https://github.com/Z3Prover/z3
synced 2025-05-10 09:15:47 +00:00
update model validate to include arithmetic
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
23da36126a
commit
4637339091
7 changed files with 39 additions and 10 deletions
|
@ -3470,13 +3470,9 @@ namespace smt {
|
|||
}
|
||||
if (r == l_true && gparams::get_value("model_validate") == "true") {
|
||||
recfun::util u(m);
|
||||
model_ref mdl;
|
||||
get_model(mdl);
|
||||
if (u.get_rec_funs().empty()) {
|
||||
if (mdl.get()) {
|
||||
for (theory* t : m_theory_set) {
|
||||
t->validate_model(*mdl);
|
||||
}
|
||||
if (u.get_rec_funs().empty() && m_proto_model) {
|
||||
for (theory* t : m_theory_set) {
|
||||
t->validate_model(*m_proto_model);
|
||||
}
|
||||
}
|
||||
#if 0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue