I was recently informed of the following theorem:
Let $K$ be a field of characterisic $0$, and let $L$, $M$ be field extensions of $K$ such that
i) $L$ is algebraic over $K$,
ii) every irreducible polynomial $p(x) \in K[x]$ with a root in $L$ has a root in $M$,
then $L$ embeds over $K$ into $M$.
I was also told that this can also be shown by model theoretic compactness.
If $L/K$ is a finite extension, this immediately follows from the fact that finite extensions over fields of characteristic $0$ are simple. Could anyone outline an algebraic/ model-theoretic proof of this fact for the case L is not a finite extension of K?
Consider the following two-sorted first order theory. We have one sort for $L$ and one sort for $M$, and we have constant symbols for each element of $L$ and each element of $M$ and function symbols for the ring operations of $L$ and $M$. We also have a symbol $f$ for a function from $L$ to $M$ (which will be our embedding). We have axioms that say the constant symbols are all distinct elements, the ring structure behaves the way it should on all our constant symbols, and that $f$ is a ring homomorphism. Finally, we have the following axioms. Given $\alpha\in L$, let $p$ be the minimal polynomial of $\alpha$ over $K$. Let $\beta_1,\dots,\beta_n$ be all the roots of $p$ in $M$. We then have an axiom saying $f(\alpha)=\beta_1\vee\dots\vee f(\alpha)=\beta_n$, and we have an axiom like this for each $\alpha\in L$.
Suppose we have a model of this theory. The final collection of axioms guarantees that $f$ maps all the constant elements from $L$ to constant elements from $M$ and fixes each element of $K$, so we get an embedding of $L$ into $M$ over $K$.
It thus remains to show that this theory has a model. Suppose we take any finite subset of our axioms. These axioms will involve only finitely many of our constant symbols from $L$; let $L_0$ be the subfield of $L$ that they generate. Then using the primitive element theorem, we can embed $L_0$ into $M$. This then gives a model of our finite subset of our axioms, where we just interpret all the constant symbols for elements of $L\setminus L_0$ as $0$ (which is fine since we don't have any axioms about those constant symbols). Thus this theory is finitely satisfiable, and thus satisfiable by compactness.
Here's another way to think about it. Let $S$ be the set of subfields of $L$ that are finite extensions of $K$, which we can consider as a directed set ordered by inclusion. For each $s\in S$ let $E_s$ be the set of embeddings $s\to M$ over $K$. Note that each $E_s$ is a finite nonempty set. Also, if $s\subset t$, we have a restriction map $E_t\to E_s$, and so these finite sets $E_s$ form an inverse system. Any inverse limit of finite nonempty sets is nonempty, so the inverse limit of this system is nonempty. But an element of the inverse limit is exactly a compatible family of embeddings $s\to M$ for each $s\in S$, which we can then glue together to get an embedding of all of $L$.