From 45efc737280ad0f1ac49211c939286040d61f1c9 Mon Sep 17 00:00:00 2001 From: Lev Nachmanson Date: Mon, 21 Oct 2019 17:17:21 -0700 Subject: [PATCH] port Grobner Signed-off-by: Lev Nachmanson --- src/math/lp/nla_grobner.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/math/lp/nla_grobner.cpp b/src/math/lp/nla_grobner.cpp index e13072fdf..cfe27d01e 100644 --- a/src/math/lp/nla_grobner.cpp +++ b/src/math/lp/nla_grobner.cpp @@ -489,8 +489,13 @@ void nla_grobner::simplify_to_process(equation* eq) { } - +// let eq1: ab+q=0, and eq2: ac+e=0, then qc - eb = 0 void nla_grobner::superpose(equation * eq1, equation * eq2) { + TRACE("grobner", tout << "eq1="; display_equation(tout, *eq1) << "eq2="; display_equation(tout, *eq2);); + const nex_mul * ab = get_highest_monomial(eq1->exp()); + const nex_mul * ac = get_highest_monomial(eq2->exp()); + TRACE("grobner", tout << "ab=" << *ab << " , " << " ac = " << *ac << "\n";); + NOT_IMPLEMENTED_YET(); }