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