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