3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-28 19:35:50 +00:00

prepare expressions for horner form

Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
This commit is contained in:
Lev Nachmanson 2019-06-21 20:55:20 -07:00
parent 130995a3db
commit 902a223b34
6 changed files with 721 additions and 5 deletions

View file

@ -27,6 +27,7 @@
#include "math/lp/nla_monotone_lemmas.h"
#include "math/lp/emonomials.h"
#include "math/lp/nla_settings.h"
#include "math/lp/nla_expr.h"
namespace nla {
template <typename A, typename B>
@ -344,7 +345,12 @@ public:
lbool test_check(vector<lemma>& l);
lpvar map_to_root(lpvar) const;
std::ostream& print_terms(std::ostream&) const;
std::ostream& print_term( const lp::lar_term&, std::ostream&) const;
std::ostream& print_term( const lp::lar_term&, std::ostream&) const;
nla_expr<rational> mk_expr(lpvar j) const;
nla_expr<rational> mk_expr(const rational &a, lpvar j) const;
nla_expr<rational> mk_expr(const rational &a, const svector<lpvar>& vs) const;
nla_expr<rational> mk_expr(const lp::lar_term& t) const;
}; // end of core
struct pp_mon {