Fixing S\subseteq A, we compute:
\begin {aligned}
{\mathopen {}\left [\chi _{S}\right ]\mathclose {}} &= {\mathopen {}\left \{a: A\,\middle \vert \,\chi _S{\mathopen {}\left (a\right )\mathclose {}}=1\right \}\mathclose {}}\\
&= {\mathopen {}\left \{a: A\,\middle \vert \,a\in S\right \}\mathclose {}}\\
&= S
\end {aligned}
Conversely, we fix \phi \colon A \to {\mathopen {}\left [2\right ]\mathclose {}} and compute:
\begin {aligned}
\chi _{{\mathopen {}\left [\phi \right ]\mathclose {}}}{\mathopen {}\left (a\right )\mathclose {}} &= \begin {cases}
1 & \text {if } a \in {\mathopen {}\left [\phi \right ]\mathclose {}}\\
0 & \text {if } a \not \in {\mathopen {}\left [\phi \right ]\mathclose {}}
\end {cases}
\\
&=
\begin {cases}
1 &\text {if } \phi {\mathopen {}\left (a\right )\mathclose {}}=1\\
0 &\text {if } \phi {\mathopen {}\left (a\right )\mathclose {}}\not =1
\end {cases}
\\
&=
\begin {cases}
1 &\text {if } \phi {\mathopen {}\left (a\right )\mathclose {}}=1\\
0 &\text {if } \phi {\mathopen {}\left (a\right )\mathclose {}}=0
\end {cases}
\\
&= \phi {\mathopen {}\left (a\right )\mathclose {}}
\end {aligned}