-
Notifications
You must be signed in to change notification settings - Fork 53
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 #5] finding good loop invariant #379
Comments
I can't tell exactly what's wrong just from the description, but here is some general advice:
If you need more help, feel free to provide additional context. |
Thank you for your comment, |
I'll have to check, but I'm fairly certain you don't need to since the lemma should already be in the library. |
to induce row[c] = r-1Cc, |
The issue was troubleshot during office hours. It was caused by using too few steps when working with www.why3.org/try/. For all students, try using 1,000 to 5,000 steps if Why3 is not working as expected. I'll add warnings in the instructions. |
Related Issue
No response
Googling Result
https://stackoverflow.com/questions/2935295/what-is-the-best-way-of-determining-a-loop-invariant
ChatGPT Result
https://chatgpt.com/c/66fe4982-506c-8003-abf7-9f09b1ae39bb
Your question here
To find the loop invariant of pascal's triangle
I can observe that elements of new_row is same to comb r k, but this invariant does not pass the test
loop invariant preservation error since my loop invariant is not good invariant
can anyone help what I missing?
thank you
The text was updated successfully, but these errors were encountered: