I am trying to understand law of total probability in the context of conditional probability.
Lets say we are trying to calculate $P(A)$, but it may be easier to calculate $P(A \cap B_i)$ given $B_i$ are all disjointed. Law of total probability gives us, $P(A) = \sum_i P(A \cap B_i) = \sum_i P(A | B_i) P(B_i)$
Now, lets say we are trying to calculate $P(A|C)$, but it may be easier to calculate $P(A|C \cap B_i)$ given $B_i$ are all disjointed, so we start similarly, $P(A|C) = \sum_i P(A \cap C \cap B_i)$
Am I correct so far?
Now, I am having trouble breaking down the term $\sum_i P(A \cap C \cap B_i)$. Assuming I have to use Bayes theorem, I am trying to figure out what some event X and Y are,
$P(X) = \frac{\sum_i P(A \cap C \cap B_i)}{P(Y)} ... 0$
I understand that there are many X and Y event that makes the above equation true.
From the Law of total probability wiki page, it says, $P(A|C) = \sum_i P(A|C \cap B_i) P(B_i | C)$, which means their X and Y events are,
$P(A|C \cap B_i) = \frac{\sum_i P(A \cap C \cap B_i)}{P(B_i | C)} ... 1$
I am under the assumption that in Bayes theorem the event we are conditioning on goes to the denominator, so $P(A|{\color{red}B}) = \frac{P(A\cap B)}{P({\color{red}B})}$, which means the above express should be,
$P(A|{\color{red}C} \mathbin{\color{red}\cap} {\color{red}B_i}) = \frac{\sum_i P(A \cap C \cap B_i)}{P({\color{red}C} \mathbin{\color{red}\cap} {\color{red}B_i})} ... 2$
As you can see the denominator in equation 1 and 2 are very different. I am trying to reconcile $\sum_i P(A \cap C \cap B_i) = \sum_i P(A|C \cap B_i) P(B_i | C)$ to what I know.
Is both 1 and 2 are true? As I've mentioned there are many X and Y that makes equation 0 true. Trying to understand the rational behind it.