mirror of
https://github.com/Z3Prover/z3
synced 2025-04-23 09:05:31 +00:00
parent
754bafc95e
commit
884a68251b
6 changed files with 27 additions and 15 deletions
|
@ -1824,6 +1824,9 @@ ast * ast_manager::register_node_core(ast * n) {
|
|||
|
||||
n->m_id = is_decl(n) ? m_decl_id_gen.mk() : m_expr_id_gen.mk();
|
||||
|
||||
if (n->m_id == 28 && is_lambda(n)) {
|
||||
// SASSERT(false);
|
||||
}
|
||||
// track_id(*this, n, 254);
|
||||
|
||||
TRACE("ast", tout << "Object " << n->m_id << " was created.\n";);
|
||||
|
|
|
@ -19,6 +19,7 @@ Notes:
|
|||
#include "ast/rewriter/rewriter.h"
|
||||
#include "ast/ast_smt2_pp.h"
|
||||
#include "ast/ast_ll_pp.h"
|
||||
#include "ast/ast_pp.h"
|
||||
|
||||
template<typename Config>
|
||||
template<bool ProofGen>
|
||||
|
@ -80,7 +81,6 @@ bool rewriter_tpl<Config>::process_const(app * t0) {
|
|||
retry:
|
||||
SASSERT(t->get_num_args() == 0);
|
||||
br_status st = m_cfg.reduce_app(t->get_decl(), 0, nullptr, m_r, m_pr);
|
||||
SASSERT(st != BR_DONE || m().get_sort(m_r) == m().get_sort(t));
|
||||
TRACE("reduce_app",
|
||||
tout << "t0:" << mk_bounded_pp(t0, m()) << "\n";
|
||||
if (t != t0) tout << "t: " << mk_bounded_pp(t, m()) << "\n";
|
||||
|
@ -89,6 +89,11 @@ bool rewriter_tpl<Config>::process_const(app * t0) {
|
|||
tout << "\n";
|
||||
if (m_pr) tout << mk_bounded_pp(m_pr, m()) << "\n";
|
||||
);
|
||||
CTRACE("reduce_app",
|
||||
st != BR_FAILED && m().get_sort(m_r) != m().get_sort(t),
|
||||
tout << mk_pp(m().get_sort(t), m()) << ": " << mk_pp(t, m()) << "\n";
|
||||
tout << m_r->get_id() << " " << mk_pp(m().get_sort(m_r), m()) << ": " << m_r << "\n";);
|
||||
SASSERT(st != BR_DONE || m().get_sort(m_r) == m().get_sort(t));
|
||||
switch (st) {
|
||||
case BR_FAILED:
|
||||
if (!retried) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue