3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-08-24 20:16:00 +00:00

add smul over and underflow predicate

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2022-02-20 11:39:45 +02:00
parent dc3b921712
commit 1faccffd0d
8 changed files with 88 additions and 50 deletions

View file

@ -20,11 +20,12 @@ namespace polysat {
class smul_ovfl_constraint final : public constraint {
friend class constraint_manager;
pdd m_p;
pdd m_q;
bool m_is_overflow;
pdd m_p;
pdd m_q;
void simplify();
smul_ovfl_constraint(constraint_manager& m, pdd const& p, pdd const& q);
smul_ovfl_constraint(constraint_manager& m, pdd const& p, pdd const& q, bool is_overflow);
public:
~smul_ovfl_constraint() override {}