This is a very basic question relating to why we are allowed to multiply by random variables within an SDE. Every text/notes set that I've seen does the following, for $X_t$ continuous + adapted and $L_t$ a semimartingale:
$$dX_t = \frac{1}{X_t}dL_t \quad \text{as} \textbf{ shorthand} \text{ for meaning} \quad X_t = \int_0^t\frac{1}{X_s}dL_s \quad \quad (1)$$
Because it's only ever referred to as shorthand, I don't understand why no one ever proves the fact that we are allowed to then write: $$X_tdX_t = dL_t, \quad \text{i.e. once again shorthand for} \quad L_t = \int_0^tX_sdX_s \quad \quad (2)$$
What is the rigorous justification for $(2)$? Am I an idiot for missing something trivial about the definition of the integral or of Ito's formula that makes the equivalence of $(1)$ and $(2)$ obvious? Sorry if this is dumb. Please help if you can