Let $\ln_n(f(x))$ refer to the $n$-fold composition of the natural logarithm with some function $f$. Can you find a function such that $\ln_{\infty}(f(x))$ is convex (concave up)?
So $\ln_2(f(x)) = \ln\ln(f(x))$, and we take $\ln_0(f(x)) = f(x)$.
My efforts so far:
$$\frac{d}{dx} \ln_n(f(x)) = \frac{f'(x)}{\prod\limits_{k=0}^{n-1} \ln_k(f(x))}$$
$$g(x) = \prod\limits_{k=0}^{n-1} \ln_k(f(x))$$
$$\frac{d^2}{dx^2} \ln_n(f(x)) = \frac{g(x)f''(x) - f'(x)g'(x)}{g(x)^2}$$
It follows that:
$$g(x)f''(x) - f'(x)g'(x) > 0$$ (Must we also consider the case of equality?)
I'm sort of stuck from here. My first intuition is to find $g'(x)$, but I'm not exactly sure how to go about doing so, or if this problem has a much simpler solution than what I have done so far.
Edit: $$\ln(g(x)) = \sum\limits_{k=1}^n \ln_k(f(x))$$ $$g'(x) = \left(\prod\limits_{k=0}^{n-1} \ln_k(f(x))\right)\left(\sum\limits_{k=1}^n\frac{f'(x)}{\prod\limits_{m=0}^{k-1} \ln_m(f(x))}\right)$$
So our condition in full is: $$\left(\prod\limits_{k=0}^{n-1} \ln_k(f(x))\right)f''(x) - \left(\prod\limits_{k=0}^{n-1} \ln_k(f(x))\right)\left(\sum\limits_{k=1}^n\frac{f'(x)}{\prod\limits_{m=0}^{k-1} \ln_m(f(x))}\right)f'(x) > 0 $$
$$\left(\prod\limits_{k=0}^{n-1} \ln_k(f(x))\right)\left(f''(x) - \left(\sum\limits_{k=1}^n\frac{1}{\prod\limits_{m=0}^{k-1} \ln_m(f(x))}\right)(f'(x))^2\right) > 0$$