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