mirror of
https://github.com/Z3Prover/z3
synced 2025-04-24 09:35:32 +00:00
experiment
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
68d9b44d67
commit
ff22b433cc
1 changed files with 13 additions and 0 deletions
|
@ -87,12 +87,25 @@ namespace {
|
|||
lhs = 0, rhs = 0, is_positive = !is_positive;
|
||||
return;
|
||||
}
|
||||
|
||||
#if 0
|
||||
// !(k <= p) -> p <= k - 1
|
||||
|
||||
if (!is_positive && lhs.is_val() && lhs.val() > 0) {
|
||||
pdd k = lhs;
|
||||
lhs = rhs;
|
||||
rhs = k - 1;
|
||||
is_positive = true;
|
||||
}
|
||||
#endif
|
||||
// k <= p --> p - k <= - k - 1
|
||||
if (lhs.is_val()) {
|
||||
pdd k = lhs;
|
||||
lhs = rhs - k;
|
||||
rhs = - k - 1;
|
||||
}
|
||||
// NSB: why this?
|
||||
|
||||
// p > -2 --> p + 1 <= 0
|
||||
// p <= -2 --> p + 1 > 0
|
||||
if (rhs.is_val() && (rhs + 2).is_zero()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue