# Super-logarithm

In mathematics, the super-logarithm is one of the two inverse functions of tetration. Just as exponentiation has two inverse functions, roots and logarithms, tetration has two inverse functions, super-roots and super-logarithms. There are several ways of interpreting super-logarithms:
* As the Abel function of exponential functions,
* As the inverse function of tetration with respect to the height,
* As a generalization of Robert Munafo's large number class system,
For positive integer values, the super-logarithm with base-e is equivalent to the number of times a logarithm must be iterated to get to $1$ (the Iterated logarithm). However, this is not true for negative values and so cannot be considered a full definition. The precise definition of the super-logarithm depends on a precise definition of non-integer tetration (that is, ${^{y}x}$ for $y$ not an integer). There is no clear consensus on the definition of non-integer tetration and so there is likewise no clear consensus on the super-logarithm for non-integer inputs.

## Definitions

The super-logarithm, written $\operatorname {slog} _{b}(z),$ is defined implicitly by
    $\operatorname {slog} _{b}(b^{z})=\operatorname {slog} _{b}(z)+1$ and
    $\operatorname {slog} _{b}(1)=0.$
This definition implies that the super-logarithm can only have integer outputs, and that it is only defined for inputs of the form $b,b^{b},b^{b^{b}},$ and so on. In order to extend the domain of the super-logarithm from this sparse set to the real numbers, several approaches have been pursued. These usually include a third requirement in addition to those listed above, which vary from author to author. These approaches are as follows:
* The linear approximation approach by Rubstov and Romerio,
* The quadratic approximation approach by Andrew Robbins,
* The regular Abel function approach by George Szekeres,
* The iterative functional approach by Peter Walker, and
* The natural matrix approach by Peter Walker, and later generalized by Andrew Robbins.

## Approximations

Usually, the special functions are defined not only for the real values of argument(s), but to complex plane, and differential and/or integral representation, as well as expansions in convergent and asymptotic series. Yet, no such representations are available for the slog function. Nevertheless, the simple approximations below are suggested.

### Linear approximation

The linear approximation to the super-logarithm is:
    $\operatorname {slog} _{b}(z)\approx {\begin{cases}\operatorname {slog} _{b}(b^{z})-1&{\text{if }}z\leq 0\\-1+z&{\text{if }}0<z\leq 1\\\operatorname {slog} _{b}(\log _{b}(z))+1&{\text{if }}1<z\\\end{cases}}$
which is a piecewise-defined function with a linear "critical piece". This function has the property that it is continuous for all real $z$ ($C^{0}$ continuous). The first authors to recognize this approximation were Rubstov and Romerio, although it is not in their paper, it can be found in their algorithm that is used in their software prototype. The linear approximation to tetration, on the other hand, had been known before, for example by Ioannis Galidakis. This is a natural inverse of the linear approximation to tetration.
Authors like Holmes recognize that the super-logarithm would be a great use to the next evolution of computer floating-point arithmetic, but for this purpose, the function need not be infinitely differentiable. Thus, for the purpose of representing large numbers, the linear approximation approach provides enough continuity ($C^{0}$ continuity) to ensure that all real numbers can be represented on a super-logarithmic scale.

### Quadratic approximation

The quadratic approximation to the super-logarithm is:
    $\operatorname {slog} _{b}(z)\approx {\begin{cases}\operatorname {slog} _{b}(b^{z})-1&{\text{if }}z\leq 0\\-1+{\frac {2\log(b)}{1+\log(b)}}z+{\frac {1-\log(b)}{1+\log(b)}}z^{2}&{\text{if }}0<z\leq 1\\\operatorname {slog} _{b}(\log _{b}(z))+1&{\text{if }}1<z\end{cases}}$
which is a piecewise-defined function with a quadratic "critical piece". This function has the property that it is continuous and differentiable for all real $z$ ($C^{1}$ continuous). The first author to publish this approximation was Andrew Robbins in this paper.
This version of the super-logarithm allows for basic calculus operations to be performed on the super-logarithm, without requiring a large amount of solving beforehand. Using this method, basic investigation of the properties of the super-logarithm and tetration can be performed with a small amount of computational overhead.

## Approaches to the Abel function

The Abel function is any function that satisfies Abel's functional equation:
    $A_{f}(f(x))=A_{f}(x)+1$
Given an Abel function $A_{f}(x)$ another solution can be obtained by adding any constant $A'_{f}(x)=A_{f}(x)+c$. Thus given that the super-logarithm is defined by $\operatorname {slog} _{b}(1)=0$ and the third special property that differs between approaches, the Abel function of the exponential function could be uniquely determined.

## Properties

Other equations that the super-logarithm satisfies are:
    $\operatorname {slog} _{b}(z)=\operatorname {slog} _{b}(\log _{b}(z))+1$
    $\operatorname {slog} _{b}(z)\geq -2$ for all real $z$
Probably the first example of a mathematical problem where the solution is expressed in terms of super-logarithms, is the following:
    Consider oriented graphs with $N$ nodes and such that oriented path from node $i$ to node $j$ exists if and only if $i>j.$ If length of all such paths is at most $k$ edges, then the minimum possible total number of edges is:
       $\Theta (N^{2})$ for $k=1$
       $\Theta (N\log N)$ for $k=2$
       $\Theta (N\log \log N)$ for $k=3$
       $\Theta (N\operatorname {slog} N)$ for $k=4$ and $k=5$
    (M. I. Grinchuk, 1986; cases $k>5$ require super-super-logarithms, super-super-super-logarithms etc.)

## Super-logarithm as inverse of tetration

As tetration (or super-exponential) ${\rm {sexp}}_{b}(z):={{^{z}}b}$ is suspected to be an analytic function, at least for some values of $~b~$, the inverse function ${\rm {slog}}_{b}={\rm {sexp}}_{b}^{-1}$ may also be analytic. Behavior of $~{\rm {slog}}_{b}(z)~$, defined in such a way, the complex $~z~$ plane is sketched in Figure 1 for the case $~b=e~$. Levels of integer values of real and integer values of imaginary parts of the slog functions are shown with thick lines. If the existence and uniqueness of the analytic extension of tetration is provided by the condition of its asymptotic approach to the fixed points $L\approx 0.318+1.337{\!~{\rm {i}}}$ and $L^{*}\approx 0.318-1.337{\!~{\rm {i}}}$ of $L=\ln(L)$ in the upper and lower parts of the complex plane, then the inverse function should also be unique. Such a function is real at the real axis. It has two branch points at $~z=L~$ and $~z=L^{*}$. It approaches its limiting value $-2$ in vicinity of the negative part of the real axis (all the strip between the cuts shown with pink lines in the figure), and slowly grows up along the positive direction of the real axis. As the derivative at the real axis is positive, the imaginary part of slog remains positive just above the real axis and negative just below the real axis. The existence, uniqueness and generalizations are under discussion.