Proof: Get Iterate Parent 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, [ ] ], [ ] ]
  • parent stack at time 36 = [ self."last_name" = last_name, [ ] ]

then parent stack at time 37 = [ self."last_name" = last_name, [ ] ]

Proof:

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

Given
1 expression state at time 36 = "iterate_args"
2 arguments stack at time 36 = [ [ last_name, [ ] ], [ ] ]
3 parent stack at time 36 = [ self."last_name" = last_name, [ ] ]
Proof Table
# Claim Reason
1 parent stack at time (36 + 1) = parent stack at time 36 if expression state at time 36 = "iterate_args" and arguments stack at time 36 = [ [ last_name, [ ] ], [ ] ], then parent stack at time (36 + 1) = parent stack at time 36
2 parent stack at time (36 + 1) = [ self."last_name" = last_name, [ ] ] if parent stack at time (36 + 1) = parent stack at time 36 and parent stack at time 36 = [ self."last_name" = last_name, [ ] ], then parent stack at time (36 + 1) = [ self."last_name" = last_name, [ ] ]
3 36 + 1 = 37 36 + 1 = 37
4 parent stack at time (36 + 1) = parent stack at time 37 if 36 + 1 = 37, then parent stack at time (36 + 1) = parent stack at time 37
5 parent stack at time 37 = [ self."last_name" = last_name, [ ] ] if parent stack at time (36 + 1) = parent stack at time 37 and parent stack at time (36 + 1) = [ self."last_name" = last_name, [ ] ], then parent stack at time 37 = [ self."last_name" = last_name, [ ] ]

Comments

Please log in to add comments