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