(1.) If $a,b$ are co-prime and $a|bc$ then $a|c.$ Proof: Take integers $x,y$ with $ax+by=1.$ Then $c/a=(ax+by)c/a=xc+(bc/a)y\in\Bbb Z$ because $(bc/a)\in\Bbb Z.$
(2.) For prime $p$ and for a list $q_1,...,q_n$ of (not necessarily distinct) primes, if $p|\prod_{i=1}^nq_i$ then $p$ is equal to one of $q_1,...,q_n.$
Proof by induction on $n$: The case $n=1$ is obvious. Suppose case $n$ is true. For prime $p$ and primes $q_1,...,q_{n+1}$ with $p|\prod_{i=1}^{n+1}q_i$, let $p=a$ and $b=q_{m+1}$ and $c=\prod_{i=1}^nq_i.$ Either (i) $p=q_{m+1}$ or (ii) $p$ is co-prime to $q_{n+1},$ which by (1.) implies $p=a|c=\prod_{i=1}^mq_i,$ which by case $n$ implies $p$ is one of $q_1,...,q_n.$
(3.) Let $(p_1,...,p_m)$ and $(q_1,...,q_n)$ be lists of primes, each list being in increasing order. That is, $p_i\le p_{i+1}$ and $q_j\le q_{j+1}.$ If $\prod_{i=1}^{m}p_i=\prod_{j=1}^nq_j $ then the two lists are the $same$ list.
Proof by induction on $m$: The case $m=1$ is obvious. Suppose case $m$ is true and suppose $(p_1,...,p_{m+1}),(q_1,...,q_n)$ are lists of primes, each in increasing order, and $\prod_{i=1}^{m+1}p_i=\prod_{j=1}^nq_j.$
By (2.) we have $p_{m+1}=q_{j_0}$ for some $j_0$ because $p_{m+1}|\prod_{j=1}^{n}q_j.$ Also by (2.) we have $q_n=p_{i_0}$ for some $i_0$ because $q_n|\prod_{i=1}^{m+1}p_i.$ Hence $p_{m+1}=q_{j_0}\le q_n=p_{i_0}\le p_{m+1},$ implying $p_{m+1} =q_n.$
So $\prod_{i=1}^mp_i=\prod_{j=1}^{n-1}q_j$.
Now case $m$ implies that $(p_1,...,p_m)$ and $(q_1,...,q_{n-1})$ are the same list. And we have $p_{m+1} =q_n.$ So $(p_1,...,p_{m+1})$ and $(q_1,...,q_n)$ are the same list.