2cbrt (problem 3.3.4)

Percentage Accurate: 53.3% → 99.2%
Time: 17.8s
Alternatives: 11
Speedup: 1.8×

Specification

?
\[\begin{array}{l} \\ \sqrt[3]{x + 1} - \sqrt[3]{x} \end{array} \]
(FPCore (x) :precision binary64 (- (cbrt (+ x 1.0)) (cbrt x)))
double code(double x) {
	return cbrt((x + 1.0)) - cbrt(x);
}
public static double code(double x) {
	return Math.cbrt((x + 1.0)) - Math.cbrt(x);
}
function code(x)
	return Float64(cbrt(Float64(x + 1.0)) - cbrt(x))
end
code[x_] := N[(N[Power[N[(x + 1.0), $MachinePrecision], 1/3], $MachinePrecision] - N[Power[x, 1/3], $MachinePrecision]), $MachinePrecision]
\begin{array}{l}

\\
\sqrt[3]{x + 1} - \sqrt[3]{x}
\end{array}

Sampling outcomes in binary64 precision:

Local Percentage Accuracy vs ?

The average percentage accuracy by input value. Horizontal axis shows value of an input variable; the variable is choosen in the title. Vertical axis is accuracy; higher is better. Red represent the original program, while blue represents Herbie's suggestion. These can be toggled with buttons below the plot. The line is an average while dots represent individual samples.

Accuracy vs Speed?

Herbie found 11 alternatives:

AlternativeAccuracySpeedup
The accuracy (vertical axis) and speed (horizontal axis) of each alternatives. Up and to the right is better. The red square shows the initial program, and each blue circle shows an alternative.The line shows the best available speed-accuracy tradeoffs.

Initial Program: 53.3% accurate, 1.0× speedup?

\[\begin{array}{l} \\ \sqrt[3]{x + 1} - \sqrt[3]{x} \end{array} \]
(FPCore (x) :precision binary64 (- (cbrt (+ x 1.0)) (cbrt x)))
double code(double x) {
	return cbrt((x + 1.0)) - cbrt(x);
}
public static double code(double x) {
	return Math.cbrt((x + 1.0)) - Math.cbrt(x);
}
function code(x)
	return Float64(cbrt(Float64(x + 1.0)) - cbrt(x))
end
code[x_] := N[(N[Power[N[(x + 1.0), $MachinePrecision], 1/3], $MachinePrecision] - N[Power[x, 1/3], $MachinePrecision]), $MachinePrecision]
\begin{array}{l}

\\
\sqrt[3]{x + 1} - \sqrt[3]{x}
\end{array}

Alternative 1: 99.2% accurate, 0.4× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_0 := \sqrt[3]{1 + x}\\ \frac{1}{{t_0}^{2} + \sqrt[3]{x} \cdot \left(t_0 + \sqrt[3]{x}\right)} \end{array} \end{array} \]
(FPCore (x)
 :precision binary64
 (let* ((t_0 (cbrt (+ 1.0 x))))
   (/ 1.0 (+ (pow t_0 2.0) (* (cbrt x) (+ t_0 (cbrt x)))))))
double code(double x) {
	double t_0 = cbrt((1.0 + x));
	return 1.0 / (pow(t_0, 2.0) + (cbrt(x) * (t_0 + cbrt(x))));
}
public static double code(double x) {
	double t_0 = Math.cbrt((1.0 + x));
	return 1.0 / (Math.pow(t_0, 2.0) + (Math.cbrt(x) * (t_0 + Math.cbrt(x))));
}
function code(x)
	t_0 = cbrt(Float64(1.0 + x))
	return Float64(1.0 / Float64((t_0 ^ 2.0) + Float64(cbrt(x) * Float64(t_0 + cbrt(x)))))
