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