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

Downgrade define-fun to an smt2 command #47

Merged
merged 14 commits into from
Jun 21, 2024
Merged

Downgrade define-fun to an smt2 command #47

merged 14 commits into from
Jun 21, 2024

Conversation

ajreynol
Copy link
Member

@ajreynol ajreynol commented Jun 14, 2024

define-fun is syntax sugar for declare-fun + assert and thus should only be accepted in reference files.

Moreover define is already used as a macro. This PR adds an additional attribute :type T to recover the old functionality that define-fun provided (as means of invoking type checking).

@ajreynol ajreynol changed the title Downgrade define-fun Downgrade define-fun to an smt2 command Jun 14, 2024
@ajreynol ajreynol merged commit 4007aeb into main Jun 21, 2024
4 checks passed
@ajreynol ajreynol deleted the rmDefineFun branch June 21, 2024 10:27
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.

1 participant