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