This is a followup question to this other question, where I was told that multiplication is in $NC^1$ so can be computed with a circuit of polynomial size and logarithmic depth, hence also with a Boolean formula of polynomial size. This in particular also work for addition which is even in $AC^0$ as far as I know.
But then, still because I'm not at all familiar with circuit complexity issues, it is not clear to me if these results can be composed to compute arbitrary arithmetic expressions. The syntax of such expressions is something like:
\begin{equation*} e \equiv k \mid x \mid e + e \mid e\cdot e \end{equation*} where $k\in\mathbb{Z}$ and $x$ is an input variable.
For example something like $(2xy+5)(3x-3)$, i.e. polynomials, but not necessarily in standard form. It seems to me that composing naively the circuits leads to something of polynomial depth, so the formulas would become potentially exponential. Am I missing something?
Which is the formula complexity of computing arithmetic expressions like the above?
Clarification: thanks to the comments I realized the question is bit vague. The circuit complexity is usually measured in terms of the size of the inputs ($x$, $y$, $\ldots$), but here we have another parameter which is the size of the expression. So what I would need is the circuit complexity of the whole class of these arithmetic expressions in terms of the size of the input variables and the size of the expression itself.
Edit: looking around made me realize that my problem is in fact a very basic question about arithmetic circuits. So I found this reference which seems exactly what I need. Proposition 3.1 there says that over a finite field $\mathbb{F}_p$, an arithmetic circuit without division of depth $d$ can be simulated by a Boolean circuit of depth $\mathcal{O}(d\log\log p)$.
This almost fits my case because I'm working on $m$-bits integers so it's not a finite field $\mathbb{F}_p$ with $p$ prime, but can the result be adapted in some way?