mirror of
https://github.com/Z3Prover/z3
synced 2025-10-17 21:10:26 +00:00
Added alternative way of calculating number of trailing zeros + hamming distance
This commit is contained in:
parent
98d572b48b
commit
4f4d56eb91
3 changed files with 76 additions and 8 deletions
|
@ -29,6 +29,7 @@ namespace polysat {
|
|||
unsigned_vector m_inverse_constants;
|
||||
unsigned_vector m_rest_constants;
|
||||
|
||||
pdd get_hamming_distance(pdd p);
|
||||
pdd get_odd(pdd p); // add lemma "2^pv(v) * v' = v"
|
||||
optional<pdd> get_inverse(pdd v); // add lemma "v' * v'^-1 = 1 (where v' is the odd part of v)"
|
||||
void add_dyadic_valuation(pvar v, unsigned k); // add lemma "pv(v) = k" ==> "pv_v = k"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue