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