mirror of
https://github.com/Z3Prover/z3
synced 2026-06-20 07:36:31 +00:00
disable test in tptp, move to native lambdas
This commit is contained in:
parent
3e0a350411
commit
eaf7562a1d
24 changed files with 54 additions and 222 deletions
|
|
@ -130,19 +130,3 @@ void model_core::unregister_decl(func_decl * d) {
|
|||
}
|
||||
}
|
||||
|
||||
void model_core::add_lambda_defs() {
|
||||
unsigned sz = get_num_decls();
|
||||
for (unsigned i = sz; i-- > 0; ) {
|
||||
func_decl* f = get_decl(i);
|
||||
quantifier* q = m.is_lambda_def(f);
|
||||
if (!q)
|
||||
continue;
|
||||
if (f->get_arity() > 0) {
|
||||
func_interp* fi = alloc(func_interp, m, f->get_arity());
|
||||
fi->set_else(q);
|
||||
register_decl(f, fi);
|
||||
}
|
||||
else
|
||||
register_decl(f, q);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue