3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-28 19:35:50 +00:00

rename monomial to monic

Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
This commit is contained in:
Lev Nachmanson 2019-09-17 14:31:09 -07:00
parent cc5a12c5c7
commit a0bdb8135d
30 changed files with 481 additions and 479 deletions

View file

@ -35,13 +35,13 @@ void tangents::tangent_lemma() {
return;
}
factorization bf(nullptr);
const monomial* m;
const monic* m;
if (c().find_bfc_to_refine(m, bf)) {
tangent_lemma_bf(*m, bf);
}
}
void tangents::generate_explanations_of_tang_lemma(const monomial& rm, const factorization& bf, lp::explanation& exp) {
void tangents::generate_explanations_of_tang_lemma(const monic& rm, const factorization& bf, lp::explanation& exp) {
// here we repeat the same explanation for each lemma
c().explain(rm, exp);
c().explain(bf[0], exp);
@ -69,7 +69,7 @@ void tangents::generate_tang_plane(const rational & a, const rational& b, const
c().mk_ineq(t, below? llc::GT : llc::LT, - a*b);
}
void tangents::tangent_lemma_bf(const monomial& m, const factorization& bf){
void tangents::tangent_lemma_bf(const monic& m, const factorization& bf){
point a, b;
point xy (val(bf[0]), val(bf[1]));
rational correct_mult_val = xy.x * xy.y;