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