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