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