mirror of
https://github.com/Z3Prover/z3
synced 2025-04-29 11:55:51 +00:00
fix axiomatization for sdiv
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
0ca94b9c2f
commit
477db7d8bd
4 changed files with 39 additions and 9 deletions
|
@ -92,7 +92,7 @@ namespace euf {
|
|||
m_egraph.explain_eq<size_t>(m_explain, &m_explain_cc, a, b);
|
||||
m_egraph.end_explain();
|
||||
// Detect shortcut if equality is explained directly by a theory
|
||||
if (m_explain.size() == 1 && !is_literal(m_explain[0])) {
|
||||
if (m_explain.size() == 1 && is_justification(m_explain[0])) {
|
||||
auto const& [x, y] = th_explain::from_index(get_justification(m_explain[0])).eq_consequent();
|
||||
if (x == a && y == b)
|
||||
continue;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue