Skip to content

Fix cases of ITE within regular expressions#6783

Merged
ajreynol merged 4 commits intocvc5:masterfrom
ajreynol:fix6776
Jun 22, 2021
Merged

Fix cases of ITE within regular expressions#6783
ajreynol merged 4 commits intocvc5:masterfrom
ajreynol:fix6776

Conversation

@ajreynol
Copy link
Copy Markdown
Member

@ajreynol ajreynol commented Jun 21, 2021

Fixes #6776.

Our computation of when a regular expression was constant did not account for when ITE was embedded in an RE, leading to an unsound rewrite.

That benchmark now gives:

(error "Regular expression variables are not supported.")

@ajreynol ajreynol added normal Priority simple Complexity labels Jun 21, 2021
@ajreynol ajreynol requested a review from 4tXJ7f June 21, 2021 23:54
Copy link
Copy Markdown
Member

@4tXJ7f 4tXJ7f left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not what I expected :) LGTM

else if (ck==ITE)
{
return false;
}
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Apply ClangFormat.

@4tXJ7f 4tXJ7f added the do not merge Do not merge this PR if you are not the author label Jun 22, 2021
@ajreynol ajreynol removed the do not merge Do not merge this PR if you are not the author label Jun 22, 2021
@ajreynol ajreynol merged commit 90d19f7 into cvc5:master Jun 22, 2021
@ajreynol ajreynol deleted the fix6776 branch June 22, 2021 03:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

normal Priority simple Complexity

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Refutation soundness issue on a string formula

2 participants