mirror of
https://github.com/Z3Prover/z3
synced 2025-08-12 06:00:53 +00:00
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
0f697830fc
commit
387964f508
7 changed files with 91 additions and 50 deletions
|
@ -139,6 +139,17 @@ namespace smt {
|
|||
}
|
||||
|
||||
|
||||
void theory::log_axiom_instantiation(literal_vector const& ls) {
|
||||
ast_manager& m = get_manager();
|
||||
expr_ref_vector fmls(m);
|
||||
expr_ref tmp(m);
|
||||
for (literal l : ls) {
|
||||
get_context().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