3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-24 17:45:32 +00:00

add totalizer version of rc2

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2022-06-29 23:10:42 -07:00
parent 8ab8b63a4c
commit c3d2120bdd
7 changed files with 72 additions and 12 deletions

View file

@ -17,9 +17,6 @@ void tst_totalizer() {
expr* am = tot.at_least(i);
std::cout << mk_pp(am, m) << "\n";
}
for (auto& clause : tot.clauses()) {
for (auto * l : clause)
std::cout << mk_pp(l, m) << " ";
std::cout << "\n";
}
for (auto& clause : tot.clauses())
std::cout << clause << "\n";
}