-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Consolidated bugs in arithmetic logics #4532
Comments
(rewriter.flat=false) Refutation soundness bug on QF_LRA formula
|
Refutation soundness bug in arith.solver=6 (default mode):
|
Another refutation unsoundness in arith.solver=6 with "purify-arith ctx-solver-simplify" tactics (its root cause is very likely the same as that for the preceding instance):
|
Another likely related refutation unsoundness in arith.solver=6 (default mode and w/o quantifiers):
|
A performance regression of arith.solver=6 vs. arith.solver=2:
OS: Ubuntu 18.04 |
Another performance regression instance of arith.solver=6 vs. arith.solver=2:
|
[UPDATED: No repro after 6524a70] A genuinely invalid model bug (rewriter.flat=false, incremental instance):
OS: Ubuntu 18.04 |
The last bug is not reproduced in 6524a70 |
Yes, it seems so, Lev. I'll add another case that still reproduces. |
A genuinely invalid model bug (rewriter.flat=false, incremental instance):
|
Something is wrong with encoding to monomials: In italic there are two encodings that are incorrect. j8 should be equal to 0.5 * 5 * 0.5 = 1.25. The equality below does not hold either. |
An even simpler instance than the one in #4532 (comment) (hope it is of use):
|
Another non-incremental instance to trigger a (genuinely) invalid model bug (the
OS: Ubuntu 18.04 |
A solution unsoundness (it could be the same as or related to the bugs in #2650, although nlsat.check_lemmas=true does not fail):
OS: Ubuntu 18.04 |
A much simpler refutation soundness bug instance than the one in #4532 (comment):
|
I have been double checking some, Lev others. |
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
Nikolaj, looks like all the above instances have been addressed by the three fixes by you and Lev; thanks. |
A performance regression of arith.solver=6 vs. arith.solver=2:
OS: Ubuntu 18.04 |
A solution unsoundness (it might be the same as or related to the bugs in #2650, although nlsat.check_lemmas=true does not fail):
OS: Ubuntu 18.04 NSB: basically 2650 related as it is within nlsat or nlqsat. |
A quite simple performance regression instance of arith.solver=6 vs. arith.solver=2:
OS: Ubuntu 18.04 |
A solution unsoundness issue (appears to be a recent regression):
OS: Ubuntu 18.04 |
A refutation unsoundness in arith.solver=2:
OS: Ubuntu 18.04 |
…bling rewriter.flat seems to be corner case exercised in #4532. Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
A refutation unsoundness in arith.solver=6:
OS: Ubuntu 18.04 |
A refutation unsoundness in arith.solver=6 (e.g., <x=0, y=239> would be a model):
OS: Ubuntu 18.04 NB: this is fixed |
A heap-use-after-free:
OS: Ubuntu 18.04 FIXED in c7704ef |
You're right, Nikolaj. Mentally and mistakenly, I placed quotes around the a's and b's, and viewed them as string constants. |
Hi, for this QF_LIA formula, z3 gives an invalid model with
Commit: eef05e0 |
Here is another invalid model case with
Commit: eef05e0 |
(nlsat.shuffle_vars=true, rewriter.flat=false) Soundness bug on QF_NRA formula with ctx-solver-simplify tactic.
Commit: 7708874 |
(proof) Soundness bug on QF_LRA formula with ^
Commit: 7708874 |
Soundness bug on QF_NRA formula with smt.random_seed=1.
Commit: 7708874 |
Segmentation fault(debug) and Assertion violation(release) on declare-datatypes with UFLIA logic.
Commit: 7708874 |
(purify-arith, ctx-solver-simplify, nlsat.shuffle_vars) Soundness bug on NIRA formula
OS: Ubuntu. 18.04 |
(smt.threads=2) Refutation soundness bug on NIRA formula:
OS: Ubuntu 18.04 |
Regression segmentation fault with declare-datatypes
OS: Ubuntu 18.04 |
Z3san stack overflow on QF_S formula
OS: Ubuntu 18.04 |
Segmentation fault with declare-datatypes (might be the same as #4532 (comment))
OS: Ubuntu 18.04 |
(model_evaluator.array_equalities=false, rewriter.flat=false) Refutation soundness bug on LIA formula
OS: Ubuntu 18.04 |
z3 arith.solver=6 performance regression vs. arith.solver=2 on QF_NIRA formula
OS: Ubuntu 18.04 |
arith.solver=6 hangs on a simple QF_LIRA formula
OS: Ubuntu 18.04 |
(1) arith.solver=2 gives the incorrect objective, i.e., (c (* (- 1.0) epsilon)), for the 2nd formula, while the correct one should be (c (* (- 1) oo); and (2) arith.solver=6 hangs on the 2nd formula.
OS: Ubuntu 18.04 |
Invalid model on incremental QF_UFLIA formula
OS: Ubuntu 18.04 |
Another invalid model bug on incremental QF_UFLIA formula
OS: Ubuntu 18.04 |
Invalid model bug on incremental QF_LIA formula
OS: Ubuntu 18.04 |
z3 solution unsoundness (and the error from 4.8.8 is strange)
Commit: 72d407a |
Segmentation fault with smt.threads=2 on NIRA formula
Commit: d0d06c2 |
Segmentation fault on the formula with seq
Commit: cb4e519 |
Segmentation fault on the formula with declare-datatypes
Commit: 49a0266 |
(purify-arith default) Invalid model for NIRA formula
Commit: 621e992 |
(purify-arith ufbv) Invalid model for NIRA formula
Commit: 621e992 |
bugs with qffd + arithmetic are 'wont-fix' (rocket) |
The following trace shows a genuinely invalid model bug on a QF_NRA formula.
OS: Ubuntu 18.04
Commit: 3b11493
Does not repro in 6ced699
The text was updated successfully, but these errors were encountered: