my problem is the following. Consider only Bernoulli random variables $X_1,\dots, X_n$ where $P(X_i = T) = p_i$ ($T$ stands for true, success). All the r.v.s are independent. Starting from the simplest case, consider 3 r.v.s $X_1$, $X_2$, and $X_3$. Define $Z$ as follows: $Z = X_1 \cdot X_2 + X_1 \cdot X_3$. Then, I can compute $P(Z = T)$ .
My question is: is there a general way to remove the dependency from $X_1$ from both $X_1\cdot X_2$ and $X_1 \cdot X_3$ by introducing two more variables $X_1^{'}$ and $X_1^{''}$ and re-writing $Z$ as $Z = X_1^{'} \cdot X_2 + X_1^{''} \cdot X_3$? What should be the distribution of $X_1^{'}$ and $X_1^{''}$? The new variables will have (i think) a Bernoulli distribution, but it is possible to apply this approach in the general case? How can I compute $P(X_1^{'} = T)$ and $P(X_1^{''} = T)$? I'm interested in the computation of the success probability of the newly inserted variables, and not in the computation of the success probability of the random variable $Z$. The goal is to have no shared variables in the terms invoved in the summations. I consider only expression composed by summations of products of random variables with Bernoulli distribution.
This is a simple example, but is there a general formula that accounts also longer expressions with more than two terms and more than a single shared variable? Any pointer to existing scientific literature? Do other solutions already exist?
Thanks.