mirror of
https://github.com/Z3Prover/z3
synced 2025-08-02 17:30:23 +00:00
add options for logging learned lemmas and theory axioms
- add solver.axioms2files - prints negated theory axioms to files. Each file should be unsat - add solver.lemmas2console - prints lemmas to the console. - remove option smt.arith.dump_lemmas. It is replaced by solver.axioms2files
This commit is contained in:
parent
410eed9bd5
commit
63f48f8fd4
32 changed files with 260 additions and 319 deletions
|
@ -395,12 +395,14 @@ namespace smt {
|
|||
m_fparams = alloc(smt_params, m_context->get_fparams());
|
||||
m_fparams->m_relevancy_lvl = 0; // no relevancy since the model checking problems are quantifier free
|
||||
m_fparams->m_case_split_strategy = CS_ACTIVITY; // avoid warning messages about smt.case_split >= 3.
|
||||
m_fparams->m_arith_dump_lemmas = false;
|
||||
m_fparams->m_axioms2files = false;
|
||||
m_fparams->m_lemmas2console = false;
|
||||
}
|
||||
if (!m_aux_context) {
|
||||
symbol logic;
|
||||
params_ref p;
|
||||
p.set_bool("arith.dump_lemmas", false);
|
||||
p.set_bool("solver.axioms2files", false);
|
||||
p.set_bool("solver.lemmas2console", false);
|
||||
m_aux_context = m_context->mk_fresh(&logic, m_fparams.get(), p);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue