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