In (?), we have two standard mirror descent problems. Since two problems enjoy the same structure, we only prove an efficient solution to the first problem (?).
By the online mirror descent optimization [zimin2013online], Problem (?) is equivalent to
\bar q_1^{\,t}
\;=\;
\displaystyle \operatorname*{argmin}_{q_1} \;
\eta \, \langle{q_1},{\phi_1^{t-1}}\rangle
\, +\,
\displaystyle D\big(q_1\,\vert\, \widetilde{q}_1^{\,t-1}\big)
\;
\text{ and }
\;
\widehat q_1^{\,t}
\;=\;
\displaystyle \operatorname*{argmin}_{q_1\,\in\,\Delta(k_1^t)} \;
\displaystyle D\big(q_1\,\vert\, \bar{q}_1^{\,t}\big)
where \bar q_1^{\,t} is a solution to an unconstrained problem and \widehat q_1^{\,t} simply takes the projection of \bar q_1^{\,t} to the domain \Delta(k_1^t) in the unnormalized Kullback-Leibler divergence.
It is straightforward to compute a closed-form solution for the unconstrained problem,
\bar q_1^{\,t} (x,a) \;=\; \widetilde q_1^{\,t} (x,a) \,{
\ClassWarning{jmlr}{Obsolete command
\expandafter\string\csnamerm\endcsname\space detected}
\csname rm \endcsname
e}^{- \eta\phi_1^{t-1}(x,a)},\,\text{ for all } (x,a)\in X\times A.
To compute the projection of \bar q_1^{\,t}, we recall that the domain set \Delta(k_1^t) explicitly takes the following linear constraints on q_1: X\times A\to [0,1],
\Delta(k_1^t) \;\mathrel{\mathop:}=\; \{ q_1: X\times A\to [0,1] \,\vert\, q_1 \text{satisfies the following (i), (ii), (iii), (iv)} \}
(i) q_1(x, a) = \sum_{x'\,\in\,X_{\ell+1}} q_1(x,a,x') for (x,a)\in X_\ell\times A and \ell \in\{0,1,\cdots,L-1\};
(ii) \sum_{x\in X_\ell}\sum_{a\in A}\sum_{x'\in X_{\ell+1}} q_1(x, a, x') = 1 for \ell \in\{0,1,\cdots,L-1\};
(iii) \sum_{x\in X_{\ell-1}}\sum_{a\in A} q_1(x, a, x') =\sum_{a\in A}\sum_{x''\in X_{\ell+1}} q_1(x', a, x'') for x'\in X_\ell and \ell \in\{1,\cdots,L-1\};
(iv) q_1(x,a,x')-\bar P_1^{k_1}(x'\,\vert\,x,a) \sum_{x''\,\in\,X_{\ell+1}}q_1(x,a,x'') \leq \epsilon(x,a,x'),
\bar P_1^{k_1}(x'\,\vert\,x,a) \sum_{x''\,\in\,X_{\ell+1}}q_1(x,a,x'')-q_1(x,a,x') \leq \epsilon(x,a,x'),
and \sum_{x'\,\in\,X_{\ell+1}} \epsilon(x,a,x') \leq \epsilon_1^{k_1}(x,a) \sum_{x'\,\in\,X_{\ell+1}}q_1(x,a,x') for (x,a,x')\in X_\ell \times A\times X_{\ell+1} and \ell \in\{0,1,\cdots,L-1\}.
where (ii) and (iii) follow the occupancy measure’s property and (iv) displays the confidence set condition for q_1\in \Delta(k_1^t),
\Bigg\Vert \frac{q_1(x,a,\cdot)}{\sum_{x''\,\in\,X_{\ell+1}}q_1(x,a,x'') }- \bar P_1^{k_1}(\cdot\,\vert\,x,a) \Bigg\Vert_1 \; \leq \; \epsilon_1^{k_1}(x,a), \text{ for all }(x,a) \in X\times A
and we also introduce \epsilon: X\times A\times X\to [0,\infty) additionally. Therefore, the projection problem is a convex optimization with the linear constraints. By the method of Lagrange multipliers, we have the following Lagrangian {\mathcal{L}}(q_1,\epsilon; \alpha, \lambda,\beta,\mu^+,\mu^-,\mu),
\begin{array}{rcl}
&& \;{\mathcal{L}}(q_1,\epsilon; \alpha, \lambda,\beta,\mu^+,\mu^-,\mu)
\\[0.2cm]
&& \displaystyle \;=\; D\big(q_1\,\vert\, \bar{q}_1^{\,t}\big) \,+\, \sum_{\ell\,=\,0}^{L-1} \sum_{x\,\in\,X_\ell}\sum_{a\,\in\, A}\alpha(x,a)\left(q_1(x, a) - \sum_{x'\,\in\,X_{\ell+1}} q_1(x,a,x')\right)
\\[0.2cm]
&& \displaystyle \,+\, \sum_{\ell\,=\,0}^{L-1}\lambda_\ell\left(\sum_{x\in X_\ell}\sum_{a\in A}\sum_{x'\in X_{\ell+1}} q_1(x, a, x') - 1\right)
\\[0.2cm]
&& \displaystyle \,+\, \sum_{\ell\,=\,1}^{L-1}\sum_{x'\,\in\,X_\ell}\beta(x') \left(\sum_{x\in X_{\ell-1}}\sum_{a\in A} q_1(x, a, x') -\sum_{a\in A}\sum_{x''\in X_{\ell+1}} q_1(x', a, x'')\right)
\\[0.2cm]
&& \!\!\!\! \!\!\!\! \!\!\!\! \!\!\!\!
\displaystyle \,+\, \sum_{\ell\,=\,0}^{L-1}\sum_{x\,\in\,X_\ell}\sum_{a\,\in\, A}\sum_{x'\,\in\,X_{\ell+1}} \mu^+(x,a,x')\left(q_1(x,a,x')-\bar P_1^{k_1}(x'\,\vert\,x,a) \sum_{x''\,\in\,X_{\ell+1}}q_1(x,a,x'') - \epsilon(x,a,x')\right)
\\[0.2cm]
&& \!\!\!\! \!\!\!\! \!\!\!\! \!\!\!\!
\displaystyle \,+\, \sum_{\ell\,=\,0}^{L-1}\sum_{x\,\in\,X_\ell}\sum_{a\,\in\, A}\sum_{x'\,\in\,X_{\ell+1}} \mu^-(x,a,x')\left(\bar P_1^{k_1}(x'\,\vert\,x,a) \sum_{x''\,\in\,X_{\ell+1}}q_1(x,a,x'') -q_1(x,a,x')- \epsilon(x,a,x')\right)
\\[0.2cm]
&& \displaystyle \,+\, \sum_{\ell\,=\,0}^{L-1}\sum_{x\,\in\,X_\ell}\sum_{a\,\in\,A}\mu(x,a) \left(\sum_{x'\,\in\,X_{\ell+1}} \epsilon(x,a,x') - \epsilon_1^{k_1}(x,a) \sum_{x'\,\in\,X_{\ell+1}}q_1(x,a,x')\right)
\end{array}
where \alpha (x,a), \lambda_\ell, \beta(x), \mu^+(x,a,x')\geq0, \mu^-(x,a,x')\geq0, and \mu(x,a,x')\geq0 for (x,a,x')\in X_\ell\times A\times X_{\ell+1} are Lagrange multipliers associated to the linear constraints.
By the Lagrange duality theory, the strong duality holds. To find the optimal solution to the projection problem in (Proof), it suffices to check the first-order stationary conditions. We first take the derivative over \epsilon(x,a,x') for (x,a,x')\in X_\ell \times A\times X_{\ell+1},
\frac{\partial {\mathcal{L}}}{\partial \epsilon(x,a,x') }
\;=\;
-\, \mu^+(x,a,x') \,-\, \mu^-(x,a,x') \,+\, \mu(x,a)
which is zero if we take \mu(x,a)=\mu^+(x,a,x')+\mu^-(x,a,x'). Using this stationary condition, we simplify the Lagrangian {\mathcal{L}}(q_1,\epsilon; \alpha, \lambda,\beta,\mu^+,\mu^-,\mu) by eliminating \mu and \epsilon into,
\begin{array}{rcl}
&& \;
{\mathcal{L}}(q_1; \alpha, \lambda,\beta,\mu^+,\mu^-)
\\[0.2cm]
&& \;=\; \displaystyle D\big(q_1\,\vert\, \bar{q}_1^{\,t}\big) \,+\, \sum_{\ell\,=\,0}^{L-1} \sum_{x\,\in\,X_\ell}\sum_{a\,\in\, A}\alpha(x,a)\left(q_1(x, a) - \sum_{x'\,\in\,X_{\ell+1}} q_1(x,a,x')\right)
\\[0.2cm]
&& \displaystyle \,+\, \sum_{\ell\,=\,0}^{L-1} \lambda_\ell\left(\sum_{x\in X_\ell}\sum_{a\in A}\sum_{x'\in X_{\ell+1}} q_1(x, a, x') - 1\right)
\\[0.2cm]
&& \displaystyle \,+\, \sum_{\ell\,=\,1}^{L-1}\sum_{x'\,\in\,X_\ell}\beta(x') \left(\sum_{x\in X_{\ell-1}}\sum_{a\in A} q_1(x, a, x') -\sum_{a\in A}\sum_{x''\in X_{\ell+1}} q_1(x', a, x'')\right)
\\[0.2cm]
&& \!\!\!\! \!\!\!\! \!\!\!\! \!\!\!\!
\displaystyle \,+\, \sum_{\ell\,=\,0}^{L-1}\sum_{x\,\in\,X_\ell}\sum_{a\,\in\, A}\sum_{x'\,\in\,X_{\ell+1}} \mu^+(x,a,x')\left( (1-\epsilon_1^{k_1}(x,a))q_1(x,a,x')-\bar P_1^{k_1}(x'\,\vert\,x,a) \sum_{x''\,\in\,X_{\ell+1}}q_1(x,a,x'') \right)
\\[0.2cm]
&& \!\!\!\! \!\!\!\! \!\!\!\! \!\!\!\!
\displaystyle \,+\, \sum_{\ell\,=\,0}^{L-1}\sum_{x\,\in\,X_\ell}\sum_{a\,\in\, A}\sum_{x'\,\in\,X_{\ell+1}} \mu^-(x,a,x')\left(\bar P_1^{k_1}(x'\,\vert\,x,a) \sum_{x''\,\in\,X_{\ell+1}}q_1(x,a,x'') -(1+\epsilon_1^{k_1}(x,a))q_1(x,a,x')\right).
\end{array}
For the notational simplicity, we take \beta(x_0)=\beta(x_L) = 0. We next check the first-order stationary conditions of {\mathcal{L}}(q_1; \alpha, \lambda,\beta,\mu^+,\mu^-) and solve them for the stationary point. We first take the derivative over q_1(x,a,x') and q_1(x,a) for (x,a,x')\in X_\ell \times A\times X_{\ell+1}, respectively,
\begin{array}{rcl}
\displaystyle \frac{\partial {\mathcal{L}}}{\partial q_1(x,a,x') } &=& - \, \alpha(x,a) \,+\, \lambda_\ell \,+\, \beta(x')-\beta(x)
\\[0.2cm]
&& \,+\, (1-\epsilon_1^{k_1}(x,a))\mu^+(x,a,x') \,-\, (1+\epsilon_1^{k_1}(x,a))\mu^-(x,a,x')
\\[0.2cm]
&& \displaystyle \,+\, \sum_{x''\,\in\,X_{\ell+1}} \bar P_1^{k_1}(x''\,\vert\,x,a) (\mu^-(x,a,x'')-\mu^+(x,a,x''))
\end{array}
\frac{\partial {\mathcal{L}}}{\partial q_1(x,a) }\;=\; \ln q_1(x,a) \,-\, \ln \bar q_1^{\,t}(x,a) \,+\, \alpha(x,a).
By setting the second derivative above to be zero, we have \alpha(x,a) = -\ln q_1(x,a)+\ln \bar q_1^{\,t}(x,a). Then, substituting it into the first zero-derivative by eliminating \alpha(x,a) yields,
\begin{array}{rcl}
\displaystyle \ln q_1(x,a) &=& \ln \bar q_1^{\,t}(x,a) \,+\,\eta \phi_1^{t-1}(x,a) \,-\, \lambda_\ell-B^{t}(x,a,x')
\end{array}
\begin{array}{rcl}
B^{t}(x,a,x') &=& \beta(x')-\beta(x) \,+\, \eta \phi_1^{t-1}(x,a)
\\[0.2cm]
&& \,+\, (1-\epsilon_1^{k_1}(x,a))\mu^+(x,a,x') \,-\, (1+\epsilon_1^{k_1}(x,a))\mu^-(x,a,x')
\\[0.2cm]
&& \displaystyle \,+\, \sum_{x''\,\in\,X_{\ell+1}} \bar P_1^{k_1}(x''\,\vert\,x,a) (\mu^-(x,a,x'')-\mu^+(x,a,x'')).
\end{array}
The solution q_1^\star(x,a) leads to an explicit formula for \widehat q_1^{\,t},
\widehat q_1^{\,t} (x,a) \;=\;q_1^\star(x,a) \;=\; \bar q_1^{\,t}(x,a) \,{
\ClassWarning{jmlr}{Obsolete command
\expandafter\string\csnamerm\endcsname\space detected}
\csname rm \endcsname
e}^{\eta \phi_1^{t-1}(x,a)- \lambda_\ell-B^{t}(x,a,x')}\;=\;\widetilde q_1^{\,t}(x,a) \,{
\ClassWarning{jmlr}{Obsolete command
\expandafter\string\csnamerm\endcsname\space detected}
\csname rm \endcsname
e}^{- \lambda_\ell-B^{t}(x,a,x')}
where the last equality is due to (?) and x\neq x_L. We note that it is not unique to determine \alpha(x,a) since it takes the form \alpha^\star(x,a)=-\eta \phi_1^{t-1}(x,a)+\lambda_\ell+B^{t}(x,a,x') for some x'. It remains to determine the optimal \beta, \mu^+, and \mu^-.
Bofore showing the optimal \beta, \mu^+, and \mu^-, we take another derivative over \lambda_\ell at q_1=\widehat q_1^t and set it to be zero,
\sum_{x\in X_\ell}\sum_{a\in A}\sum_{x'\in X_{\ell+1}} \widehat q_1^{\,t}(x, a, x') \;=\;1
or, equivalently,
{
\ClassWarning{jmlr}{Obsolete command
\expandafter\string\csnamerm\endcsname\space detected}
\csname rm \endcsname
e}^{\lambda_\ell} \;=\; \sum_{x\in X_\ell}\sum_{a\in A}\sum_{x'\in X_{\ell+1}} \widetilde q_1^{\,t}(x,a)\,{
\ClassWarning{jmlr}{Obsolete command
\expandafter\string\csnamerm\endcsname\space detected}
\csname rm \endcsname
e}^{-B^{t}(x,a,x')}\;\mathrel{\mathop:}=\; Z_\ell^t
which shows that \lambda_\ell^\star = \ln Z_\ell^t. It also leads to \alpha^\star(x,a)=-\eta \phi_1^{t-1}(x,a)+\lambda_\ell^\star+B^{t}(x,a,x').
We note that
\begin{array}{rcl}
&&\!\!\!\! \!\!\!\! \!\!
{\mathcal{L}}(q_1; \alpha, \lambda,\beta,\mu^+,\mu^-)
\\[0.2cm]
&=& \displaystyle
D\big(q_1\,\vert\, \bar{q}_1^{\,t}\big)+ \sum_{\ell\,=\,0}^{L-1}\sum_{x\,\in\,X_\ell}\sum_{a\,\in\, A}\sum_{x'\,\in\,X_{\ell+1}} \bigg(\frac{\partial \mathcal{L}}{\partial q_1(x,a,x') } + \alpha(x,a) \bigg)q_1(x,a,x')-\sum_{\ell\,=\,0}^{L-1} \lambda_\ell
\\[0.2cm]
&=& \displaystyle D\big(q_1\,\vert\, \bar{q}_1^{\,t}\big)+
\sum_{\ell\,=\,0}^{L-1}\sum_{x\,\in\,X_\ell}\sum_{a\,\in\, A}\sum_{x'\,\in\,X_{\ell+1}} \frac{\partial \mathcal{L}}{\partial q_1(x,a,x') }q_1(x,a,x')
\\[0.2cm]
&& \displaystyle
+\sum_{\ell\,=\,0}^{L-1}\sum_{x\,\in\,X_\ell}\sum_{a\,\in\, A} \bigg(\frac{\partial \mathcal{L}}{\partial q_1(x,a) }- \ln q_1(x,a)+\ln \bar q_1^{\,t}(x,a) \bigg) q_1(x,a)
-\sum_{\ell\,=\,0}^{L-1} \lambda_\ell
\\[0.2cm]
&=& \displaystyle
\sum_{\ell\,=\,0}^{L-1}\sum_{x\,\in\,X_\ell}\sum_{a\,\in\, A}\sum_{x'\,\in\,X_{\ell+1}} \frac{\partial \mathcal{L}}{\partial q_1(x,a,x') }q_1(x,a,x')
\\[0.2cm]
&& \displaystyle
+\sum_{\ell\,=\,0}^{L-1}\sum_{x\,\in\,X_\ell}\sum_{a\,\in\, A} \bigg(\bigg(\frac{\partial \mathcal{L}}{\partial q_1(x,a) }-1\bigg) q_1(x,a)+\ln \bar q_1^{\,t}(x,a) \bigg)
-\sum_{\ell\,=\,0}^{L-1} \lambda_\ell.
\end{array}
We now collect all previously determined optimal dual variables and apply the strong duality,
\begin{array}{rcl}
\beta^\star, \mu^{+,\star}, \mu^{-,\star}
&=&\displaystyle
\operatorname*{argmax}_{\beta,\, \mu^+,\,\mu^-\,\geq \,0} \operatorname*{maximize}_{\alpha,\,\lambda}\,\operatorname*{minimize}_{q_1}\; {\mathcal{L}}(q_1; \alpha, \lambda,\beta,\mu^+,\mu^-)
\\[0.2cm]
&=&\displaystyle
\operatorname*{argmax}_{\beta,\, \mu^+,\,\mu^-\,\geq \,0}\; {\mathcal{L}}(q_1^\star; \alpha^\star, \lambda^\star,\beta,\mu^+,\mu^-)
\\[0.2cm]
&=&\displaystyle
\operatorname*{argmax}_{\beta,\, \mu^+,\,\mu^-\,\geq \,0}\; -L+\sum_{\ell\,=\,0}^{L-1}\sum_{x\,\in\,X_\ell}\sum_{a\,\in\, A} \ln \bar q_1^{\,t}(x,a) -\sum_{\ell\,=\,0}^{L-1} \lambda_\ell^\star
\\[0.2cm]
&=&\displaystyle
\operatorname*{argmin}_{\beta,\, \mu^+,\,\mu^-\,\geq \,0}\; \sum_{\ell\,=\,0}^{L-1} \ln Z_\ell^t
\end{array}
where the third equality is due to: \frac{\partial {\mathcal{L}}}{\partial q_1(x,a,x') } \vert_{q_1^\star(x,a,x')}=0 and \frac{\partial {\mathcal{L}}}{\partial q_1(x,a) } \vert_{q_1^\star(x,a)}= 0, and we ignore all constants that are independent of \beta, \mu^+, and \mu^- for the last equality; we note that this minimization problem is a convex optimization problem over the nonnegative orthant. Hence, we have proved the update (11) as an efficient update (?). Similarly, we have an efficient update (11) for the second problem (?) and the proof is complete.