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