3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2026-02-20 07:24:40 +00:00

filter out empty lemmas from nla_solver on consumption

Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
This commit is contained in:
Lev Nachmanson 2025-06-25 07:03:01 -07:00 committed by Lev Nachmanson
parent 4e33b44d27
commit 20fb830682
3 changed files with 66 additions and 6 deletions

View file

@ -107,9 +107,9 @@ namespace nla {
void solver::check_bounded_divisions() {
m_core->check_bounded_divisions();
}
vector<nla::lemma> const& solver::lemmas() const {
return m_core->lemmas();
//return only the non-empty lemmas
solver::non_empty_lemmas_range solver::lemmas() const {
return non_empty_lemmas_range(m_core->lemmas());
}
vector<nla::ineq> const& solver::literals() const {