Proof: Do Stack At Unchanged 68
Let's prove the following theorem:
if the following are true:
- expression state at time 68 = "iterate_args"
- stack at time 68 = [ ]
then stack at time 69 = [ ]
Proof:
Given
1 | expression state at time 68 = "iterate_args" |
---|---|
2 | stack at time 68 = [ ] |
# | Claim | Reason |
---|---|---|
1 | stack at time (68 + 1) = stack at time 68 | if expression state at time 68 = "iterate_args", then stack at time (68 + 1) = stack at time 68 |
2 | stack at time (68 + 1) = [ ] | if stack at time (68 + 1) = stack at time 68 and stack at time 68 = [ ], then stack at time (68 + 1) = [ ] |
3 | 68 + 1 = 69 | 68 + 1 = 69 |
4 | stack at time (68 + 1) = stack at time 69 | if 68 + 1 = 69, then stack at time (68 + 1) = stack at time 69 |
5 | stack at time 69 = [ ] | if stack at time (68 + 1) = stack at time 69 and stack at time (68 + 1) = [ ], then stack at time 69 = [ ] |
Comments
Please log in to add comments