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