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