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