In this proof, we use the "Reversing a List" properties 1 and 2 prove that the reverse of an empty list is simply an empty list.
Quiz (1 point)
Prove that:
reverse of [ ] = [ ]
The following properties may be helpful:
- reverse of xs = reverse of remaining stack xs and already reversed stack [ ]
- reverse of remaining stack [ ] and already reversed stack [ ] = [ ]
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.