3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2026-04-26 05:43:33 +00:00

update names and nature of multiplication blast rules

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2024-02-01 17:12:35 -08:00
parent 60add85c47
commit 88b315cdb0
5 changed files with 54 additions and 22 deletions

View file

@ -88,6 +88,10 @@ namespace polysat {
return eq(p * rational::power_of_two(N - k));
}
signed_constraint constraints::parity_at_most(pdd const& p, unsigned k) {
return ~parity_at_least(p, k + 1);
}
// 2^{N-i-1}* p >= 2^{N-1}
signed_constraint constraints::bit(pdd const& p, unsigned i) {
unsigned N = p.manager().power_of_2();