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