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