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