Replies: 1 comment 1 reply
-
|
Is it possible to most a minimal repro? From the perspective of the caller, it doesn't matter that Without seeing more of the code, my initial guess is that it has to do with reproving the quantifier in the assertion from the quantified formula in the postcondition of the lemma. Is it a true SMT failure or is it just a timeout? Have your tried using --query_stats. If it says "canceled" it's worth trying it with a higher rlimit. E.g., #push-options "--z3rlimit_factor 2" just preceding your definition. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello Fstar community,
I have some issues in the following piece of code. The first assert is exactly the pre-condition of lemma_test and works fine.
Calling the lemma is fine as well, however the assert that comes right after it, which represents the post-condition of the lemma is not verified.
assert(forall e. memP e l' ==> (el_of (e)) = (el_of (ep)) \/ (el_of (e)) ``disjoint`` (el_of (ep)));lemma_test ep i n r l';assert(forall e. memP e (fct i n r l') ==> (el_of (e)) = (el_of(ep)) \/ (el_of (e)) ``disjoint`` (el_of (ep)));fct is a recursive function and lemma_test is also recursive, my guess is that the result of the lemma is not unfolded enough, that's why the post-condition is not valid, or is it something else? any solution on how to solve this?
Thanks a lot!
Beta Was this translation helpful? Give feedback.
All reactions