-
Notifications
You must be signed in to change notification settings - Fork 236
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
Simple theorem can't be proven #1430
Comments
The problem is the workaround, it seems; this works: let foo a =
exists (x : a). True
val bar :
a : Type ->
Lemma (ensures (foo a <==> (exists (x : a). True)))
let bar a = () |
Thanks, this works. However, the following does not:
So the problem seems to be provoked by the first
This is not proven as it is, and eliminating the |
Sorry, all of this is really ugly ... we're working hard to remove the Meanwhile, here are a few workarounds ... I hope that at least one of them is applicable in your real code.
|
All these examples work in master with the new way of inferring the |
The following fails to be shown (couldn't prove post-condition):
The part with
let _ = () in
is a workaround for #638 .The text was updated successfully, but these errors were encountered: