[step:Prove the Łoś equivalence for arbitrary representatives][claim:Łoś equivalence for the ultrapower]
For every $n\in\mathbb N$, every $L$-formula $\varphi(x_1,\dots,x_n)$, and every tuple of maps $f_1,\dots,f_n:I\to M$,
\begin{align*}
M^I/\mathcal U \models \varphi([f_1]_{\mathcal U},\dots,[f_n]_{\mathcal U})
\quad \Longleftrightarrow \quad
\{i\in I: M\models \varphi(f_1(i),\dots,f_n(i))\}\in\mathcal U.
\end{align*}
[/claim]
[proof]
We prove the statement by induction on the formation of the formula $\varphi$.
For an atomic equality formula $t_1=t_2$, where $t_1$ and $t_2$ are $L$-terms in variables $x_1,\dots,x_n$, define maps
\begin{align*}
t_k^M(f_1,\dots,f_n):I&\to M\\
i&\mapsto t_k^M(f_1(i),\dots,f_n(i))
\end{align*}
for $k\in\{1,2\}$. By the interpretation of terms in the reduced product,
\begin{align*}
t_k^{M^I/\mathcal U}([f_1]_{\mathcal U},\dots,[f_n]_{\mathcal U})
=
[t_k^M(f_1,\dots,f_n)]_{\mathcal U}.
\end{align*}
Therefore
\begin{align*}
M^I/\mathcal U \models t_1=t_2
\end{align*}
at the tuple $([f_1]_{\mathcal U},\dots,[f_n]_{\mathcal U})$ if and only if
\begin{align*}
\{i\in I:t_1^M(f_1(i),\dots,f_n(i))=t_2^M(f_1(i),\dots,f_n(i))\}\in\mathcal U,
\end{align*}
which is exactly the required coordinatewise truth set.
For an atomic relation formula $R(t_1,\dots,t_m)$, where $R$ is an $m$-ary relation symbol of $L$, the interpretation of $R$ in the ultraproduct gives
\begin{align*}
M^I/\mathcal U \models R(t_1,\dots,t_m)([f_1]_{\mathcal U},\dots,[f_n]_{\mathcal U})
\end{align*}
if and only if
\begin{align*}
\{i\in I: M\models R(t_1^M(f_1(i),\dots,f_n(i)),\dots,t_m^M(f_1(i),\dots,f_n(i)))\}\in\mathcal U.
\end{align*}
This is again the required coordinatewise truth set.
Assume the equivalence has been proved for formulas $\psi$ and $\theta$. For $\neg\psi$, let
\begin{align*}
A_\psi=\{i\in I:M\models\psi(f_1(i),\dots,f_n(i))\}.
\end{align*}
By the induction hypothesis,
\begin{align*}
M^I/\mathcal U\models \psi([f_1]_{\mathcal U},\dots,[f_n]_{\mathcal U})
\quad \Longleftrightarrow \quad
A_\psi\in\mathcal U.
\end{align*}
Since $\mathcal U$ is an ultrafilter, $I\setminus A_\psi\in\mathcal U$ if and only if $A_\psi\notin\mathcal U$. But
\begin{align*}
I\setminus A_\psi
=
\{i\in I:M\models \neg\psi(f_1(i),\dots,f_n(i))\}.
\end{align*}
Thus the equivalence holds for $\neg\psi$.
For $\psi\wedge\theta$, define
\begin{align*}
A_\psi&=\{i\in I:M\models\psi(f_1(i),\dots,f_n(i))\},\\
A_\theta&=\{i\in I:M\models\theta(f_1(i),\dots,f_n(i))\}.
\end{align*}
The induction hypothesis and the closure of $\mathcal U$ under finite intersections give
\begin{align*}
M^I/\mathcal U\models \psi\wedge\theta
\quad \Longleftrightarrow \quad
A_\psi\cap A_\theta\in\mathcal U.
\end{align*}
Since
\begin{align*}
A_\psi\cap A_\theta
=
\{i\in I:M\models(\psi\wedge\theta)(f_1(i),\dots,f_n(i))\},
\end{align*}
the equivalence holds for conjunction. The remaining Boolean connectives follow from negation and conjunction.
Now let $\varphi$ be $\exists y\,\psi(y,x_1,\dots,x_n)$, and assume the equivalence has been proved for $\psi$. First suppose
\begin{align*}
M^I/\mathcal U\models \exists y\,\psi(y,[f_1]_{\mathcal U},\dots,[f_n]_{\mathcal U}).
\end{align*}
Then there is a map $g:I\to M$ such that
\begin{align*}
M^I/\mathcal U\models \psi([g]_{\mathcal U},[f_1]_{\mathcal U},\dots,[f_n]_{\mathcal U}).
\end{align*}
By the induction hypothesis,
\begin{align*}
A=\{i\in I:M\models\psi(g(i),f_1(i),\dots,f_n(i))\}\in\mathcal U.
\end{align*}
Since $A$ is contained in
\begin{align*}
B=\{i\in I:M\models \exists y\,\psi(y,f_1(i),\dots,f_n(i))\},
\end{align*}
and $\mathcal U$ is upward closed, $B\in\mathcal U$.
Conversely, suppose
\begin{align*}
B=\{i\in I:M\models \exists y\,\psi(y,f_1(i),\dots,f_n(i))\}\in\mathcal U.
\end{align*}
For each $i\in B$, choose an element $g(i)\in M$ such that
\begin{align*}
M\models\psi(g(i),f_1(i),\dots,f_n(i)).
\end{align*}
For each $i\in I\setminus B$, choose any element $g(i)\in M$; this is possible because an $L$-structure has non-empty universe. This defines a map $g:I\to M$. Then
\begin{align*}
B\subseteq \{i\in I:M\models\psi(g(i),f_1(i),\dots,f_n(i))\},
\end{align*}
so the latter set belongs to $\mathcal U$. By the induction hypothesis,
\begin{align*}
M^I/\mathcal U\models \psi([g]_{\mathcal U},[f_1]_{\mathcal U},\dots,[f_n]_{\mathcal U}),
\end{align*}
and hence
\begin{align*}
M^I/\mathcal U\models \exists y\,\psi(y,[f_1]_{\mathcal U},\dots,[f_n]_{\mathcal U}).
\end{align*}
Thus the equivalence holds for existential quantification. Universal quantification follows from negation and existential quantification. The induction is complete.
[/proof][/step]