Proof: Do Tab At Unchanged 38
Let's prove the following theorem:
if the following are true:
- expression state at time 38 = "return"
- the tab at time 38 = 2
then the tab at time 39 = 2
Proof:
Given
1 | expression state at time 38 = "return" |
---|---|
2 | the tab at time 38 = 2 |
# | Claim | Reason |
---|---|---|
1 | the tab at time (38 + 1) = the tab at time 38 | if expression state at time 38 = "return", then the tab at time (38 + 1) = the tab at time 38 |
2 | the tab at time (38 + 1) = 2 | if the tab at time (38 + 1) = the tab at time 38 and the tab at time 38 = 2, then the tab at time (38 + 1) = 2 |
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 = 2 | if the tab at time (38 + 1) = the tab at time 39 and the tab at time (38 + 1) = 2, then the tab at time 39 = 2 |
Comments
Please log in to add comments