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

Consolidate issues on string formulas #4805

Closed
rainoftime opened this issue Nov 20, 2020 · 0 comments
Closed

Consolidate issues on string formulas #4805

rainoftime opened this issue Nov 20, 2020 · 0 comments

Comments

@rainoftime
Copy link
Contributor

rainoftime commented Nov 20, 2020

z3 40159a3

(set-option :smt.arith.bounded_expansion true)
(declare-fun v1 () Bool)
(declare-fun v2 () Bool)
(declare-fun v3 () Bool)
(declare-fun v6 () Bool)
(declare-fun v8 () Bool)
(declare-fun v13 () Bool)
(declare-fun i2 () Int)
(declare-fun i15 () Int)
(declare-fun str1 () String)
(declare-fun str2 () String)
(declare-fun str4 () String)
(declare-fun str6 () String)
(declare-fun str8 () String)
(declare-fun str11 () String)
(declare-fun str13 () String)
(declare-fun str15 () String)
(declare-fun str16 () String)
(push 1)
(check-sat)
(pop 1)
(assert (= true true true true (str.in_re str15 (str.to_re "")) true))
(declare-fun v16 () Bool)
(assert (or v1 true (str.in_re (str.substr str16 64 (abs (abs i2))) (str.to_re str13)) (str.in_re str4 (str.to_re "BffzmoGsWHteAoPbmbhWcbgP"))))
(push 1)
(pop 1)
(assert (= str1 str4))
(push 1)
(check-sat)
(pop 1)
(declare-fun v20 () Bool)
(assert (or v16 v13))
(push 1)
(check-sat)

sat
sat
ASSERTION VIOLATION
File: ../src/smt/theory_seq.cpp
Line: 3077
n1->get_root() != n2->get_root()
(C)ontinue, (A)bort, (S)top, (T)hrow exception, Invoke (G)DB

@rainoftime rainoftime changed the title Memory leak on string formula Consolidate issues on string formula Nov 20, 2020
@rainoftime rainoftime changed the title Consolidate issues on string formula Consolidate issues on string formulas Nov 20, 2020
# 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