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