Proof: Get Iterate Params 29
Let's prove the following theorem:
if the following are true:
- expression state at time 29 = "iterate_args"
- arguments stack at time 29 = [ [ locations, [ "ES", [ "Spain", [ ] ] ] ], [ ] ]
then arguments stack at time 30 = [ [ "ES", [ "Spain", [ ] ] ], [ ] ]
Proof:
Given
1 | expression state at time 29 = "iterate_args" |
---|---|
2 | arguments stack at time 29 = [ [ locations, [ "ES", [ "Spain", [ ] ] ] ], [ ] ] |
# | Claim | Reason |
---|---|---|
1 | arguments stack at time (29 + 1) = [ [ "ES", [ "Spain", [ ] ] ], [ ] ] | if expression state at time 29 = "iterate_args" and arguments stack at time 29 = [ [ locations, [ "ES", [ "Spain", [ ] ] ] ], [ ] ], then arguments stack at time (29 + 1) = [ [ "ES", [ "Spain", [ ] ] ], [ ] ] |
2 | 29 + 1 = 30 | 29 + 1 = 30 |
3 | arguments stack at time (29 + 1) = arguments stack at time 30 | if 29 + 1 = 30, then arguments stack at time (29 + 1) = arguments stack at time 30 |
4 | arguments stack at time 30 = [ [ "ES", [ "Spain", [ ] ] ], [ ] ] | if arguments stack at time (29 + 1) = arguments stack at time 30 and arguments stack at time (29 + 1) = [ [ "ES", [ "Spain", [ ] ] ], [ ] ], then arguments stack at time 30 = [ [ "ES", [ "Spain", [ ] ] ], [ ] ] |
Comments
Please log in to add comments