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