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