mirror of
https://github.com/Z3Prover/z3
synced 2025-04-24 01:25:31 +00:00
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
0f697830fc
commit
387964f508
7 changed files with 91 additions and 50 deletions
|
@ -14,10 +14,11 @@ Author:
|
|||
Nikolaj Bjorner (nbjorner) 2017-9-1
|
||||
|
||||
Revision History:
|
||||
|
||||
|
||||
rewritten to support SMTLIB-2.6 parameters from
|
||||
Leonardo de Moura (leonardo) 2008-01-09.
|
||||
|
||||
|
||||
--*/
|
||||
#ifndef DATATYPE_DECL_PLUGIN_H_
|
||||
#define DATATYPE_DECL_PLUGIN_H_
|
||||
|
|
|
@ -239,7 +239,6 @@ namespace recfun {
|
|||
st.push_branch(branch(st.mk_unfold_lst(rhs)));
|
||||
|
||||
while (! st.empty()) {
|
||||
TRACEFN("main loop iter");
|
||||
|
||||
branch b = st.pop_branch();
|
||||
|
||||
|
@ -254,7 +253,6 @@ namespace recfun {
|
|||
while (! stack.empty()) {
|
||||
expr * e = stack.back();
|
||||
stack.pop_back();
|
||||
TRACEFN("unfold: " << mk_pp(e, m));
|
||||
|
||||
if (m.is_ite(e)) {
|
||||
// need to do a case split on `e`, forking the search space
|
||||
|
@ -305,7 +303,6 @@ namespace recfun {
|
|||
|
||||
// substitute, to get rid of `ite` terms
|
||||
expr_ref case_rhs = subst(rhs);
|
||||
TRACEFN("case_rhs: " << case_rhs);
|
||||
for (unsigned i = 0; i < conditions.size(); ++i) {
|
||||
conditions[i] = subst(conditions.get(i));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue