mirror of
https://github.com/Z3Prover/z3
synced 2026-02-20 07:24:40 +00:00
hook up generate_simple_tangent_lemma()
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
This commit is contained in:
parent
b2b4193afa
commit
f20a028f7b
4 changed files with 30 additions and 16 deletions
|
|
@ -1624,6 +1624,14 @@ bool core::find_bfc_to_refine(const monomial* & m, factorization & bf){
|
|||
return false;
|
||||
}
|
||||
|
||||
rational core::val(const factorization& f) const {
|
||||
rational r(1);
|
||||
for (const factor &p : f) {
|
||||
r *= val(p);
|
||||
}
|
||||
return r;
|
||||
}
|
||||
|
||||
void core::generate_simple_sign_lemma(const rational& sign, const monomial& m) {
|
||||
add_empty_lemma();
|
||||
SASSERT(sign == nla::rat_sign(product_value(m.vars())));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue