I am familiar with the definition $P(A \vert B) = \begin{cases} \dfrac{P(B \vert A) P(A)}{P(B)}, & P(B) \neq 0 \\ \text{undefined}, & P(B) = 0 \end{cases}$
However, I just saw another definition for $P(A \vert B)$:
$P(A \vert B) = \begin{cases} \dfrac{P(AB)}{P(B)}, & P(B) \neq 0 \\ \text{undefined}, & P(B) = 0 \end{cases}$
I have never seen this definition before. How is this definition equivalent to the first? Thank you.
Your definition does not make sense. You are defining $P(A|B) $ in terms of $P(B|A)$. That cannot be a definition. However the equation is valid and it is a theorem.
The correct definition is $P(A|B)=\frac {P(A\cap B)} {P(B)}$ if $P(B) >0$. Sometimes $P(A \cap B)$ is written as $P(AB)$.