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