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