Prove or disprove that $$(L_1\cap L_2)L_3 = L_1L_3\cap L_2L_3,$$ where $L_i$ denotes a formal language
Proof:
$$\begin{align} (L_1\cap L_2)L_3 &= \{xy \mid (x \in L_1 \land x\in L_2 ) \land y\in L_3\}\\ &= \{xy \mid (x\in L_1 \land y\in L_3 ) \land (x\in L_2 \land y\in L_3)\} \\ &= L_1L_3 \cap L_2L_3. \end{align}$$ $\square$
On the other hand there also exists a contradiction: Let $$L_1 = \{a\}, L_2 = \{ab\}, L_3 = \{b,bb\}$$ We get that $$ (L_1\cap L_2)L_3 = \emptyset$$ while $$L_1L_3\cap L_2L_3 = \{abb\},$$
which leads to the conclusion that my proof is wrong somehow, I've been sitting on why it's wrong for a while but I can't find where my mistake is...
This equality is wrong, it should be a $\subset$ : in your example, $abb$ belongs to the second set and no to the first.
A correct equality is : $$L_1L_3 \cap L_2 L_3 = \bigl\{ z \mid (\exists x_1 \in L_1,y_1 \in L_3, x_1y_1 = z) \wedge (\exists x_2 \in L_2,y_2 \in L_3, x_2y_2 = z) \bigr\}$$ In the RHS, the $x_1$ and $x_2$ need not be equal, so we cannot conclude that they belong to $L_1\cap L_2$.