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