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