Skip to content

Conversation

@bclement-ocp
Copy link
Contributor

The new bit-vector operators from v2.7 are not available in SMT-LIB 2.6 scripts, which makes sense since Dolmen is intended to be able to check adherence to the specification.

On the other hand, there is no standard specification for the psmt2 format, and while it implements polymorphism differently from SMT-LIB 2.7, there is no reason for psmt2 operators to be restricted to those available in version 2.6 of the standard.

Allow the new bit-vector operators from version 2.7 of the standard when parsing files with psmt2 syntax.

The new bit-vector operators from v2.7 are not available in SMT-LIB 2.6
scripts, which makes sense since Dolmen is intended to be able to check
adherence to the specification.

On the other hand, there is no standard specification for the psmt2
format, and while it implements polymorphism differently from SMT-LIB
2.7, there is no reason for psmt2 operators to be restricted to those
available in version 2.6 of the standard.

Allow the new bit-vector operators from version 2.7 of the standard when
parsing files with psmt2 syntax.
@Gbury
Copy link
Owner

Gbury commented Sep 5, 2025

That's very reasonable indeed, I'll do that before the upcoming release.

cc @bobot who might also be interested

Copy link
Owner

@Gbury Gbury left a comment

Choose a reason for hiding this comment

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

Very good thanks ! (I didn't see at first this was a PR, thought it was just an issue, XD)

@Gbury Gbury merged commit 946b949 into Gbury:master Sep 9, 2025
20 checks passed
@bclement-ocp
Copy link
Contributor Author

By the way, I'm wondering if having this distinction (SMT-LIB 2.6 vs SMT-LIB 2.7) for the supported operators is actually useful. The bit-vector operators are not (as far as I can tell) mentioned in the actual standard, and only the version 2.7 with the extra operators seem to be available on the smt-lib.org website, e.g. https://smt-lib.org/theories-FixedSizeBitVectors.shtml

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