mirror of
https://github.com/Z3Prover/z3
synced 2025-08-24 12:07:52 +00:00
apply
This commit is contained in:
parent
bf1a7914cd
commit
53f276d225
4 changed files with 13 additions and 1 deletions
|
@ -12,7 +12,7 @@ Abstract:
|
|||
Author:
|
||||
|
||||
Nikolaj Bjorner (nbjorner) 2021-03-19
|
||||
Jakob Rath 2021-04-6
|
||||
Jakob Rath 2021-04-06
|
||||
|
||||
--*/
|
||||
|
||||
|
@ -33,6 +33,7 @@ namespace polysat {
|
|||
m_viable_fallback(*this),
|
||||
m_linear_solver(*this),
|
||||
m_conflict(*this),
|
||||
m_simplify_clause(*this),
|
||||
m_simplify(*this),
|
||||
m_restart(*this),
|
||||
m_bvars(),
|
||||
|
@ -825,6 +826,7 @@ namespace polysat {
|
|||
void solver::learn_lemma(clause& lemma) {
|
||||
LOG("Learning: "<< lemma);
|
||||
SASSERT(!lemma.empty());
|
||||
m_simplify_clause.apply(lemma);
|
||||
add_clause(lemma);
|
||||
// TODO: add pwatch?
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue