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