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