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