Quiz (1 point)
Given that:
the line at time 12 = 3
the tab at time 12 = 1
statement at line 3, tab 0 =
else:
Control Map at time 12 = [ pair ("if", True), [ ] ]
Prove that:
Control Map at time 13 = [ pair ("if", True), [ ] ]
The following properties may be helpful:
- 0 = 1 - 1
- 12 + 1 = 13
if the following are true:
- the line at time t = i
- the tab at time t = j
- statement at line i, tab k =
else:
- k = j - 1
- Control Map at time t = [ pair ("if", if_value), in_rest ]
then Control Map at time (t + 1) = Control Map at time t
if the following are true:
- a = b
- b = c
then a = c
if 12 + 1 = 13, then Control Map at time (12 + 1) = Control Map at time 13
if the following are true:
- a = b
- a = c
then b = c
Please write your proof in the table below. Each row should contain one claim. The last claim is the statement that you are trying to prove.