Understanding @ast in 1d random walk
#97
|
I'm trying to prove AST of 1d random walk similar to the escaping spline program: I'm not quite sure how caesar is able to prove the almost sure termination of the loop as the values I give to |
Replies: 2 comments 7 replies
|
Oh, the Based on https://www.caesarverifier.org/docs/proof-rules/ast, I guess most of the heavy lifting is done by the |
|
I think the chosen The documentation's formal statement of the AST rule states that the range of However, it appears this is never checked by Caesar. Instead, we rely on the user providing correct parameters, which is not the case in your examples. Caesar only checks the six conditions listed in the documentation. With the given values, Caesar can (trivially) verify them and wrongly reports successful verification. Ideally, Caesar should also check these parameter constraints. I don't recall why this is not done. This should at least be clarified in the documentation. |
I think the chosen
probanddecreaseare the main problem.The documentation's formal statement of the AST rule states that the range of
probanddecreasemust be strictly positive. Intuitively, you have to show that the variant actually decreases by a value > 0 with a probability > 0 (in expectation).However, it appears this is never checked by Caesar. Instead, we rely on the user providing correct parameters, which is not the case in your examples. Caesar only checks the six conditions listed in the documentation. With the given values, Caesar can (trivially) verify them and wrongly reports successful verification.
Ideally, Caesar should also check these parameter constraints. I don't …