3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-08-19 01:32:17 +00:00

adding Cube method to .NET API, removing lookahead and get-lemmas

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2017-10-29 08:57:24 -07:00
parent 2774d6896b
commit 92b5301b7f
13 changed files with 38 additions and 187 deletions

View file

@ -90,6 +90,8 @@ namespace sat {
inline void simplifier::checkpoint() { s.checkpoint(); }
bool simplifier::single_threaded() const { return s.m_config.m_num_threads == 1; }
void simplifier::register_clauses(clause_vector & cs) {
std::stable_sort(cs.begin(), cs.end(), size_lt());
for (clause* c : cs) {
@ -230,7 +232,7 @@ namespace sat {
subsume();
if (s.inconsistent())
return;
if (!learned && elim_vars_enabled() && s.m_config.m_num_threads == 1)
if (!learned && elim_vars_enabled())
elim_vars();
if (s.inconsistent())
return;