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