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

Create "certified term" type #49

Open
atomb opened this issue Aug 5, 2015 · 2 comments
Open

Create "certified term" type #49

atomb opened this issue Aug 5, 2015 · 2 comments
Labels
subsystem: saw-core Issues related to the saw-core representation or the saw-core subsystem type: enhancement Issues describing an improvement to an existing feature or capability
Milestone

Comments

@atomb
Copy link
Contributor

atomb commented Aug 5, 2015

Currently, it's possible to construct SharedTerm objects in SAWScript that are not well-typed. They can be checked after the fact, but this can be expensive for large terms. Better would be to have an abstract type for terms that are guaranteed to be well-typed, along with functions to combine them with the minimum additional checking to ensure that the result is well-typed.

@atomb atomb added the type: enhancement Issues describing an improvement to an existing feature or capability label Aug 5, 2015
@atomb
Copy link
Contributor Author

atomb commented Aug 11, 2015

This should be a saw-core ticket. Closing and re-opening there.

@atomb atomb closed this as completed Aug 11, 2015
brianhuffman pushed a commit that referenced this issue Apr 26, 2021
@brianhuffman
Copy link
Contributor

This was originally re-opened as GaloisInc/saw-core#18, which was accidentally closed when the saw-core-coq repo was merged into saw-core (by a commit that had closed saw-core-coq issue 18).

Anyway, this issue has never been addressed, and we need this feature as much as ever. Building ill-typed saw-core terms is still very much a problem, and having a certified term type would help us avoid such situations, or at least to detect them much earlier.

See the comments on GaloisInc/saw-core#18 for some ideas about how such a feature could be implemented.

@brianhuffman brianhuffman reopened this Feb 15, 2022
@sauclovian-g sauclovian-g added the subsystem: saw-core Issues related to the saw-core representation or the saw-core subsystem label Oct 29, 2024
@sauclovian-g sauclovian-g added this to the Someday milestone Oct 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
subsystem: saw-core Issues related to the saw-core representation or the saw-core subsystem type: enhancement Issues describing an improvement to an existing feature or capability
Projects
None yet
Development

No branches or pull requests

3 participants