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