In this proof, we use the reverse list properties to move elements from the initial list to the result. In each iteration, an element is removed from the front of the initial list and added to the front of the result list. The proof is complete when all elements have moved to the result list.

Quiz (1 point)

Prove that:
reverse of [ 3, [ 2, [ 1, [ ] ] ] ] = [ 1, [ 2, [ 3, [ ] ] ] ]

The following properties may be helpful:

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.

Step Claim Reason (optional) Error Message (if any)
1
2
3
4
5
6
7
8
9
10

Become a subscriber to save your progress, see the correct answer, and more!