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