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