mirror of
https://github.com/Z3Prover/z3
synced 2025-06-29 09:28:45 +00:00
keep track of qhead
This commit is contained in:
parent
5af6e1a046
commit
8184e7fe0a
2 changed files with 5 additions and 2 deletions
|
@ -29,7 +29,7 @@ void card2bv::reduce() {
|
|||
|
||||
expr_ref new_f1(m), new_f2(m);
|
||||
proof_ref new_pr(m);
|
||||
for (unsigned idx = 0; !m_fmls.inconsistent() && idx < m_fmls.size(); idx++) {
|
||||
for (unsigned idx = m_qhead; !m_fmls.inconsistent() && idx < m_fmls.size(); idx++) {
|
||||
auto [f, d] = m_fmls[idx]();
|
||||
rw1(f, new_f1);
|
||||
rw2(false, new_f1, new_f2, new_pr);
|
||||
|
@ -48,6 +48,8 @@ void card2bv::reduce() {
|
|||
func_decl_ref_vector const& fns = rw2.fresh_constants();
|
||||
for (func_decl* f : fns)
|
||||
m_fmls.model_trail().hide(f);
|
||||
|
||||
advance_qhead(m_fmls.size());
|
||||
}
|
||||
|
||||
void card2bv::collect_statistics(statistics& st) const {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue