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