Quiz (1 point)
Given that:
the line at time 46 = 4
the tab at time 46 = 1
number of lines = 3
Control Map at time 46 = [ entry 0: (pair ("while", 2)), [ ] ]
Prove that:
Control Map at time 47 = [ entry 0: (pair ("while", 2)), [ ] ]
The following properties may be helpful:
- 4 - 1 = 3
- 46 + 1 = 47
if the following are true:
- a = c
- b = c
then a = b
if Control Map at time 46 = [ entry 0: (pair ("while", 2)), [ ] ], then value at (1 - 1) in map (Control Map at time 46) = pair ("while", 2)
if the following are true:
- the line at time t = i
- the tab at time t = j
- number of lines = i - 1
- value at (j - 1) in map (Control Map at time t) = pair ("while", while_line)
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 46 + 1 = 47, then Control Map at time (46 + 1) = Control Map at time 47
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.