Proof: Write Call Function Build Control Map 11
Let's prove the following theorem:
if the following are true:
- expression state at time 11 = "call_build_args"
- Parameters List at time 11 = [ x, [ ] ]
- Argument Values at time 11 = [ 5, [ ] ]
- Control Map at time 11 = [ ]
then Control Map at time 12 = [ ]
Proof:
Given
1 | expression state at time 11 = "call_build_args" |
---|---|
2 | Parameters List at time 11 = [ x, [ ] ] |
3 | Argument Values at time 11 = [ 5, [ ] ] |
4 | Control Map at time 11 = [ ] |
# | Claim | Reason |
---|---|---|
1 | Control Map at time (11 + 1) = Control Map at time 11 | if expression state at time 11 = "call_build_args" and Parameters List at time 11 = [ x, [ ] ] and Argument Values at time 11 = [ 5, [ ] ], then Control Map at time (11 + 1) = Control Map at time 11 |
2 | Control Map at time (11 + 1) = [ ] | if Control Map at time (11 + 1) = Control Map at time 11 and Control Map at time 11 = [ ], then Control Map at time (11 + 1) = [ ] |
3 | 11 + 1 = 12 | 11 + 1 = 12 |
4 | Control Map at time (11 + 1) = Control Map at time 12 | if 11 + 1 = 12, then Control Map at time (11 + 1) = Control Map at time 12 |
5 | Control Map at time 12 = [ ] | if Control Map at time (11 + 1) = Control Map at time 12 and Control Map at time (11 + 1) = [ ], then Control Map at time 12 = [ ] |
Comments
Please log in to add comments