mirror of
https://github.com/Z3Prover/z3
synced 2025-04-28 19:35:50 +00:00
fix proof generation for euf-solver
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
e64bab4bb8
commit
48deb4d3e0
6 changed files with 108 additions and 49 deletions
|
@ -213,7 +213,9 @@ namespace arith {
|
|||
args.push_back(s.literal2expr(lit));
|
||||
}
|
||||
for (unsigned i = m_eq_head; i < m_eq_tail; ++i) {
|
||||
auto const& [x, y, is_eq] = a.m_arith_hint.eq(i);
|
||||
auto [x, y, is_eq] = a.m_arith_hint.eq(i);
|
||||
if (x->get_id() > y->get_id())
|
||||
std::swap(x, y);
|
||||
expr_ref eq(m.mk_eq(x->get_expr(), y->get_expr()), m);
|
||||
if (!is_eq) eq = m.mk_not(eq);
|
||||
args.push_back(arith.mk_int(1));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue