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