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