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