-
Notifications
You must be signed in to change notification settings - Fork 6
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
Assignment 08_04 #133
Comments
I start by:
and then get stuck on the third case:
and doing:
leads to nowhere. |
You have to exploit |
But how? Since subgoal is like this:
And it should match
But it doesn't... |
When I do this
I get unsolvable subgoal:
|
@alkaza You don't want to unfold the definition of hoare_triple for the questions in this assignment (with the exception of one questions where they tell you to). Instead of leading with inversion like we've done before, you want to use the hoare rules introduced in the two Hoare chapters in the text. For this question, you should start with something like |
@AdamBJ but this is HW8, not 9 |
Oh, woops:p |
@AdamBJ any tips on this one? :) |
@alkaza Assignment 8 seems like years ago now! If I manage to finish assignment 9 before the deadline I'll see if I even got that one when I did A8. |
Thnx |
Sorry I am late. Try |
@jeehoonkang yeah i tried that before, it says:
|
Seemed to me
was the only way, but then I get stuck |
@alkaza I didn't get 08_04 either |
|
Stuck on the last case in a same way:
|
Ah sorry; replace |
Yaaay, thank you so much! Solved it! |
I did not find any issues describing my problem. I gave up on solving this assignment, because i got stuck on a seemingly simple case which I couldn't prove.
I tried proving the theorem in the other way but it always comes to this case. What should I do or what am I doing wrong?
The text was updated successfully, but these errors were encountered: