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

Error "not termf" from quickcheck #564

Closed
brianhuffman opened this issue Oct 10, 2019 · 0 comments
Closed

Error "not termf" from quickcheck #564

brianhuffman opened this issue Oct 10, 2019 · 0 comments
Labels
type: bug Issues reporting bugs or unexpected/unwanted behavior

Comments

@brianhuffman
Copy link
Contributor

First, define a polymorphic cryptol predicate like this:

foo : {n} (fin n) => [n] -> Bit
foo x = x == x

Then load it in saw and try to prove a type instance of it using quickcheck:

sawscript> import "test.cry"
sawscript> prove (quickcheck 100) {{ foo`{8} }}
[04:11:55.775] WARNING: using quickcheck to prove goal...

user error ("prove" (<stdin>:1:1-1:6):
"quickcheck" (<stdin>:1:8-1:18):
not ftermf)
@brianhuffman brianhuffman added the type: bug Issues reporting bugs or unexpected/unwanted behavior label Oct 10, 2019
brianhuffman pushed a commit that referenced this issue Dec 6, 2019
Update saw-core submodule. Fixes #564.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Issues reporting bugs or unexpected/unwanted behavior
Projects
None yet
Development

No branches or pull requests

1 participant