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