Quiz (1 point)
Prove that:
index of the mininum value in stack [ x, [ ] ] = [ 0, [ ] ]
The following properties may be helpful:
- index of the mininum value in stack numbers = index of value (minimum value of stack numbers) in numbers
- minimum value of stack [ x, [ ] ] = x
- index of value value in numbers = index of value value in numbers with current index [ 0, [ ] ]
- a = a
if minimum value of stack [ x, [ ] ] = x, then index of value (minimum value of stack [ x, [ ] ]) in [ x, [ ] ] = index of value x in [ x, [ ] ]
if number = value, then index of value value in [ number, remain ] with current index index = index
if the following are true:
- a = b
- b = c
then a = c
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.