mirror of
https://github.com/Z3Prover/z3
synced 2025-07-19 10:52:02 +00:00
This commit is contained in:
parent
123c446395
commit
e3be25dad6
5 changed files with 120 additions and 13 deletions
|
@ -35,7 +35,10 @@ namespace euf {
|
|||
sat::literal solver::mk_literal(expr* e) {
|
||||
expr_ref _e(e, m);
|
||||
bool is_not = m.is_not(e, e);
|
||||
return internalize(e, is_not, false, m_is_redundant);
|
||||
sat::literal lit = internalize(e, false, false, m_is_redundant);
|
||||
if (is_not)
|
||||
lit.neg();
|
||||
return lit;
|
||||
}
|
||||
|
||||
sat::literal solver::internalize(expr* e, bool sign, bool root, bool redundant) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue