There are many laws of nature, before people think that God is not found in the operation, when we discovered the true law, we are often surprised at the discovery that the Bayesian formula (Bayes) is the world's universal law.
First, the definition
P(A|B)=P(B|A)*P(A)/P(B)
P(AB)=P(A|B)P(B)=P(B|A)P(A)
References
1. The total probability formula, Bayes formula