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