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