mirror of
https://github.com/Z3Prover/z3
synced 2025-04-23 17:15:31 +00:00
make calling nra from nla optional
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
This commit is contained in:
parent
08940cff8f
commit
82fd2a062d
4 changed files with 9 additions and 4 deletions
|
@ -1474,10 +1474,8 @@ lbool core::check(vector<lemma>& l_vec) {
|
|||
m_tangents.tangent_lemma();
|
||||
}
|
||||
|
||||
#if 0
|
||||
if (false && l_vec.empty() && !done())
|
||||
if (l_vec.empty() && !done() && m_nla_settings.run_nra())
|
||||
ret = m_nra.check();
|
||||
#endif
|
||||
if (ret == l_undef && !l_vec.empty() && m_reslim.inc())
|
||||
ret = l_false;
|
||||
|
||||
|
|
|
@ -28,6 +28,7 @@ class nla_settings {
|
|||
unsigned m_grobner_max_simplified;
|
||||
unsigned m_grobner_number_of_conflicts_to_report;
|
||||
unsigned m_grobner_quota;
|
||||
bool m_run_nra;
|
||||
public:
|
||||
nla_settings() : m_run_order(true),
|
||||
m_run_tangents(true),
|
||||
|
@ -38,7 +39,8 @@ public:
|
|||
m_run_grobner(true),
|
||||
m_grobner_row_length_limit(50),
|
||||
m_grobner_subs_fixed(false),
|
||||
m_grobner_quota(0)
|
||||
m_grobner_quota(0),
|
||||
m_run_nra(false)
|
||||
{}
|
||||
unsigned grobner_eqs_growth() const { return m_grobner_eqs_growth;}
|
||||
unsigned& grobner_eqs_growth() { return m_grobner_eqs_growth;}
|
||||
|
@ -61,6 +63,9 @@ public:
|
|||
bool run_grobner() const { return m_run_grobner; }
|
||||
bool& run_grobner() { return m_run_grobner; }
|
||||
|
||||
bool run_nra() const { return m_run_nra; }
|
||||
bool& run_nra() { return m_run_nra; }
|
||||
|
||||
unsigned grobner_row_length_limit() const { return m_grobner_row_length_limit; }
|
||||
unsigned& grobner_row_length_limit() { return m_grobner_row_length_limit; }
|
||||
unsigned grobner_subs_fixed() const { return m_grobner_subs_fixed; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue