The quick proof of Bayes' theorem