mirror of
https://github.com/Z3Prover/z3
synced 2025-04-29 20:05:51 +00:00
fixes to mostly solver arith/euf and backtracking scopes
This commit is contained in:
parent
1ee2ba2a9b
commit
8d76470a8a
25 changed files with 189 additions and 93 deletions
|
@ -108,10 +108,13 @@ struct check_logic::imp {
|
|||
m_uf = true;
|
||||
m_bvs = true;
|
||||
}
|
||||
else if (logic == "QF_DT") {
|
||||
else if (logic == "QF_UFDT") {
|
||||
m_uf = true;
|
||||
m_dt = true;
|
||||
}
|
||||
else if (logic == "QF_DT") {
|
||||
m_dt = true;
|
||||
}
|
||||
else if (logic == "QF_AUFLIA") {
|
||||
m_uf = true;
|
||||
m_arrays = true;
|
||||
|
@ -505,7 +508,7 @@ struct check_logic::imp {
|
|||
try {
|
||||
unsigned arity = f->get_arity();
|
||||
if (arity > 0) {
|
||||
if (!m_uf)
|
||||
if (!m_uf && f->get_family_id() == null_family_id)
|
||||
fail("logic does not support uninterpreted functions");
|
||||
for (unsigned i = 0; i < arity; i++)
|
||||
check_sort(f->get_domain(i));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue