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