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

use lookahead for simplification

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2017-04-18 16:58:56 -07:00
parent 352f8b6cb9
commit a3f4d58b00
11 changed files with 183 additions and 45 deletions

View file

@ -144,6 +144,7 @@ namespace sat {
literal_vector m_assumptions;
unsigned m_num_non_binary_clauses;
bool m_is_pb;
inline bool is_pos(literal t) const { return !t.sign(); }
inline bool is_true(bool_var v) const { return cur_solution(v); }