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