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