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

Soundness bug in QF_S with smt.arith.solver=2 #4071

Closed
wintered opened this issue Apr 23, 2020 · 1 comment
Closed

Soundness bug in QF_S with smt.arith.solver=2 #4071

wintered opened this issue Apr 23, 2020 · 1 comment

Comments

@wintered
Copy link

wintered commented Apr 23, 2020

Seems neither related to (#4062 in which z3release gives sat with smt.arith.solver=2) nor to #4065 where z3 without options gives an incorrect answer.

$z3release smt.arith.solver=2 model_validate=true bug.smt2
sat
(error "line 3 column 10: an invalid model was generated")
$z3release model_validate=true bug.smt2                   
unsat
$cvc4 -q bug.smt2                                     
unsat
$cat bug.smt2
(declare-fun a () String) 
(assert (str.prefixof "B" (str.replace "A" a "" ))) 
(check-sat)

OS: Ubuntu 18.04
Commit: 8fe3caa

@NikolajBjorner
Copy link
Contributor

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