Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Segmentation fault #4883

Closed
junzew opened this issue Dec 10, 2020 · 0 comments
Closed

Segmentation fault #4883

junzew opened this issue Dec 10, 2020 · 0 comments

Comments

@junzew
Copy link

junzew commented Dec 10, 2020

Hi, for the following program

(set-logic ALL)
(declare-fun skoT () Real)
(declare-fun skoB () Real)
(declare-fun skoA () Real)
(declare-fun skoS () Real)
(assert (let ((?v_3 (* skoA skoA))(?v_0 (<= 0 skoT))) (let ((?v_1 (not ?v_0))(?v_2 (* skoB (- 1)))) (or (>= (- skoT (+ skoT (abs 3))) ?v_3) (and ?v_1 (and (or ?v_0 (< skoT ?v_2)) (and (or (<= skoB skoT) (>= skoT 0)) (and (=> (not (> (abs 1) skoT)) ?v_0) (or (or ?v_1 (not (> skoT 1))) (or (distinct (* skoT (* skoT (+ (* (+ skoA (* skoA (- 1))) (- skoB ?v_2)) (* skoT (+ skoT (abs 1)))))) (+ (- skoB (- skoB ?v_3)) (* skoS (- skoS (abs 1))))) (or (> 0 skoS) (and (not (> skoA 0)) (or (not (> 2 skoB)) (not (< skoB skoA)))))))))))))))
(check-sat)
(exit)

z3 crashes and gives a segmentation fault.
but cvc4 outputs sat.
Z3 version 4.8.9

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant