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