This assumes a finite number of hypotheses; the general case may need some tweaking.
Press the back button on your browser to go back to the post