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