mirror of
https://github.com/Z3Prover/z3
synced 2026-07-12 10:06:23 +00:00
add current_value access
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
b1dc2f2be2
commit
d05dccf331
2 changed files with 6 additions and 0 deletions
|
|
@ -88,6 +88,10 @@ namespace smt {
|
|||
return m_arith_value.get_up(e, hi, is_strict) && !is_strict && hi.is_int();
|
||||
}
|
||||
|
||||
bool current_value(expr* e, rational& v) const override {
|
||||
return m_arith_value.get_value(e, v) && v.is_int();
|
||||
}
|
||||
|
||||
lbool check_with_assumptions(expr_ref_vector& assumptions, expr_ref_vector& core) override {
|
||||
// TODO: Not ideal
|
||||
// Replay with assumptions
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue