Quiz (1 point)
Prove that:
reverse and insert [ 4, [ 0, [ ] ] ] to the beginning of [ 2, [ ] ] = [ 0, [ 4, [ 2, [ ] ] ] ]
The following properties may be helpful:
- reverse and insert [ y, ys ] to the beginning of xs = reverse and insert ys to the beginning of [ y, xs ]
- reverse and insert [ y, ys ] to the beginning of xs = reverse and insert ys to the beginning of [ y, xs ]
- reverse and insert [ ] to the beginning of xs = xs
if the following are true:
- a = b
- b = c
then a = c
if the following are true:
- a = b
- b = c
then a = 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.