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