mirror of
https://github.com/Z3Prover/z3
synced 2025-11-22 05:36:41 +00:00
t
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
This commit is contained in:
parent
d0e139f2b3
commit
71cdbf7b72
1 changed files with 6 additions and 2 deletions
|
|
@ -224,6 +224,7 @@ namespace nlsat {
|
|||
bool m_dump_mathematica;
|
||||
bool m_check_lemmas;
|
||||
unsigned m_max_conflicts;
|
||||
unsigned m_lemma_rlimit;
|
||||
unsigned m_lemma_count;
|
||||
unsigned m_variable_ordering_strategy;
|
||||
bool m_set_0_more;
|
||||
|
|
@ -271,6 +272,7 @@ namespace nlsat {
|
|||
reset_statistics();
|
||||
mk_true_bvar();
|
||||
m_lemma_count = 0;
|
||||
m_lemma_rlimit = 10 * 1000;
|
||||
}
|
||||
|
||||
~imp() {
|
||||
|
|
@ -1141,6 +1143,7 @@ namespace nlsat {
|
|||
TRACE(nlsat, display(tout << "(echo \"#" << ++ttt << " expl lemma ", n, cls) << "\")\n");
|
||||
display(out << "(echo \"#" << ttt << (is_valid ? " learned " : " conflict "), n, cls) << "\")\n";
|
||||
out << "(set-logic ALL)\n";
|
||||
out << "(set-option :rlimit " << m_lemma_rlimit << ")\n";
|
||||
if (is_valid) {
|
||||
display_smt2_bool_decls(out, used_bools);
|
||||
display_smt2_arith_decls(out, used_vars);
|
||||
|
|
@ -2245,6 +2248,7 @@ namespace nlsat {
|
|||
}
|
||||
out << "(echo \"#" << ttt << " assignment lemma\")\n";
|
||||
out << "(set-logic ALL)\n";
|
||||
out << "(set-option :rlimit " << m_lemma_rlimit << ")\n";
|
||||
display_smt2_bool_decls(out, used_bools);
|
||||
display_smt2_arith_decls(out, used_vars);
|
||||
display_bool_assignment(out, false, &used_bools);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue