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