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