Proof: Do Line At Unchanged 57
Let's prove the following theorem:
if the following are true:
- expression state at time 57 = "iterate_args"
- the line at time 57 = 6
then the line at time 58 = 6
Proof:
Given
1 | expression state at time 57 = "iterate_args" |
---|---|
2 | the line at time 57 = 6 |
# | Claim | Reason |
---|---|---|
1 | the line at time (57 + 1) = the line at time 57 | if expression state at time 57 = "iterate_args", then the line at time (57 + 1) = the line at time 57 |
2 | the line at time (57 + 1) = 6 | if the line at time (57 + 1) = the line at time 57 and the line at time 57 = 6, then the line at time (57 + 1) = 6 |
3 | 57 + 1 = 58 | 57 + 1 = 58 |
4 | the line at time (57 + 1) = the line at time 58 | if 57 + 1 = 58, then the line at time (57 + 1) = the line at time 58 |
5 | the line at time 58 = 6 | if the line at time (57 + 1) = the line at time 58 and the line at time (57 + 1) = 6, then the line at time 58 = 6 |
Comments
Please log in to add comments