mirror of
https://github.com/Z3Prover/z3
synced 2025-11-14 10:01:16 +00:00
Simplify constraint evaluation
This commit is contained in:
parent
e4999b07aa
commit
fdc186b204
10 changed files with 95 additions and 113 deletions
|
|
@ -26,7 +26,7 @@ namespace polysat {
|
|||
|
||||
void simplify();
|
||||
smul_fl_constraint(constraint_manager& m, pdd const& p, pdd const& q, bool is_overflow);
|
||||
|
||||
|
||||
public:
|
||||
~smul_fl_constraint() override {}
|
||||
bool is_overflow() const { return m_is_overflow; }
|
||||
|
|
@ -34,9 +34,9 @@ namespace polysat {
|
|||
pdd const& q() const { return m_q; }
|
||||
std::ostream& display(std::ostream& out, lbool status) const override;
|
||||
std::ostream& display(std::ostream& out) const override;
|
||||
bool is_always_false(bool is_positive) const override { return false; }
|
||||
lbool eval() const override { return l_undef; } // TODO
|
||||
lbool eval(assignment const& a) const override { return l_undef; } // TODO
|
||||
void narrow(solver& s, bool is_positive, bool first) override;
|
||||
bool is_currently_false(assignment const& a, bool is_positive) const override { return false; }
|
||||
|
||||
inequality as_inequality(bool is_positive) const override { throw default_exception("is not an inequality"); }
|
||||
unsigned hash() const override;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue