The line y = 1/2 meets y = sin x at 4 points in view.
Fails: 4 crossingsEach crossing is a different x with the same output 1/2. Asked which x gives 1/2, the graph offers 4 answers here and infinitely many overall.
One such line is enough: sin has no inverse on its full domain.
Drag the red handle up and down.