3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-13 12:28:44 +00:00

better encodings for at-most-1, #755

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2016-10-10 23:49:45 -07:00
parent 8d2b70a5e2
commit 487f15f90a
2 changed files with 0 additions and 3 deletions

View file

@ -119,8 +119,6 @@ public:
app* mk_fresh_bool();
expr_ref mk_at_most_1(unsigned num_args, expr * const * args);
private:
rational to_rational(parameter const& p) const;

View file

@ -205,7 +205,6 @@ Notes:
return mk_at_most_1(full, n, xs);
}
else {
std::cout << "sort " << k << "\n";
SASSERT(2*k <= n);
m_t = full?LE_FULL:LE;
card(k + 1, n, xs, out);