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