[step:Choose a local BCH chart and fix the meaning of the remainder]Let
\begin{align*}
C:W\subset \mathfrak g\times \mathfrak g\to \mathfrak g
\end{align*}
denote the local Baker--Campbell--Hausdorff map, defined on a neighbourhood $W$ of $(0,0)$, so that
\begin{align*}
\exp C(A,B)=\exp A\exp B
\end{align*}
whenever $(A,B)\in W$ and the products remain in the chosen exponential neighbourhood. By the Baker--Campbell--Hausdorff expansion to degree three [citetheorem:8796], after shrinking $W$ if necessary,
\begin{align*}
C(A,B)=A+B+\frac{1}{2}[A,B]+O_3(A,B),
\end{align*}
where $O_3(A,B)$ denotes a smooth $\mathfrak g$-valued remainder whose Taylor expansion at $(0,0)$ has no terms of total degree less than $3$.
Choose a symmetric neighbourhood $U\subset \mathfrak g$ of $0$ small enough that all BCH expressions
\begin{align*}
C(X,Y),\qquad C(C(X,Y),-X),\qquad C(C(C(X,Y),-X),-Y)
\end{align*}
are defined for $X,Y\in U$. For two smooth $\mathfrak g$-valued expressions $P(X,Y)$ and $Q(X,Y)$, write
\begin{align*}
P(X,Y)\equiv Q(X,Y)\pmod{O_3(X,Y)}
\end{align*}
to mean that $P-Q$ has Taylor expansion at $(0,0)$ with no homogeneous terms of total degree less than $3$. We will also use the following consequence of Taylor expansion under composition: if $E(A,B)=O_3(A,B)$ and $A(X,Y),B(X,Y)$ vanish at $(0,0)$, then $E(A(X,Y),B(X,Y))=O_3(X,Y)$.[/step]