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