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