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