Artificial intelligent assistant

Intersection of smooth manifolds I am wondering under which conditions the intersection of two smooth manifolds, say $X$ and $Y$, is a smooth manifold. I know that if they intersect transversally then the intersection is a manifold. Now suppose that the manifolds do not intersect transversally. Can the intersection still be a manifold? And can the formula $\operatorname{codim}(X\cap Y)=\operatorname{codim}(X)+\operatorname{codim}(Y)$ still be valid?

Yes, it sure can. Consider $X=\\{y=0\\}$ and $Y=\\{y=x^2\\}\subset\Bbb R^2$.

xcX3v84RxoQ-4GxG32940ukFUIEgYdPy 474e162d1bbde5b796219cc23493ad32