Quiz (1 point)
Prove that:
reverse of [ [ 0, [ ] ], [ ] ] = [ [ 0, [ ] ], [ ] ]
The following properties may be helpful:
- reverse of xs = reverse of remaining stack xs and already reversed stack [ ]
- reverse of remaining stack [ x, [ ] ] and already reversed stack ys = [ x, ys ]
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.