# Bayesian network over a tree - calculate CPDs of posterior

Given a Bayesian network P that factorizes over a tree graph, how can the following claim be proved?

Let E be evidence variables, and X the remaining variales.

$$P(X|E=e)=\prod_{i\notin E}P(X_i|X_{\text{par}(i)},E=e)$$

-