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