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

Rewriting string rewriter #83

Open
jurajsic opened this issue Jul 12, 2023 · 1 comment
Open

Rewriting string rewriter #83

jurajsic opened this issue Jul 12, 2023 · 1 comment

Comments

@jurajsic
Copy link
Member

The current rewriter of Z3 does a lot of unknown stuff for us, and some of it can be damaging for noodler. Sometimes it even brings stuff from seq theory, for example by running this

(set-logic QF_S)
(declare-fun s1 () String)
(assert (str.in_re "abbbe" (str.to_re s1)))
(check-sat)

we get (seq.nth_i s1 0) in relevant_eh() which we cannot handle right now.

@vhavlena
Copy link
Collaborator

Interesting. On the other hand, the constraint you gave contains variable inside a regex, which is currently out of our scope.

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