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