The mathematical problem is for functions $D\subseteq\mathbb{C}\to\mathbb{C}$.
Let $f$ denote a function of one variable ($f\colon x\mapsto f(x)$) and $\phi$ the inverse of $f$.
The inverse of a function $f$ exists iff $f$ is bijective. Each non-bijective function can be splitted into different bijective functions by restricting the domain.
Let $f$ be in closed form. That means the function term of $f$ is in closed form, means in finite terms.
Because for the inverse $\phi(f(x))=f(\phi(x))=x$ holds, we have: Existing of the inverse $y=\phi(x)$ of $f$ in closed form means the equation $f(y)=x$ is solvable for $y$ in closed form (means: by applying only allowed operations/functions).
Allowed functions could be e.g. the algebraic functions, the elementary functions and/or special functions.
Your examples are algebraic functions.
1.) Algebraic functions
An algebraic function (over $\mathbb{Q}$) of $n$ variables is a solution of an irreducible algebraic equation over $\mathbb{Q}[x_1,...,x_n]$. An algebraic function is in closed form if its function term is a radical expression. That are the explicit algebraic functions.
The inverse of an algebraic function is an algebraic function. To see if $\phi(x)$ is in closed form, you have to check if the equation $f(y)=x$ is solvable for $y$ in closed form.
Galois theory says which algebraic equations have solutions that are radical expressions and which not.
[Ritt 1922] lists all types of rational functions whose inverses are expressible in terms of radicals.
Some solutions of algebraic equations of higher degree can be represented e.g. with Bring radicals and/or theta functions.
2.) Transcendental elementary functions
The elementary functions of Liouville, Ritt, Risch and Lin contain also the implicit algebraic functions.
For the elementary functions, [Ritt 1925] and [Risch 1979] prove the
Theorem:
"If $F(z)$ and its inverse are both elementary, there exist $n$ functions $$\phi_{1}(z),\ \phi_{2}(z),\ ...,\ \phi_{n}(z),$$
where each $\phi(z)$ with an odd index is algebraic, and each $\phi(z)$ with an even index is either $e^{z}$ or $\log z$, such that
$$F(z)=\phi_{n}\ \phi_{n-1}\ ...\ \phi_{2}\ \phi_{1}(z)$$
each $\phi_{i}(z)$ $(i<n)$ being substituted for $z$ in $\phi_{i+1}(z)$."
Because $F$ has to be a composition, the algebraic functions have to be unary.
$EL$ are the elementary numbers:
http://mathworld.wolfram.com/LiouvillianNumber.html, https://en.wikipedia.org/wiki/Elementary_number, http://mathworld.wolfram.com/ElementaryNumber.html, [Chow 1999].
The explict elementary numbers are used in [Chow 1999].
[Lin 1983] proves the
Theorem:
"If Schanuel's conjecture is true and $f(X,Y)\in\overline{\mathbb{Q}}[X,Y]$ is an irreducible polynomial involving both $X$ and $Y$ and $f\left(\alpha,exp(\alpha)\right)=0$ for some non-zero $\alpha$ in $\mathbb{C}$, then $\alpha$ is not in $EL$."
That also means, the inverse of a bijective function $F\colon x\mapsto f(x,e^x)$ cannot be an elementary function.
3.) Functions in general
One can easily prove the
Theorem:
Let $n \in \mathbb{N}_0$,
$f_{1},...,f_{n}$ bijective functions,
$f=f_{n}\circ f_{n-1}\circ\ ...\ \circ f_{2}\circ f_{1}$ a bijective function,
$\phi$ the inverse of $f$.
Then $\phi=\phi_{1}\ \circ\ \phi_{2}\ \circ\ ...\ \circ\ \phi_{n-1}\ \circ\ \phi_{n}$, wherein for all $i$ with $1\leq i\leq n$, $\phi_{i}$ is the inverse of $f_{i}$.
For inverses in the elementary functions and LambertW, I could apply this theorem for my answer at Equations solvable by Lambert Function.
Khovanskii and Burda give another method: see [Burda/Khovanskii 2011], [Khovanskii 2014], [Belov-Kanel/Malistov/Zaytsev 2020].
$\ $
[Belov-Kanel/Malistov/Zaytsev 2020] Belov-Kanel, A.; Malistov, A.; Zaytsev, R.: Solvability of equations in elementary functions. Journal of Knot Theory and Its Ramifications 29 (2020) (2) 204-205
[Burda/Khovanskii 2011] Burda, Y.; Khovanskii, A.: Branching Data for Algebraic Functions and Representability by Radicals. 2011
[Chow 1999] Chow, T. Y.: What is a Closed-Form Number? Amer. Math. Monthly 106 (1999) (5) 440-448 or https://arxiv.org/abs/math/9805045
[Khovanskii 2014] Khovanskii, A.: Topological Galois Theory. Solvability and Unsolvability of Equations in Finite Terms. Springer 2014
[Lin 1983] Ferng-Ching Lin: Schanuel's Conjecture Implies Ritt's Conjectures. Chin. J. Math. 11 (1983) (1) 41-50
[Risch 1979] Risch, R. H.: Algebraic Properties of the Elementary Functions of Analysis. Amer. J. Math 101 (1979) (4) 743-759
[Ritt 1922] Ritt, J. F.: On algebraic functions which can be expressed in terms of radicals. Trans. Amer. Math. Soc. 24 (1922) (1) 21-30
[Ritt 1925] Ritt, J. F.: Elementary functions and their inverses. Trans. Amer. Math. Soc. 27 (1925) (1) 68-90