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