Skip to content
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

trace smt.arith.propagate_eqs smt.arith.random_initial_value smt.arith.eager_eq_axioms Segmentation fault #3548

Closed
muchang opened this issue Mar 30, 2020 · 1 comment

Comments

@muchang
Copy link

muchang commented Mar 30, 2020

Hi,
For this formula:

(set-option :trace true)
(set-option :smt.arith.propagate_eqs false)
(set-option :smt.arith.random_initial_value true)
(set-option :smt.arith.eager_eq_axioms false)
(declare-fun a () Real)
(declare-fun b () Real)
(declare-fun c () Real)
(assert (< (* c (div b (+ a 2))) a))
(check-sat)

Z3 throws out a segmentation fault:

[505] % z3 small.smt2
Segmentation fault
[506] % 
[506] % cat small.smt2
(set-option :trace true)
(set-option :smt.arith.propagate_eqs false)
(set-option :smt.arith.random_initial_value true)
(set-option :smt.arith.eager_eq_axioms false)
(declare-fun a () Real)
(declare-fun b () Real)
(declare-fun c () Real)
(assert (< (* c (div b (+ a 2))) a))
(check-sat)

OS: Ubuntu 18.04
Commit: 9be7bda

@NikolajBjorner
Copy link
Contributor

seems fixed

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

No branches or pull requests

2 participants