3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-07-23 04:38:53 +00:00

replace lean to lp

Signed-off-by: Lev Nachmanson <levnach@microsoft.com>
This commit is contained in:
Lev Nachmanson 2017-07-10 11:06:37 -07:00
parent f6a75600c2
commit cc32e45471
117 changed files with 1726 additions and 1726 deletions

View file

@ -10,7 +10,7 @@
#include "util/params.h"
#include "nlsat/nlsat_solver.h"
namespace lean {
namespace lp {
class lar_solver;
}
@ -25,7 +25,7 @@ namespace nra {
public:
solver(lean::lar_solver& s, reslimit& lim, params_ref const& p = params_ref());
solver(lp::lar_solver& s, reslimit& lim, params_ref const& p = params_ref());
~solver();
@ -33,13 +33,13 @@ namespace nra {
\brief Add a definition v = vs[0]*vs[1]*...*vs[sz-1]
The variable v is equal to the product of variables vs.
*/
void add_monomial(lean::var_index v, unsigned sz, lean::var_index const* vs);
void add_monomial(lp::var_index v, unsigned sz, lp::var_index const* vs);
/*
\brief Check feasiblity of linear constraints augmented by polynomial definitions
that are added.
*/
lbool check(lean::explanation_t& ex);
lbool check(lp::explanation_t& ex);
/*
\brief determine whether nra check is needed.
@ -49,7 +49,7 @@ namespace nra {
/*
\brief Access model.
*/
nlsat::anum const& value(lean::var_index v) const;
nlsat::anum const& value(lp::var_index v) const;
nlsat::anum_manager& am();