3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-06-28 17:08:45 +00:00

port Grobner

Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
This commit is contained in:
Lev Nachmanson 2019-10-16 17:02:23 -07:00
parent f8059394e5
commit 3ec0fc2345

View file

@ -622,7 +622,6 @@ bool grobner::simplify_target_monomials(equation const * source, equation * targ
/** /**
\brief Simplify the target equation using the source as a rewrite rule. \brief Simplify the target equation using the source as a rewrite rule.
Return 0 if target was not simplified. Return 0 if target was not simplified.
*/ */
grobner::equation * grobner::simplify_source_target(equation const * source, equation * target) { grobner::equation * grobner::simplify_source_target(equation const * source, equation * target) {
TRACE("grobner", tout << "simplifying: "; display_equation(tout, *target); tout << "using: "; display_equation(tout, *source);); TRACE("grobner", tout << "simplifying: "; display_equation(tout, *target); tout << "using: "; display_equation(tout, *source););
@ -636,7 +635,7 @@ grobner::equation * grobner::simplify_source_target(equation const * source, equ
} else { } else {
break; break;
} }
} while (!m_manager.canceled()); } while (!m_manager.canceled());
TRACE("grobner", tout << "result: "; display_equation(tout, *target);); TRACE("grobner", tout << "result: "; display_equation(tout, *target););
if (result) { if (result) {
target->m_dep = m_dep_manager.mk_join(target->m_dep, source->m_dep); target->m_dep = m_dep_manager.mk_join(target->m_dep, source->m_dep);