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