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:
parent
8d2b70a5e2
commit
487f15f90a
|
@ -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;
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue