Closed dylanjwolff closed 4 years ago
Hi, I found the following formula throws an assertion violation with the z3str3 solver on the release and debug builds:
bug.smt2.gz
% z3 smt.string_solver=z3str3 bug.smt2 ASSERTION VIOLATION File: ../src/smt/theory_str_mc.cpp Line: 728 Failed to verify: pos_exists % cat bug.smt2 (declare-fun a () String) (declare-fun b () String) (declare-fun c () Int) (assert (= (str.replace "" (str.at "" c) "") (str.replace a b ""))) (check-sat)
Verified on master, commit: c967b4a OS: Ubuntu 18.04
Seems like the problem might be with str.at, but I can resolve this for you.
str.at
Opened #4490.
Hi, I found the following formula throws an assertion violation with the z3str3 solver on the release and debug builds:
bug.smt2.gz
Verified on master, commit: c967b4a OS: Ubuntu 18.04