mirror of
https://github.com/Z3Prover/z3
synced 2025-06-22 05:43:39 +00:00
work on niil_solver
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
This commit is contained in:
parent
efee734ec9
commit
e3ff457af5
1 changed files with 14 additions and 2 deletions
|
@ -864,8 +864,8 @@ struct solver::imp {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool generate_basic_lemma_for_mon_proportionality(unsigned i_mon) {
|
// we derive a lemma from |x| >= 1 => |xy| >= |y|
|
||||||
TRACE("niil_solver", tout << "generate_basic_lemma_for_mon_proportionality";);
|
bool large_basic_lemma_for_mon_proportionality_from_factors_to_product(unsigned i_mon) {
|
||||||
const mon_eq & m = m_monomials[i_mon];
|
const mon_eq & m = m_monomials[i_mon];
|
||||||
svector<unsigned> large;
|
svector<unsigned> large;
|
||||||
svector<unsigned> _small;
|
svector<unsigned> _small;
|
||||||
|
@ -884,7 +884,19 @@ struct solver::imp {
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
bool generate_basic_lemma_for_mon_proportionality(unsigned i_mon) {
|
||||||
|
TRACE("niil_solver", tout << "generate_basic_lemma_for_mon_proportionality";);
|
||||||
|
if (large_basic_lemma_for_mon_proportionality_from_factors_to_product(i_mon))
|
||||||
|
return true;
|
||||||
|
|
||||||
|
return large_basic_lemma_for_mon_proportionality_from_product_to_factors(i_mon);
|
||||||
|
}
|
||||||
|
// we derive a lemma from |xy| > |y| => |x| >= 1 || |y| = 0
|
||||||
|
bool large_basic_lemma_for_mon_proportionality_from_product_to_factors(unsigned i_mon) {
|
||||||
|
SASSERT(false);
|
||||||
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool generate_basic_lemma_for_mon(unsigned i_mon) {
|
bool generate_basic_lemma_for_mon(unsigned i_mon) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue