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