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