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