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