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