mirror of
https://github.com/Z3Prover/z3
synced 2025-06-28 08:58:44 +00:00
add facility to solve for a linear term over API
This commit is contained in:
parent
d2411567b5
commit
05e053247d
14 changed files with 109 additions and 6 deletions
|
@ -1375,11 +1375,6 @@ namespace smt {
|
|||
bool can_propagate() const;
|
||||
|
||||
|
||||
// Retrieve arithmetic values.
|
||||
bool get_arith_lo(expr* e, rational& lo, bool& strict);
|
||||
bool get_arith_up(expr* e, rational& up, bool& strict);
|
||||
bool get_arith_value(expr* e, rational& value);
|
||||
|
||||
// -----------------------------------
|
||||
//
|
||||
// Model checking... (must be improved)
|
||||
|
@ -1388,6 +1383,8 @@ namespace smt {
|
|||
public:
|
||||
bool get_value(enode * n, expr_ref & value);
|
||||
|
||||
bool solve_for(enode* n, expr_ref& term);
|
||||
|
||||
// -----------------------------------
|
||||
//
|
||||
// Pretty Printing
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue