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