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