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