mirror of
https://github.com/Z3Prover/z3
synced 2025-10-13 11:10:19 +00:00
simplify some verbose trace-stream
This commit is contained in:
parent
bc2e6ce037
commit
5fac396c2f
3 changed files with 27 additions and 18 deletions
|
@ -195,6 +195,18 @@ namespace smt {
|
|||
log_axiom_instantiation(mk_or(fmls));
|
||||
}
|
||||
|
||||
|
||||
void theory::log_axiom_instantiation(literal_buffer const& ls) {
|
||||
ast_manager& m = get_manager();
|
||||
expr_ref_vector fmls(m);
|
||||
expr_ref tmp(m);
|
||||
for (literal l : ls) {
|
||||
ctx.literal2expr(l, tmp);
|
||||
fmls.push_back(tmp);
|
||||
}
|
||||
log_axiom_instantiation(mk_or(fmls));
|
||||
}
|
||||
|
||||
void theory::log_axiom_instantiation(app * r, unsigned axiom_id, unsigned num_bindings, app * const * bindings, unsigned pattern_id, const vector<std::tuple<enode *, enode *>> & used_enodes) {
|
||||
ast_manager & m = get_manager();
|
||||
app_ref _r(r, m);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue