mirror of
https://github.com/Z3Prover/z3
synced 2025-04-24 01:25:31 +00:00
The demodulator doesn't produce proofs so remove code path that depends it does.
This commit is contained in:
parent
7fe6787748
commit
d218083145
3 changed files with 9 additions and 14 deletions
|
@ -616,15 +616,8 @@ void demodulator_rewriter::reschedule_demodulators(func_decl * f, expr * lhs) {
|
|||
}
|
||||
}
|
||||
|
||||
void demodulator_rewriter::operator()(unsigned n, expr * const * exprs, proof * const * prs,
|
||||
expr_ref_vector & new_exprs, proof_ref_vector & new_prs) {
|
||||
if (m.proofs_enabled()) {
|
||||
TRACE("tactic", tout << "PRE_DEMODULATOR=true is not supported when proofs are enabled.";);
|
||||
// Let us not waste time with proof production
|
||||
new_exprs.append(n, exprs);
|
||||
new_prs.append(n, prs);
|
||||
return;
|
||||
}
|
||||
void demodulator_rewriter::operator()(unsigned n, expr * const * exprs,
|
||||
expr_ref_vector & new_exprs) {
|
||||
|
||||
TRACE("demodulator", tout << "before demodulator:\n";
|
||||
for ( unsigned i = 0 ; i < n ; i++ )
|
||||
|
|
|
@ -197,7 +197,7 @@ public:
|
|||
demodulator_rewriter(ast_manager & m);
|
||||
~demodulator_rewriter();
|
||||
|
||||
void operator()(unsigned n, expr * const * exprs, proof * const * prs, expr_ref_vector & new_exprs, proof_ref_vector & new_prs);
|
||||
void operator()(unsigned n, expr * const * exprs, expr_ref_vector & new_exprs);
|
||||
|
||||
/**
|
||||
Given a demodulator (aka rewrite rule) of the form
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue