3
0
Fork 0
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:
Nikolaj Bjorner 2023-08-03 15:51:29 -07:00
parent 23da36126a
commit 4637339091
7 changed files with 39 additions and 10 deletions

View file

@ -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