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