end
code[x_] := Block[{t$95$0 = N[Power[N[(1.0 + x), $MachinePrecision], 1/3], $MachinePrecision]}, N[(1.0 / N[(N[Power[t$95$0, 2.0], $MachinePrecision] + N[(N[Power[x, 1/3], $MachinePrecision] * N[(t$95$0 + N[Power[x, 1/3], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}

\\
\begin{array}{l}
t_0 := \sqrt[3]{1 + x}\\
\frac{1}{{t_0}^{2} + \sqrt[3]{x} \cdot \left(t_0 + \sqrt[3]{x}\right)}
\end{array}
\end{array}
Derivation
  1. Initial program 52.8%

    \[\sqrt[3]{x + 1} - \sqrt[3]{x} \]
  2. Step-by-step derivation
    1. add-cube-cbrt52.7%

      \[\leadsto \sqrt[3]{x + 1} - \color{blue}{\left(\sqrt[3]{\sqrt[3]{x}} \cdot \sqrt[3]{\sqrt[3]{x}}\right) \cdot \sqrt[3]{\sqrt[3]{x}}} \]
    2. pow352.7%

      \[\leadsto \sqrt[3]{x + 1} - \color{blue}{{\left(\sqrt[3]{\sqrt[3]{x}}\right)}^{3}} \]
  3. Applied egg-rr52.7%

    \[\leadsto \sqrt[3]{x + 1} - \color{blue}{{\left(\sqrt[3]{\sqrt[3]{x}}\right)}^{3}} \]
  4. Step-by-step derivation
    1. rem-cube-cbrt52.8%

      \[\leadsto \sqrt[3]{x + 1} - \color{blue}{\sqrt[3]{x}} \]
    2. sub-neg52.8%

      \[\leadsto \color{blue}{\sqrt[3]{x + 1} + \left(-\sqrt[3]{x}\right)} \]
    3. flip3-+52.8%

      \[\leadsto \color{blue}{\frac{{\left(\sqrt[3]{x + 1}\right)}^{3} + {\left(-\sqrt[3]{x}\right)}^{3}}{\sqrt[3]{x + 1} \cdot \sqrt[3]{x + 1} + \left(\left(-\sqrt[3]{x}\right) \cdot \left(-\sqrt[3]{x}\right) - \sqrt[3]{x + 1} \cdot \left(-\sqrt[3]{x}\right)\right)}} \]
    4. pow352.7%

      \[\leadsto \frac{\color{blue}{\left(\sqrt[3]{x + 1} \cdot \sqrt[3]{x + 1}\right) \cdot \sqrt[3]{x + 1}} + {\left(-\sqrt[3]{x}\right)}^{3}}{\sqrt[3]{x + 1} \cdot \sqrt[3]{x + 1} + \left(\left(-\sqrt[3]{x}\right) \cdot \left(-\sqrt[3]{x}\right) - \sqrt[3]{x + 1} \cdot \left(-\sqrt[3]{x}\right)\right)} \]
    5. add-cube-cbrt52.7%

      \[\leadsto \frac{\color{blue}{\left(x + 1\right)} + {\left(-\sqrt[3]{x}\right)}^{3}}{\sqrt[3]{x + 1} \cdot \sqrt[3]{x + 1} + \left(\left(-\sqrt[3]{x}\right) \cdot \left(-\sqrt[3]{x}\right) - \sqrt[3]{x + 1} \cdot \left(-\sqrt[3]{x}\right)\right)} \]
    6. +-commutative52.7%

      \[\leadsto \frac{\color{blue}{\left(1 + x\right)} + {\left(-\sqrt[3]{x}\right)}^{3}}{\sqrt[3]{x + 1} \cdot \sqrt[3]{x + 1} + \left(\left(-\sqrt[3]{x}\right) \cdot \left(-\sqrt[3]{x}\right) - \sqrt[3]{x + 1} \cdot \left(-\sqrt[3]{x}\right)\right)} \]
    7. pow252.7%

      \[\leadsto \frac{\left(1 + x\right) + {\left(-\sqrt[3]{x}\right)}^{3}}{\color{blue}{{\left(\sqrt[3]{x + 1}\right)}^{2}} + \left(\left(-\sqrt[3]{x}\right) \cdot \left(-\sqrt[3]{x}\right) - \sqrt[3]{x + 1} \cdot \left(-\sqrt[3]{x}\right)\right)} \]
    8. +-commutative52.7%

      \[\leadsto \frac{\left(1 + x\right) + {\left(-\sqrt[3]{x}\right)}^{3}}{{\left(\sqrt[3]{\color{blue}{1 + x}}\right)}^{2} + \left(\left(-\sqrt[3]{x}\right) \cdot \left(-\sqrt[3]{x}\right) - \sqrt[3]{x + 1} \cdot \left(-\sqrt[3]{x}\right)\right)} \]
    9. +-commutative52.7%

      \[\leadsto \frac{\left(1 + x\right) + {\left(-\sqrt[3]{x}\right)}^{3}}{{\left(\sqrt[3]{1 + x}\right)}^{2} + \left(\left(-\sqrt[3]{x}\right) \cdot \left(-\sqrt[3]{x}\right) - \sqrt[3]{\color{blue}{1 + x}} \cdot \left(-\sqrt[3]{x}\right)\right)} \]
  5. Applied egg-rr52.7%

    \[\leadsto \color{blue}{\frac{\left(1 + x\right) + {\left(-\sqrt[3]{x}\right)}^{3}}{{\left(\sqrt[3]{1 + x}\right)}^{2} + \left(\left(-\sqrt[3]{x}\right) \cdot \left(-\sqrt[3]{x}\right) - \sqrt[3]{1 + x} \cdot \left(-\sqrt[3]{x}\right)\right)}} \]
  6. Step-by-step derivation
    1. cube-neg52.7%

      \[\leadsto \frac{\left(1 + x\right) + \color{blue}{\left(-{\left(\sqrt[3]{x}\right)}^{3}\right)}}{{\left(\sqrt[3]{1 + x}\right)}^{2} + \left(\left(-\sqrt[3]{x}\right) \cdot \left(-\sqrt[3]{x}\right) - \sqrt[3]{1 + x} \cdot \left(-\sqrt[3]{x}\right)\right)} \]
    2. rem-cube-cbrt53.2%

      \[\leadsto \frac{\left(1 + x\right) + \left(-\color{blue}{x}\right)}{{\left(\sqrt[3]{1 + x}\right)}^{2} + \left(\left(-\sqrt[3]{x}\right) \cdot \left(-\sqrt[3]{x}\right) - \sqrt[3]{1 + x} \cdot \left(-\sqrt[3]{x}\right)\right)} \]
    3. associate-+r+99.2%

      \[\leadsto \frac{\color{blue}{1 + \left(x + \left(-x\right)\right)}}{{\left(\sqrt[3]{1 + x}\right)}^{2} + \left(\left(-\sqrt[3]{x}\right) \cdot \left(-\sqrt[3]{x}\right) - \sqrt[3]{1 + x} \cdot \left(-\sqrt[3]{x}\right)\right)} \]
    4. sub-neg99.2%

      \[\leadsto \frac{1 + \color{blue}{\left(x - x\right)}}{{\left(\sqrt[3]{1 + x}\right)}^{2} + \left(\left(-\sqrt[3]{x}\right) \cdot \left(-\sqrt[3]{x}\right) - \sqrt[3]{1 + x} \cdot \left(-\sqrt[3]{x}\right)\right)} \]
    5. +-inverses99.2%

      \[\leadsto \frac{1 + \color{blue}{0}}{{\left(\sqrt[3]{1 + x}\right)}^{2} + \left(\left(-\sqrt[3]{x}\right) \cdot \left(-\sqrt[3]{x}\right) - \sqrt[3]{1 + x} \cdot \left(-\sqrt[3]{x}\right)\right)} \]
    6. metadata-eval99.2%

      \[\leadsto \frac{\color{blue}{1}}{{\left(\sqrt[3]{1 + x}\right)}^{2} + \left(\left(-\sqrt[3]{x}\right) \cdot \left(-\sqrt[3]{x}\right) - \sqrt[3]{1 + x} \cdot \left(-\sqrt[3]{x}\right)\right)} \]
    7. *-commutative99.2%

      \[\leadsto \frac{1}{{\left(\sqrt[3]{1 + x}\right)}^{2} + \left(\left(-\sqrt[3]{x}\right) \cdot \left(-\sqrt[3]{x}\right) - \color{blue}{\left(-\sqrt[3]{x}\right) \cdot \sqrt[3]{1 + x}}\right)} \]
    8. cancel-sign-sub99.2%

      \[\leadsto \frac{1}{{\left(\sqrt[3]{1 + x}\right)}^{2} + \color{blue}{\left(\left(-\sqrt[3]{x}\right) \cdot \left(-\sqrt[3]{x}\right) + \sqrt[3]{x} \cdot \sqrt[3]{1 + x}\right)}} \]
    9. sqr-neg99.2%

      \[\leadsto \frac{1}{{\left(\sqrt[3]{1 + x}\right)}^{2} + \left(\color{blue}{\sqrt[3]{x} \cdot \sqrt[3]{x}} + \sqrt[3]{x} \cdot \sqrt[3]{1 + x}\right)} \]
    10. distribute-lft-in99.2%

      \[\leadsto \frac{1}{{\left(\sqrt[3]{1 + x}\right)}^{2} + \color{blue}{\sqrt[3]{x} \cdot \left(\sqrt[3]{x} + \sqrt[3]{1 + x}\right)}} \]
    11. +-commutative99.2%

      \[\leadsto \frac{1}{{\left(\sqrt[3]{1 + x}\right)}^{2} + \sqrt[3]{x} \cdot \color{blue}{\left(\sqrt[3]{1 + x} + \sqrt[3]{x}\right)}} \]
  7. Simplified99.2%

    \[\leadsto \color{blue}{\frac{1}{{\left(\sqrt[3]{1 + x}\right)}^{2} + \sqrt[3]{x} \cdot \left(\sqrt[3]{1 + x} + \sqrt[3]{x}\right)}} \]
  8. Final simplification99.2%

    \[\leadsto \frac{1}{{\left(\sqrt[3]{1 + x}\right)}^{2} + \sqrt[3]{x} \cdot \left(\sqrt[3]{1 + x} + \sqrt[3]{x}\right)} \]

Alternative 2: 88.0% accurate, 0.4× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_0 := \sqrt[3]{x} \cdot \left(\sqrt[3]{1 + x} + \sqrt[3]{x}\right)\\ \mathbf{if}\;x \leq -1.35 \cdot 10^{+154}:\\ \;\;\;\;\frac{1}{1 + t_0}\\ \mathbf{elif}\;x \leq 1.32 \cdot 10^{+154}:\\ \;\;\;\;\frac{1}{t_0 + \sqrt[3]{{\left(1 + x\right)}^{2}}}\\ \mathbf{else}:\\ \;\;\;\;\frac{1}{t_0 + e^{0.6666666666666666 \cdot \mathsf{log1p}\left(x\right)}}\\ \end{array} \end{array} \]
(FPCore (x)
 :precision binary64
 (let* ((t_0 (* (cbrt x) (+ (cbrt (+ 1.0 x)) (cbrt x)))))
   (if (<= x -1.35e+154)
     (/ 1.0 (+ 1.0 t_0))
     (if (<= x 1.32e+154)
       (/ 1.0 (+ t_0 (cbrt (pow (+ 1.0 x) 2.0))))
       (/ 1.0 (+ t_0 (exp (* 0.6666666666666666 (log1p x)))))))))
double code(double x) {
	double t_0 = cbrt(x) * (cbrt((1.0 + x)) + cbrt(x));
	double tmp;
	if (x <= -1.35e+154) {
		tmp = 1.0 / (1.0 + t_0);
	} else if (x <= 1.32e+154) {
		tmp = 1.0 / (t_0 + cbrt(pow((1.0 + x), 2.0)));
	} else {
		tmp = 1.0 / (t_0 + exp((0.6666666666666666 * log1p(x))));
	}
	return tmp;
}
public static double code(double x) {
	double t_0 = Math.cbrt(x) * (Math.cbrt((1.0 + x)) + Math.cbrt(x));
	double tmp;
	if (x <= -1.35e+154) {
		tmp = 1.0 / (1.0 + t_0);
	} else if (x <= 1.32e+154) {
		tmp = 1.0 / (t_0 + Math.cbrt(Math.pow((1.0 + x), 2.0)));
	} else {
		tmp = 1.0 / (t_0 + Math.exp((0.6666666666666666 * Math.log1p(x))));
	}
	return tmp;
}
function code(x)
	t_0 = Float64(cbrt(x) * Float64(cbrt(Float64(1.0 + x)) + cbrt(x)))
	tmp = 0.0
	if (x <= -1.35e+154)
		tmp = Float64(1.0 / Float64(1.0 + t_0));
	elseif (x <= 1.32e+154)
		tmp = Float64(1.0 / Float64(t_0 + cbrt((Float64(1.0 + x) ^ 2.0))));
	else
		tmp = Float64(1.0 / Float64(t_0 + exp(Float64(0.6666666666666666 * log1p(x)))));
	end
	return tmp
end
code[x_] := Block[{t$95$0 = N[(N[Power[x, 1/3], $MachinePrecision] * N[(N[Power[N[(1.0 + x), $MachinePrecision], 1/3], $MachinePrecision] + N[Power[x, 1/3], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[x, -1.35e+154], N[(1.0 / N[(1.0 + t$95$0), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 1.32e+154], N[(1.0 / N[(t$95$0 + N[Power[N[Power[N[(1.0 + x), $MachinePrecision], 2.0], $MachinePrecision], 1/3], $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(1.0 / N[(t$95$0 + N[Exp[N[(0.6666666666666666 * N[Log[1 + x], $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_0 := \sqrt[3]{x} \cdot \left(\sqrt[3]{1 + x} + \sqrt[3]{x}\right)\\
\mathbf{if}\;x \leq -1.35 \cdot 10^{+154}:\\
\;\;\;\;\frac{1}{1 + t_0}\\

\mathbf{elif}\;x \leq 1.32 \cdot 10^{+154}:\\
\;\;\;\;\frac{1}{t_0 + \sqrt[3]{{\left(1 + x\right)}^{2}}}\\

\mathbf{else}:\\
\;\;\;\;\frac{1}{t_0 + e^{0.6666666666666666 \cdot \mathsf{log1p}\left(x\right)}}\\


\end{array}
\end{array}
Derivation
  1. Split input into 3 regimes
  2. if x < -1.35000000000000003e154

    1. Initial program 4.7%

      \[\sqrt[3]{x + 1} - \sqrt[3]{x} \]
    2. Step-by-step derivation
      1. add-cube-cbrt3.6%

        \[\leadsto \sqrt[3]{x + 1} - \color{blue}{\left(\sqrt[3]{\sqrt[3]{x}} \cdot \sqrt[3]{\sqrt[3]{x}}\right) \cdot \sqrt[3]{\sqrt[3]{x}}} \]
      2. pow33.6%

        \[\leadsto \sqrt[3]{x + 1} - \color{blue}{{\left(\sqrt[3]{\sqrt[3]{x}}\right)}^{3}} \]
    3. Applied egg-rr3.6%

      \[\leadsto \sqrt[3]{x + 1} - \color{blue}{{\left(\sqrt[3]{\sqrt[3]{x}}\right)}^{3}} \]
    4. Step-by-step derivation
      1. rem-cube-cbrt4.7%

        \[\leadsto \sqrt[3]{x + 1} - \color{blue}{\sqrt[3]{x}} \]
      2. sub-neg4.7%

        \[\leadsto \color{blue}{\sqrt[3]{x + 1} + \left(-\sqrt[3]{x}\right)} \]
      3. flip3-+4.7%

        \[\leadsto \color{blue}{\frac{{\left(\sqrt[3]{x + 1}\right)}^{3} + {\left(-\sqrt[3]{x}\right)}^{3}}{\sqrt[3]{x + 1} \cdot \sqrt[3]{x + 1} + \left(\left(-\sqrt[3]{x}\right) \cdot \left(-\sqrt[3]{x}\right) - \sqrt[3]{x + 1} \cdot \left(-\sqrt[3]{x}\right)\right)}} \]
      4. pow34.4%

        \[\leadsto \frac{\color{blue}{\left(\sqrt[3]{x + 1} \cdot \sqrt[3]{x + 1}\right) \cdot \sqrt[3]{x + 1}} + {\left(-\sqrt[3]{x}\right)}^{3}}{\sqrt[3]{x + 1} \cdot \sqrt[3]{x + 1} + \left(\left(-\sqrt[3]{x}\right) \cdot \left(-\sqrt[3]{x}\right) - \sqrt[3]{x + 1} \cdot \left(-\sqrt[3]{x}\right)\right)} \]
      5. add-cube-cbrt3.6%

        \[\leadsto \frac{\color{blue}{\left(x + 1\right)} + {\left(-\sqrt[3]{x}\right)}^{3}}{\sqrt[3]{x + 1} \cdot \sqrt[3]{x + 1} + \left(\left(-\sqrt[3]{x}\right) \cdot \left(-\sqrt[3]{x}\right) - \sqrt[3]{x + 1} \cdot \left(-\sqrt[3]{x}\right)\right)} \]
      6. +-commutative3.6%

        \[\leadsto \frac{\color{blue}{\left(1 + x\right)} + {\left(-\sqrt[3]{x}\right)}^{3}}{\sqrt[3]{x + 1} \cdot \sqrt[3]{x + 1} + \left(\left(-\sqrt[3]{x}\right) \cdot \left(-\sqrt[3]{x}\right) - \sqrt[3]{x + 1} \cdot \left(-\sqrt[3]{x}\right)\right)} \]
      7. pow23.6%

        \[\leadsto \frac{\left(1 + x\right) + {\left(-\sqrt[3]{x}\right)}^{3}}{\color{blue}{{\left(\sqrt[3]{x + 1}\right)}^{2}} + \left(\left(-\sqrt[3]{x}\right) \cdot \left(-\sqrt[3]{x}\right) - \sqrt[3]{x + 1} \cdot \left(-\sqrt[3]{x}\right)\right)} \]
      8. +-commutative3.6%

        \[\leadsto \frac{\left(1 + x\right) + {\left(-\sqrt[3]{x}\right)}^{3}}{{\left(\sqrt[3]{\color{blue}{1 + x}}\right)}^{2} + \left(\left(-\sqrt[3]{x}\right) \cdot \left(-\sqrt[3]{x}\right) - \sqrt[3]{x + 1} \cdot \left(-\sqrt[3]{x}\right)\right)} \]
      9. +-commutative3.6%

        \[\leadsto \frac{\left(1 + x\right) + {\left(-\sqrt[3]{x}\right)}^{3}}{{\left(\sqrt[3]{1 + x}\right)}^{2} + \left(\left(-\sqrt[3]{x}\right) \cdot \left(-\sqrt[3]{x}\right) - \sqrt[3]{\color{blue}{1 + x}} \cdot \left(-\sqrt[3]{x}\right)\right)} \]
    5. Applied egg-rr3.6%

      \[\leadsto \color{blue}{\frac{\left(1 + x\right) + {\left(-\sqrt[3]{x}\right)}^{3}}{{\left(\sqrt[3]{1 + x}\right)}^{2} + \left(\left(-\sqrt[3]{x}\right) \cdot \left(-\sqrt[3]{x}\right) - \sqrt[3]{1 + x} \cdot \left(-\sqrt[3]{x}\right)\right)}} \]
    6. Step-by-step derivation
      1. cube-neg3.6%

        \[\leadsto \frac{\left(1 + x\right) + \color{blue}{\left(-{\left(\sqrt[3]{x}\right)}^{3}\right)}}{{\left(\sqrt[3]{1 + x}\right)}^{2} + \left(\left(-\sqrt[3]{x}\right) \cdot \left(-\sqrt[3]{x}\right) - \sqrt[3]{1 + x} \cdot \left(-\sqrt[3]{x}\right)\right)} \]
      2. rem-cube-cbrt4.7%

        \[\leadsto \frac{\left(1 + x\right) + \left(-\color{blue}{x}\right)}{{\left(\sqrt[3]{1 + x}\right)}^{2} + \left(\left(-\sqrt[3]{x}\right) \cdot \left(-\sqrt[3]{x}\right) - \sqrt[3]{1 + x} \cdot \left(-\sqrt[3]{x}\right)\right)} \]
      3. associate-+r+98.3%

        \[\leadsto \frac{\color{blue}{1 + \left(x + \left(-x\right)\right)}}{{\left(\sqrt[3]{1 + x}\right)}^{2} + \left(\left(-\sqrt[3]{x}\right) \cdot \left(-\sqrt[3]{x}\right) - \sqrt[3]{1 + x} \cdot \left(-\sqrt[3]{x}\right)\right)} \]
      4. sub-neg98.3%

        \[\leadsto \frac{1 + \color{blue}{\left(x - x\right)}}{{\left(\sqrt[3]{1 + x}\right)}^{2} + \left(\left(-\sqrt[3]{x}\right) \cdot \left(-\sqrt[3]{x}\right) - \sqrt[3]{1 + x} \cdot \left(-\sqrt[3]{x}\right)\right)} \]
      5. +-inverses98.3%

        \[\leadsto \frac{1 + \color{blue}{0}}{{\left(\sqrt[3]{1 + x}\right)}^{2} + \left(\left(-\sqrt[3]{x}\right) \cdot \left(-\sqrt[3]{x}\right) - \sqrt[3]{1 + x} \cdot \left(-\sqrt[3]{x}\right)\right)} \]
      6. metadata-eval98.3%

        \[\leadsto \frac{\color{blue}{1}}{{\left(\sqrt[3]{1 + x}\right)}^{2} + \left(\left(-\sqrt[3]{x}\right) \cdot \left(-\sqrt[3]{x}\right) - \sqrt[3]{1 + x} \cdot \left(-\sqrt[3]{x}\right)\right)} \]
      7. *-commutative98.3%

        \[\leadsto \frac{1}{{\left(\sqrt[3]{1 + x}\right)}^{2} + \left(\left(-\sqrt[3]{x}\right) \cdot \left(-\sqrt[3]{x}\right) - \color{blue}{\left(-\sqrt[3]{x}\right) \cdot \sqrt[3]{1 + x}}\right)} \]
      8. cancel-sign-sub98.3%

        \[\leadsto \frac{1}{{\left(\sqrt[3]{1 + x}\right)}^{2} + \color{blue}{\left(\left(-\sqrt[3]{x}\right) \cdot \left(-\sqrt[3]{x}\right) + \sqrt[3]{x} \cdot \sqrt[3]{1 + x}\right)}} \]
      9. sqr-neg98.3%

        \[\leadsto \frac{1}{{\left(\sqrt[3]{1 + x}\right)}^{2} + \left(\color{blue}{\sqrt[3]{x} \cdot \sqrt[3]{x}} + \sqrt[3]{x} \cdot \sqrt[3]{1 + x}\right)} \]
      10. distribute-lft-in98.3%

        \[\leadsto \frac{1}{{\left(\sqrt[3]{1 + x}\right)}^{2} + \color{blue}{\sqrt[3]{x} \cdot \left(\sqrt[3]{x} + \sqrt[3]{1 + x}\right)}} \]
      11. +-commutative98.3%

        \[\leadsto \frac{1}{{\left(\sqrt[3]{1 + x}\right)}^{2} + \sqrt[3]{x} \cdot \color{blue}{\left(\sqrt[3]{1 + x} + \sqrt[3]{x}\right)}} \]
    7. Simplified98.3%

      \[\leadsto \color{blue}{\frac{1}{{\left(\sqrt[3]{1 + x}\right)}^{2} + \sqrt[3]{x} \cdot \left(\sqrt[3]{1 + x} + \sqrt[3]{x}\right)}} \]
    8. Taylor expanded in x around 0 20.0%

      \[\leadsto \frac{1}{\color{blue}{1} + \sqrt[3]{x} \cdot \left(\sqrt[3]{1 + x} + \sqrt[3]{x}\right)} \]

    if -1.35000000000000003e154 < x < 1.31999999999999998e154

    1. Initial program 69.2%

      \[\sqrt[3]{x + 1} - \sqrt[3]{x} \]
    2. Step-by-step derivation
      1. add-cube-cbrt69.5%

        \[\leadsto \sqrt[3]{x + 1} - \color{blue}{\left(\sqrt[3]{\sqrt[3]{x}} \cdot \sqrt[3]{\sqrt[3]{x}}\right) \cdot \sqrt[3]{\sqrt[3]{x}}} \]
      2. pow369.5%

        \[\leadsto \sqrt[3]{x + 1} - \color{blue}{{\left(\sqrt[3]{\sqrt[3]{x}}\right)}^{3}} \]
    3. Applied egg-rr69.5%

      \[\leadsto \sqrt[3]{x + 1} - \color{blue}{{\left(\sqrt[3]{\sqrt[3]{x}}\right)}^{3}} \]
    4. Step-by-step derivation
      1. rem-cube-cbrt69.2%

        \[\leadsto \sqrt[3]{x + 1} - \color{blue}{\sqrt[3]{x}} \]
      2. sub-neg69.2%

        \[\leadsto \color{blue}{\sqrt[3]{x + 1} + \left(-\sqrt[3]{x}\right)} \]
      3. flip3-+69.2%

        \[\leadsto \color{blue}{\frac{{\left(\sqrt[3]{x + 1}\right)}^{3} + {\left(-\sqrt[3]{x}\right)}^{3}}{\sqrt[3]{x + 1} \cdot \sqrt[3]{x + 1} + \left(\left(-\sqrt[3]{x}\right) \cdot \left(-\sqrt[3]{x}\right) - \sqrt[3]{x + 1} \cdot \left(-\sqrt[3]{x}\right)\right)}} \]
      4. pow369.2%

        \[\leadsto \frac{\color{blue}{\left(\sqrt[3]{x + 1} \cdot \sqrt[3]{x + 1}\right) \cdot \sqrt[3]{x + 1}} + {\left(-\sqrt[3]{x}\right)}^{3}}{\sqrt[3]{x + 1} \cdot \sqrt[3]{x + 1} + \left(\left(-\sqrt[3]{x}\right) \cdot \left(-\sqrt[3]{x}\right) - \sqrt[3]{x + 1} \cdot \left(-\sqrt[3]{x}\right)\right)} \]
      5. add-cube-cbrt69.5%

        \[\leadsto \frac{\color{blue}{\left(x + 1\right)} + {\left(-\sqrt[3]{x}\right)}^{3}}{\sqrt[3]{x + 1} \cdot \sqrt[3]{x + 1} + \left(\left(-\sqrt[3]{x}\right) \cdot \left(-\sqrt[3]{x}\right) - \sqrt[3]{x + 1} \cdot \left(-\sqrt[3]{x}\right)\right)} \]
      6. +-commutative69.5%

        \[\leadsto \frac{\color{blue}{\left(1 + x\right)} + {\left(-\sqrt[3]{x}\right)}^{3}}{\sqrt[3]{x + 1} \cdot \sqrt[3]{x + 1} + \left(\left(-\sqrt[3]{x}\right) \cdot \left(-\sqrt[3]{x}\right) - \sqrt[3]{x + 1} \cdot \left(-\sqrt[3]{x}\right)\right)} \]
      7. pow269.5%

        \[\leadsto \frac{\left(1 + x\right) + {\left(-\sqrt[3]{x}\right)}^{3}}{\color{blue}{{\left(\sqrt[3]{x + 1}\right)}^{2}} + \left(\left(-\sqrt[3]{x}\right) \cdot \left(-\sqrt[3]{x}\right) - \sqrt[3]{x + 1} \cdot \left(-\sqrt[3]{x}\right)\right)} \]
      8. +-commutative69.5%

        \[\leadsto \frac{\left(1 + x\right) + {\left(-\sqrt[3]{x}\right)}^{3}}{{\left(\sqrt[3]{\color{blue}{1 + x}}\right)}^{2} + \left(\left(-\sqrt[3]{x}\right) \cdot \left(-\sqrt[3]{x}\right) - \sqrt[3]{x + 1} \cdot \left(-\sqrt[3]{x}\right)\right)} \]
      9. +-commutative69.5%

        \[\leadsto \frac{\left(1 + x\right) + {\left(-\sqrt[3]{x}\right)}^{3}}{{\left(\sqrt[3]{1 + x}\right)}^{2} + \left(\left(-\sqrt[3]{x}\right) \cdot \left(-\sqrt[3]{x}\right) - \sqrt[3]{\color{blue}{1 + x}} \cdot \left(-\sqrt[3]{x}\right)\right)} \]
    5. Applied egg-rr69.5%

      \[\leadsto \color{blue}{\frac{\left(1 + x\right) + {\left(-\sqrt[3]{x}\right)}^{3}}{{\left(\sqrt[3]{1 + x}\right)}^{2} + \left(\left(-\sqrt[3]{x}\right) \cdot \left(-\sqrt[3]{x}\right) - \sqrt[3]{1 + x} \cdot \left(-\sqrt[3]{x}\right)\right)}} \]
    6. Step-by-step derivation
      1. cube-neg69.5%

        \[\leadsto \frac{\left(1 + x\right) + \color{blue}{\left(-{\left(\sqrt[3]{x}\right)}^{3}\right)}}{{\left(\sqrt[3]{1 + x}\right)}^{2} + \left(\left(-\sqrt[3]{x}\right) \cdot \left(-\sqrt[3]{x}\right) - \sqrt[3]{1 + x} \cdot \left(-\sqrt[3]{x}\right)\right)} \]
      2. rem-cube-cbrt69.7%

        \[\leadsto \frac{\left(1 + x\right) + \left(-\color{blue}{x}\right)}{{\left(\sqrt[3]{1 + x}\right)}^{2} + \left(\left(-\sqrt[3]{x}\right) \cdot \left(-\sqrt[3]{x}\right) - \sqrt[3]{1 + x} \cdot \left(-\sqrt[3]{x}\right)\right)} \]
      3. associate-+r+99.4%

        \[\leadsto \frac{\color{blue}{1 + \left(x + \left(-x\right)\right)}}{{\left(\sqrt[3]{1 + x}\right)}^{2} + \left(\left(-\sqrt[3]{x}\right) \cdot \left(-\sqrt[3]{x}\right) - \sqrt[3]{1 + x} \cdot \left(-\sqrt[3]{x}\right)\right)} \]
      4. sub-neg99.4%

        \[\leadsto \frac{1 + \color{blue}{\left(x - x\right)}}{{\left(\sqrt[3]{1 + x}\right)}^{2} + \left(\left(-\sqrt[3]{x}\right) \cdot \left(-\sqrt[3]{x}\right) - \sqrt[3]{1 + x} \cdot \left(-\sqrt[3]{x}\right)\right)} \]
      5. +-inverses99.4%

        \[\leadsto \frac{1 + \color{blue}{0}}{{\left(\sqrt[3]{1 + x}\right)}^{2} + \left(\left(-\sqrt[3]{x}\right) \cdot \left(-\sqrt[3]{x}\right) - \sqrt[3]{1 + x} \cdot \left(-\sqrt[3]{x}\right)\right)} \]
      6. metadata-eval99.4%

        \[\leadsto \frac{\color{blue}{1}}{{\left(\sqrt[3]{1 + x}\right)}^{2} + \left(\left(-\sqrt[3]{x}\right) \cdot \left(-\sqrt[3]{x}\right) - \sqrt[3]{1 + x} \cdot \left(-\sqrt[3]{x}\right)\right)} \]
      7. *-commutative99.4%

        \[\leadsto \frac{1}{{\left(\sqrt[3]{1 + x}\right)}^{2} + \left(\left(-\sqrt[3]{x}\right) \cdot \left(-\sqrt[3]{x}\right) - \color{blue}{\left(-\sqrt[3]{x}\right) \cdot \sqrt[3]{1 + x}}\right)} \]
      8. cancel-sign-sub99.4%

        \[\leadsto \frac{1}{{\left(\sqrt[3]{1 + x}\right)}^{2} + \color{blue}{\left(\left(-\sqrt[3]{x}\right) \cdot \left(-\sqrt[3]{x}\right) + \sqrt[3]{x} \cdot \sqrt[3]{1 + x}\right)}} \]
      9. sqr-neg99.4%

        \[\leadsto \frac{1}{{\left(\sqrt[3]{1 + x}\right)}^{2} + \left(\color{blue}{\sqrt[3]{x} \cdot \sqrt[3]{x}} + \sqrt[3]{x} \cdot \sqrt[3]{1 + x}\right)} \]
      10. distribute-lft-in99.4%

        \[\leadsto \frac{1}{{\left(\sqrt[3]{1 + x}\right)}^{2} + \color{blue}{\sqrt[3]{x} \cdot \left(\sqrt[3]{x} + \sqrt[3]{1 + x}\right)}} \]
      11. +-commutative99.4%

        \[\leadsto \frac{1}{{\left(\sqrt[3]{1 + x}\right)}^{2} + \sqrt[3]{x} \cdot \color{blue}{\left(\sqrt[3]{1 + x} + \sqrt[3]{x}\right)}} \]
    7. Simplified99.4%

      \[\leadsto \color{blue}{\frac{1}{{\left(\sqrt[3]{1 + x}\right)}^{2} + \sqrt[3]{x} \cdot \left(\sqrt[3]{1 + x} + \sqrt[3]{x}\right)}} \]
    8. Step-by-step derivation
      1. unpow299.4%

        \[\leadsto \frac{1}{\color{blue}{\sqrt[3]{1 + x} \cdot \sqrt[3]{1 + x}} + \sqrt[3]{x} \cdot \left(\sqrt[3]{1 + x} + \sqrt[3]{x}\right)} \]
      2. cbrt-unprod99.6%

        \[\leadsto \frac{1}{\color{blue}{\sqrt[3]{\left(1 + x\right) \cdot \left(1 + x\right)}} + \sqrt[3]{x} \cdot \left(\sqrt[3]{1 + x} + \sqrt[3]{x}\right)} \]
      3. pow299.6%

        \[\leadsto \frac{1}{\sqrt[3]{\color{blue}{{\left(1 + x\right)}^{2}}} + \sqrt[3]{x} \cdot \left(\sqrt[3]{1 + x} + \sqrt[3]{x}\right)} \]
      4. +-commutative99.6%

        \[\leadsto \frac{1}{\sqrt[3]{{\color{blue}{\left(x + 1\right)}}^{2}} + \sqrt[3]{x} \cdot \left(\sqrt[3]{1 + x} + \sqrt[3]{x}\right)} \]
    9. Applied egg-rr99.6%

      \[\leadsto \frac{1}{\color{blue}{\sqrt[3]{{\left(x + 1\right)}^{2}}} + \sqrt[3]{x} \cdot \left(\sqrt[3]{1 + x} + \sqrt[3]{x}\right)} \]

    if 1.31999999999999998e154 < x

    1. Initial program 4.7%

      \[\sqrt[3]{x + 1} - \sqrt[3]{x} \]
    2. Step-by-step derivation
      1. add-cube-cbrt2.7%

        \[\leadsto \sqrt[3]{x + 1} - \color{blue}{\left(\sqrt[3]{\sqrt[3]{x}} \cdot \sqrt[3]{\sqrt[3]{x}}\right) \cdot \sqrt[3]{\sqrt[3]{x}}} \]
      2. pow32.9%

        \[\leadsto \sqrt[3]{x + 1} - \color{blue}{{\left(\sqrt[3]{\sqrt[3]{x}}\right)}^{3}} \]
    3. Applied egg-rr2.9%

      \[\leadsto \sqrt[3]{x + 1} - \color{blue}{{\left(\sqrt[3]{\sqrt[3]{x}}\right)}^{3}} \]
    4. Step-by-step derivation
      1. rem-cube-cbrt4.7%

        \[\leadsto \sqrt[3]{x + 1} - \color{blue}{\sqrt[3]{x}} \]
      2. sub-neg4.7%

        \[\leadsto \color{blue}{\sqrt[3]{x + 1} + \left(-\sqrt[3]{x}\right)} \]
      3. flip3-+4.7%

        \[\leadsto \color{blue}{\frac{{\left(\sqrt[3]{x + 1}\right)}^{3} + {\left(-\sqrt[3]{x}\right)}^{3}}{\sqrt[3]{x + 1} \cdot \sqrt[3]{x + 1} + \left(\left(-\sqrt[3]{x}\right) \cdot \left(-\sqrt[3]{x}\right) - \sqrt[3]{x + 1} \cdot \left(-\sqrt[3]{x}\right)\right)}} \]
      4. pow34.1%

        \[\leadsto \frac{\color{blue}{\left(\sqrt[3]{x + 1} \cdot \sqrt[3]{x + 1}\right) \cdot \sqrt[3]{x + 1}} + {\left(-\sqrt[3]{x}\right)}^{3}}{\sqrt[3]{x + 1} \cdot \sqrt[3]{x + 1} + \left(\left(-\sqrt[3]{x}\right) \cdot \left(-\sqrt[3]{x}\right) - \sqrt[3]{x + 1} \cdot \left(-\sqrt[3]{x}\right)\right)} \]
      5. add-cube-cbrt2.9%

        \[\leadsto \frac{\color{blue}{\left(x + 1\right)} + {\left(-\sqrt[3]{x}\right)}^{3}}{\sqrt[3]{x + 1} \cdot \sqrt[3]{x + 1} + \left(\left(-\sqrt[3]{x}\right) \cdot \left(-\sqrt[3]{x}\right) - \sqrt[3]{x + 1} \cdot \left(-\sqrt[3]{x}\right)\right)} \]
      6. +-commutative2.9%

        \[\leadsto \frac{\color{blue}{\left(1 + x\right)} + {\left(-\sqrt[3]{x}\right)}^{3}}{\sqrt[3]{x + 1} \cdot \sqrt[3]{x + 1} + \left(\left(-\sqrt[3]{x}\right) \cdot \left(-\sqrt[3]{x}\right) - \sqrt[3]{x + 1} \cdot \left(-\sqrt[3]{x}\right)\right)} \]
      7. pow22.9%

        \[\leadsto \frac{\left(1 + x\right) + {\left(-\sqrt[3]{x}\right)}^{3}}{\color{blue}{{\left(\sqrt[3]{x + 1}\right)}^{2}} + \left(\left(-\sqrt[3]{x}\right) \cdot \left(-\sqrt[3]{x}\right) - \sqrt[3]{x + 1} \cdot \left(-\sqrt[3]{x}\right)\right)} \]
      8. +-commutative2.9%

        \[\leadsto \frac{\left(1 + x\right) + {\left(-\sqrt[3]{x}\right)}^{3}}{{\left(\sqrt[3]{\color{blue}{1 + x}}\right)}^{2} + \left(\left(-\sqrt[3]{x}\right) \cdot \left(-\sqrt[3]{x}\right) - \sqrt[3]{x + 1} \cdot \left(-\sqrt[3]{x}\right)\right)} \]
      9. +-commutative2.9%

        \[\leadsto \frac{\left(1 + x\right) + {\left(-\sqrt[3]{x}\right)}^{3}}{{\left(\sqrt[3]{1 + x}\right)}^{2} + \left(\left(-\sqrt[3]{x}\right) \cdot \left(-\sqrt[3]{x}\right) - \sqrt[3]{\color{blue}{1 + x}} \cdot \left(-\sqrt[3]{x}\right)\right)} \]
    5. Applied egg-rr2.9%

      \[\leadsto \color{blue}{\frac{\left(1 + x\right) + {\left(-\sqrt[3]{x}\right)}^{3}}{{\left(\sqrt[3]{1 + x}\right)}^{2} + \left(\left(-\sqrt[3]{x}\right) \cdot \left(-\sqrt[3]{x}\right) - \sqrt[3]{1 + x} \cdot \left(-\sqrt[3]{x}\right)\right)}} \]
    6. Step-by-step derivation
      1. cube-neg2.9%

        \[\leadsto \frac{\left(1 + x\right) + \color{blue}{\left(-{\left(\sqrt[3]{x}\right)}^{3}\right)}}{{\left(\sqrt[3]{1 + x}\right)}^{2} + \left(\left(-\sqrt[3]{x}\right) \cdot \left(-\sqrt[3]{x}\right) - \sqrt[3]{1 + x} \cdot \left(-\sqrt[3]{x}\right)\right)} \]
      2. rem-cube-cbrt4.7%

        \[\leadsto \frac{\left(1 + x\right) + \left(-\color{blue}{x}\right)}{{\left(\sqrt[3]{1 + x}\right)}^{2} + \left(\left(-\sqrt[3]{x}\right) \cdot \left(-\sqrt[3]{x}\right) - \sqrt[3]{1 + x} \cdot \left(-\sqrt[3]{x}\right)\right)} \]
      3. associate-+r+98.4%

        \[\leadsto \frac{\color{blue}{1 + \left(x + \left(-x\right)\right)}}{{\left(\sqrt[3]{1 + x}\right)}^{2} + \left(\left(-\sqrt[3]{x}\right) \cdot \left(-\sqrt[3]{x}\right) - \sqrt[3]{1 + x} \cdot \left(-\sqrt[3]{x}\right)\right)} \]
      4. sub-neg98.4%

        \[\leadsto \frac{1 + \color{blue}{\left(x - x\right)}}{{\left(\sqrt[3]{1 + x}\right)}^{2} + \left(\left(-\sqrt[3]{x}\right) \cdot \left(-\sqrt[3]{x}\right) - \sqrt[3]{1 + x} \cdot \left(-\sqrt[3]{x}\right)\right)} \]
      5. +-inverses98.4%

        \[\leadsto \frac{1 + \color{blue}{0}}{{\left(\sqrt[3]{1 + x}\right)}^{2} + \left(\left(-\sqrt[3]{x}\right) \cdot \left(-\sqrt[3]{x}\right) - \sqrt[3]{1 + x} \cdot \left(-\sqrt[3]{x}\right)\right)} \]
      6. metadata-eval98.4%

        \[\leadsto \frac{\color{blue}{1}}{{\left(\sqrt[3]{1 + x}\right)}^{2} + \left(\left(-\sqrt[3]{x}\right) \cdot \left(-\sqrt[3]{x}\right) - \sqrt[3]{1 + x} \cdot \left(-\sqrt[3]{x}\right)\right)} \]
      7. *-commutative98.4%

        \[\leadsto \frac{1}{{\left(\sqrt[3]{1 + x}\right)}^{2} + \left(\left(-\sqrt[3]{x}\right) \cdot \left(-\sqrt[3]{x}\right) - \color{blue}{\left(-\sqrt[3]{x}\right) \cdot \sqrt[3]{1 + x}}\right)} \]
      8. cancel-sign-sub98.4%

        \[\leadsto \frac{1}{{\left(\sqrt[3]{1 + x}\right)}^{2} + \color{blue}{\left(\left(-\sqrt[3]{x}\right) \cdot \left(-\sqrt[3]{x}\right) + \sqrt[3]{x} \cdot \sqrt[3]{1 + x}\right)}} \]
      9. sqr-neg98.4%

        \[\leadsto \frac{1}{{\left(\sqrt[3]{1 + x}\right)}^{2} + \left(\color{blue}{\sqrt[3]{x} \cdot \sqrt[3]{x}} + \sqrt[3]{x} \cdot \sqrt[3]{1 + x}\right)} \]
      10. distribute-lft-in98.4%

        \[\leadsto \frac{1}{{\left(\sqrt[3]{1 + x}\right)}^{2} + \color{blue}{\sqrt[3]{x} \cdot \left(\sqrt[3]{x} + \sqrt[3]{1 + x}\right)}} \]
      11. +-commutative98.4%

        \[\leadsto \frac{1}{{\left(\sqrt[3]{1 + x}\right)}^{2} + \sqrt[3]{x} \cdot \color{blue}{\left(\sqrt[3]{1 + x} + \sqrt[3]{x}\right)}} \]
    7. Simplified98.4%

      \[\leadsto \color{blue}{\frac{1}{{\left(\sqrt[3]{1 + x}\right)}^{2} + \sqrt[3]{x} \cdot \left(\sqrt[3]{1 + x} + \sqrt[3]{x}\right)}} \]
    8. Step-by-step derivation
      1. pow1/391.6%

        \[\leadsto \frac{1}{{\color{blue}{\left({\left(1 + x\right)}^{0.3333333333333333}\right)}}^{2} + \sqrt[3]{x} \cdot \left(\sqrt[3]{1 + x} + \sqrt[3]{x}\right)} \]
      2. pow-pow91.6%

        \[\leadsto \frac{1}{\color{blue}{{\left(1 + x\right)}^{\left(0.3333333333333333 \cdot 2\right)}} + \sqrt[3]{x} \cdot \left(\sqrt[3]{1 + x} + \sqrt[3]{x}\right)} \]
      3. metadata-eval91.6%

        \[\leadsto \frac{1}{{\left(1 + x\right)}^{\color{blue}{0.6666666666666666}} + \sqrt[3]{x} \cdot \left(\sqrt[3]{1 + x} + \sqrt[3]{x}\right)} \]
      4. add-exp-log91.8%

        \[\leadsto \frac{1}{\color{blue}{e^{\log \left({\left(1 + x\right)}^{0.6666666666666666}\right)}} + \sqrt[3]{x} \cdot \left(\sqrt[3]{1 + x} + \sqrt[3]{x}\right)} \]
      5. log-pow91.6%

        \[\leadsto \frac{1}{e^{\color{blue}{0.6666666666666666 \cdot \log \left(1 + x\right)}} + \sqrt[3]{x} \cdot \left(\sqrt[3]{1 + x} + \sqrt[3]{x}\right)} \]
      6. log1p-udef91.6%

        \[\leadsto \frac{1}{e^{0.6666666666666666 \cdot \color{blue}{\mathsf{log1p}\left(x\right)}} + \sqrt[3]{x} \cdot \left(\sqrt[3]{1 + x} + \sqrt[3]{x}\right)} \]
    9. Applied egg-rr91.6%

      \[\leadsto \frac{1}{\color{blue}{e^{0.6666666666666666 \cdot \mathsf{log1p}\left(x\right)}} + \sqrt[3]{x} \cdot \left(\sqrt[3]{1 + x} + \sqrt[3]{x}\right)} \]
  3. Recombined 3 regimes into one program.
  4. Final simplification88.0%

    \[\leadsto \begin{array}{l} \mathbf{if}\;x \leq -1.35 \cdot 10^{+154}:\\ \;\;\;\;\frac{1}{1 + \sqrt[3]{x} \cdot \left(\sqrt[3]{1 + x} + \sqrt[3]{x}\right)}\\ \mathbf{elif}\;x \leq 1.32 \cdot 10^{+154}:\\ \;\;\;\;\frac{1}{\sqrt[3]{x} \cdot \left(\sqrt[3]{1 + x} + \sqrt[3]{x}\right) + \sqrt[3]{{\left(1 + x\right)}^{2}}}\\ \mathbf{else}:\\ \;\;\;\;\frac{1}{\sqrt[3]{x} \cdot \left(\sqrt[3]{1 + x} + \sqrt[3]{x}\right) + e^{0.6666666666666666 \cdot \mathsf{log1p}\left(x\right)}}\\ \end{array} \]

Alternative 3: 67.7% accurate, 0.4× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_0 := \sqrt[3]{1 + x}\\ t_1 := \frac{1}{1 + \sqrt[3]{x} \cdot \left(t_0 + \sqrt[3]{x}\right)}\\ \mathbf{if}\;x \leq 1:\\ \;\;\;\;t_1\\ \mathbf{elif}\;x \leq 1.32 \cdot 10^{+154}:\\ \;\;\;\;\frac{1}{\mathsf{fma}\left(\sqrt[3]{x}, t_0 + {x}^{0.3333333333333333}, \sqrt[3]{x \cdot x}\right)}\\ \mathbf{else}:\\ \;\;\;\;t_1\\ \end{array} \end{array} \]
(FPCore (x)
 :precision binary64
 (let* ((t_0 (cbrt (+ 1.0 x)))
        (t_1 (/ 1.0 (+ 1.0 (* (cbrt x) (+ t_0 (cbrt x)))))))
   (if (<= x 1.0)
     t_1
     (if (<= x 1.32e+154)
       (/ 1.0 (fma (cbrt x) (+ t_0 (pow x 0.3333333333333333)) (cbrt (* x x))))
       t_1))))
double code(double x) {
	double t_0 = cbrt((1.0 + x));
	double t_1 = 1.0 / (1.0 + (cbrt(x) * (t_0 + cbrt(x))));
	double tmp;
	if (x <= 1.0) {
		tmp = t_1;
	} else if (x <= 1.32e+154) {
		tmp = 1.0 / fma(cbrt(x), (t_0 + pow(x, 0.3333333333333333)), cbrt((x * x)));
	} else {
		tmp = t_1;
	}
	return tmp;
}
function code(x)
	t_0 = cbrt(Float64(1.0 + x))
	t_1 = Float64(1.0 / Float64(1.0 + Float64(cbrt(x) * Float64(t_0 + cbrt(x)))))
	tmp = 0.0
	if (x <= 1.0)
		tmp = t_1;
	elseif (x <= 1.32e+154)
		tmp = Float64(1.0 / fma(cbrt(x), Float64(t_0 + (x ^ 0.3333333333333333)), cbrt(Float64(x * x))));
	else
		tmp = t_1;
	end
	return tmp
end
code[x_] := Block[{t$95$0 = N[Power[N[(1.0 + x), $MachinePrecision], 1/3], $MachinePrecision]}, Block[{t$95$1 = N[(1.0 / N[(1.0 + N[(N[Power[x, 1/3], $MachinePrecision] * N[(t$95$0 + N[Power[x, 1/3], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[x, 1.0], t$95$1, If[LessEqual[x, 1.32e+154], N[(1.0 / N[(N[Power[x, 1/3], $MachinePrecision] * N[(t$95$0 + N[Power[x, 0.3333333333333333], $MachinePrecision]), $MachinePrecision] + N[Power[N[(x * x), $MachinePrecision], 1/3], $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_0 := \sqrt[3]{1 + x}\\
t_1 := \frac{1}{1 + \sqrt[3]{x} \cdot \left(t_0 + \sqrt[3]{x}\right)}\\
\mathbf{if}\;x \leq 1:\\
\;\;\;\;t_1\\

\mathbf{elif}\;x \leq 1.32 \cdot 10^{+154}:\\
\;\;\;\;\frac{1}{\mathsf{fma}\left(\sqrt[3]{x}, t_0 + {x}^{0.3333333333333333}, \sqrt[3]{x \cdot x}\right)}\\

\mathbf{else}:\\
\;\;\;\;t_1\\


\end{array}
\end{array}
Derivation
  1. Split input into 2 regimes
  2. if x < 1 or 1.31999999999999998e154 < x

    1. Initial program 59.4%

      \[\sqrt[3]{x + 1} - \sqrt[3]{x} \]
    2. Step-by-step derivation
      1. add-cube-cbrt59.2%

        \[\leadsto \sqrt[3]{x + 1} - \color{blue}{\left(\sqrt[3]{\sqrt[3]{x}} \cdot \sqrt[3]{\sqrt[3]{x}}\right) \cdot \sqrt[3]{\sqrt[3]{x}}} \]
      2. pow359.2%

        \[\leadsto \sqrt[3]{x + 1} - \color{blue}{{\left(\sqrt[3]{\sqrt[3]{x}}\right)}^{3}} \]
    3. Applied egg-rr59.2%

      \[\leadsto \sqrt[3]{x + 1} - \color{blue}{{\left(\sqrt[3]{\sqrt[3]{x}}\right)}^{3}} \]
    4. Step-by-step derivation
      1. rem-cube-cbrt59.4%

        \[\leadsto \sqrt[3]{x + 1} - \color{blue}{\sqrt[3]{x}} \]
      2. sub-neg59.4%

        \[\leadsto \color{blue}{\sqrt[3]{x + 1} + \left(-\sqrt[3]{x}\right)} \]
      3. flip3-+59.3%

        \[\leadsto \color{blue}{\frac{{\left(\sqrt[3]{x + 1}\right)}^{3} + {\left(-\sqrt[3]{x}\right)}^{3}}{\sqrt[3]{x + 1} \cdot \sqrt[3]{x + 1} + \left(\left(-\sqrt[3]{x}\right) \cdot \left(-\sqrt[3]{x}\right) - \sqrt[3]{x + 1} \cdot \left(-\sqrt[3]{x}\right)\right)}} \]
      4. pow359.2%

        \[\leadsto \frac{\color{blue}{\left(\sqrt[3]{x + 1} \cdot \sqrt[3]{x + 1}\right) \cdot \sqrt[3]{x + 1}} + {\left(-\sqrt[3]{x}\right)}^{3}}{\sqrt[3]{x + 1} \cdot \sqrt[3]{x + 1} + \left(\left(-\sqrt[3]{x}\right) \cdot \left(-\sqrt[3]{x}\right) - \sqrt[3]{x + 1} \cdot \left(-\sqrt[3]{x}\right)\right)} \]
      5. add-cube-cbrt59.2%

        \[\leadsto \frac{\color{blue}{\left(x + 1\right)} + {\left(-\sqrt[3]{x}\right)}^{3}}{\sqrt[3]{x + 1} \cdot \sqrt[3]{x + 1} + \left(\left(-\sqrt[3]{x}\right) \cdot \left(-\sqrt[3]{x}\right) - \sqrt[3]{x + 1} \cdot \left(-\sqrt[3]{x}\right)\right)} \]
      6. +-commutative59.2%

        \[\leadsto \frac{\color{blue}{\left(1 + x\right)} + {\left(-\sqrt[3]{x}\right)}^{3}}{\sqrt[3]{x + 1} \cdot \sqrt[3]{x + 1} + \left(\left(-\sqrt[3]{x}\right) \cdot \left(-\sqrt[3]{x}\right) - \sqrt[3]{x + 1} \cdot \left(-\sqrt[3]{x}\right)\right)} \]
      7. pow259.2%

        \[\leadsto \frac{\left(1 + x\right) + {\left(-\sqrt[3]{x}\right)}^{3}}{\color{blue}{{\left(\sqrt[3]{x + 1}\right)}^{2}} + \left(\left(-\sqrt[3]{x}\right) \cdot \left(-\sqrt[3]{x}\right) - \sqrt[3]{x + 1} \cdot \left(-\sqrt[3]{x}\right)\right)} \]
      8. +-commutative59.2%

        \[\leadsto \frac{\left(1 + x\right) + {\left(-\sqrt[3]{x}\right)}^{3}}{{\left(\sqrt[3]{\color{blue}{1 + x}}\right)}^{2} + \left(\left(-\sqrt[3]{x}\right) \cdot \left(-\sqrt[3]{x}\right) - \sqrt[3]{x + 1} \cdot \left(-\sqrt[3]{x}\right)\right)} \]
      9. +-commutative59.2%

        \[\leadsto \frac{\left(1 + x\right) + {\left(-\sqrt[3]{x}\right)}^{3}}{{\left(\sqrt[3]{1 + x}\right)}^{2} + \left(\left(-\sqrt[3]{x}\right) \cdot \left(-\sqrt[3]{x}\right) - \sqrt[3]{\color{blue}{1 + x}} \cdot \left(-\sqrt[3]{x}\right)\right)} \]
    5. Applied egg-rr59.2%

      \[\leadsto \color{blue}{\frac{\left(1 + x\right) + {\left(-\sqrt[3]{x}\right)}^{3}}{{\left(\sqrt[3]{1 + x}\right)}^{2} + \left(\left(-\sqrt[3]{x}\right) \cdot \left(-\sqrt[3]{x}\right) - \sqrt[3]{1 + x} \cdot \left(-\sqrt[3]{x}\right)\right)}} \]
    6. Step-by-step derivation
      1. cube-neg59.2%

        \[\leadsto \frac{\left(1 + x\right) + \color{blue}{\left(-{\left(\sqrt[3]{x}\right)}^{3}\right)}}{{\left(\sqrt[3]{1 + x}\right)}^{2} + \left(\left(-\sqrt[3]{x}\right) \cdot \left(-\sqrt[3]{x}\right) - \sqrt[3]{1 + x} \cdot \left(-\sqrt[3]{x}\right)\right)} \]
      2. rem-cube-cbrt59.4%

        \[\leadsto \frac{\left(1 + x\right) + \left(-\color{blue}{x}\right)}{{\left(\sqrt[3]{1 + x}\right)}^{2} + \left(\left(-\sqrt[3]{x}\right) \cdot \left(-\sqrt[3]{x}\right) - \sqrt[3]{1 + x} \cdot \left(-\sqrt[3]{x}\right)\right)} \]
      3. associate-+r+99.2%

        \[\leadsto \frac{\color{blue}{1 + \left(x + \left(-x\right)\right)}}{{\left(\sqrt[3]{1 + x}\right)}^{2} + \left(\left(-\sqrt[3]{x}\right) \cdot \left(-\sqrt[3]{x}\right) - \sqrt[3]{1 + x} \cdot \left(-\sqrt[3]{x}\right)\right)} \]
      4. sub-neg99.2%

        \[\leadsto \frac{1 + \color{blue}{\left(x - x\right)}}{{\left(\sqrt[3]{1 + x}\right)}^{2} + \left(\left(-\sqrt[3]{x}\right) \cdot \left(-\sqrt[3]{x}\right) - \sqrt[3]{1 + x} \cdot \left(-\sqrt[3]{x}\right)\right)} \]
      5. +-inverses99.2%

        \[\leadsto \frac{1 + \color{blue}{0}}{{\left(\sqrt[3]{1 + x}\right)}^{2} + \left(\left(-\sqrt[3]{x}\right) \cdot \left(-\sqrt[3]{x}\right) - \sqrt[3]{1 + x} \cdot \left(-\sqrt[3]{x}\right)\right)} \]
      6. metadata-eval99.2%

        \[\leadsto \frac{\color{blue}{1}}{{\left(\sqrt[3]{1 + x}\right)}^{2} + \left(\left(-\sqrt[3]{x}\right) \cdot \left(-\sqrt[3]{x}\right) - \sqrt[3]{1 + x} \cdot \left(-\sqrt[3]{x}\right)\right)} \]
      7. *-commutative99.2%

        \[\leadsto \frac{1}{{\left(\sqrt[3]{1 + x}\right)}^{2} + \left(\left(-\sqrt[3]{x}\right) \cdot \left(-\sqrt[3]{x}\right) - \color{blue}{\left(-\sqrt[3]{x}\right) \cdot \sqrt[3]{1 + x}}\right)} \]
      8. cancel-sign-sub99.2%

        \[\leadsto \frac{1}{{\left(\sqrt[3]{1 + x}\right)}^{2} + \color{blue}{\left(\left(-\sqrt[3]{x}\right) \cdot \left(-\sqrt[3]{x}\right) + \sqrt[3]{x} \cdot \sqrt[3]{1 + x}\right)}} \]
      9. sqr-neg99.2%

        \[\leadsto \frac{1}{{\left(\sqrt[3]{1 + x}\right)}^{2} + \left(\color{blue}{\sqrt[3]{x} \cdot \sqrt[3]{x}} + \sqrt[3]{x} \cdot \sqrt[3]{1 + x}\right)} \]
      10. distribute-lft-in99.2%

        \[\leadsto \frac{1}{{\left(\sqrt[3]{1 + x}\right)}^{2} + \color{blue}{\sqrt[3]{x} \cdot \left(\sqrt[3]{x} + \sqrt[3]{1 + x}\right)}} \]
      11. +-commutative99.2%

        \[\leadsto \frac{1}{{\left(\sqrt[3]{1 + x}\right)}^{2} + \sqrt[3]{x} \cdot \color{blue}{\left(\sqrt[3]{1 + x} + \sqrt[3]{x}\right)}} \]
    7. Simplified99.2%

      \[\leadsto \color{blue}{\frac{1}{{\left(\sqrt[3]{1 + x}\right)}^{2} + \sqrt[3]{x} \cdot \left(\sqrt[3]{1 + x} + \sqrt[3]{x}\right)}} \]
    8. Taylor expanded in x around 0 64.7%

      \[\leadsto \frac{1}{\color{blue}{1} + \sqrt[3]{x} \cdot \left(\sqrt[3]{1 + x} + \sqrt[3]{x}\right)} \]

    if 1 < x < 1.31999999999999998e154

    1. Initial program 7.0%

      \[\sqrt[3]{x + 1} - \sqrt[3]{x} \]
    2. Step-by-step derivation
      1. flip3--7.0%

        \[\leadsto \color{blue}{\frac{{\left(\sqrt[3]{x + 1}\right)}^{3} - {\left(\sqrt[3]{x}\right)}^{3}}{\sqrt[3]{x + 1} \cdot \sqrt[3]{x + 1} + \left(\sqrt[3]{x} \cdot \sqrt[3]{x} + \sqrt[3]{x + 1} \cdot \sqrt[3]{x}\right)}} \]
      2. div-inv7.0%

        \[\leadsto \color{blue}{\left({\left(\sqrt[3]{x + 1}\right)}^{3} - {\left(\sqrt[3]{x}\right)}^{3}\right) \cdot \frac{1}{\sqrt[3]{x + 1} \cdot \sqrt[3]{x + 1} + \left(\sqrt[3]{x} \cdot \sqrt[3]{x} + \sqrt[3]{x + 1} \cdot \sqrt[3]{x}\right)}} \]
      3. rem-cube-cbrt7.3%

        \[\leadsto \left(\color{blue}{\left(x + 1\right)} - {\left(\sqrt[3]{x}\right)}^{3}\right) \cdot \frac{1}{\sqrt[3]{x + 1} \cdot \sqrt[3]{x + 1} + \left(\sqrt[3]{x} \cdot \sqrt[3]{x} + \sqrt[3]{x + 1} \cdot \sqrt[3]{x}\right)} \]
      4. rem-cube-cbrt9.5%

        \[\leadsto \left(\left(x + 1\right) - \color{blue}{x}\right) \cdot \frac{1}{\sqrt[3]{x + 1} \cdot \sqrt[3]{x + 1} + \left(\sqrt[3]{x} \cdot \sqrt[3]{x} + \sqrt[3]{x + 1} \cdot \sqrt[3]{x}\right)} \]
      5. cbrt-unprod9.6%

        \[\leadsto \left(\left(x + 1\right) - x\right) \cdot \frac{1}{\color{blue}{\sqrt[3]{\left(x + 1\right) \cdot \left(x + 1\right)}} + \left(\sqrt[3]{x} \cdot \sqrt[3]{x} + \sqrt[3]{x + 1} \cdot \sqrt[3]{x}\right)} \]
      6. pow29.6%

        \[\leadsto \left(\left(x + 1\right) - x\right) \cdot \frac{1}{\sqrt[3]{\color{blue}{{\left(x + 1\right)}^{2}}} + \left(\sqrt[3]{x} \cdot \sqrt[3]{x} + \sqrt[3]{x + 1} \cdot \sqrt[3]{x}\right)} \]
      7. distribute-rgt-out9.6%

        \[\leadsto \left(\left(x + 1\right) - x\right) \cdot \frac{1}{\sqrt[3]{{\left(x + 1\right)}^{2}} + \color{blue}{\sqrt[3]{x} \cdot \left(\sqrt[3]{x} + \sqrt[3]{x + 1}\right)}} \]
      8. +-commutative9.6%

        \[\leadsto \left(\left(x + 1\right) - x\right) \cdot \frac{1}{\sqrt[3]{{\left(x + 1\right)}^{2}} + \sqrt[3]{x} \cdot \color{blue}{\left(\sqrt[3]{x + 1} + \sqrt[3]{x}\right)}} \]
    3. Applied egg-rr9.6%

      \[\leadsto \color{blue}{\left(\left(x + 1\right) - x\right) \cdot \frac{1}{\sqrt[3]{{\left(x + 1\right)}^{2}} + \sqrt[3]{x} \cdot \left(\sqrt[3]{x + 1} + \sqrt[3]{x}\right)}} \]
    4. Step-by-step derivation
      1. associate-*r/9.6%

        \[\leadsto \color{blue}{\frac{\left(\left(x + 1\right) - x\right) \cdot 1}{\sqrt[3]{{\left(x + 1\right)}^{2}} + \sqrt[3]{x} \cdot \left(\sqrt[3]{x + 1} + \sqrt[3]{x}\right)}} \]
      2. *-rgt-identity9.6%

        \[\leadsto \frac{\color{blue}{\left(x + 1\right) - x}}{\sqrt[3]{{\left(x + 1\right)}^{2}} + \sqrt[3]{x} \cdot \left(\sqrt[3]{x + 1} + \sqrt[3]{x}\right)} \]
      3. +-commutative9.6%

        \[\leadsto \frac{\color{blue}{\left(1 + x\right)} - x}{\sqrt[3]{{\left(x + 1\right)}^{2}} + \sqrt[3]{x} \cdot \left(\sqrt[3]{x + 1} + \sqrt[3]{x}\right)} \]
      4. associate--l+98.9%

        \[\leadsto \frac{\color{blue}{1 + \left(x - x\right)}}{\sqrt[3]{{\left(x + 1\right)}^{2}} + \sqrt[3]{x} \cdot \left(\sqrt[3]{x + 1} + \sqrt[3]{x}\right)} \]
      5. +-inverses98.9%

        \[\leadsto \frac{1 + \color{blue}{0}}{\sqrt[3]{{\left(x + 1\right)}^{2}} + \sqrt[3]{x} \cdot \left(\sqrt[3]{x + 1} + \sqrt[3]{x}\right)} \]
      6. metadata-eval98.9%

        \[\leadsto \frac{\color{blue}{1}}{\sqrt[3]{{\left(x + 1\right)}^{2}} + \sqrt[3]{x} \cdot \left(\sqrt[3]{x + 1} + \sqrt[3]{x}\right)} \]
      7. +-commutative98.9%

        \[\leadsto \frac{1}{\color{blue}{\sqrt[3]{x} \cdot \left(\sqrt[3]{x + 1} + \sqrt[3]{x}\right) + \sqrt[3]{{\left(x + 1\right)}^{2}}}} \]
      8. fma-def98.9%

        \[\leadsto \frac{1}{\color{blue}{\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{x + 1} + \sqrt[3]{x}, \sqrt[3]{{\left(x + 1\right)}^{2}}\right)}} \]
      9. +-commutative98.9%

        \[\leadsto \frac{1}{\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{\color{blue}{1 + x}} + \sqrt[3]{x}, \sqrt[3]{{\left(x + 1\right)}^{2}}\right)} \]
      10. +-commutative98.9%

        \[\leadsto \frac{1}{\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{1 + x} + \sqrt[3]{x}, \sqrt[3]{{\color{blue}{\left(1 + x\right)}}^{2}}\right)} \]
    5. Simplified98.9%

      \[\leadsto \color{blue}{\frac{1}{\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{1 + x} + \sqrt[3]{x}, \sqrt[3]{{\left(1 + x\right)}^{2}}\right)}} \]
    6. Step-by-step derivation
      1. pow1/395.8%

        \[\leadsto \frac{1}{\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{1 + x} + \color{blue}{{x}^{0.3333333333333333}}, \sqrt[3]{{\left(1 + x\right)}^{2}}\right)} \]
    7. Applied egg-rr95.8%

      \[\leadsto \frac{1}{\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{1 + x} + \color{blue}{{x}^{0.3333333333333333}}, \sqrt[3]{{\left(1 + x\right)}^{2}}\right)} \]
    8. Step-by-step derivation
      1. pow1/393.4%

        \[\leadsto \frac{1}{\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{1 + x} + {x}^{0.3333333333333333}, \color{blue}{{\left({\left(1 + x\right)}^{2}\right)}^{0.3333333333333333}}\right)} \]
      2. pow-pow93.4%

        \[\leadsto \frac{1}{\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{1 + x} + {x}^{0.3333333333333333}, \color{blue}{{\left(1 + x\right)}^{\left(2 \cdot 0.3333333333333333\right)}}\right)} \]
      3. metadata-eval93.4%

        \[\leadsto \frac{1}{\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{1 + x} + {x}^{0.3333333333333333}, {\left(1 + x\right)}^{\color{blue}{0.6666666666666666}}\right)} \]
    9. Applied egg-rr93.4%

      \[\leadsto \frac{1}{\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{1 + x} + {x}^{0.3333333333333333}, \color{blue}{{\left(1 + x\right)}^{0.6666666666666666}}\right)} \]
    10. Taylor expanded in x around inf 91.0%

      \[\leadsto \frac{1}{\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{1 + x} + {x}^{0.3333333333333333}, \color{blue}{{\left({x}^{2}\right)}^{0.3333333333333333}}\right)} \]
    11. Step-by-step derivation
      1. unpow1/393.3%

        \[\leadsto \frac{1}{\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{1 + x} + {x}^{0.3333333333333333}, \color{blue}{\sqrt[3]{{x}^{2}}}\right)} \]
      2. unpow293.3%

        \[\leadsto \frac{1}{\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{1 + x} + {x}^{0.3333333333333333}, \sqrt[3]{\color{blue}{x \cdot x}}\right)} \]
    12. Simplified93.3%

      \[\leadsto \frac{1}{\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{1 + x} + {x}^{0.3333333333333333}, \color{blue}{\sqrt[3]{x \cdot x}}\right)} \]
  3. Recombined 2 regimes into one program.
  4. Final simplification68.3%

    \[\leadsto \begin{array}{l} \mathbf{if}\;x \leq 1:\\ \;\;\;\;\frac{1}{1 + \sqrt[3]{x} \cdot \left(\sqrt[3]{1 + x} + \sqrt[3]{x}\right)}\\ \mathbf{elif}\;x \leq 1.32 \cdot 10^{+154}:\\ \;\;\;\;\frac{1}{\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{1 + x} + {x}^{0.3333333333333333}, \sqrt[3]{x \cdot x}\right)}\\ \mathbf{else}:\\ \;\;\;\;\frac{1}{1 + \sqrt[3]{x} \cdot \left(\sqrt[3]{1 + x} + \sqrt[3]{x}\right)}\\ \end{array} \]

Alternative 4: 77.8% accurate, 0.4× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_0 := \sqrt[3]{x} \cdot \left(\sqrt[3]{1 + x} + \sqrt[3]{x}\right)\\ \mathbf{if}\;x \leq -1:\\ \;\;\;\;\frac{1}{1 + t_0}\\ \mathbf{else}:\\ \;\;\;\;\frac{1}{t_0 + e^{0.6666666666666666 \cdot \mathsf{log1p}\left(x\right)}}\\ \end{array} \end{array} \]
(FPCore (x)
 :precision binary64
 (let* ((t_0 (* (cbrt x) (+ (cbrt (+ 1.0 x)) (cbrt x)))))
   (if (<= x -1.0)
     (/ 1.0 (+ 1.0 t_0))
     (/ 1.0 (+ t_0 (exp (* 0.6666666666666666 (log1p x))))))))
double code(double x) {
	double t_0 = cbrt(x) * (cbrt((1.0 + x)) + cbrt(x));
	double tmp;
	if (x <= -1.0) {
		tmp = 1.0 / (1.0 + t_0);
	} else {
		tmp = 1.0 / (t_0 + exp((0.6666666666666666 * log1p(x))));
	}
	return tmp;
}
public static double code(double x) {
	double t_0 = Math.cbrt(x) * (Math.cbrt((1.0 + x)) + Math.cbrt(x));
	double tmp;
	if (x <= -1.0) {
		tmp = 1.0 / (1.0 + t_0);
	} else {
		tmp = 1.0 / (t_0 + Math.exp((0.6666666666666666 * Math.log1p(x))));
	}
	return tmp;
}
function code(x)
	t_0 = Float64(cbrt(x) * Float64(cbrt(Float64(1.0 + x)) + cbrt(x)))
	tmp = 0.0
	if (x <= -1.0)
		tmp = Float64(1.0 / Float64(1.0 + t_0));
	else
		tmp = Float64(1.0 / Float64(t_0 + exp(Float64(0.6666666666666666 * log1p(x)))));
	end
	return tmp
end
code[x_] := Block[{t$95$0 = N[(N[Power[x, 1/3], $MachinePrecision] * N[(N[Power[N[(1.0 + x), $MachinePrecision], 1/3], $MachinePrecision] + N[Power[x, 1/3], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[x, -1.0], N[(1.0 / N[(1.0 + t$95$0), $MachinePrecision]), $MachinePrecision], N[(1.0 / N[(t$95$0 + N[Exp[N[(0.6666666666666666 * N[Log[1 + x], $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}

\\
\begin{array}{l}
t_0 := \sqrt[3]{x} \cdot \left(\sqrt[3]{1 + x} + \sqrt[3]{x}\right)\\
\mathbf{if}\;x \leq -1:\\
\;\;\;\;\frac{1}{1 + t_0}\\

\mathbf{else}:\\
\;\;\;\;\frac{1}{t_0 + e^{0.6666666666666666 \cdot \mathsf{log1p}\left(x\right)}}\\


\end{array}
\end{array}
Derivation
  1. Split input into 2 regimes
  2. if x < -1

    1. Initial program 4.1%

      \[\sqrt[3]{x + 1} - \sqrt[3]{x} \]
    2. Step-by-step derivation
      1. add-cube-cbrt4.4%

        \[\leadsto \sqrt[3]{x + 1} - \color{blue}{\left(\sqrt[3]{\sqrt[3]{x}} \cdot \sqrt[3]{\sqrt[3]{x}}\right) \cdot \sqrt[3]{\sqrt[3]{x}}} \]
      2. pow34.4%

        \[\leadsto \sqrt[3]{x + 1} - \color{blue}{{\left(\sqrt[3]{\sqrt[3]{x}}\right)}^{3}} \]
    3. Applied egg-rr4.4%

      \[\leadsto \sqrt[3]{x + 1} - \color{blue}{{\left(\sqrt[3]{\sqrt[3]{x}}\right)}^{3}} \]
    4. Step-by-step derivation
      1. rem-cube-cbrt4.1%

        \[\leadsto \sqrt[3]{x + 1} - \color{blue}{\sqrt[3]{x}} \]
      2. sub-neg4.1%

        \[\leadsto \color{blue}{\sqrt[3]{x + 1} + \left(-\sqrt[3]{x}\right)} \]
      3. flip3-+4.1%

        \[\leadsto \color{blue}{\frac{{\left(\sqrt[3]{x + 1}\right)}^{3} + {\left(-\sqrt[3]{x}\right)}^{3}}{\sqrt[3]{x + 1} \cdot \sqrt[3]{x + 1} + \left(\left(-\sqrt[3]{x}\right) \cdot \left(-\sqrt[3]{x}\right) - \sqrt[3]{x + 1} \cdot \left(-\sqrt[3]{x}\right)\right)}} \]
      4. pow34.0%

        \[\leadsto \frac{\color{blue}{\left(\sqrt[3]{x + 1} \cdot \sqrt[3]{x + 1}\right) \cdot \sqrt[3]{x + 1}} + {\left(-\sqrt[3]{x}\right)}^{3}}{\sqrt[3]{x + 1} \cdot \sqrt[3]{x + 1} + \left(\left(-\sqrt[3]{x}\right) \cdot \left(-\sqrt[3]{x}\right) - \sqrt[3]{x + 1} \cdot \left(-\sqrt[3]{x}\right)\right)} \]
      5. add-cube-cbrt4.4%

        \[\leadsto \frac{\color{blue}{\left(x + 1\right)} + {\left(-\sqrt[3]{x}\right)}^{3}}{\sqrt[3]{x + 1} \cdot \sqrt[3]{x + 1} + \left(\left(-\sqrt[3]{x}\right) \cdot \left(-\sqrt[3]{x}\right) - \sqrt[3]{x + 1} \cdot \left(-\sqrt[3]{x}\right)\right)} \]
      6. +-commutative4.4%

        \[\leadsto \frac{\color{blue}{\left(1 + x\right)} + {\left(-\sqrt[3]{x}\right)}^{3}}{\sqrt[3]{x + 1} \cdot \sqrt[3]{x + 1} + \left(\left(-\sqrt[3]{x}\right) \cdot \left(-\sqrt[3]{x}\right) - \sqrt[3]{x + 1} \cdot \left(-\sqrt[3]{x}\right)\right)} \]
      7. pow24.4%

        \[\leadsto \frac{\left(1 + x\right) + {\left(-\sqrt[3]{x}\right)}^{3}}{\color{blue}{{\left(\sqrt[3]{x + 1}\right)}^{2}} + \left(\left(-\sqrt[3]{x}\right) \cdot \left(-\sqrt[3]{x}\right) - \sqrt[3]{x + 1} \cdot \left(-\sqrt[3]{x}\right)\right)} \]
      8. +-commutative4.4%

        \[\leadsto \frac{\left(1 + x\right) + {\left(-\sqrt[3]{x}\right)}^{3}}{{\left(\sqrt[3]{\color{blue}{1 + x}}\right)}^{2} + \left(\left(-\sqrt[3]{x}\right) \cdot \left(-\sqrt[3]{x}\right) - \sqrt[3]{x + 1} \cdot \left(-\sqrt[3]{x}\right)\right)} \]
      9. +-commutative4.4%

        \[\leadsto \frac{\left(1 + x\right) + {\left(-\sqrt[3]{x}\right)}^{3}}{{\left(\sqrt[3]{1 + x}\right)}^{2} + \left(\left(-\sqrt[3]{x}\right) \cdot \left(-\sqrt[3]{x}\right) - \sqrt[3]{\color{blue}{1 + x}} \cdot \left(-\sqrt[3]{x}\right)\right)} \]
    5. Applied egg-rr4.4%

      \[\leadsto \color{blue}{\frac{\left(1 + x\right) + {\left(-\sqrt[3]{x}\right)}^{3}}{{\left(\sqrt[3]{1 + x}\right)}^{2} + \left(\left(-\sqrt[3]{x}\right) \cdot \left(-\sqrt[3]{x}\right) - \sqrt[3]{1 + x} \cdot \left(-\sqrt[3]{x}\right)\right)}} \]
    6. Step-by-step derivation
      1. cube-neg4.4%

        \[\leadsto \frac{\left(1 + x\right) + \color{blue}{\left(-{\left(\sqrt[3]{x}\right)}^{3}\right)}}{{\left(\sqrt[3]{1 + x}\right)}^{2} + \left(\left(-\sqrt[3]{x}\right) \cdot \left(-\sqrt[3]{x}\right) - \sqrt[3]{1 + x} \cdot \left(-\sqrt[3]{x}\right)\right)} \]
      2. rem-cube-cbrt4.4%

        \[\leadsto \frac{\left(1 + x\right) + \left(-\color{blue}{x}\right)}{{\left(\sqrt[3]{1 + x}\right)}^{2} + \left(\left(-\sqrt[3]{x}\right) \cdot \left(-\sqrt[3]{x}\right) - \sqrt[3]{1 + x} \cdot \left(-\sqrt[3]{x}\right)\right)} \]
      3. associate-+r+98.4%

        \[\leadsto \frac{\color{blue}{1 + \left(x + \left(-x\right)\right)}}{{\left(\sqrt[3]{1 + x}\right)}^{2} + \left(\left(-\sqrt[3]{x}\right) \cdot \left(-\sqrt[3]{x}\right) - \sqrt[3]{1 + x} \cdot \left(-\sqrt[3]{x}\right)\right)} \]
      4. sub-neg98.4%

        \[\leadsto \frac{1 + \color{blue}{\left(x - x\right)}}{{\left(\sqrt[3]{1 + x}\right)}^{2} + \left(\left(-\sqrt[3]{x}\right) \cdot \left(-\sqrt[3]{x}\right) - \sqrt[3]{1 + x} \cdot \left(-\sqrt[3]{x}\right)\right)} \]
      5. +-inverses98.4%

        \[\leadsto \frac{1 + \color{blue}{0}}{{\left(\sqrt[3]{1 + x}\right)}^{2} + \left(\left(-\sqrt[3]{x}\right) \cdot \left(-\sqrt[3]{x}\right) - \sqrt[3]{1 + x} \cdot \left(-\sqrt[3]{x}\right)\right)} \]
      6. metadata-eval98.4%

        \[\leadsto \frac{\color{blue}{1}}{{\left(\sqrt[3]{1 + x}\right)}^{2} + \left(\left(-\sqrt[3]{x}\right) \cdot \left(-\sqrt[3]{x}\right) - \sqrt[3]{1 + x} \cdot \left(-\sqrt[3]{x}\right)\right)} \]
      7. *-commutative98.4%

        \[\leadsto \frac{1}{{\left(\sqrt[3]{1 + x}\right)}^{2} + \left(\left(-\sqrt[3]{x}\right) \cdot \left(-\sqrt[3]{x}\right) - \color{blue}{\left(-\sqrt[3]{x}\right) \cdot \sqrt[3]{1 + x}}\right)} \]
      8. cancel-sign-sub98.4%

        \[\leadsto \frac{1}{{\left(\sqrt[3]{1 + x}\right)}^{2} + \color{blue}{\left(\left(-\sqrt[3]{x}\right) \cdot \left(-\sqrt[3]{x}\right) + \sqrt[3]{x} \cdot \sqrt[3]{1 + x}\right)}} \]
      9. sqr-neg98.4%

        \[\leadsto \frac{1}{{\left(\sqrt[3]{1 + x}\right)}^{2} + \left(\color{blue}{\sqrt[3]{x} \cdot \sqrt[3]{x}} + \sqrt[3]{x} \cdot \sqrt[3]{1 + x}\right)} \]
      10. distribute-lft-in98.4%

        \[\leadsto \frac{1}{{\left(\sqrt[3]{1 + x}\right)}^{2} + \color{blue}{\sqrt[3]{x} \cdot \left(\sqrt[3]{x} + \sqrt[3]{1 + x}\right)}} \]
      11. +-commutative98.4%

        \[\leadsto \frac{1}{{\left(\sqrt[3]{1 + x}\right)}^{2} + \sqrt[3]{x} \cdot \color{blue}{\left(\sqrt[3]{1 + x} + \sqrt[3]{x}\right)}} \]
    7. Simplified98.4%

      \[\leadsto \color{blue}{\frac{1}{{\left(\sqrt[3]{1 + x}\right)}^{2} + \sqrt[3]{x} \cdot \left(\sqrt[3]{1 + x} + \sqrt[3]{x}\right)}} \]
    8. Taylor expanded in x around 0 20.0%

      \[\leadsto \frac{1}{\color{blue}{1} + \sqrt[3]{x} \cdot \left(\sqrt[3]{1 + x} + \sqrt[3]{x}\right)} \]

    if -1 < x

    1. Initial program 69.1%

      \[\sqrt[3]{x + 1} - \sqrt[3]{x} \]
    2. Step-by-step derivation
      1. add-cube-cbrt68.8%

        \[\leadsto \sqrt[3]{x + 1} - \color{blue}{\left(\sqrt[3]{\sqrt[3]{x}} \cdot \sqrt[3]{\sqrt[3]{x}}\right) \cdot \sqrt[3]{\sqrt[3]{x}}} \]
      2. pow368.8%

        \[\leadsto \sqrt[3]{x + 1} - \color{blue}{{\left(\sqrt[3]{\sqrt[3]{x}}\right)}^{3}} \]
    3. Applied egg-rr68.8%

      \[\leadsto \sqrt[3]{x + 1} - \color{blue}{{\left(\sqrt[3]{\sqrt[3]{x}}\right)}^{3}} \]
    4. Step-by-step derivation
      1. rem-cube-cbrt69.1%

        \[\leadsto \sqrt[3]{x + 1} - \color{blue}{\sqrt[3]{x}} \]
      2. sub-neg69.1%

        \[\leadsto \color{blue}{\sqrt[3]{x + 1} + \left(-\sqrt[3]{x}\right)} \]
      3. flip3-+69.0%

        \[\leadsto \color{blue}{\frac{{\left(\sqrt[3]{x + 1}\right)}^{3} + {\left(-\sqrt[3]{x}\right)}^{3}}{\sqrt[3]{x + 1} \cdot \sqrt[3]{x + 1} + \left(\left(-\sqrt[3]{x}\right) \cdot \left(-\sqrt[3]{x}\right) - \sqrt[3]{x + 1} \cdot \left(-\sqrt[3]{x}\right)\right)}} \]
      4. pow369.0%

        \[\leadsto \frac{\color{blue}{\left(\sqrt[3]{x + 1} \cdot \sqrt[3]{x + 1}\right) \cdot \sqrt[3]{x + 1}} + {\left(-\sqrt[3]{x}\right)}^{3}}{\sqrt[3]{x + 1} \cdot \sqrt[3]{x + 1} + \left(\left(-\sqrt[3]{x}\right) \cdot \left(-\sqrt[3]{x}\right) - \sqrt[3]{x + 1} \cdot \left(-\sqrt[3]{x}\right)\right)} \]
      5. add-cube-cbrt68.8%

        \[\leadsto \frac{\color{blue}{\left(x + 1\right)} + {\left(-\sqrt[3]{x}\right)}^{3}}{\sqrt[3]{x + 1} \cdot \sqrt[3]{x + 1} + \left(\left(-\sqrt[3]{x}\right) \cdot \left(-\sqrt[3]{x}\right) - \sqrt[3]{x + 1} \cdot \left(-\sqrt[3]{x}\right)\right)} \]
      6. +-commutative68.8%

        \[\leadsto \frac{\color{blue}{\left(1 + x\right)} + {\left(-\sqrt[3]{x}\right)}^{3}}{\sqrt[3]{x + 1} \cdot \sqrt[3]{x + 1} + \left(\left(-\sqrt[3]{x}\right) \cdot \left(-\sqrt[3]{x}\right) - \sqrt[3]{x + 1} \cdot \left(-\sqrt[3]{x}\right)\right)} \]
      7. pow268.8%

        \[\leadsto \frac{\left(1 + x\right) + {\left(-\sqrt[3]{x}\right)}^{3}}{\color{blue}{{\left(\sqrt[3]{x + 1}\right)}^{2}} + \left(\left(-\sqrt[3]{x}\right) \cdot \left(-\sqrt[3]{x}\right) - \sqrt[3]{x + 1} \cdot \left(-\sqrt[3]{x}\right)\right)} \]
      8. +-commutative68.8%

        \[\leadsto \frac{\left(1 + x\right) + {\left(-\sqrt[3]{x}\right)}^{3}}{{\left(\sqrt[3]{\color{blue}{1 + x}}\right)}^{2} + \left(\left(-\sqrt[3]{x}\right) \cdot \left(-\sqrt[3]{x}\right) - \sqrt[3]{x + 1} \cdot \left(-\sqrt[3]{x}\right)\right)} \]
      9. +-commutative68.8%

        \[\leadsto \frac{\left(1 + x\right) + {\left(-\sqrt[3]{x}\right)}^{3}}{{\left(\sqrt[3]{1 + x}\right)}^{2} + \left(\left(-\sqrt[3]{x}\right) \cdot \left(-\sqrt[3]{x}\right) - \sqrt[3]{\color{blue}{1 + x}} \cdot \left(-\sqrt[3]{x}\right)\right)} \]
    5. Applied egg-rr68.8%

      \[\leadsto \color{blue}{\frac{\left(1 + x\right) + {\left(-\sqrt[3]{x}\right)}^{3}}{{\left(\sqrt[3]{1 + x}\right)}^{2} + \left(\left(-\sqrt[3]{x}\right) \cdot \left(-\sqrt[3]{x}\right) - \sqrt[3]{1 + x} \cdot \left(-\sqrt[3]{x}\right)\right)}} \]
    6. Step-by-step derivation
      1. cube-neg68.8%

        \[\leadsto \frac{\left(1 + x\right) + \color{blue}{\left(-{\left(\sqrt[3]{x}\right)}^{3}\right)}}{{\left(\sqrt[3]{1 + x}\right)}^{2} + \left(\left(-\sqrt[3]{x}\right) \cdot \left(-\sqrt[3]{x}\right) - \sqrt[3]{1 + x} \cdot \left(-\sqrt[3]{x}\right)\right)} \]
      2. rem-cube-cbrt69.4%

        \[\leadsto \frac{\left(1 + x\right) + \left(-\color{blue}{x}\right)}{{\left(\sqrt[3]{1 + x}\right)}^{2} + \left(\left(-\sqrt[3]{x}\right) \cdot \left(-\sqrt[3]{x}\right) - \sqrt[3]{1 + x} \cdot \left(-\sqrt[3]{x}\right)\right)} \]
      3. associate-+r+99.4%

        \[\leadsto \frac{\color{blue}{1 + \left(x + \left(-x\right)\right)}}{{\left(\sqrt[3]{1 + x}\right)}^{2} + \left(\left(-\sqrt[3]{x}\right) \cdot \left(-\sqrt[3]{x}\right) - \sqrt[3]{1 + x} \cdot \left(-\sqrt[3]{x}\right)\right)} \]
      4. sub-neg99.4%

        \[\leadsto \frac{1 + \color{blue}{\left(x - x\right)}}{{\left(\sqrt[3]{1 + x}\right)}^{2} + \left(\left(-\sqrt[3]{x}\right) \cdot \left(-\sqrt[3]{x}\right) - \sqrt[3]{1 + x} \cdot \left(-\sqrt[3]{x}\right)\right)} \]
      5. +-inverses99.4%

        \[\leadsto \frac{1 + \color{blue}{0}}{{\left(\sqrt[3]{1 + x}\right)}^{2} + \left(\left(-\sqrt[3]{x}\right) \cdot \left(-\sqrt[3]{x}\right) - \sqrt[3]{1 + x} \cdot \left(-\sqrt[3]{x}\right)\right)} \]
      6. metadata-eval99.4%

        \[\leadsto \frac{\color{blue}{1}}{{\left(\sqrt[3]{1 + x}\right)}^{2} + \left(\left(-\sqrt[3]{x}\right) \cdot \left(-\sqrt[3]{x}\right) - \sqrt[3]{1 + x} \cdot \left(-\sqrt[3]{x}\right)\right)} \]
      7. *-commutative99.4%

        \[\leadsto \frac{1}{{\left(\sqrt[3]{1 + x}\right)}^{2} + \left(\left(-\sqrt[3]{x}\right) \cdot \left(-\sqrt[3]{x}\right) - \color{blue}{\left(-\sqrt[3]{x}\right) \cdot \sqrt[3]{1 + x}}\right)} \]
      8. cancel-sign-sub99.4%

        \[\leadsto \frac{1}{{\left(\sqrt[3]{1 + x}\right)}^{2} + \color{blue}{\left(\left(-\sqrt[3]{x}\right) \cdot \left(-\sqrt[3]{x}\right) + \sqrt[3]{x} \cdot \sqrt[3]{1 + x}\right)}} \]
      9. sqr-neg99.4%

        \[\leadsto \frac{1}{{\left(\sqrt[3]{1 + x}\right)}^{2} + \left(\color{blue}{\sqrt[3]{x} \cdot \sqrt[3]{x}} + \sqrt[3]{x} \cdot \sqrt[3]{1 + x}\right)} \]
      10. distribute-lft-in99.4%

        \[\leadsto \frac{1}{{\left(\sqrt[3]{1 + x}\right)}^{2} + \color{blue}{\sqrt[3]{x} \cdot \left(\sqrt[3]{x} + \sqrt[3]{1 + x}\right)}} \]
      11. +-commutative99.4%

        \[\leadsto \frac{1}{{\left(\sqrt[3]{1 + x}\right)}^{2} + \sqrt[3]{x} \cdot \color{blue}{\left(\sqrt[3]{1 + x} + \sqrt[3]{x}\right)}} \]
    7. Simplified99.4%

      \[\leadsto \color{blue}{\frac{1}{{\left(\sqrt[3]{1 + x}\right)}^{2} + \sqrt[3]{x} \cdot \left(\sqrt[3]{1 + x} + \sqrt[3]{x}\right)}} \]
    8. Step-by-step derivation
      1. pow1/397.6%

        \[\leadsto \frac{1}{{\color{blue}{\left({\left(1 + x\right)}^{0.3333333333333333}\right)}}^{2} + \sqrt[3]{x} \cdot \left(\sqrt[3]{1 + x} + \sqrt[3]{x}\right)} \]
      2. pow-pow97.6%

        \[\leadsto \frac{1}{\color{blue}{{\left(1 + x\right)}^{\left(0.3333333333333333 \cdot 2\right)}} + \sqrt[3]{x} \cdot \left(\sqrt[3]{1 + x} + \sqrt[3]{x}\right)} \]
      3. metadata-eval97.6%

        \[\leadsto \frac{1}{{\left(1 + x\right)}^{\color{blue}{0.6666666666666666}} + \sqrt[3]{x} \cdot \left(\sqrt[3]{1 + x} + \sqrt[3]{x}\right)} \]
      4. add-exp-log97.7%

        \[\leadsto \frac{1}{\color{blue}{e^{\log \left({\left(1 + x\right)}^{0.6666666666666666}\right)}} + \sqrt[3]{x} \cdot \left(\sqrt[3]{1 + x} + \sqrt[3]{x}\right)} \]
      5. log-pow97.6%

        \[\leadsto \frac{1}{e^{\color{blue}{0.6666666666666666 \cdot \log \left(1 + x\right)}} + \sqrt[3]{x} \cdot \left(\sqrt[3]{1 + x} + \sqrt[3]{x}\right)} \]
      6. log1p-udef97.6%

        \[\leadsto \frac{1}{e^{0.6666666666666666 \cdot \color{blue}{\mathsf{log1p}\left(x\right)}} + \sqrt[3]{x} \cdot \left(\sqrt[3]{1 + x} + \sqrt[3]{x}\right)} \]
    9. Applied egg-rr97.6%

      \[\leadsto \frac{1}{\color{blue}{e^{0.6666666666666666 \cdot \mathsf{log1p}\left(x\right)}} + \sqrt[3]{x} \cdot \left(\sqrt[3]{1 + x} + \sqrt[3]{x}\right)} \]
  3. Recombined 2 regimes into one program.
  4. Final simplification78.2%

    \[\leadsto \begin{array}{l} \mathbf{if}\;x \leq -1:\\ \;\;\;\;\frac{1}{1 + \sqrt[3]{x} \cdot \left(\sqrt[3]{1 + x} + \sqrt[3]{x}\right)}\\ \mathbf{else}:\\ \;\;\;\;\frac{1}{\sqrt[3]{x} \cdot \left(\sqrt[3]{1 + x} + \sqrt[3]{x}\right) + e^{0.6666666666666666 \cdot \mathsf{log1p}\left(x\right)}}\\ \end{array} \]

Alternative 5: 56.4% accurate, 0.5× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_0 := \sqrt[3]{1 + x} - \sqrt[3]{x}\\ \mathbf{if}\;t_0 \leq 10^{-10}:\\ \;\;\;\;\sqrt[3]{\frac{1}{x \cdot x}}\\ \mathbf{else}:\\ \;\;\;\;t_0\\ \end{array} \end{array} \]
(FPCore (x)
 :precision binary64
 (let* ((t_0 (- (cbrt (+ 1.0 x)) (cbrt x))))
   (if (<= t_0 1e-10) (cbrt (/ 1.0 (* x x))) t_0)))
double code(double x) {
	double t_0 = cbrt((1.0 + x)) - cbrt(x);
	double tmp;
	if (t_0 <= 1e-10) {
		tmp = cbrt((1.0 / (x * x)));
	} else {
		tmp = t_0;
	}
	return tmp;
}
public static double code(double x) {
	double t_0 = Math.cbrt((1.0 + x)) - Math.cbrt(x);
	double tmp;
	if (t_0 <= 1e-10) {
		tmp = Math.cbrt((1.0 / (x * x)));
	} else {
		tmp = t_0;
	}
	return tmp;
}
function code(x)
	t_0 = Float64(cbrt(Float64(1.0 + x)) - cbrt(x))
	tmp = 0.0
	if (t_0 <= 1e-10)
		tmp = cbrt(Float64(1.0 / Float64(x * x)));
	else
		tmp = t_0;
	end
	return tmp
end
code[x_] := Block[{t$95$0 = N[(N[Power[N[(1.0 + x), $MachinePrecision], 1/3], $MachinePrecision] - N[Power[x, 1/3], $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t$95$0, 1e-10], N[Power[N[(1.0 / N[(x * x), $MachinePrecision]), $MachinePrecision], 1/3], $MachinePrecision], t$95$0]]
\begin{array}{l}

\\
\begin{array}{l}
t_0 := \sqrt[3]{1 + x} - \sqrt[3]{x}\\
\mathbf{if}\;t_0 \leq 10^{-10}:\\
\;\;\;\;\sqrt[3]{\frac{1}{x \cdot x}}\\

\mathbf{else}:\\
\;\;\;\;t_0\\


\end{array}
\end{array}
Derivation
  1. Split input into 2 regimes
  2. if (-.f64 (cbrt.f64 (+.f64 x 1)) (cbrt.f64 x)) < 1.00000000000000004e-10

    1. Initial program 4.2%

      \[\sqrt[3]{x + 1} - \sqrt[3]{x} \]
    2. Step-by-step derivation
      1. flip3--4.2%

        \[\leadsto \color{blue}{\frac{{\left(\sqrt[3]{x + 1}\right)}^{3} - {\left(\sqrt[3]{x}\right)}^{3}}{\sqrt[3]{x + 1} \cdot \sqrt[3]{x + 1} + \left(\sqrt[3]{x} \cdot \sqrt[3]{x} + \sqrt[3]{x + 1} \cdot \sqrt[3]{x}\right)}} \]
      2. div-inv4.2%

        \[\leadsto \color{blue}{\left({\left(\sqrt[3]{x + 1}\right)}^{3} - {\left(\sqrt[3]{x}\right)}^{3}\right) \cdot \frac{1}{\sqrt[3]{x + 1} \cdot \sqrt[3]{x + 1} + \left(\sqrt[3]{x} \cdot \sqrt[3]{x} + \sqrt[3]{x + 1} \cdot \sqrt[3]{x}\right)}} \]
      3. rem-cube-cbrt4.0%

        \[\leadsto \left(\color{blue}{\left(x + 1\right)} - {\left(\sqrt[3]{x}\right)}^{3}\right) \cdot \frac{1}{\sqrt[3]{x + 1} \cdot \sqrt[3]{x + 1} + \left(\sqrt[3]{x} \cdot \sqrt[3]{x} + \sqrt[3]{x + 1} \cdot \sqrt[3]{x}\right)} \]
      4. rem-cube-cbrt5.0%

        \[\leadsto \left(\left(x + 1\right) - \color{blue}{x}\right) \cdot \frac{1}{\sqrt[3]{x + 1} \cdot \sqrt[3]{x + 1} + \left(\sqrt[3]{x} \cdot \sqrt[3]{x} + \sqrt[3]{x + 1} \cdot \sqrt[3]{x}\right)} \]
      5. cbrt-unprod5.0%

        \[\leadsto \left(\left(x + 1\right) - x\right) \cdot \frac{1}{\color{blue}{\sqrt[3]{\left(x + 1\right) \cdot \left(x + 1\right)}} + \left(\sqrt[3]{x} \cdot \sqrt[3]{x} + \sqrt[3]{x + 1} \cdot \sqrt[3]{x}\right)} \]
      6. pow25.0%

        \[\leadsto \left(\left(x + 1\right) - x\right) \cdot \frac{1}{\sqrt[3]{\color{blue}{{\left(x + 1\right)}^{2}}} + \left(\sqrt[3]{x} \cdot \sqrt[3]{x} + \sqrt[3]{x + 1} \cdot \sqrt[3]{x}\right)} \]
      7. distribute-rgt-out5.0%

        \[\leadsto \left(\left(x + 1\right) - x\right) \cdot \frac{1}{\sqrt[3]{{\left(x + 1\right)}^{2}} + \color{blue}{\sqrt[3]{x} \cdot \left(\sqrt[3]{x} + \sqrt[3]{x + 1}\right)}} \]
      8. +-commutative5.0%

        \[\leadsto \left(\left(x + 1\right) - x\right) \cdot \frac{1}{\sqrt[3]{{\left(x + 1\right)}^{2}} + \sqrt[3]{x} \cdot \color{blue}{\left(\sqrt[3]{x + 1} + \sqrt[3]{x}\right)}} \]
    3. Applied egg-rr5.0%

      \[\leadsto \color{blue}{\left(\left(x + 1\right) - x\right) \cdot \frac{1}{\sqrt[3]{{\left(x + 1\right)}^{2}} + \sqrt[3]{x} \cdot \left(\sqrt[3]{x + 1} + \sqrt[3]{x}\right)}} \]
    4. Step-by-step derivation
      1. associate-*r/5.0%

        \[\leadsto \color{blue}{\frac{\left(\left(x + 1\right) - x\right) \cdot 1}{\sqrt[3]{{\left(x + 1\right)}^{2}} + \sqrt[3]{x} \cdot \left(\sqrt[3]{x + 1} + \sqrt[3]{x}\right)}} \]
      2. *-rgt-identity5.0%

        \[\leadsto \frac{\color{blue}{\left(x + 1\right) - x}}{\sqrt[3]{{\left(x + 1\right)}^{2}} + \sqrt[3]{x} \cdot \left(\sqrt[3]{x + 1} + \sqrt[3]{x}\right)} \]
      3. +-commutative5.0%

        \[\leadsto \frac{\color{blue}{\left(1 + x\right)} - x}{\sqrt[3]{{\left(x + 1\right)}^{2}} + \sqrt[3]{x} \cdot \left(\sqrt[3]{x + 1} + \sqrt[3]{x}\right)} \]
      4. associate--l+50.3%

        \[\leadsto \frac{\color{blue}{1 + \left(x - x\right)}}{\sqrt[3]{{\left(x + 1\right)}^{2}} + \sqrt[3]{x} \cdot \left(\sqrt[3]{x + 1} + \sqrt[3]{x}\right)} \]
      5. +-inverses50.3%

        \[\leadsto \frac{1 + \color{blue}{0}}{\sqrt[3]{{\left(x + 1\right)}^{2}} + \sqrt[3]{x} \cdot \left(\sqrt[3]{x + 1} + \sqrt[3]{x}\right)} \]
      6. metadata-eval50.3%

        \[\leadsto \frac{\color{blue}{1}}{\sqrt[3]{{\left(x + 1\right)}^{2}} + \sqrt[3]{x} \cdot \left(\sqrt[3]{x + 1} + \sqrt[3]{x}\right)} \]
      7. +-commutative50.3%

        \[\leadsto \frac{1}{\color{blue}{\sqrt[3]{x} \cdot \left(\sqrt[3]{x + 1} + \sqrt[3]{x}\right) + \sqrt[3]{{\left(x + 1\right)}^{2}}}} \]
      8. fma-def50.3%

        \[\leadsto \frac{1}{\color{blue}{\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{x + 1} + \sqrt[3]{x}, \sqrt[3]{{\left(x + 1\right)}^{2}}\right)}} \]
      9. +-commutative50.3%

        \[\leadsto \frac{1}{\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{\color{blue}{1 + x}} + \sqrt[3]{x}, \sqrt[3]{{\left(x + 1\right)}^{2}}\right)} \]
      10. +-commutative50.3%

        \[\leadsto \frac{1}{\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{1 + x} + \sqrt[3]{x}, \sqrt[3]{{\color{blue}{\left(1 + x\right)}}^{2}}\right)} \]
    5. Simplified50.3%

      \[\leadsto \color{blue}{\frac{1}{\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{1 + x} + \sqrt[3]{x}, \sqrt[3]{{\left(1 + x\right)}^{2}}\right)}} \]
    6. Step-by-step derivation
      1. add-sqr-sqrt50.2%

        \[\leadsto \color{blue}{\sqrt{\frac{1}{\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{1 + x} + \sqrt[3]{x}, \sqrt[3]{{\left(1 + x\right)}^{2}}\right)}} \cdot \sqrt{\frac{1}{\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{1 + x} + \sqrt[3]{x}, \sqrt[3]{{\left(1 + x\right)}^{2}}\right)}}} \]
      2. sqrt-unprod50.3%

        \[\leadsto \color{blue}{\sqrt{\frac{1}{\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{1 + x} + \sqrt[3]{x}, \sqrt[3]{{\left(1 + x\right)}^{2}}\right)} \cdot \frac{1}{\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{1 + x} + \sqrt[3]{x}, \sqrt[3]{{\left(1 + x\right)}^{2}}\right)}}} \]
      3. inv-pow50.3%

        \[\leadsto \sqrt{\color{blue}{{\left(\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{1 + x} + \sqrt[3]{x}, \sqrt[3]{{\left(1 + x\right)}^{2}}\right)\right)}^{-1}} \cdot \frac{1}{\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{1 + x} + \sqrt[3]{x}, \sqrt[3]{{\left(1 + x\right)}^{2}}\right)}} \]
      4. inv-pow50.3%

        \[\leadsto \sqrt{{\left(\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{1 + x} + \sqrt[3]{x}, \sqrt[3]{{\left(1 + x\right)}^{2}}\right)\right)}^{-1} \cdot \color{blue}{{\left(\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{1 + x} + \sqrt[3]{x}, \sqrt[3]{{\left(1 + x\right)}^{2}}\right)\right)}^{-1}}} \]
      5. pow-prod-up50.3%

        \[\leadsto \sqrt{\color{blue}{{\left(\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{1 + x} + \sqrt[3]{x}, \sqrt[3]{{\left(1 + x\right)}^{2}}\right)\right)}^{\left(-1 + -1\right)}}} \]
    7. Applied egg-rr36.0%

      \[\leadsto \color{blue}{\sqrt{{\left(\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{x} + \sqrt[3]{1 + x}, {\left(e^{0.6666666666666666}\right)}^{\left(\mathsf{log1p}\left(x\right)\right)}\right)\right)}^{-2}}} \]
    8. Taylor expanded in x around inf 11.0%

      \[\leadsto \color{blue}{{\left(\frac{1}{{x}^{2}}\right)}^{0.3333333333333333}} \]
    9. Step-by-step derivation
      1. unpow1/311.0%

        \[\leadsto \color{blue}{\sqrt[3]{\frac{1}{{x}^{2}}}} \]
      2. unpow211.0%

        \[\leadsto \sqrt[3]{\frac{1}{\color{blue}{x \cdot x}}} \]
    10. Simplified11.0%

      \[\leadsto \color{blue}{\sqrt[3]{\frac{1}{x \cdot x}}} \]

    if 1.00000000000000004e-10 < (-.f64 (cbrt.f64 (+.f64 x 1)) (cbrt.f64 x))

    1. Initial program 99.9%

      \[\sqrt[3]{x + 1} - \sqrt[3]{x} \]
  3. Recombined 2 regimes into one program.
  4. Final simplification56.2%

    \[\leadsto \begin{array}{l} \mathbf{if}\;\sqrt[3]{1 + x} - \sqrt[3]{x} \leq 10^{-10}:\\ \;\;\;\;\sqrt[3]{\frac{1}{x \cdot x}}\\ \mathbf{else}:\\ \;\;\;\;\sqrt[3]{1 + x} - \sqrt[3]{x}\\ \end{array} \]

Alternative 6: 59.0% accurate, 0.7× speedup?

\[\begin{array}{l} \\ \frac{1}{1 + \sqrt[3]{x} \cdot \left(\sqrt[3]{1 + x} + \sqrt[3]{x}\right)} \end{array} \]
(FPCore (x)
 :precision binary64
 (/ 1.0 (+ 1.0 (* (cbrt x) (+ (cbrt (+ 1.0 x)) (cbrt x))))))
double code(double x) {
	return 1.0 / (1.0 + (cbrt(x) * (cbrt((1.0 + x)) + cbrt(x))));
}
public static double code(double x) {
	return 1.0 / (1.0 + (Math.cbrt(x) * (Math.cbrt((1.0 + x)) + Math.cbrt(x))));
}
function code(x)
	return Float64(1.0 / Float64(1.0 + Float64(cbrt(x) * Float64(cbrt(Float64(1.0 + x)) + cbrt(x)))))
end
code[x_] := N[(1.0 / N[(1.0 + N[(N[Power[x, 1/3], $MachinePrecision] * N[(N[Power[N[(1.0 + x), $MachinePrecision], 1/3], $MachinePrecision] + N[Power[x, 1/3], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}

\\
\frac{1}{1 + \sqrt[3]{x} \cdot \left(\sqrt[3]{1 + x} + \sqrt[3]{x}\right)}
\end{array}
Derivation
  1. Initial program 52.8%

    \[\sqrt[3]{x + 1} - \sqrt[3]{x} \]
  2. Step-by-step derivation
    1. add-cube-cbrt52.7%

      \[\leadsto \sqrt[3]{x + 1} - \color{blue}{\left(\sqrt[3]{\sqrt[3]{x}} \cdot \sqrt[3]{\sqrt[3]{x}}\right) \cdot \sqrt[3]{\sqrt[3]{x}}} \]
    2. pow352.7%

      \[\leadsto \sqrt[3]{x + 1} - \color{blue}{{\left(\sqrt[3]{\sqrt[3]{x}}\right)}^{3}} \]
  3. Applied egg-rr52.7%

    \[\leadsto \sqrt[3]{x + 1} - \color{blue}{{\left(\sqrt[3]{\sqrt[3]{x}}\right)}^{3}} \]
  4. Step-by-step derivation
    1. rem-cube-cbrt52.8%

      \[\leadsto \sqrt[3]{x + 1} - \color{blue}{\sqrt[3]{x}} \]
    2. sub-neg52.8%

      \[\leadsto \color{blue}{\sqrt[3]{x + 1} + \left(-\sqrt[3]{x}\right)} \]
    3. flip3-+52.8%

      \[\leadsto \color{blue}{\frac{{\left(\sqrt[3]{x + 1}\right)}^{3} + {\left(-\sqrt[3]{x}\right)}^{3}}{\sqrt[3]{x + 1} \cdot \sqrt[3]{x + 1} + \left(\left(-\sqrt[3]{x}\right) \cdot \left(-\sqrt[3]{x}\right) - \sqrt[3]{x + 1} \cdot \left(-\sqrt[3]{x}\right)\right)}} \]
    4. pow352.7%

      \[\leadsto \frac{\color{blue}{\left(\sqrt[3]{x + 1} \cdot \sqrt[3]{x + 1}\right) \cdot \sqrt[3]{x + 1}} + {\left(-\sqrt[3]{x}\right)}^{3}}{\sqrt[3]{x + 1} \cdot \sqrt[3]{x + 1} + \left(\left(-\sqrt[3]{x}\right) \cdot \left(-\sqrt[3]{x}\right) - \sqrt[3]{x + 1} \cdot \left(-\sqrt[3]{x}\right)\right)} \]
    5. add-cube-cbrt52.7%

      \[\leadsto \frac{\color{blue}{\left(x + 1\right)} + {\left(-\sqrt[3]{x}\right)}^{3}}{\sqrt[3]{x + 1} \cdot \sqrt[3]{x + 1} + \left(\left(-\sqrt[3]{x}\right) \cdot \left(-\sqrt[3]{x}\right) - \sqrt[3]{x + 1} \cdot \left(-\sqrt[3]{x}\right)\right)} \]
    6. +-commutative52.7%

      \[\leadsto \frac{\color{blue}{\left(1 + x\right)} + {\left(-\sqrt[3]{x}\right)}^{3}}{\sqrt[3]{x + 1} \cdot \sqrt[3]{x + 1} + \left(\left(-\sqrt[3]{x}\right) \cdot \left(-\sqrt[3]{x}\right) - \sqrt[3]{x + 1} \cdot \left(-\sqrt[3]{x}\right)\right)} \]
    7. pow252.7%

      \[\leadsto \frac{\left(1 + x\right) + {\left(-\sqrt[3]{x}\right)}^{3}}{\color{blue}{{\left(\sqrt[3]{x + 1}\right)}^{2}} + \left(\left(-\sqrt[3]{x}\right) \cdot \left(-\sqrt[3]{x}\right) - \sqrt[3]{x + 1} \cdot \left(-\sqrt[3]{x}\right)\right)} \]
    8. +-commutative52.7%

      \[\leadsto \frac{\left(1 + x\right) + {\left(-\sqrt[3]{x}\right)}^{3}}{{\left(\sqrt[3]{\color{blue}{1 + x}}\right)}^{2} + \left(\left(-\sqrt[3]{x}\right) \cdot \left(-\sqrt[3]{x}\right) - \sqrt[3]{x + 1} \cdot \left(-\sqrt[3]{x}\right)\right)} \]
    9. +-commutative52.7%

      \[\leadsto \frac{\left(1 + x\right) + {\left(-\sqrt[3]{x}\right)}^{3}}{{\left(\sqrt[3]{1 + x}\right)}^{2} + \left(\left(-\sqrt[3]{x}\right) \cdot \left(-\sqrt[3]{x}\right) - \sqrt[3]{\color{blue}{1 + x}} \cdot \left(-\sqrt[3]{x}\right)\right)} \]
  5. Applied egg-rr52.7%

    \[\leadsto \color{blue}{\frac{\left(1 + x\right) + {\left(-\sqrt[3]{x}\right)}^{3}}{{\left(\sqrt[3]{1 + x}\right)}^{2} + \left(\left(-\sqrt[3]{x}\right) \cdot \left(-\sqrt[3]{x}\right) - \sqrt[3]{1 + x} \cdot \left(-\sqrt[3]{x}\right)\right)}} \]
  6. Step-by-step derivation
    1. cube-neg52.7%

      \[\leadsto \frac{\left(1 + x\right) + \color{blue}{\left(-{\left(\sqrt[3]{x}\right)}^{3}\right)}}{{\left(\sqrt[3]{1 + x}\right)}^{2} + \left(\left(-\sqrt[3]{x}\right) \cdot \left(-\sqrt[3]{x}\right) - \sqrt[3]{1 + x} \cdot \left(-\sqrt[3]{x}\right)\right)} \]
    2. rem-cube-cbrt53.2%

      \[\leadsto \frac{\left(1 + x\right) + \left(-\color{blue}{x}\right)}{{\left(\sqrt[3]{1 + x}\right)}^{2} + \left(\left(-\sqrt[3]{x}\right) \cdot \left(-\sqrt[3]{x}\right) - \sqrt[3]{1 + x} \cdot \left(-\sqrt[3]{x}\right)\right)} \]
    3. associate-+r+99.2%

      \[\leadsto \frac{\color{blue}{1 + \left(x + \left(-x\right)\right)}}{{\left(\sqrt[3]{1 + x}\right)}^{2} + \left(\left(-\sqrt[3]{x}\right) \cdot \left(-\sqrt[3]{x}\right) - \sqrt[3]{1 + x} \cdot \left(-\sqrt[3]{x}\right)\right)} \]
    4. sub-neg99.2%

      \[\leadsto \frac{1 + \color{blue}{\left(x - x\right)}}{{\left(\sqrt[3]{1 + x}\right)}^{2} + \left(\left(-\sqrt[3]{x}\right) \cdot \left(-\sqrt[3]{x}\right) - \sqrt[3]{1 + x} \cdot \left(-\sqrt[3]{x}\right)\right)} \]
    5. +-inverses99.2%

      \[\leadsto \frac{1 + \color{blue}{0}}{{\left(\sqrt[3]{1 + x}\right)}^{2} + \left(\left(-\sqrt[3]{x}\right) \cdot \left(-\sqrt[3]{x}\right) - \sqrt[3]{1 + x} \cdot \left(-\sqrt[3]{x}\right)\right)} \]
    6. metadata-eval99.2%

      \[\leadsto \frac{\color{blue}{1}}{{\left(\sqrt[3]{1 + x}\right)}^{2} + \left(\left(-\sqrt[3]{x}\right) \cdot \left(-\sqrt[3]{x}\right) - \sqrt[3]{1 + x} \cdot \left(-\sqrt[3]{x}\right)\right)} \]
    7. *-commutative99.2%

      \[\leadsto \frac{1}{{\left(\sqrt[3]{1 + x}\right)}^{2} + \left(\left(-\sqrt[3]{x}\right) \cdot \left(-\sqrt[3]{x}\right) - \color{blue}{\left(-\sqrt[3]{x}\right) \cdot \sqrt[3]{1 + x}}\right)} \]
    8. cancel-sign-sub99.2%

      \[\leadsto \frac{1}{{\left(\sqrt[3]{1 + x}\right)}^{2} + \color{blue}{\left(\left(-\sqrt[3]{x}\right) \cdot \left(-\sqrt[3]{x}\right) + \sqrt[3]{x} \cdot \sqrt[3]{1 + x}\right)}} \]
    9. sqr-neg99.2%

      \[\leadsto \frac{1}{{\left(\sqrt[3]{1 + x}\right)}^{2} + \left(\color{blue}{\sqrt[3]{x} \cdot \sqrt[3]{x}} + \sqrt[3]{x} \cdot \sqrt[3]{1 + x}\right)} \]
    10. distribute-lft-in99.2%

      \[\leadsto \frac{1}{{\left(\sqrt[3]{1 + x}\right)}^{2} + \color{blue}{\sqrt[3]{x} \cdot \left(\sqrt[3]{x} + \sqrt[3]{1 + x}\right)}} \]
    11. +-commutative99.2%

      \[\leadsto \frac{1}{{\left(\sqrt[3]{1 + x}\right)}^{2} + \sqrt[3]{x} \cdot \color{blue}{\left(\sqrt[3]{1 + x} + \sqrt[3]{x}\right)}} \]
  7. Simplified99.2%

    \[\leadsto \color{blue}{\frac{1}{{\left(\sqrt[3]{1 + x}\right)}^{2} + \sqrt[3]{x} \cdot \left(\sqrt[3]{1 + x} + \sqrt[3]{x}\right)}} \]
  8. Taylor expanded in x around 0 59.1%

    \[\leadsto \frac{1}{\color{blue}{1} + \sqrt[3]{x} \cdot \left(\sqrt[3]{1 + x} + \sqrt[3]{x}\right)} \]
  9. Final simplification59.1%

    \[\leadsto \frac{1}{1 + \sqrt[3]{x} \cdot \left(\sqrt[3]{1 + x} + \sqrt[3]{x}\right)} \]

Alternative 7: 55.1% accurate, 1.8× speedup?

\[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;x \leq -0.95 \lor \neg \left(x \leq 2.7\right):\\ \;\;\;\;\sqrt[3]{\frac{1}{x \cdot x}}\\ \mathbf{else}:\\ \;\;\;\;1 + \left(x \cdot 0.3333333333333333 - \sqrt[3]{x}\right)\\ \end{array} \end{array} \]
(FPCore (x)
 :precision binary64
 (if (or (<= x -0.95) (not (<= x 2.7)))
   (cbrt (/ 1.0 (* x x)))
   (+ 1.0 (- (* x 0.3333333333333333) (cbrt x)))))
double code(double x) {
	double tmp;
	if ((x <= -0.95) || !(x <= 2.7)) {
		tmp = cbrt((1.0 / (x * x)));
	} else {
		tmp = 1.0 + ((x * 0.3333333333333333) - cbrt(x));
	}
	return tmp;
}
public static double code(double x) {
	double tmp;
	if ((x <= -0.95) || !(x <= 2.7)) {
		tmp = Math.cbrt((1.0 / (x * x)));
	} else {
		tmp = 1.0 + ((x * 0.3333333333333333) - Math.cbrt(x));
	}
	return tmp;
}
function code(x)
	tmp = 0.0
	if ((x <= -0.95) || !(x <= 2.7))
		tmp = cbrt(Float64(1.0 / Float64(x * x)));
	else
		tmp = Float64(1.0 + Float64(Float64(x * 0.3333333333333333) - cbrt(x)));
	end
	return tmp
end
code[x_] := If[Or[LessEqual[x, -0.95], N[Not[LessEqual[x, 2.7]], $MachinePrecision]], N[Power[N[(1.0 / N[(x * x), $MachinePrecision]), $MachinePrecision], 1/3], $MachinePrecision], N[(1.0 + N[(N[(x * 0.3333333333333333), $MachinePrecision] - N[Power[x, 1/3], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}

\\
\begin{array}{l}
\mathbf{if}\;x \leq -0.95 \lor \neg \left(x \leq 2.7\right):\\
\;\;\;\;\sqrt[3]{\frac{1}{x \cdot x}}\\

\mathbf{else}:\\
\;\;\;\;1 + \left(x \cdot 0.3333333333333333 - \sqrt[3]{x}\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 2 regimes
  2. if x < -0.94999999999999996 or 2.7000000000000002 < x

    1. Initial program 4.2%

      \[\sqrt[3]{x + 1} - \sqrt[3]{x} \]
    2. Step-by-step derivation
      1. flip3--4.2%

        \[\leadsto \color{blue}{\frac{{\left(\sqrt[3]{x + 1}\right)}^{3} - {\left(\sqrt[3]{x}\right)}^{3}}{\sqrt[3]{x + 1} \cdot \sqrt[3]{x + 1} + \left(\sqrt[3]{x} \cdot \sqrt[3]{x} + \sqrt[3]{x + 1} \cdot \sqrt[3]{x}\right)}} \]
      2. div-inv4.2%

        \[\leadsto \color{blue}{\left({\left(\sqrt[3]{x + 1}\right)}^{3} - {\left(\sqrt[3]{x}\right)}^{3}\right) \cdot \frac{1}{\sqrt[3]{x + 1} \cdot \sqrt[3]{x + 1} + \left(\sqrt[3]{x} \cdot \sqrt[3]{x} + \sqrt[3]{x + 1} \cdot \sqrt[3]{x}\right)}} \]
      3. rem-cube-cbrt4.0%

        \[\leadsto \left(\color{blue}{\left(x + 1\right)} - {\left(\sqrt[3]{x}\right)}^{3}\right) \cdot \frac{1}{\sqrt[3]{x + 1} \cdot \sqrt[3]{x + 1} + \left(\sqrt[3]{x} \cdot \sqrt[3]{x} + \sqrt[3]{x + 1} \cdot \sqrt[3]{x}\right)} \]
      4. rem-cube-cbrt5.0%

        \[\leadsto \left(\left(x + 1\right) - \color{blue}{x}\right) \cdot \frac{1}{\sqrt[3]{x + 1} \cdot \sqrt[3]{x + 1} + \left(\sqrt[3]{x} \cdot \sqrt[3]{x} + \sqrt[3]{x + 1} \cdot \sqrt[3]{x}\right)} \]
      5. cbrt-unprod5.0%

        \[\leadsto \left(\left(x + 1\right) - x\right) \cdot \frac{1}{\color{blue}{\sqrt[3]{\left(x + 1\right) \cdot \left(x + 1\right)}} + \left(\sqrt[3]{x} \cdot \sqrt[3]{x} + \sqrt[3]{x + 1} \cdot \sqrt[3]{x}\right)} \]
      6. pow25.0%

        \[\leadsto \left(\left(x + 1\right) - x\right) \cdot \frac{1}{\sqrt[3]{\color{blue}{{\left(x + 1\right)}^{2}}} + \left(\sqrt[3]{x} \cdot \sqrt[3]{x} + \sqrt[3]{x + 1} \cdot \sqrt[3]{x}\right)} \]
      7. distribute-rgt-out5.0%

        \[\leadsto \left(\left(x + 1\right) - x\right) \cdot \frac{1}{\sqrt[3]{{\left(x + 1\right)}^{2}} + \color{blue}{\sqrt[3]{x} \cdot \left(\sqrt[3]{x} + \sqrt[3]{x + 1}\right)}} \]
      8. +-commutative5.0%

        \[\leadsto \left(\left(x + 1\right) - x\right) \cdot \frac{1}{\sqrt[3]{{\left(x + 1\right)}^{2}} + \sqrt[3]{x} \cdot \color{blue}{\left(\sqrt[3]{x + 1} + \sqrt[3]{x}\right)}} \]
    3. Applied egg-rr5.0%

      \[\leadsto \color{blue}{\left(\left(x + 1\right) - x\right) \cdot \frac{1}{\sqrt[3]{{\left(x + 1\right)}^{2}} + \sqrt[3]{x} \cdot \left(\sqrt[3]{x + 1} + \sqrt[3]{x}\right)}} \]
    4. Step-by-step derivation
      1. associate-*r/5.0%

        \[\leadsto \color{blue}{\frac{\left(\left(x + 1\right) - x\right) \cdot 1}{\sqrt[3]{{\left(x + 1\right)}^{2}} + \sqrt[3]{x} \cdot \left(\sqrt[3]{x + 1} + \sqrt[3]{x}\right)}} \]
      2. *-rgt-identity5.0%

        \[\leadsto \frac{\color{blue}{\left(x + 1\right) - x}}{\sqrt[3]{{\left(x + 1\right)}^{2}} + \sqrt[3]{x} \cdot \left(\sqrt[3]{x + 1} + \sqrt[3]{x}\right)} \]
      3. +-commutative5.0%

        \[\leadsto \frac{\color{blue}{\left(1 + x\right)} - x}{\sqrt[3]{{\left(x + 1\right)}^{2}} + \sqrt[3]{x} \cdot \left(\sqrt[3]{x + 1} + \sqrt[3]{x}\right)} \]
      4. associate--l+50.3%

        \[\leadsto \frac{\color{blue}{1 + \left(x - x\right)}}{\sqrt[3]{{\left(x + 1\right)}^{2}} + \sqrt[3]{x} \cdot \left(\sqrt[3]{x + 1} + \sqrt[3]{x}\right)} \]
      5. +-inverses50.3%

        \[\leadsto \frac{1 + \color{blue}{0}}{\sqrt[3]{{\left(x + 1\right)}^{2}} + \sqrt[3]{x} \cdot \left(\sqrt[3]{x + 1} + \sqrt[3]{x}\right)} \]
      6. metadata-eval50.3%

        \[\leadsto \frac{\color{blue}{1}}{\sqrt[3]{{\left(x + 1\right)}^{2}} + \sqrt[3]{x} \cdot \left(\sqrt[3]{x + 1} + \sqrt[3]{x}\right)} \]
      7. +-commutative50.3%

        \[\leadsto \frac{1}{\color{blue}{\sqrt[3]{x} \cdot \left(\sqrt[3]{x + 1} + \sqrt[3]{x}\right) + \sqrt[3]{{\left(x + 1\right)}^{2}}}} \]
      8. fma-def50.3%

        \[\leadsto \frac{1}{\color{blue}{\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{x + 1} + \sqrt[3]{x}, \sqrt[3]{{\left(x + 1\right)}^{2}}\right)}} \]
      9. +-commutative50.3%

        \[\leadsto \frac{1}{\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{\color{blue}{1 + x}} + \sqrt[3]{x}, \sqrt[3]{{\left(x + 1\right)}^{2}}\right)} \]
      10. +-commutative50.3%

        \[\leadsto \frac{1}{\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{1 + x} + \sqrt[3]{x}, \sqrt[3]{{\color{blue}{\left(1 + x\right)}}^{2}}\right)} \]
    5. Simplified50.3%

      \[\leadsto \color{blue}{\frac{1}{\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{1 + x} + \sqrt[3]{x}, \sqrt[3]{{\left(1 + x\right)}^{2}}\right)}} \]
    6. Step-by-step derivation
      1. add-sqr-sqrt50.2%

        \[\leadsto \color{blue}{\sqrt{\frac{1}{\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{1 + x} + \sqrt[3]{x}, \sqrt[3]{{\left(1 + x\right)}^{2}}\right)}} \cdot \sqrt{\frac{1}{\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{1 + x} + \sqrt[3]{x}, \sqrt[3]{{\left(1 + x\right)}^{2}}\right)}}} \]
      2. sqrt-unprod50.3%

        \[\leadsto \color{blue}{\sqrt{\frac{1}{\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{1 + x} + \sqrt[3]{x}, \sqrt[3]{{\left(1 + x\right)}^{2}}\right)} \cdot \frac{1}{\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{1 + x} + \sqrt[3]{x}, \sqrt[3]{{\left(1 + x\right)}^{2}}\right)}}} \]
      3. inv-pow50.3%

        \[\leadsto \sqrt{\color{blue}{{\left(\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{1 + x} + \sqrt[3]{x}, \sqrt[3]{{\left(1 + x\right)}^{2}}\right)\right)}^{-1}} \cdot \frac{1}{\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{1 + x} + \sqrt[3]{x}, \sqrt[3]{{\left(1 + x\right)}^{2}}\right)}} \]
      4. inv-pow50.3%

        \[\leadsto \sqrt{{\left(\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{1 + x} + \sqrt[3]{x}, \sqrt[3]{{\left(1 + x\right)}^{2}}\right)\right)}^{-1} \cdot \color{blue}{{\left(\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{1 + x} + \sqrt[3]{x}, \sqrt[3]{{\left(1 + x\right)}^{2}}\right)\right)}^{-1}}} \]
      5. pow-prod-up50.3%

        \[\leadsto \sqrt{\color{blue}{{\left(\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{1 + x} + \sqrt[3]{x}, \sqrt[3]{{\left(1 + x\right)}^{2}}\right)\right)}^{\left(-1 + -1\right)}}} \]
    7. Applied egg-rr36.0%

      \[\leadsto \color{blue}{\sqrt{{\left(\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{x} + \sqrt[3]{1 + x}, {\left(e^{0.6666666666666666}\right)}^{\left(\mathsf{log1p}\left(x\right)\right)}\right)\right)}^{-2}}} \]
    8. Taylor expanded in x around inf 11.0%

      \[\leadsto \color{blue}{{\left(\frac{1}{{x}^{2}}\right)}^{0.3333333333333333}} \]
    9. Step-by-step derivation
      1. unpow1/311.0%

        \[\leadsto \color{blue}{\sqrt[3]{\frac{1}{{x}^{2}}}} \]
      2. unpow211.0%

        \[\leadsto \sqrt[3]{\frac{1}{\color{blue}{x \cdot x}}} \]
    10. Simplified11.0%

      \[\leadsto \color{blue}{\sqrt[3]{\frac{1}{x \cdot x}}} \]

    if -0.94999999999999996 < x < 2.7000000000000002

    1. Initial program 99.9%

      \[\sqrt[3]{x + 1} - \sqrt[3]{x} \]
    2. Step-by-step derivation
      1. add-cube-cbrt99.9%

        \[\leadsto \sqrt[3]{x + 1} - \color{blue}{\left(\sqrt[3]{\sqrt[3]{x}} \cdot \sqrt[3]{\sqrt[3]{x}}\right) \cdot \sqrt[3]{\sqrt[3]{x}}} \]
      2. pow399.9%

        \[\leadsto \sqrt[3]{x + 1} - \color{blue}{{\left(\sqrt[3]{\sqrt[3]{x}}\right)}^{3}} \]
    3. Applied egg-rr99.9%

      \[\leadsto \sqrt[3]{x + 1} - \color{blue}{{\left(\sqrt[3]{\sqrt[3]{x}}\right)}^{3}} \]
    4. Taylor expanded in x around 0 45.9%

      \[\leadsto \color{blue}{\left(1 + 0.3333333333333333 \cdot x\right) - {\left({1}^{4}\right)}^{0.1111111111111111} \cdot {x}^{0.3333333333333333}} \]
    5. Step-by-step derivation
      1. associate--l+45.9%

        \[\leadsto \color{blue}{1 + \left(0.3333333333333333 \cdot x - {\left({1}^{4}\right)}^{0.1111111111111111} \cdot {x}^{0.3333333333333333}\right)} \]
      2. *-commutative45.9%

        \[\leadsto 1 + \left(\color{blue}{x \cdot 0.3333333333333333} - {\left({1}^{4}\right)}^{0.1111111111111111} \cdot {x}^{0.3333333333333333}\right) \]
      3. metadata-eval45.9%

        \[\leadsto 1 + \left(x \cdot 0.3333333333333333 - {\color{blue}{1}}^{0.1111111111111111} \cdot {x}^{0.3333333333333333}\right) \]
      4. pow-base-145.9%

        \[\leadsto 1 + \left(x \cdot 0.3333333333333333 - \color{blue}{1} \cdot {x}^{0.3333333333333333}\right) \]
      5. unpow1/398.7%

        \[\leadsto 1 + \left(x \cdot 0.3333333333333333 - 1 \cdot \color{blue}{\sqrt[3]{x}}\right) \]
      6. *-lft-identity98.7%

        \[\leadsto 1 + \left(x \cdot 0.3333333333333333 - \color{blue}{\sqrt[3]{x}}\right) \]
    6. Simplified98.7%

      \[\leadsto \color{blue}{1 + \left(x \cdot 0.3333333333333333 - \sqrt[3]{x}\right)} \]
  3. Recombined 2 regimes into one program.
  4. Final simplification55.6%

    \[\leadsto \begin{array}{l} \mathbf{if}\;x \leq -0.95 \lor \neg \left(x \leq 2.7\right):\\ \;\;\;\;\sqrt[3]{\frac{1}{x \cdot x}}\\ \mathbf{else}:\\ \;\;\;\;1 + \left(x \cdot 0.3333333333333333 - \sqrt[3]{x}\right)\\ \end{array} \]

Alternative 8: 53.2% accurate, 1.9× speedup?

\[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;x \leq 0.8:\\ \;\;\;\;1 - \sqrt[3]{x}\\ \mathbf{else}:\\ \;\;\;\;\sqrt[3]{\frac{1}{x \cdot x}}\\ \end{array} \end{array} \]
(FPCore (x)
 :precision binary64
 (if (<= x 0.8) (- 1.0 (cbrt x)) (cbrt (/ 1.0 (* x x)))))
double code(double x) {
	double tmp;
	if (x <= 0.8) {
		tmp = 1.0 - cbrt(x);
	} else {
		tmp = cbrt((1.0 / (x * x)));
	}
	return tmp;
}
public static double code(double x) {
	double tmp;
	if (x <= 0.8) {
		tmp = 1.0 - Math.cbrt(x);
	} else {
		tmp = Math.cbrt((1.0 / (x * x)));
	}
	return tmp;
}
function code(x)
	tmp = 0.0
	if (x <= 0.8)
		tmp = Float64(1.0 - cbrt(x));
	else
		tmp = cbrt(Float64(1.0 / Float64(x * x)));
	end
	return tmp
end
code[x_] := If[LessEqual[x, 0.8], N[(1.0 - N[Power[x, 1/3], $MachinePrecision]), $MachinePrecision], N[Power[N[(1.0 / N[(x * x), $MachinePrecision]), $MachinePrecision], 1/3], $MachinePrecision]]
\begin{array}{l}

\\
\begin{array}{l}
\mathbf{if}\;x \leq 0.8:\\
\;\;\;\;1 - \sqrt[3]{x}\\

\mathbf{else}:\\
\;\;\;\;\sqrt[3]{\frac{1}{x \cdot x}}\\


\end{array}
\end{array}
Derivation
  1. Split input into 2 regimes
  2. if x < 0.80000000000000004

    1. Initial program 68.2%

      \[\sqrt[3]{x + 1} - \sqrt[3]{x} \]
    2. Step-by-step derivation
      1. add-cube-cbrt68.3%

        \[\leadsto \sqrt[3]{x + 1} - \color{blue}{\left(\sqrt[3]{\sqrt[3]{x}} \cdot \sqrt[3]{\sqrt[3]{x}}\right) \cdot \sqrt[3]{\sqrt[3]{x}}} \]
      2. pow368.2%

        \[\leadsto \sqrt[3]{x + 1} - \color{blue}{{\left(\sqrt[3]{\sqrt[3]{x}}\right)}^{3}} \]
    3. Applied egg-rr68.2%

      \[\leadsto \sqrt[3]{x + 1} - \color{blue}{{\left(\sqrt[3]{\sqrt[3]{x}}\right)}^{3}} \]
    4. Taylor expanded in x around 0 30.4%

      \[\leadsto \color{blue}{1 - {\left({1}^{4}\right)}^{0.1111111111111111} \cdot {x}^{0.3333333333333333}} \]
    5. Step-by-step derivation
      1. metadata-eval30.4%

        \[\leadsto 1 - {\color{blue}{1}}^{0.1111111111111111} \cdot {x}^{0.3333333333333333} \]
      2. pow-base-130.4%

        \[\leadsto 1 - \color{blue}{1} \cdot {x}^{0.3333333333333333} \]
      3. unpow1/367.1%

        \[\leadsto 1 - 1 \cdot \color{blue}{\sqrt[3]{x}} \]
      4. *-lft-identity67.1%

        \[\leadsto 1 - \color{blue}{\sqrt[3]{x}} \]
    6. Simplified67.1%

      \[\leadsto \color{blue}{1 - \sqrt[3]{x}} \]

    if 0.80000000000000004 < x

    1. Initial program 5.9%

      \[\sqrt[3]{x + 1} - \sqrt[3]{x} \]
    2. Step-by-step derivation
      1. flip3--5.9%

        \[\leadsto \color{blue}{\frac{{\left(\sqrt[3]{x + 1}\right)}^{3} - {\left(\sqrt[3]{x}\right)}^{3}}{\sqrt[3]{x + 1} \cdot \sqrt[3]{x + 1} + \left(\sqrt[3]{x} \cdot \sqrt[3]{x} + \sqrt[3]{x + 1} \cdot \sqrt[3]{x}\right)}} \]
      2. div-inv5.9%

        \[\leadsto \color{blue}{\left({\left(\sqrt[3]{x + 1}\right)}^{3} - {\left(\sqrt[3]{x}\right)}^{3}\right) \cdot \frac{1}{\sqrt[3]{x + 1} \cdot \sqrt[3]{x + 1} + \left(\sqrt[3]{x} \cdot \sqrt[3]{x} + \sqrt[3]{x + 1} \cdot \sqrt[3]{x}\right)}} \]
      3. rem-cube-cbrt5.2%

        \[\leadsto \left(\color{blue}{\left(x + 1\right)} - {\left(\sqrt[3]{x}\right)}^{3}\right) \cdot \frac{1}{\sqrt[3]{x + 1} \cdot \sqrt[3]{x + 1} + \left(\sqrt[3]{x} \cdot \sqrt[3]{x} + \sqrt[3]{x + 1} \cdot \sqrt[3]{x}\right)} \]
      4. rem-cube-cbrt7.2%

        \[\leadsto \left(\left(x + 1\right) - \color{blue}{x}\right) \cdot \frac{1}{\sqrt[3]{x + 1} \cdot \sqrt[3]{x + 1} + \left(\sqrt[3]{x} \cdot \sqrt[3]{x} + \sqrt[3]{x + 1} \cdot \sqrt[3]{x}\right)} \]
      5. cbrt-unprod7.2%

        \[\leadsto \left(\left(x + 1\right) - x\right) \cdot \frac{1}{\color{blue}{\sqrt[3]{\left(x + 1\right) \cdot \left(x + 1\right)}} + \left(\sqrt[3]{x} \cdot \sqrt[3]{x} + \sqrt[3]{x + 1} \cdot \sqrt[3]{x}\right)} \]
      6. pow27.2%

        \[\leadsto \left(\left(x + 1\right) - x\right) \cdot \frac{1}{\sqrt[3]{\color{blue}{{\left(x + 1\right)}^{2}}} + \left(\sqrt[3]{x} \cdot \sqrt[3]{x} + \sqrt[3]{x + 1} \cdot \sqrt[3]{x}\right)} \]
      7. distribute-rgt-out7.2%

        \[\leadsto \left(\left(x + 1\right) - x\right) \cdot \frac{1}{\sqrt[3]{{\left(x + 1\right)}^{2}} + \color{blue}{\sqrt[3]{x} \cdot \left(\sqrt[3]{x} + \sqrt[3]{x + 1}\right)}} \]
      8. +-commutative7.2%

        \[\leadsto \left(\left(x + 1\right) - x\right) \cdot \frac{1}{\sqrt[3]{{\left(x + 1\right)}^{2}} + \sqrt[3]{x} \cdot \color{blue}{\left(\sqrt[3]{x + 1} + \sqrt[3]{x}\right)}} \]
    3. Applied egg-rr7.2%

      \[\leadsto \color{blue}{\left(\left(x + 1\right) - x\right) \cdot \frac{1}{\sqrt[3]{{\left(x + 1\right)}^{2}} + \sqrt[3]{x} \cdot \left(\sqrt[3]{x + 1} + \sqrt[3]{x}\right)}} \]
    4. Step-by-step derivation
      1. associate-*r/7.2%

        \[\leadsto \color{blue}{\frac{\left(\left(x + 1\right) - x\right) \cdot 1}{\sqrt[3]{{\left(x + 1\right)}^{2}} + \sqrt[3]{x} \cdot \left(\sqrt[3]{x + 1} + \sqrt[3]{x}\right)}} \]
      2. *-rgt-identity7.2%

        \[\leadsto \frac{\color{blue}{\left(x + 1\right) - x}}{\sqrt[3]{{\left(x + 1\right)}^{2}} + \sqrt[3]{x} \cdot \left(\sqrt[3]{x + 1} + \sqrt[3]{x}\right)} \]
      3. +-commutative7.2%

        \[\leadsto \frac{\color{blue}{\left(1 + x\right)} - x}{\sqrt[3]{{\left(x + 1\right)}^{2}} + \sqrt[3]{x} \cdot \left(\sqrt[3]{x + 1} + \sqrt[3]{x}\right)} \]
      4. associate--l+52.6%

        \[\leadsto \frac{\color{blue}{1 + \left(x - x\right)}}{\sqrt[3]{{\left(x + 1\right)}^{2}} + \sqrt[3]{x} \cdot \left(\sqrt[3]{x + 1} + \sqrt[3]{x}\right)} \]
      5. +-inverses52.6%

        \[\leadsto \frac{1 + \color{blue}{0}}{\sqrt[3]{{\left(x + 1\right)}^{2}} + \sqrt[3]{x} \cdot \left(\sqrt[3]{x + 1} + \sqrt[3]{x}\right)} \]
      6. metadata-eval52.6%

        \[\leadsto \frac{\color{blue}{1}}{\sqrt[3]{{\left(x + 1\right)}^{2}} + \sqrt[3]{x} \cdot \left(\sqrt[3]{x + 1} + \sqrt[3]{x}\right)} \]
      7. +-commutative52.6%

        \[\leadsto \frac{1}{\color{blue}{\sqrt[3]{x} \cdot \left(\sqrt[3]{x + 1} + \sqrt[3]{x}\right) + \sqrt[3]{{\left(x + 1\right)}^{2}}}} \]
      8. fma-def52.6%

        \[\leadsto \frac{1}{\color{blue}{\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{x + 1} + \sqrt[3]{x}, \sqrt[3]{{\left(x + 1\right)}^{2}}\right)}} \]
      9. +-commutative52.6%

        \[\leadsto \frac{1}{\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{\color{blue}{1 + x}} + \sqrt[3]{x}, \sqrt[3]{{\left(x + 1\right)}^{2}}\right)} \]
      10. +-commutative52.6%

        \[\leadsto \frac{1}{\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{1 + x} + \sqrt[3]{x}, \sqrt[3]{{\color{blue}{\left(1 + x\right)}}^{2}}\right)} \]
    5. Simplified52.6%

      \[\leadsto \color{blue}{\frac{1}{\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{1 + x} + \sqrt[3]{x}, \sqrt[3]{{\left(1 + x\right)}^{2}}\right)}} \]
    6. Step-by-step derivation
      1. add-sqr-sqrt52.3%

        \[\leadsto \color{blue}{\sqrt{\frac{1}{\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{1 + x} + \sqrt[3]{x}, \sqrt[3]{{\left(1 + x\right)}^{2}}\right)}} \cdot \sqrt{\frac{1}{\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{1 + x} + \sqrt[3]{x}, \sqrt[3]{{\left(1 + x\right)}^{2}}\right)}}} \]
      2. sqrt-unprod52.6%

        \[\leadsto \color{blue}{\sqrt{\frac{1}{\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{1 + x} + \sqrt[3]{x}, \sqrt[3]{{\left(1 + x\right)}^{2}}\right)} \cdot \frac{1}{\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{1 + x} + \sqrt[3]{x}, \sqrt[3]{{\left(1 + x\right)}^{2}}\right)}}} \]
      3. inv-pow52.6%

        \[\leadsto \sqrt{\color{blue}{{\left(\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{1 + x} + \sqrt[3]{x}, \sqrt[3]{{\left(1 + x\right)}^{2}}\right)\right)}^{-1}} \cdot \frac{1}{\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{1 + x} + \sqrt[3]{x}, \sqrt[3]{{\left(1 + x\right)}^{2}}\right)}} \]
      4. inv-pow52.6%

        \[\leadsto \sqrt{{\left(\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{1 + x} + \sqrt[3]{x}, \sqrt[3]{{\left(1 + x\right)}^{2}}\right)\right)}^{-1} \cdot \color{blue}{{\left(\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{1 + x} + \sqrt[3]{x}, \sqrt[3]{{\left(1 + x\right)}^{2}}\right)\right)}^{-1}}} \]
      5. pow-prod-up52.6%

        \[\leadsto \sqrt{\color{blue}{{\left(\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{1 + x} + \sqrt[3]{x}, \sqrt[3]{{\left(1 + x\right)}^{2}}\right)\right)}^{\left(-1 + -1\right)}}} \]
    7. Applied egg-rr73.5%

      \[\leadsto \color{blue}{\sqrt{{\left(\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{x} + \sqrt[3]{1 + x}, {\left(e^{0.6666666666666666}\right)}^{\left(\mathsf{log1p}\left(x\right)\right)}\right)\right)}^{-2}}} \]
    8. Taylor expanded in x around inf 11.3%

      \[\leadsto \color{blue}{{\left(\frac{1}{{x}^{2}}\right)}^{0.3333333333333333}} \]
    9. Step-by-step derivation
      1. unpow1/311.3%

        \[\leadsto \color{blue}{\sqrt[3]{\frac{1}{{x}^{2}}}} \]
      2. unpow211.3%

        \[\leadsto \sqrt[3]{\frac{1}{\color{blue}{x \cdot x}}} \]
    10. Simplified11.3%

      \[\leadsto \color{blue}{\sqrt[3]{\frac{1}{x \cdot x}}} \]
  3. Recombined 2 regimes into one program.
  4. Final simplification53.4%

    \[\leadsto \begin{array}{l} \mathbf{if}\;x \leq 0.8:\\ \;\;\;\;1 - \sqrt[3]{x}\\ \mathbf{else}:\\ \;\;\;\;\sqrt[3]{\frac{1}{x \cdot x}}\\ \end{array} \]

Alternative 9: 50.9% accurate, 2.0× speedup?

\[\begin{array}{l} \\ 1 - \sqrt[3]{x} \end{array} \]
(FPCore (x) :precision binary64 (- 1.0 (cbrt x)))
double code(double x) {
	return 1.0 - cbrt(x);
}
public static double code(double x) {
	return 1.0 - Math.cbrt(x);
}
function code(x)
	return Float64(1.0 - cbrt(x))
end
code[x_] := N[(1.0 - N[Power[x, 1/3], $MachinePrecision]), $MachinePrecision]
\begin{array}{l}

\\
1 - \sqrt[3]{x}
\end{array}
Derivation
  1. Initial program 52.8%

    \[\sqrt[3]{x + 1} - \sqrt[3]{x} \]
  2. Step-by-step derivation
    1. add-cube-cbrt52.7%

      \[\leadsto \sqrt[3]{x + 1} - \color{blue}{\left(\sqrt[3]{\sqrt[3]{x}} \cdot \sqrt[3]{\sqrt[3]{x}}\right) \cdot \sqrt[3]{\sqrt[3]{x}}} \]
    2. pow352.7%

      \[\leadsto \sqrt[3]{x + 1} - \color{blue}{{\left(\sqrt[3]{\sqrt[3]{x}}\right)}^{3}} \]
  3. Applied egg-rr52.7%

    \[\leadsto \sqrt[3]{x + 1} - \color{blue}{{\left(\sqrt[3]{\sqrt[3]{x}}\right)}^{3}} \]
  4. Taylor expanded in x around 0 23.4%

    \[\leadsto \color{blue}{1 - {\left({1}^{4}\right)}^{0.1111111111111111} \cdot {x}^{0.3333333333333333}} \]
  5. Step-by-step derivation
    1. metadata-eval23.4%

      \[\leadsto 1 - {\color{blue}{1}}^{0.1111111111111111} \cdot {x}^{0.3333333333333333} \]
    2. pow-base-123.4%

      \[\leadsto 1 - \color{blue}{1} \cdot {x}^{0.3333333333333333} \]
    3. unpow1/351.1%

      \[\leadsto 1 - 1 \cdot \color{blue}{\sqrt[3]{x}} \]
    4. *-lft-identity51.1%

      \[\leadsto 1 - \color{blue}{\sqrt[3]{x}} \]
  6. Simplified51.1%

    \[\leadsto \color{blue}{1 - \sqrt[3]{x}} \]
  7. Final simplification51.1%

    \[\leadsto 1 - \sqrt[3]{x} \]

Alternative 10: 3.7% accurate, 205.0× speedup?

\[\begin{array}{l} \\ 0 \end{array} \]
(FPCore (x) :precision binary64 0.0)
double code(double x) {
	return 0.0;
}
real(8) function code(x)
    real(8), intent (in) :: x
    code = 0.0d0
end function
public static double code(double x) {
	return 0.0;
}
def code(x):
	return 0.0
function code(x)
	return 0.0
end
function tmp = code(x)
	tmp = 0.0;
end
code[x_] := 0.0
\begin{array}{l}

\\
0
\end{array}
Derivation
  1. Initial program 52.8%

    \[\sqrt[3]{x + 1} - \sqrt[3]{x} \]
  2. Taylor expanded in x around inf 3.6%

    \[\leadsto \color{blue}{0} \]
  3. Final simplification3.6%

    \[\leadsto 0 \]

Alternative 11: 50.1% accurate, 205.0× speedup?

\[\begin{array}{l} \\ 1 \end{array} \]
(FPCore (x) :precision binary64 1.0)
double code(double x) {
	return 1.0;
}
real(8) function code(x)
    real(8), intent (in) :: x
    code = 1.0d0
end function
public static double code(double x) {
	return 1.0;
}
def code(x):
	return 1.0
function code(x)
	return 1.0
end
function tmp = code(x)
	tmp = 1.0;
end
code[x_] := 1.0
\begin{array}{l}

\\
1
\end{array}
Derivation
  1. Initial program 52.8%

    \[\sqrt[3]{x + 1} - \sqrt[3]{x} \]
  2. Taylor expanded in x around 0 50.0%

    \[\leadsto \color{blue}{1} \]
  3. Final simplification50.0%

    \[\leadsto 1 \]

Reproduce

?
herbie shell --seed 2023279 
(FPCore (x)
  :name "2cbrt (problem 3.3.4)"
  :precision binary64
  (- (cbrt (+ x 1.0)) (cbrt x)))