Quiz (1 point)
Prove that:
maximum value in stack [ 3, [ 2, [ 1, [ ] ] ] ] = 3
The following properties may be helpful:
- maximum value in stack [ 2, [ 1, [ ] ] ] = 2
- 3 > 2
if maximum value in stack [ 2, [ 1, [ ] ] ] = 2, then 3 > maximum value in stack [ 2, [ 1, [ ] ] ] = 3 > 2
if the following are true:
- a
- b = a
then b
if a > maximum value in stack xs, then maximum value in stack [ a, xs ] = a
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.