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