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