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