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