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

goal_eval_unint doesn't work with take and drop #1588

Closed
brianhuffman opened this issue Feb 17, 2022 · 1 comment · Fixed by #1589
Closed

goal_eval_unint doesn't work with take and drop #1588

brianhuffman opened this issue Feb 17, 2022 · 1 comment · Fixed by #1589

Comments

@brianhuffman
Copy link
Contributor

Here's what happens if you try:

sawscript> prove do { goal_eval_unint ["take"];} {{ \ (x : [8]) -> take`{2} (x ^ x) == take`{2} x ^ take`{2} x }}

Stack trace:
"prove" (<stdin>:1:1-1:6):
"goal_eval_unint" (<stdin>:1:12-1:27):
could not create uninterpreted function argument of type PrimName {primVarIndex = 135, primName = Prelude.Nat, primType = sort 0}
@brianhuffman
Copy link
Contributor Author

Also, that PrimName {primVarIndex... nonsense in the error message needs to be fixed.

brianhuffman pushed a commit that referenced this issue Feb 17, 2022
We can now make functions like `take` and `drop` uninterpreted.

Fixes #1588.
brianhuffman pushed a commit that referenced this issue Feb 21, 2022
We can now make functions like `take` and `drop` uninterpreted.

Fixes #1588.
@mergify mergify bot closed this as completed in #1589 Feb 21, 2022
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 a pull request may close this issue.

1 participant