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