Solution (source code)

= Solution

For an oriented planar curve, the <Frenet-Serret formulas> are
$$
\partial_s
\begin{pmatrix}\mathbf t\\\mathbf n\end{pmatrix}
=
\begin{pmatrix}0&k\\-k&0\end{pmatrix}
\begin{pmatrix}\mathbf t\\\mathbf n\end{pmatrix}.
$$
The frame is orthonormal, so differentiating each scalar product gives
$$
\partial_s(\mathbf e_i\mathbin{\cdot}\mathbf e_j)=0.
$$
In matrix form this says that the connection matrix plus its transpose is zero; it must be antisymmetric.