TITLE: Deformations of semisimple Lie algebras
QUESTION [13 upvotes]: In the questions Is "semisimple" a dense condition among Lie algebras? and What is the Zariski closure of the space of semisimple Lie algebras?, something equivalent to the following is mentioned: if you have a smoothly varying family of semisimple Lie algebras, all the Lie algebras in the family are isomorphic. e.g. the following quote:
"Because the Cartan classification of isomorphism classes of semisimples is discrete (no continuous families), connected components of the space of semisimples are always contained within isomorphism classes."
I can't see how this follows just from the discreteness of the classification. Can anyone explain why it's true or give a counterexample?
e.g. could you not have a $\mathbb{P}^1$ of semisimple Lie algebras which are generically isomorphic to $\mathfrak{d}_7 \oplus \mathfrak{a}_1$ say, but at one point you get $\mathfrak{e}_8$, or something similar?

REPLY [6 votes]: I think that the explanation 
"Because the Cartan classification of isomorphism classes of semisimples is discrete (no continuous families), connected components of the space of semisimples are always contained within isomorphism classes"
is a bit simplistic. The real reason, as many people have already mentioned, is Weyl's theorem on complete reducibility, which of course fails in charatcteristic $p$. And it shouldn't come as a  surpise that over an algebraically closed field $K$ of characteristic $p>3$ one encounters situations where there are finitely many isoclasses of simple Lie algebras of dimension $N$ and, at the same time, there exist algebraic families of simple $N$-dimensional Lie algebras 
{$\mathfrak{g}_t|\ t\in K$} over $K$ such that $\mathfrak{g}_t\cong L$ for all $t\ne 0$ and $\mathfrak{g}_0\not\cong L$ for some simple Lie algebra $L$.
Indeed, let $N=p^2-2$. Then it follows from the the classification theory that there are finitely many isoclasses of simple $N$-dimensional Lie algebras over $K$. Now consider the associative $K$-algebra $A$ generated by two elements $x,y$ such that $x^p=y^p=0$ and $[x,y]=1$. This is a fake modular version of the first Weyl algebra, and it is easy to see that it is simple and has dimension $p^2$. It has a finite increasing algebra filtration (with $x,y$ living in degree $1$) such that the corresponding graded algebra $P:={\rm gr}(A)$ is the truncated polinomial ring in $x,y$ with induced Poisson bracket satisfying {$x,y$} $=1.$ Then the Lie algebra $[A,A]/K1$ is isomorphic to $\mathfrak{psl}_p(K)$ whilst the Lie algebra {$P,P$}$/K1$ is nothing but the simple Cartan type Lie algebra $H(2;\underline{1})^{(2)}$. Both Lie algebras are simple of dimension $N$ and the latter is a contraction of the former.  Moreover, they are not isomorphic when $p>3$.