3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-06-21 21:33:39 +00:00

fix #3913 - change assumption tracking to be granular based on disabled guards

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2020-04-13 19:06:12 -07:00
parent e1027790ae
commit fe7146d93b
6 changed files with 102 additions and 73 deletions

View file

@ -341,10 +341,10 @@ namespace recfun {
d.set_definition(subst, n_vars, vars, rhs1);
}
app_ref util::mk_depth_limit_pred(unsigned d) {
app_ref util::mk_num_rounds_pred(unsigned d) {
parameter p(d);
func_decl_info info(m_fid, OP_DEPTH_LIMIT, 1, &p);
func_decl* decl = m().mk_const_decl(symbol("recfun-depth-limit"), m().mk_bool_sort(), info);
func_decl_info info(m_fid, OP_NUM_ROUNDS, 1, &p);
func_decl* decl = m().mk_const_decl(symbol("recfun-num-rounds"), m().mk_bool_sort(), info);
return app_ref(m().mk_const(decl), m());
}