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