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