Proof: Get Iterate Expr 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, [ ] ], [ ] ]
then the expression at time 37 = last_name
Proof:
Given
1 | expression state at time 36 = "iterate_args" |
---|---|
2 | arguments stack at time 36 = [ [ last_name, [ ] ], [ ] ] |
# | Claim | Reason |
---|---|---|
1 | the expression at time (36 + 1) = last_name | if expression state at time 36 = "iterate_args" and arguments stack at time 36 = [ [ last_name, [ ] ], [ ] ], then the expression at time (36 + 1) = last_name |
2 | 36 + 1 = 37 | 36 + 1 = 37 |
3 | the expression at time (36 + 1) = the expression at time 37 | if 36 + 1 = 37, then the expression at time (36 + 1) = the expression at time 37 |
4 | the expression at time 37 = last_name | if the expression at time (36 + 1) = the expression at time 37 and the expression at time (36 + 1) = last_name, then the expression at time 37 = last_name |
Comments
Please log in to add comments