Proof: Get New State 17
Let's prove the following theorem:
if expression state at time 17 = "return", then expression state at time 18 = "iterate_args"
Proof:
Given
1 | expression state at time 17 = "return" |
---|
# | Claim | Reason |
---|---|---|
1 | expression state at time (17 + 1) = "iterate_args" | if expression state at time 17 = "return", then expression state at time (17 + 1) = "iterate_args" |
2 | 17 + 1 = 18 | 17 + 1 = 18 |
3 | expression state at time (17 + 1) = expression state at time 18 | if 17 + 1 = 18, then expression state at time (17 + 1) = expression state at time 18 |
4 | expression state at time 18 = "iterate_args" | if expression state at time (17 + 1) = expression state at time 18 and expression state at time (17 + 1) = "iterate_args", then expression state at time 18 = "iterate_args" |
Comments
Please log in to add comments