Quantifier Free Formula is Preserved by Superstructure

Theorem
Let $\MM, \NN$ be $\LL$-structures such that $\MM$ is a substructure of $\NN$.

Let $\map \phi {\bar x}$ be a quantifier-free $\LL$-formula, and let $\bar a \in\MM$.

Then $\MM \models \map \phi {\bar a}$ $\NN \models \map \phi {\bar a}$.

Proof
The proof is done by induction on complexity of formulas.

Note that since interpretations of terms with parameters from $\MM$ are preserved when passing to superstructures, we have that $\map {t^\MM} {\bar a} = \map {t^\NN} {\bar a}$ whenever $t$ is an $\LL$-term and $\bar a$ is in $\MM$.

First, we verify the theorem for atomic formulas. This is the base for the inductive proof.

Suppose $\phi$ is $t_1 = t_2$ for terms $t_1$ and $t_2$:

We have $\MM \models \map \phi {\bar a}$ $\MM \models \map {t_1} {\bar a} = \map {t_2} {\bar a}$.

The of this holds  $\map {t_1^\MM} {\bar a} = \map {t_2^\MM} {\bar a}$.

By the note above, this in turn holds $\map {t_1^\NN} {\bar a} = \map {t_2^\NN} {\bar a}$, which is equivalent to $\NN \models \map \phi {\bar a}$.

Suppose $\phi$ is $R(t_1, \dots, t_n)$ where $R$ is a relation symbol and each $t_i$ is a term:

We have:
 * $\MM \models \map \phi {\bar a}$ iff $\paren {\map {t_1^\NN} {\bar a}, \dots, \map {t_n^\NN} {\bar a} } \in R^\MM$

Since $\MM$ is a substructure of $\NN$, the interpretation of $R$ in $\NN$ must extend $R^\MM$, so the right side of this statement is equiavlent to:
 * $\paren {\map {t_1^\NN} {\bar a}, \dots, \map {t_n^\NN} {\bar a} } \in R^\NN$

By the note above, this in turn is equivalent to:
 * $\paren {\map {t_1^\NN} {\bar a}, \dots, \map {t_n^\NN} {\bar a} } \in R^\NN$

which is the same as:
 * $\NN \models \map \phi {\bar a}$

Having verified the theorem for the atomic formulas, we proceed with the inductive step of the proof.

Suppose the result holds for $\psi$, and consider $\neg \psi$:

We have $\MM \models \neg \map \psi {\bar a}$ $\MM \not \models \map \psi {\bar a}$.

By the inductive hypothesis, the right side of this statement is equivalent to $\NN \not\models \map \psi {\bar a}$, and so the result follows.

Suppose the result holds for $\psi_1$ and $\psi_2$.#

Consider $\psi_1 \wedge \psi_2$:

We have $\MM \models \map {\psi_1} {\bar a} \wedge \map {\psi_2} {\bar a}$ $\MM \models \map {\psi_1} {\bar a}$ and $\MM \models \map {\psi_2} {\bar a}$.

By the inductive hypothesis, the of this is equivalent to $\NN \models \map {\psi_1} {\bar a}$ and $\NN \models \map {\psi_2} {\bar a}$.

The result follows, completing the proof.