My instructor has mostly self contained notes, where our textbook is mostly a reference. She has it written that $$ S_t = S_0e^{(\mu - \frac{\sigma^2}{2})t + \sigma W_t} \iff dS_t = S_t(\mu\, dt + \sigma\, dW_t). $$ I feel that basic differentiation of the exponential e implies that on the right hand side we should have $dS_t = S_t((\mu - \frac{\sigma^2}{2})\,dt + \sigma\, dW_t)$.
I'd appreciate understanding why the $\frac{\sigma^2}{2}$ disappears from the differentiation when this is a basic rule about differentiating the exponential $e$.
