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