mirror of
https://github.com/Z3Prover/z3
synced 2025-06-21 21:33:39 +00:00
iterative deepening
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
d22a0d04ed
commit
35eb6eccd1
6 changed files with 101 additions and 53 deletions
|
@ -184,7 +184,8 @@ namespace recfun {
|
|||
return res;
|
||||
}
|
||||
|
||||
void def::add_case(std::string & name, unsigned n_conditions, expr ** conditions, expr * rhs, bool is_imm) {
|
||||
void def::add_case(std::string & name, unsigned n_conditions,
|
||||
expr ** conditions, expr * rhs, bool is_imm) {
|
||||
case_def c(m, m_fid, this, name, get_domain(), n_conditions, conditions, rhs);
|
||||
c.set_is_immediate(is_imm);
|
||||
TRACEFN("add_case " << name << " " << mk_pp(rhs, m)
|
||||
|
@ -202,7 +203,7 @@ namespace recfun {
|
|||
TRACEFN("bug: " << m_name << " has cases already");
|
||||
UNREACHABLE();
|
||||
}
|
||||
SASSERT(n_vars = m_domain.size());
|
||||
SASSERT(n_vars == m_domain.size());
|
||||
|
||||
TRACEFN("compute cases " << mk_pp(rhs0, m));
|
||||
|
||||
|
@ -235,7 +236,7 @@ namespace recfun {
|
|||
if (m_macro) {
|
||||
// constant function or trivial control flow, only one (dummy) case
|
||||
name.append("dummy");
|
||||
add_case(name, 0, 0, rhs);
|
||||
add_case(name, 0, nullptr, rhs);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue