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