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:
parent
2774d6896b
commit
92b5301b7f
13 changed files with 38 additions and 187 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue