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