Well firstly, how do you define $\text{lcm}(a,b)$? I'll define it by the converse of a proposition in Artin Algebra (Prop 2.3.8)

Namely, we'll prove the converse of Prop 2.3.8 where $m:=\text{lcm}(a,b)$ is defined by the integer s.t.
(a) $m$ is divisible by both $a$ and $b$
(b) If $n$ is divisible by $a$ and $b$, then $n$ is divisible by $m$.
Pf: $(\subseteq)$
Let $n \in \mathbb Z m$. Then there is an integer $n_m$ s.t. $n_m = \frac n m$. Observe that $n_m = \frac{n_a}{m_a} = \frac{n_b}{m_b}$ where we define $n_a := \frac n a, m_a := \frac m a, m_b := \frac m b, n_b := \frac n b$. Observe that $m_a, m_b$ are integers by assumption (a) while we want to show that $n_a, n_b$ are integers because showing such is equivalent to showing $n \in \mathbb Za \cap \mathbb Zb$.
Now, $n_m m_a = n_a$ is a product of integers and hence an integer. The same is true for $n_m m_b = n_b$. Therefore, $n_a, n_b$ are integers and thus, $n \in \mathbb Za \cap \mathbb Zb$
$(\supseteq)$
This one is easier. Let $n \in \mathbb Za \cap \mathbb Zb$. Then $n_a, n_b$ as defined earlier are integers, i.e. $n$ is divisible by both $a$ and $by$. By assumption (b), $n$ is divisible by $m$.
QED