3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-29 03:45:51 +00:00
This commit is contained in:
Nikolaj Bjorner 2022-04-16 16:42:57 +02:00
parent c131eb4db1
commit b5309d5fd0
3 changed files with 13 additions and 3 deletions

View file

@ -774,8 +774,14 @@ public:
for (expr* _ : core)
partial.push_back(nullptr);
for (unsigned i = 0; i + 1 < core.size(); ++i) {
std::cout << "Core size " << core.size() << "\n";
if (core.size() > 2)
m_unfold_upper += rational(core.size()-2)*weight;
expr* w = nullptr;
for (unsigned i = 0; i + 1 < core.size(); i += 2) {
expr* a = core.get(i);
expr* b = core.get(i + 1);
expr* u = mk_fresh_bool("u");