mirror of
https://github.com/Z3Prover/z3
synced 2025-06-20 04:43:39 +00:00
parent
e5aa02b8f5
commit
2a8d00d815
1 changed files with 5 additions and 1 deletions
|
@ -288,6 +288,8 @@ namespace smt {
|
||||||
scoped_trace_stream _tr(*this, fn);
|
scoped_trace_stream _tr(*this, fn);
|
||||||
ctx.mk_th_axiom(get_id(), 1, &lit);
|
ctx.mk_th_axiom(get_id(), 1, &lit);
|
||||||
TRACEFN("macro expansion yields " << pp_lit(ctx, lit));
|
TRACEFN("macro expansion yields " << pp_lit(ctx, lit));
|
||||||
|
if (has_quantifiers(rhs))
|
||||||
|
throw default_exception("quantified formulas in recursive functions are not supported");
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -392,6 +394,8 @@ namespace smt {
|
||||||
std::function<literal_vector(void)> fn = [&]() { return clause; };
|
std::function<literal_vector(void)> fn = [&]() { return clause; };
|
||||||
scoped_trace_stream _tr(*this, fn);
|
scoped_trace_stream _tr(*this, fn);
|
||||||
ctx.mk_th_axiom(get_id(), clause);
|
ctx.mk_th_axiom(get_id(), clause);
|
||||||
|
if (has_quantifiers(rhs))
|
||||||
|
throw default_exception("quantified formulas in recursive functions are not supported");
|
||||||
}
|
}
|
||||||
|
|
||||||
final_check_status theory_recfun::final_check_eh() {
|
final_check_status theory_recfun::final_check_eh() {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue