3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-08-24 03:57:51 +00:00

remove justified vars

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2021-11-18 15:43:39 -08:00
parent a5fdf6ba8a
commit 1dcb7e6f6a
4 changed files with 71 additions and 25 deletions

View file

@ -33,7 +33,6 @@ namespace polysat {
friend class constraint_manager;
unsigned m_ref_count = 0; // TODO: remove refcount once we confirm it's not needed anymore
pvar m_justified_var = null_var; // The variable that was restricted by learning this lemma.
bool m_redundant = false;
sat::literal_vector m_literals;
@ -60,9 +59,6 @@ namespace polysat {
static clause_ref from_literals(sat::literal_vector literals);
pvar justified_var() const { return m_justified_var; }
void set_justified_var(pvar v) { SASSERT(m_justified_var == null_var); m_justified_var = v; }
bool empty() const { return m_literals.empty(); }
unsigned size() const { return m_literals.size(); }
sat::literal operator[](unsigned idx) const { return m_literals[idx]; }