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