3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-06 01:24:08 +00:00
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2020-12-21 17:08:38 -08:00
parent f26662d079
commit 021bd8a994
3 changed files with 10 additions and 4 deletions

View file

@ -113,8 +113,10 @@ Linux Dependencies:
print(contents) print(contents)
sym = "" sym = ""
if symbols: if symbols:
sym = "s" sym = "sym."
with open(f"out/Microsoft.Z3.x64.{sym}.nuspec", 'w') as f: file = f"out/Microsoft.Z3.x64.{sym}nuspec"
print(file)
with open(file, 'w') as f:
f.write(contents) f.write(contents)
def main(): def main():
@ -125,8 +127,11 @@ def main():
commit = sys.argv[5] commit = sys.argv[5]
source_root = sys.argv[6] source_root = sys.argv[6]
symbols = False symbols = False
if len(sys.argv) > 7:
print(sys.argv[7])
if len(sys.argv) > 7 and "symbols" == sys.argv[7]: if len(sys.argv) > 7 and "symbols" == sys.argv[7]:
symbols = True symbols = True
print(symbols)
print(packages) print(packages)
mk_dir(packages) mk_dir(packages)
unpack(packages, symbols) unpack(packages, symbols)

View file

@ -203,6 +203,7 @@ struct model::top_sort : public ::top_sort<func_decl> {
{ {
params_ref p; params_ref p;
p.set_bool("elim_ite", false); p.set_bool("elim_ite", false);
p.set_bool("ite_extra_rules", true);
m_rewrite.updt_params(p); m_rewrite.updt_params(p);
} }
@ -483,6 +484,7 @@ expr_ref model::cleanup_expr(top_sort& ts, expr* e, unsigned current_partition)
} }
if (t != new_t.get()) trail.push_back(new_t); if (t != new_t.get()) trail.push_back(new_t);
CTRACE("model", (t != new_t.get()), tout << mk_bounded_pp(t, m) << " " << new_t << "\n";);
todo.pop_back(); todo.pop_back();
cache.insert(t, new_t); cache.insert(t, new_t);
break; break;

View file

@ -338,9 +338,8 @@ namespace smt {
} }
void context::ensure_internalized(expr* e) { void context::ensure_internalized(expr* e) {
if (!e_internalized(e)) { if (!e_internalized(e))
internalize(e, false); internalize(e, false);
}
} }
/** /**