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