Expectation consistency of inverse probability distributions