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