mirror of
https://github.com/Z3Prover/z3
synced 2025-04-24 17:45:32 +00:00
revising pd-maxres
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
da0c12cdba
commit
546a9b8f03
9 changed files with 65 additions and 82 deletions
|
@ -24,6 +24,7 @@ Notes:
|
|||
#include"card2bv_tactic.h"
|
||||
#include"pb_rewriter.h"
|
||||
#include"ast_util.h"
|
||||
#include"ast_pp.h"
|
||||
|
||||
namespace pb {
|
||||
unsigned card2bv_rewriter::get_num_bits(func_decl* f) {
|
||||
|
|
|
@ -18,7 +18,7 @@ Notes:
|
|||
--*/
|
||||
#include"simplify_tactic.h"
|
||||
#include"th_rewriter.h"
|
||||
#include"ast_smt2_pp.h"
|
||||
#include"ast_pp.h"
|
||||
|
||||
struct simplify_tactic::imp {
|
||||
ast_manager & m_manager;
|
||||
|
@ -65,6 +65,9 @@ struct simplify_tactic::imp {
|
|||
proof * pr = g.pr(idx);
|
||||
new_pr = m().mk_modus_ponens(pr, new_pr);
|
||||
}
|
||||
if (m_manager.is_false(new_curr)) {
|
||||
std::cout << mk_pp(curr, m_manager) << " => " << new_curr << "\n";
|
||||
}
|
||||
g.update(idx, new_curr, new_pr, g.dep(idx));
|
||||
}
|
||||
TRACE("after_simplifier_bug", g.display(tout););
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue