I run in to this formula when reading a tutorial:
$$ \begin{align} P(\pi|\mathbf L;\gamma_{\pi1}, \gamma_{\pi0}) & =P(\mathbf L|\pi)P(\pi|\gamma_{\pi1},\gamma_{\pi0})\tag{28} \\ &\propto [\pi^{C_1}(1-\pi)^{C_0}][\pi^{\gamma_{\pi1}-1}(1-\pi)^{\gamma_{\pi0}-1}]\tag{29}\\ &\propto\pi^{C_1+\gamma_{\pi1}-1}(1-\pi)^{C_0+\gamma_{\pi0}-1}\tag{30} \end{align} $$
I was just wondering for formula (28), if we get the left side from the right side, why the left side of equation is $P(\pi \mid \mathbf L;\gamma_{\pi1}, \gamma_{\pi2})$ instead of $P(\mathbf L \mid \gamma_{\pi1}, \gamma_{\pi2})$ (according to the chain rule)?
Edit: This is the link of the tutorial. Basically, this is to derive a Gibbs sampler for Naive Bayes model and Figure 4 is the plate representation of its graphical model. $\pi \sim Beta(\gamma_{\pi1}, \gamma_{\pi2})$, $L \sim Bernoulli(\pi)$. $C_{0}$ and $C_{1}$ denote all documents with negative label and all documents with positive label respectively.