3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-13 20:38:43 +00:00
Commit graph

12335 commits

Author SHA1 Message Date
Lev Nachmanson 8331207b81 clean up nla_core.h
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2020-01-28 10:04:21 -08:00
Lev Nachmanson 25198c91b3 clean up nla_core.h
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2020-01-28 10:04:21 -08:00
Lev Nachmanson 2e9b4f643a fix a reference to random
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2020-01-28 10:04:21 -08:00
Lev Nachmanson 1a0d68e1b7 remove shadow m_core fields
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2020-01-28 10:04:21 -08:00
Lev Nachmanson 9e82e6965c refactoring nla_solver
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2020-01-28 10:04:21 -08:00
Lev Nachmanson 7fa4371d96 remove a method
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2020-01-28 10:04:21 -08:00
Lev Nachmanson c1ee4600d1 call core::random()
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2020-01-28 10:04:21 -08:00
Lev Nachmanson c7c2d81f53 Refactor basic lemmas out of nla_core 2020-01-28 10:04:21 -08:00
Lev Nachmanson 3e11b87aaf avoid unnecessary inequalities
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2020-01-28 10:04:21 -08:00
Lev Nachmanson f2ec3b362a refactor nla_solver
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2020-01-28 10:04:21 -08:00
Lev Nachmanson c9f2f6f110 Forgotten file 2020-01-28 10:04:21 -08:00
Lev Nachmanson 2513deb817 Add forgotten file 2020-01-28 10:04:21 -08:00
Lev Nachmanson 7f05907f91 refactor nla_solver
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2020-01-28 10:04:21 -08:00
Lev Nachmanson bddda1674d Disable collect_equivs_of_fixed_vars() that led to long explanations 2020-01-28 10:04:21 -08:00
Lev Nachmanson 5c949d74d8 add an assert in add_abs_bound
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2020-01-28 10:04:21 -08:00
Lev Nachmanson c7dec3ef4d a fix in add_abs_bound() and integrating NB changes 2020-01-28 10:04:21 -08:00
Lev Nachmanson a323eaf1c8 add some nla statistics generate not more than one pl lemma an a rm monomial
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2020-01-28 10:04:21 -08:00
Lev Nachmanson 4ba3ccfc99 fix in generate_ol()
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2020-01-28 10:04:21 -08:00
Lev Nachmanson 9ad0197e14 create shortcuts var_abs_val_le(), var_abs_val_ge() and remove some lemma redundancy 2020-01-28 10:04:21 -08:00
Lev Nachmanson 32d1217499 Create explanations for octogonal constraints by the var equivalence 2020-01-28 10:04:21 -08:00
Lev Nachmanson ab1b2ae86d remove dead code and a fix in no_lemmas_hold
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2020-01-28 10:04:21 -08:00
Lev Nachmanson 826d2582e2 var_eqs seems working 2020-01-28 10:04:21 -08:00
Lev Nachmanson 98dca454ae debug var_eqs 2020-01-28 10:04:21 -08:00
Lev Nachmanson 7a3a696b6f debugging var_eqs 2020-01-28 10:04:21 -08:00
Lev Nachmanson 09152013b3 var_eqs compiles but broken 2020-01-28 10:04:21 -08:00
Lev Nachmanson f828dc9451 treat monomial factorization in a special way in generate_pl()
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2020-01-28 10:04:21 -08:00
Lev Nachmanson e32c1bdee8 fix the build
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2020-01-28 10:04:21 -08:00
Lev Nachmanson 3f9229a698 stop keying monomials by abs values
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2020-01-28 10:04:21 -08:00
Lev Nachmanson 086e25b7fa lemmas with less equivalence explanations
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2020-01-28 10:04:21 -08:00
Lev Nachmanson 90bda39aef towards full factorizations on a monomial 2020-01-28 10:04:21 -08:00
Lev Nachmanson 1810d7e77d cleanup mostly, more asserts in tangent lemma 2020-01-28 10:04:21 -08:00
Lev Nachmanson 9c62b431e4 address the NB's comments
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2020-01-28 10:04:21 -08:00
Lev Nachmanson d028dd65e4 disable the args dump
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2020-01-28 10:04:21 -08:00
Lev Nachmanson 9302d8bef3 Guard the creation of solvers in qfnia_tactic.cpp by a define 2020-01-28 10:04:21 -08:00
Lev Nachmanson 53e329b324 enable more order lemmas 2020-01-28 10:04:21 -08:00
Lev Nachmanson f784120312 rebase with Z3Prover/master
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2020-01-28 10:04:21 -08:00
Lev Nachmanson cbe920756b simpler order lemma
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2020-01-28 10:04:21 -08:00
Lev Nachmanson 1959710a5b prepare to simplify order lemma
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2020-01-28 10:04:21 -08:00
Lev Nachmanson 4963108277 better tracing
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2020-01-28 10:04:21 -08:00
Lev Nachmanson 0dbfcad560 try simple monotoniciy lemma
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2020-01-28 10:04:21 -08:00
Lev Nachmanson d1a5635b4a better model based lemmaas
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2020-01-28 10:04:21 -08:00
Lev Nachmanson 8dec4bf8d0 better model based lemmaas
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2020-01-28 10:04:21 -08:00
Lev Nachmanson dd235be4d2 add randomness when generating model based sign lemma
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2020-01-28 10:04:21 -08:00
Lev Nachmanson afc9c902f8 bug fix in a factorization of a binom, unroll the previous commit
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2020-01-28 10:04:21 -08:00
Lev Nachmanson 754656212d allow more sign lemmas
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2020-01-28 10:04:21 -08:00
Lev Nachmanson e6d134b9fa a stronger zero lemma when the signs are known
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2020-01-28 10:04:21 -08:00
Lev Nachmanson 6637747fd9 no special treatment for NE
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2020-01-28 10:04:21 -08:00
Lev Nachmanson 34262ae02c rollback but leave the change with llc::NE
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2020-01-28 10:04:21 -08:00
Lev Nachmanson 649d47d92c detect more variable equivalances
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2020-01-28 10:04:21 -08:00
Lev Nachmanson 65b950ec4f stronger mon_zero_lemma
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2020-01-28 10:04:21 -08:00