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