Proof: Get Iterate Parent 35

Let's prove the following theorem:

if the following are true:
  • expression state at time 35 = "iterate_args"
  • arguments stack at time 35 = [ [ "Spain", [ ] ], [ ] ]
  • parent stack at time 35 = [ __setitem__(locations, "ES", "Spain"), [ ] ]

then parent stack at time 36 = [ __setitem__(locations, "ES", "Spain"), [ ] ]

Proof:

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

Given
1 expression state at time 35 = "iterate_args"
2 arguments stack at time 35 = [ [ "Spain", [ ] ], [ ] ]
3 parent stack at time 35 = [ __setitem__(locations, "ES", "Spain"), [ ] ]
Proof Table
# Claim Reason
1 parent stack at time (35 + 1) = parent stack at time 35 if expression state at time 35 = "iterate_args" and arguments stack at time 35 = [ [ "Spain", [ ] ], [ ] ], then parent stack at time (35 + 1) = parent stack at time 35
2 parent stack at time (35 + 1) = [ __setitem__(locations, "ES", "Spain"), [ ] ] if parent stack at time (35 + 1) = parent stack at time 35 and parent stack at time 35 = [ __setitem__(locations, "ES", "Spain"), [ ] ], then parent stack at time (35 + 1) = [ __setitem__(locations, "ES", "Spain"), [ ] ]
3 35 + 1 = 36 35 + 1 = 36
4 parent stack at time (35 + 1) = parent stack at time 36 if 35 + 1 = 36, then parent stack at time (35 + 1) = parent stack at time 36
5 parent stack at time 36 = [ __setitem__(locations, "ES", "Spain"), [ ] ] if parent stack at time (35 + 1) = parent stack at time 36 and parent stack at time (35 + 1) = [ __setitem__(locations, "ES", "Spain"), [ ] ], then parent stack at time 36 = [ __setitem__(locations, "ES", "Spain"), [ ] ]

Comments

Please log in to add comments