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