3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-08-02 09:20:22 +00:00
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2020-02-09 08:38:07 -08:00
parent 2512a958b9
commit 5964969f29
5 changed files with 41 additions and 53 deletions

View file

@ -9,6 +9,15 @@ Abstract:
Gcd_Test heuristic
gcd test
5*x + 3*y + 6*z = 5
suppose x is fixed at 2.
so we have 10 + 3(y + 2z) = 5
5 = -3(y + 2z)
this is unsolvable because 5/3 is not an integer.
so we create a lemma that rules out this condition.
Author:
Nikolaj Bjorner (nbjorner)
Lev Nachmanson (levnach)
@ -33,7 +42,7 @@ namespace lp {
mpq const & lcm_den,
mpq const & consts);
void fill_explanation_from_fixed_columns(const row_strip<mpq> & row);
void add_to_explanation_from_fixed_or_boxed_column(unsigned j);
public:
int_gcd_test(int_solver& lia);
~int_gcd_test() {}