3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-24 09:35:32 +00:00

mising files

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2017-08-26 02:04:59 -07:00
parent e3e965883f
commit ce3ab6b170
2 changed files with 8 additions and 7 deletions

View file

@ -2474,15 +2474,15 @@ class justified_expr {
ast_manager& m;
expr* m_fml;
proof* m_proof;
public:
justified_expr(ast_manager& m, expr* fml, proof* p):
m(m),
m_fml(fml),
m_proof(p) {
public:
justified_expr(ast_manager& m, expr* fml, proof* p):
m(m),
m_fml(fml),
m_proof(p) {
m.inc_ref(fml);
m.inc_ref(p);
}
justified_expr& operator=(justified_expr& other) {
SASSERT(&m == &other.m);
if (this != &other) {

View file

@ -467,7 +467,8 @@ unsigned asserted_formulas_new::propagate_values(unsigned i) {
proof * pr = m_formulas[i].get_proof();
new_pr = m.mk_modus_ponens(pr, new_pr);
}
m_formulas[i] = justified_expr(m, new_n, new_pr);
justified_expr j(m, new_n, new_pr);
m_formulas[i] = j;
update_substitution(new_n, new_pr);
return n != new_n ? 1 : 0;
}