mirror of
https://github.com/Z3Prover/z3
synced 2025-08-03 01:40:22 +00:00
consolidate freeze functionality into dependent_expr_state
rename size() to qtail() and introduce shortcuts ensure tactic goals are not updated if they are in inconsistent state (because indices could be invalidated)
This commit is contained in:
parent
73a652cf4b
commit
bec3acd146
21 changed files with 223 additions and 93 deletions
|
@ -255,7 +255,7 @@ public:
|
|||
void reduce() override {
|
||||
expr_ref new_curr(m);
|
||||
proof_ref new_pr(m);
|
||||
for (unsigned idx = m_fmls.qhead(); idx < m_fmls.size() && !m_fmls.inconsistent(); idx++) {
|
||||
for (unsigned idx = qhead(); idx < qtail() && !m_fmls.inconsistent(); idx++) {
|
||||
auto [curr, d] = m_fmls[idx]();
|
||||
m_rw(curr, new_curr, new_pr);
|
||||
// Proof reconstruction: new_pr = m.mk_modus_ponens(old_pr, new_pr);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue