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