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