I found some proofs for the claim that for natural numbers $a,b,c$ it holds that $$ \operatorname{lcm}(\operatorname{lcm}(a,b),c) = \operatorname{lcm}(a,\operatorname{lcm}(b,c)). $$
I wonder whether one could show it this way: Let $\mathbb P$ be the set of prime numbers. Now let $$ a = \prod\limits_{p\in\mathbb P}p^{\alpha_p}, b = \prod\limits_{p\in\mathbb P}p^{\beta_p}, c = \prod\limits_{p\in\mathbb P}p^{\gamma_p} $$ be the unique prime decompositions. It is $$\operatorname{lcm}(a,b) = \prod\limits_{p\in\mathbb P}p^{\max\{\alpha_p, \beta_p\}}. $$
Then it is $$\operatorname{lcm}(\operatorname{lcm}(a,b),c) = \prod\limits_{p\in\mathbb P}p^{\max\{\max\{\alpha_p, \beta_p\},\gamma_p\}}. $$
And here I have the feeling I am missing an intermediate step, since nothing should be argumented with "it is obvious". So, am I maybe missing a valid argumented that these max relations can be nested this way?
My answer is written with the understanding that the question asks how to justify the nesting of $\text{max}\{.\}$ operators. In this case, the title should be changed.
If you let $L=\text{lcm}(a, b)$ and $$L=\prod_{p\in P}p^{\lambda_p}$$ where $\lambda_p=\text{max}\{\alpha_p, \beta_p\}$, you have: $$\text{lcm}\left(\text{lcm}(a, b), c\right)=\text{lcm}(L, c),$$ which is a stanadard LCM of two integers.
Furthermore, your nested $\{\text{max}\}$-es can be denested by observing the following:
Suppose you have the integers (or any real numbers really) $a$, $b$ and $c$ and you are interested in the value of $M=\text{max}\{\text{max}\{a, b\}, c\}$. Well, if $c$ is the largest of the three, clearly $M=\text{max}\{a, b, c\}=c$. Otherwise, $c$ is irrelevent and we can write: $$M=\text{max}\{\text{max}\{a, b\}, c\}=\text{max}\{a, b\}=\text{max}\{a, b, c\},$$ since $c<a$ or $c<b$.