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