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