mirror of
https://github.com/Z3Prover/z3
synced 2025-08-06 19:21:22 +00:00
add lemma.is_empty()
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
This commit is contained in:
parent
5bda42e104
commit
4e33b44d27
2 changed files with 8 additions and 4 deletions
|
@ -1067,10 +1067,12 @@ lemma_builder::~lemma_builder() {
|
|||
TRACE(nla_solver, tout << name << " " << (++i) << "\n" << *this; );
|
||||
}
|
||||
|
||||
lemma& lemma_builder::current() const {
|
||||
lemma& lemma_builder::current() {
|
||||
return c.m_lemmas.back();
|
||||
}
|
||||
const lemma& lemma_builder::current() const {
|
||||
return c.m_lemmas.back();
|
||||
}
|
||||
|
||||
lemma_builder& lemma_builder::operator&=(lp::explanation const& e) {
|
||||
expl().add_expl(e);
|
||||
return *this;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue