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