Proof: Get Iterate End Params 22

Let's prove the following theorem:

if the following are true:
  • expression state at time 22 = "iterate_args"
  • arguments stack at time 22 = [ [ ], [ ] ]
  • parent stack at time 22 = [ self."x" = 0, [ ] ]

then arguments stack at time 23 = [ ]

Proof:

View as a tree | View dependent proofs | Try proving it

Given
1 expression state at time 22 = "iterate_args"
2 arguments stack at time 22 = [ [ ], [ ] ]
3 parent stack at time 22 = [ self."x" = 0, [ ] ]
Proof Table
# Claim Reason
1 arguments stack at time (22 + 1) = [ ] if expression state at time 22 = "iterate_args" and arguments stack at time 22 = [ [ ], [ ] ] and parent stack at time 22 = [ self."x" = 0, [ ] ], then arguments stack at time (22 + 1) = [ ]
2 22 + 1 = 23 22 + 1 = 23
3 arguments stack at time (22 + 1) = arguments stack at time 23 if 22 + 1 = 23, then arguments stack at time (22 + 1) = arguments stack at time 23
4 arguments stack at time 23 = [ ] if arguments stack at time (22 + 1) = arguments stack at time 23 and arguments stack at time (22 + 1) = [ ], then arguments stack at time 23 = [ ]

Comments

Please log in to add comments