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