[step:Apply the Chern--Lu inequality to $\log u$ on the nonzero locus]Let
\begin{align*}
U:=\{x\in X:u(x)>0\}.
\end{align*}
On $U$, the function
\begin{align*}
\log u:U&\to \mathbb{R}\\
x&\mapsto \log(u(x))
\end{align*}
is smooth. The Chern--Lu Bochner formula for holomorphic maps between Kähler manifolds gives
\begin{align*}
\Delta_{\omega_X}\log u
\geq
\frac{1}{u}\left(
\operatorname{Ric}(\omega_X)(\partial f,\overline{\partial f})
-
R^Y(\partial f,\overline{\partial f},\partial f,\overline{\partial f})
\right),
\end{align*}
where $\Delta_{\omega_X}$ is the nonnegative complex Laplacian. More explicitly, at a point $x\in U$, choose a $\omega_X$-unitary frame $(e_1,\dots,e_m)$ for $T_x^{1,0}X$ and a $\omega_Y$-unitary frame $(E_1,\dots,E_n)$ for $T_{f(x)}^{1,0}Y$. Write the complex differential as
\begin{align*}
\partial f_x(e_\alpha)=\sum_{i=1}^n f_{\alpha i}E_i,
\end{align*}
where $f_{\alpha i}\in\mathbb{C}$ are the frame components of $\partial f_x$. Then
\begin{align*}
u(x)=\sum_{\alpha=1}^m\sum_{i=1}^n |f_{\alpha i}|^2,
\end{align*}
and the contractions in the Chern--Lu formula mean
\begin{align*}
\operatorname{Ric}(\omega_X)(\partial f,\overline{\partial f})
&=\sum_{\alpha,\beta=1}^m\sum_{i=1}^n \operatorname{Ric}^X_{\alpha\bar\beta}\, f_{\alpha i}\,\overline{f_{\beta i}},\\
R^Y(\partial f,\overline{\partial f},\partial f,\overline{\partial f})
&=\sum_{\alpha,\beta=1}^m R^Y\bigl(\partial f_x(e_\alpha),\overline{\partial f_x(e_\alpha)},\partial f_x(e_\beta),\overline{\partial f_x(e_\beta)}\bigr).
\end{align*}
These definitions are independent of the chosen unitary frames because they are tensor contractions.
The lower Ricci bound gives
\begin{align*}
\operatorname{Ric}(\omega_X)(\partial f,\overline{\partial f})\geq -A\,u.
\end{align*}
The holomorphic bisectional curvature bound of $\omega_Y$ gives
\begin{align*}
-R^Y(\partial f,\overline{\partial f},\partial f,\overline{\partial f})\geq B\,u^2.
\end{align*}
Combining these two curvature estimates yields
\begin{align*}
\Delta_{\omega_X}\log u\geq Bu-A
\end{align*}
on $U$.[/step]