Is There a Natural Way to Extend Repeated Exponentiation Beyond Integers?
This is not an answer to your question but a long comment on its motivation. Multiplication is at least two conceptually distinct things, only one of which can reasonably be described as repeated addition:
- The natural map $\mathbb{Z} \times A \to A$ given by $(n, a) \mapsto na$ where $A$ is an abelian group; this really is repeated addition, and is in particular bilinear.
- The composition $\text{End}(A) \times \text{End}(A) \to \text{End}(A)$ of endomorphisms of an abelian group.
What's confusing is that these two definitions agree in familiar cases. If $A = \mathbb{Z}$ (the abelian group), repeated addition gives a natural map $\mathbb{Z} \times \mathbb{Z} \to \mathbb{Z}$. On the other hand, $\text{End}(\mathbb{Z}) \cong \mathbb{Z}$ (the ring), and composition of endomorphisms gives a natural map $\mathbb{Z} \times \mathbb{Z} \to \mathbb{Z}$. These happen to be the same map, but this is an illusion caused by the fact that we're looking at such a fundamental abelian group $\mathbb{Z}$.
Similarly, if $A = \mathbb{R}$ (the abelian group), repeated addition gives a natural map $\mathbb{Z} \times \mathbb{R} \to \mathbb{R}$. On the other hand, the reasonable endomorphisms of $\mathbb{R}$ form a ring isomorphic to $\mathbb{R}$ (the ring), giving a natural map $\mathbb{R} \times \mathbb{R} \to \mathbb{R}$, and the restriction to $\mathbb{Z}$ in the first factor of the second map gives the first.
But when we think of multiplication of real numbers, the first picture is misleading: in what sense is $\pi \times \pi = \pi^2$ repeated addition? Simple: it isn't. It's better conceptualized as composition of scalings of the real line (the endomorphism definition).
The endomorphism definition generalizes immediately to multiplication of complex numbers and matrix multiplication, a context where "repeated addition" doesn't even begin to capture what multiplication is all about. This is probably a big reason why people have a difficult time with complex numbers: nobody's explained to them that they're just composing rotations and scalings of the plane.
Exponentiation is at least three conceptually distinct things, only one of which can reasonably be described as repeated multiplication:
- The natural map $\mathbb{Z} \times G \to G$ given by $(n, g) \mapsto g^n$ where $G$ is a group; this really is repeated multiplication. Note that for fixed $n$ we don't get a homomorphism in general if $G$ is non-abelian, but for fixed $g$ we get a homomorphism $\mathbb{Z} \to G$.
- The natural map $B \to B$ given by $x \mapsto e^x = \exp(x) = \sum \frac{x^k}{k!}$ where $B$ is a topological ring and the series converges (which for example is always true in a Banach algebra). If it exists for all $x \in B$, this map is a homomorphism from the additive group of $B$ to the multiplicative group of $B$; moreover, the homomorphism $t \mapsto e^{tx}$ from $\mathbb{R}$ to $B^{\times}$ is (in nice cases) uniquely determined by the fact that its derivative at $t = 0$ (in nice cases where this exists) is $x$. In other words, this is a very, very natural map.
- Any map that extends or is analogous to one or both of the above two maps.
The reason maps in the third category exist is because of the nice homomorphism properties that anything behaving like an exponential ought to satisfy, which we often want to imitate in other settings (e.g. the exponential map in Riemannian geometry). Thus, for example, we have an exponential $(a, x) \mapsto a^x = e^{x \log a}$ where $a$ is a positive real and $x$ is an element of a topological ring, generalizing the second definition, such that
- $a^{x+y} = a^x a^y$ (when $x, y$ commute) and
- $(ab)^x = a^x b^x$
and if $x$ is chosen to be a scalar multiple of the identity, we get back a special case of the first map for $G = (\mathbb{R}_{>0}, \times)$.
But I still think this is misleading. One sign is that exponentials with arbitrary bases behave quite badly once $a$ is allowed to be anything other than a positive real. The first time I tried to graph the equation
$$y = (-10)^x$$
on my calculator impressed this point on me very strongly. (Try it and see what happens.) Of course this is due to the fact that logarithms aren't well-defined in general, which, while interesting, only further emphasises the point that instead of allowing both arbitrary bases and exponents we should stick to repeated multiplication, $e^x$, and logarithms, which are the real stars of the show.
So insofar as multiplication and exponentiation are repeated addition and multiplication, at least this is sensible because addition and multiplication are associative.
Exponentiation is not associative, and it shouldn't be, because in many more general cases its two inputs are different types of things.
Therefore, there's no reason to expect repeated exponentiation to have any reasonable properties along the lines of the natural and useful homomorphism properties of multiplication and exponentiation, and as far as I know, it doesn't.
What you're after is called tetration (the example you computed is given here), and it has an active community of people who are interested in it (though my sense is that it is not quite in the mainstream of mathematics research at the moment, for whatever reason). The Wikipedia page indicates that the problem of extending tetration to arbitrary real powers in a sufficiently regular/smooth way is still not satisfactorily solved, so I'm afraid I don't know the answer to your question about the existence of such a function $h(x)$.
Tetration is further generalized by Knuth's up-arrow notation, and then generalized even more by Conway's chained arrow notation.