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

Add the remaining smtlib string operators excluding the regex and the conversion operators #335

Merged

Conversation

ntsis
Copy link
Contributor

@ntsis ntsis commented Nov 7, 2023

No description provided.

Copy link
Collaborator

@yoni206 yoni206 left a comment

Choose a reason for hiding this comment

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

looks good, minor comments.

* @param returns true iff the first sort is the string sort
* and the next two match the int sort
*/

Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change

* @param returns true iff the first sort is the string sort
* and the second is the int sort
*/

Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change

* @param returns true iff the first two sorts are the string sort
* and the third is the int sort
*/

Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change

include/sort_inference.h Show resolved Hide resolved

(check-sat)
(check-sat)
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
(check-sat)
(check-sat)

(assert (not (str.is_digit "A")))
(assert (not (str.is_digit "10")))

(check-sat)
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
(check-sat)
(check-sat)

@yoni206 yoni206 merged commit e2a9d54 into stanford-centaur:master Nov 10, 2023
10 checks passed
rachelcleaveland pushed a commit to rachelcleaveland/smt-switch that referenced this pull request Jan 12, 2024
CyanoKobalamyne pushed a commit to CyanoKobalamyne/smt-switch that referenced this pull request May 16, 2024
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

Successfully merging this pull request may close these issues.

2 participants