consistency conditions for probability of quantum histories