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