mirror of
https://github.com/Z3Prover/z3
synced 2025-04-29 20:05:51 +00:00
add generic theory lemma in default case.
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
a25247aa7b
commit
98fe2e637a
3 changed files with 21 additions and 1 deletions
|
@ -160,7 +160,9 @@ namespace euf {
|
|||
}
|
||||
|
||||
bool th_euf_solver::add_clause(unsigned n, sat::literal* lits, th_proof_hint const* ps) {
|
||||
SASSERT(!ctx.use_drat() || ps); // - very far from true, and isn't a requirement
|
||||
if (ctx.use_drat() && !ps)
|
||||
ps = ctx.mk_smt_clause(name(), n, lits);
|
||||
|
||||
bool was_true = false;
|
||||
for (unsigned i = 0; i < n; ++i)
|
||||
was_true |= is_true(lits[i]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue