2cbrt (problem 3.3.4)

Percentage Accurate: 53.0% → 99.6%
Time: 16.8s
Alternatives: 13
Speedup: 1.0×

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 13 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.0% 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.6% accurate, 0.2× speedup?

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

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

    \[\sqrt[3]{x + 1} - \sqrt[3]{x} \]
  2. Add Preprocessing
  3. Step-by-step derivation
    1. pow1/327.4%

      \[\leadsto \sqrt[3]{x + 1} - \color{blue}{{x}^{0.3333333333333333}} \]
  4. Applied egg-rr27.4%

    \[\leadsto \sqrt[3]{x + 1} - \color{blue}{{x}^{0.3333333333333333}} \]
  5. Step-by-step derivation
    1. pow1/355.9%

      \[\leadsto \sqrt[3]{x + 1} - \color{blue}{\sqrt[3]{x}} \]
    2. flip3--55.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)}} \]
    3. div-inv55.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)}} \]
    4. add-sqr-sqrt27.2%

      \[\leadsto \left({\left(\sqrt[3]{x + 1}\right)}^{3} - {\left(\sqrt[3]{\color{blue}{\sqrt{x} \cdot \sqrt{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)} \]
    5. cbrt-unprod27.1%

      \[\leadsto \left({\left(\sqrt[3]{x + 1}\right)}^{3} - {\color{blue}{\left(\sqrt[3]{\sqrt{x}} \cdot \sqrt[3]{\sqrt{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)} \]
    6. rem-cube-cbrt26.9%

      \[\leadsto \left(\color{blue}{\left(x + 1\right)} - {\left(\sqrt[3]{\sqrt{x}} \cdot \sqrt[3]{\sqrt{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)} \]
    7. cbrt-unprod27.1%

      \[\leadsto \left(\left(x + 1\right) - {\color{blue}{\left(\sqrt[3]{\sqrt{x} \cdot \sqrt{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)} \]
    8. add-sqr-sqrt55.7%

      \[\leadsto \left(\left(x + 1\right) - {\left(\sqrt[3]{\color{blue}{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)} \]
    9. rem-cube-cbrt56.9%

      \[\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)} \]
    10. pow256.9%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

      \[\leadsto \frac{1}{\color{blue}{{\left(\sqrt[3]{1 + x}\right)}^{2} + \left(\sqrt[3]{x} \cdot \sqrt[3]{x} + \sqrt[3]{1 + x} \cdot \sqrt[3]{x}\right)}} \]
    5. distribute-rgt-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)}} \]
    6. +-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)}} \]
  10. Applied egg-rr99.2%

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

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

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

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

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

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

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

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

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

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

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

      \[\leadsto \frac{1}{{\left(\sqrt[3]{1 + x}\right)}^{2} + \frac{\sqrt[3]{x} \cdot \left(x + \left(x + 1\right)\right)}{{\left(1 + x\right)}^{\color{blue}{\left(0.16666666666666666 + 0.5\right)}} + \left(\sqrt[3]{x} \cdot \sqrt[3]{x} - \sqrt[3]{1 + x} \cdot \sqrt[3]{x}\right)}} \]
    12. pow-prod-up69.3%

      \[\leadsto \frac{1}{{\left(\sqrt[3]{1 + x}\right)}^{2} + \frac{\sqrt[3]{x} \cdot \left(x + \left(x + 1\right)\right)}{\color{blue}{{\left(1 + x\right)}^{0.16666666666666666} \cdot {\left(1 + x\right)}^{0.5}} + \left(\sqrt[3]{x} \cdot \sqrt[3]{x} - \sqrt[3]{1 + x} \cdot \sqrt[3]{x}\right)}} \]
    13. pow1/269.3%

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

    \[\leadsto \frac{1}{{\left(\sqrt[3]{1 + x}\right)}^{2} + \color{blue}{\frac{\sqrt[3]{x} \cdot \left(x + \left(x + 1\right)\right)}{\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{x} - \sqrt[3]{x + 1}, {\left(\sqrt[3]{x + 1}\right)}^{2}\right)}}} \]
  13. Step-by-step derivation
    1. associate-/l*99.7%

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

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

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

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

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

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

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

    \[\leadsto \frac{1}{{\left(\sqrt[3]{1 + x}\right)}^{2} + \frac{\sqrt[3]{x}}{\frac{\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{x} - \sqrt[3]{1 + x}, {\left(\sqrt[3]{1 + x}\right)}^{2}\right)}{1 + x \cdot 2}}} \]
  16. Add Preprocessing

Alternative 2: 60.5% accurate, 0.3× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_0 := \sqrt[3]{1 + x}\\ \mathbf{if}\;t_0 - \sqrt[3]{x} \leq 0:\\ \;\;\;\;\frac{1}{1 + \sqrt[3]{x} \cdot \left(t_0 + \sqrt[3]{x}\right)}\\ \mathbf{else}:\\ \;\;\;\;\sqrt[3]{\mathsf{fma}\left(x, x, -1\right)} \cdot \sqrt[3]{\frac{1}{x + -1}} - \sqrt[3]{x}\\ \end{array} \end{array} \]
(FPCore (x)
 :precision binary64
 (let* ((t_0 (cbrt (+ 1.0 x))))
   (if (<= (- t_0 (cbrt x)) 0.0)
     (/ 1.0 (+ 1.0 (* (cbrt x) (+ t_0 (cbrt x)))))
     (- (* (cbrt (fma x x -1.0)) (cbrt (/ 1.0 (+ x -1.0)))) (cbrt x)))))
double code(double x) {
	double t_0 = cbrt((1.0 + x));
	double tmp;
	if ((t_0 - cbrt(x)) <= 0.0) {
		tmp = 1.0 / (1.0 + (cbrt(x) * (t_0 + cbrt(x))));
	} else {
		tmp = (cbrt(fma(x, x, -1.0)) * cbrt((1.0 / (x + -1.0)))) - cbrt(x);
	}
	return tmp;
}
function code(x)
	t_0 = cbrt(Float64(1.0 + x))
	tmp = 0.0
	if (Float64(t_0 - cbrt(x)) <= 0.0)
		tmp = Float64(1.0 / Float64(1.0 + Float64(cbrt(x) * Float64(t_0 + cbrt(x)))));
	else
		tmp = Float64(Float64(cbrt(fma(x, x, -1.0)) * cbrt(Float64(1.0 / Float64(x + -1.0)))) - cbrt(x));
	end
	return tmp
end
code[x_] := Block[{t$95$0 = N[Power[N[(1.0 + x), $MachinePrecision], 1/3], $MachinePrecision]}, If[LessEqual[N[(t$95$0 - N[Power[x, 1/3], $MachinePrecision]), $MachinePrecision], 0.0], 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], N[(N[(N[Power[N[(x * x + -1.0), $MachinePrecision], 1/3], $MachinePrecision] * N[Power[N[(1.0 / N[(x + -1.0), $MachinePrecision]), $MachinePrecision], 1/3], $MachinePrecision]), $MachinePrecision] - N[Power[x, 1/3], $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}

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

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


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

    1. Initial program 4.3%

      \[\sqrt[3]{x + 1} - \sqrt[3]{x} \]
    2. Add Preprocessing
    3. Step-by-step derivation
      1. pow1/32.7%

        \[\leadsto \sqrt[3]{x + 1} - \color{blue}{{x}^{0.3333333333333333}} \]
    4. Applied egg-rr2.7%

      \[\leadsto \sqrt[3]{x + 1} - \color{blue}{{x}^{0.3333333333333333}} \]
    5. Step-by-step derivation
      1. pow1/34.3%

        \[\leadsto \sqrt[3]{x + 1} - \color{blue}{\sqrt[3]{x}} \]
      2. flip3--4.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(\sqrt[3]{x} \cdot \sqrt[3]{x} + \sqrt[3]{x + 1} \cdot \sqrt[3]{x}\right)}} \]
      3. div-inv4.3%

        \[\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)}} \]
      4. add-sqr-sqrt2.3%

        \[\leadsto \left({\left(\sqrt[3]{x + 1}\right)}^{3} - {\left(\sqrt[3]{\color{blue}{\sqrt{x} \cdot \sqrt{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)} \]
      5. cbrt-unprod2.0%

        \[\leadsto \left({\left(\sqrt[3]{x + 1}\right)}^{3} - {\color{blue}{\left(\sqrt[3]{\sqrt{x}} \cdot \sqrt[3]{\sqrt{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)} \]
      6. rem-cube-cbrt1.7%

        \[\leadsto \left(\color{blue}{\left(x + 1\right)} - {\left(\sqrt[3]{\sqrt{x}} \cdot \sqrt[3]{\sqrt{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)} \]
      7. cbrt-unprod1.9%

        \[\leadsto \left(\left(x + 1\right) - {\color{blue}{\left(\sqrt[3]{\sqrt{x} \cdot \sqrt{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)} \]
      8. add-sqr-sqrt3.8%

        \[\leadsto \left(\left(x + 1\right) - {\left(\sqrt[3]{\color{blue}{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)} \]
      9. rem-cube-cbrt4.3%

        \[\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)} \]
      10. pow24.3%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        \[\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)}} \]
      6. +-commutative98.5%

        \[\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)}} \]
    10. Applied egg-rr98.5%

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

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

    if 0.0 < (-.f64 (cbrt.f64 (+.f64 x 1)) (cbrt.f64 x))

    1. Initial program 98.1%

      \[\sqrt[3]{x + 1} - \sqrt[3]{x} \]
    2. Add Preprocessing
    3. Step-by-step derivation
      1. pow1/396.5%

        \[\leadsto \color{blue}{{\left(x + 1\right)}^{0.3333333333333333}} - \sqrt[3]{x} \]
      2. flip-+96.5%

        \[\leadsto {\color{blue}{\left(\frac{x \cdot x - 1 \cdot 1}{x - 1}\right)}}^{0.3333333333333333} - \sqrt[3]{x} \]
      3. div-inv96.5%

        \[\leadsto {\color{blue}{\left(\left(x \cdot x - 1 \cdot 1\right) \cdot \frac{1}{x - 1}\right)}}^{0.3333333333333333} - \sqrt[3]{x} \]
      4. unpow-prod-down1.5%

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

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

        \[\leadsto {\color{blue}{\left(\mathsf{fma}\left(x, x, -1\right)\right)}}^{0.3333333333333333} \cdot {\left(\frac{1}{x - 1}\right)}^{0.3333333333333333} - \sqrt[3]{x} \]
      7. metadata-eval1.5%

        \[\leadsto {\left(\mathsf{fma}\left(x, x, \color{blue}{-1}\right)\right)}^{0.3333333333333333} \cdot {\left(\frac{1}{x - 1}\right)}^{0.3333333333333333} - \sqrt[3]{x} \]
      8. sub-neg1.5%

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

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

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

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

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

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

    \[\leadsto \begin{array}{l} \mathbf{if}\;\sqrt[3]{1 + x} - \sqrt[3]{x} \leq 0:\\ \;\;\;\;\frac{1}{1 + \sqrt[3]{x} \cdot \left(\sqrt[3]{1 + x} + \sqrt[3]{x}\right)}\\ \mathbf{else}:\\ \;\;\;\;\sqrt[3]{\mathsf{fma}\left(x, x, -1\right)} \cdot \sqrt[3]{\frac{1}{x + -1}} - \sqrt[3]{x}\\ \end{array} \]
  5. Add Preprocessing

Alternative 3: 99.2% accurate, 0.3× speedup?

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

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

    \[\sqrt[3]{x + 1} - \sqrt[3]{x} \]
  2. Add Preprocessing
  3. Step-by-step derivation
    1. pow1/327.4%

      \[\leadsto \sqrt[3]{x + 1} - \color{blue}{{x}^{0.3333333333333333}} \]
  4. Applied egg-rr27.4%

    \[\leadsto \sqrt[3]{x + 1} - \color{blue}{{x}^{0.3333333333333333}} \]
  5. Step-by-step derivation
    1. pow1/355.9%

      \[\leadsto \sqrt[3]{x + 1} - \color{blue}{\sqrt[3]{x}} \]
    2. flip3--55.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)}} \]
    3. div-inv55.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)}} \]
    4. add-sqr-sqrt27.2%

      \[\leadsto \left({\left(\sqrt[3]{x + 1}\right)}^{3} - {\left(\sqrt[3]{\color{blue}{\sqrt{x} \cdot \sqrt{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)} \]
    5. cbrt-unprod27.1%

      \[\leadsto \left({\left(\sqrt[3]{x + 1}\right)}^{3} - {\color{blue}{\left(\sqrt[3]{\sqrt{x}} \cdot \sqrt[3]{\sqrt{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)} \]
    6. rem-cube-cbrt26.9%

      \[\leadsto \left(\color{blue}{\left(x + 1\right)} - {\left(\sqrt[3]{\sqrt{x}} \cdot \sqrt[3]{\sqrt{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)} \]
    7. cbrt-unprod27.1%

      \[\leadsto \left(\left(x + 1\right) - {\color{blue}{\left(\sqrt[3]{\sqrt{x} \cdot \sqrt{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)} \]
    8. add-sqr-sqrt55.7%

      \[\leadsto \left(\left(x + 1\right) - {\left(\sqrt[3]{\color{blue}{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)} \]
    9. rem-cube-cbrt56.9%

      \[\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)} \]
    10. pow256.9%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    \[\leadsto \frac{1}{\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{1 + x} + \sqrt[3]{x}, {\left(\sqrt[3]{1 + x}\right)}^{2}\right)} \]
  10. Add Preprocessing

Alternative 4: 88.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.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.8%

      \[\sqrt[3]{x + 1} - \sqrt[3]{x} \]
    2. Add Preprocessing
    3. Step-by-step derivation
      1. pow1/30.0%

        \[\leadsto \sqrt[3]{x + 1} - \color{blue}{{x}^{0.3333333333333333}} \]
    4. Applied egg-rr0.0%

      \[\leadsto \sqrt[3]{x + 1} - \color{blue}{{x}^{0.3333333333333333}} \]
    5. Step-by-step derivation
      1. pow1/34.8%

        \[\leadsto \sqrt[3]{x + 1} - \color{blue}{\sqrt[3]{x}} \]
      2. flip3--4.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(\sqrt[3]{x} \cdot \sqrt[3]{x} + \sqrt[3]{x + 1} \cdot \sqrt[3]{x}\right)}} \]
      3. div-inv4.8%

        \[\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)}} \]
      4. add-sqr-sqrt0.0%

        \[\leadsto \left({\left(\sqrt[3]{x + 1}\right)}^{3} - {\left(\sqrt[3]{\color{blue}{\sqrt{x} \cdot \sqrt{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)} \]
      5. cbrt-unprod0.0%

        \[\leadsto \left({\left(\sqrt[3]{x + 1}\right)}^{3} - {\color{blue}{\left(\sqrt[3]{\sqrt{x}} \cdot \sqrt[3]{\sqrt{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)} \]
      6. rem-cube-cbrt0.0%

        \[\leadsto \left(\color{blue}{\left(x + 1\right)} - {\left(\sqrt[3]{\sqrt{x}} \cdot \sqrt[3]{\sqrt{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)} \]
      7. cbrt-unprod0.0%

        \[\leadsto \left(\left(x + 1\right) - {\color{blue}{\left(\sqrt[3]{\sqrt{x} \cdot \sqrt{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)} \]
      8. add-sqr-sqrt3.6%

        \[\leadsto \left(\left(x + 1\right) - {\left(\sqrt[3]{\color{blue}{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)} \]
      9. rem-cube-cbrt4.8%

        \[\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)} \]
      10. pow24.8%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        \[\leadsto \frac{1}{\color{blue}{{\left(\sqrt[3]{1 + x}\right)}^{2} + \left(\sqrt[3]{x} \cdot \sqrt[3]{x} + \sqrt[3]{1 + x} \cdot \sqrt[3]{x}\right)}} \]
      5. distribute-rgt-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)}} \]
      6. +-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)}} \]
    10. Applied egg-rr98.3%

      \[\leadsto \frac{1}{\color{blue}{{\left(\sqrt[3]{1 + x}\right)}^{2} + \sqrt[3]{x} \cdot \left(\sqrt[3]{1 + x} + \sqrt[3]{x}\right)}} \]
    11. 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 74.1%

      \[\sqrt[3]{x + 1} - \sqrt[3]{x} \]
    2. Add Preprocessing
    3. Step-by-step derivation
      1. pow1/336.5%

        \[\leadsto \sqrt[3]{x + 1} - \color{blue}{{x}^{0.3333333333333333}} \]
    4. Applied egg-rr36.5%

      \[\leadsto \sqrt[3]{x + 1} - \color{blue}{{x}^{0.3333333333333333}} \]
    5. Step-by-step derivation
      1. pow1/374.1%

        \[\leadsto \sqrt[3]{x + 1} - \color{blue}{\sqrt[3]{x}} \]
      2. flip3--74.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)}} \]
      3. div-inv74.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)}} \]
      4. add-sqr-sqrt36.1%

        \[\leadsto \left({\left(\sqrt[3]{x + 1}\right)}^{3} - {\left(\sqrt[3]{\color{blue}{\sqrt{x} \cdot \sqrt{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)} \]
      5. cbrt-unprod36.1%

        \[\leadsto \left({\left(\sqrt[3]{x + 1}\right)}^{3} - {\color{blue}{\left(\sqrt[3]{\sqrt{x}} \cdot \sqrt[3]{\sqrt{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)} \]
      6. rem-cube-cbrt36.0%

        \[\leadsto \left(\color{blue}{\left(x + 1\right)} - {\left(\sqrt[3]{\sqrt{x}} \cdot \sqrt[3]{\sqrt{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)} \]
      7. cbrt-unprod36.1%

        \[\leadsto \left(\left(x + 1\right) - {\color{blue}{\left(\sqrt[3]{\sqrt{x} \cdot \sqrt{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)} \]
      8. add-sqr-sqrt74.3%

        \[\leadsto \left(\left(x + 1\right) - {\left(\sqrt[3]{\color{blue}{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)} \]
      9. rem-cube-cbrt75.4%

        \[\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)} \]
      10. pow275.4%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        \[\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)}} \]
      6. +-commutative99.5%

        \[\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)}} \]
    10. Applied egg-rr99.5%

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

        \[\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. add-exp-log86.6%

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

        \[\leadsto \frac{1}{\sqrt[3]{e^{\color{blue}{\mathsf{log1p}\left(x\right)}} \cdot \left(1 + x\right)} + \sqrt[3]{x} \cdot \left(\sqrt[3]{1 + x} + \sqrt[3]{x}\right)} \]
      5. add-exp-log86.4%

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

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

        \[\leadsto \frac{1}{\sqrt[3]{e^{\color{blue}{\log \left(1 + x\right)}} \cdot e^{\mathsf{log1p}\left(x\right)}} + \sqrt[3]{x} \cdot \left(\sqrt[3]{1 + x} + \sqrt[3]{x}\right)} \]
      8. add-exp-log86.6%

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

        \[\leadsto \frac{1}{\sqrt[3]{\left(1 + x\right) \cdot e^{\color{blue}{\log \left(1 + x\right)}}} + \sqrt[3]{x} \cdot \left(\sqrt[3]{1 + x} + \sqrt[3]{x}\right)} \]
      10. add-exp-log99.6%

        \[\leadsto \frac{1}{\sqrt[3]{\left(1 + x\right) \cdot \color{blue}{\left(1 + x\right)}} + \sqrt[3]{x} \cdot \left(\sqrt[3]{1 + x} + \sqrt[3]{x}\right)} \]
      11. 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)} \]
    12. Applied egg-rr99.6%

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

    if 1.31999999999999998e154 < x

    1. Initial program 4.8%

      \[\sqrt[3]{x + 1} - \sqrt[3]{x} \]
    2. Add Preprocessing
    3. Step-by-step derivation
      1. pow1/33.9%

        \[\leadsto \sqrt[3]{x + 1} - \color{blue}{{x}^{0.3333333333333333}} \]
    4. Applied egg-rr3.9%

      \[\leadsto \sqrt[3]{x + 1} - \color{blue}{{x}^{0.3333333333333333}} \]
    5. Step-by-step derivation
      1. pow1/34.8%

        \[\leadsto \sqrt[3]{x + 1} - \color{blue}{\sqrt[3]{x}} \]
      2. flip3--4.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(\sqrt[3]{x} \cdot \sqrt[3]{x} + \sqrt[3]{x + 1} \cdot \sqrt[3]{x}\right)}} \]
      3. div-inv4.8%

        \[\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)}} \]
      4. add-sqr-sqrt4.7%

        \[\leadsto \left({\left(\sqrt[3]{x + 1}\right)}^{3} - {\left(\sqrt[3]{\color{blue}{\sqrt{x} \cdot \sqrt{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)} \]
      5. cbrt-unprod3.6%

        \[\leadsto \left({\left(\sqrt[3]{x + 1}\right)}^{3} - {\color{blue}{\left(\sqrt[3]{\sqrt{x}} \cdot \sqrt[3]{\sqrt{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)} \]
      6. rem-cube-cbrt2.9%

        \[\leadsto \left(\color{blue}{\left(x + 1\right)} - {\left(\sqrt[3]{\sqrt{x}} \cdot \sqrt[3]{\sqrt{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)} \]
      7. cbrt-unprod3.5%

        \[\leadsto \left(\left(x + 1\right) - {\color{blue}{\left(\sqrt[3]{\sqrt{x} \cdot \sqrt{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)} \]
      8. add-sqr-sqrt3.1%

        \[\leadsto \left(\left(x + 1\right) - {\left(\sqrt[3]{\color{blue}{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)} \]
      9. rem-cube-cbrt4.8%

        \[\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)} \]
      10. pow24.8%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        \[\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)}} \]
      6. +-commutative98.7%

        \[\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)}} \]
    10. Applied egg-rr98.7%

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

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

        \[\leadsto \frac{1}{e^{\color{blue}{2 \cdot \log \left(\sqrt[3]{1 + x}\right)}} + \sqrt[3]{x} \cdot \left(\sqrt[3]{1 + x} + \sqrt[3]{x}\right)} \]
      3. pow1/392.5%

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

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

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

      \[\leadsto \frac{1}{\color{blue}{e^{2 \cdot \left(0.3333333333333333 \cdot \mathsf{log1p}\left(x\right)\right)}} + \sqrt[3]{x} \cdot \left(\sqrt[3]{1 + x} + \sqrt[3]{x}\right)} \]
    13. Step-by-step derivation
      1. associate-*r*92.6%

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

        \[\leadsto \frac{1}{e^{\color{blue}{0.6666666666666666} \cdot \mathsf{log1p}\left(x\right)} + \sqrt[3]{x} \cdot \left(\sqrt[3]{1 + x} + \sqrt[3]{x}\right)} \]
    14. Simplified92.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 simplification87.5%

    \[\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} \]
  5. Add Preprocessing

Alternative 5: 60.5% accurate, 0.4× speedup?

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

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

\mathbf{else}:\\
\;\;\;\;\sqrt[3]{\frac{1 - {x}^{2}}{1 - x}} - \sqrt[3]{x}\\


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

    1. Initial program 4.3%

      \[\sqrt[3]{x + 1} - \sqrt[3]{x} \]
    2. Add Preprocessing
    3. Step-by-step derivation
      1. pow1/32.7%

        \[\leadsto \sqrt[3]{x + 1} - \color{blue}{{x}^{0.3333333333333333}} \]
    4. Applied egg-rr2.7%

      \[\leadsto \sqrt[3]{x + 1} - \color{blue}{{x}^{0.3333333333333333}} \]
    5. Step-by-step derivation
      1. pow1/34.3%

        \[\leadsto \sqrt[3]{x + 1} - \color{blue}{\sqrt[3]{x}} \]
      2. flip3--4.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(\sqrt[3]{x} \cdot \sqrt[3]{x} + \sqrt[3]{x + 1} \cdot \sqrt[3]{x}\right)}} \]
      3. div-inv4.3%

        \[\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)}} \]
      4. add-sqr-sqrt2.3%

        \[\leadsto \left({\left(\sqrt[3]{x + 1}\right)}^{3} - {\left(\sqrt[3]{\color{blue}{\sqrt{x} \cdot \sqrt{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)} \]
      5. cbrt-unprod2.0%

        \[\leadsto \left({\left(\sqrt[3]{x + 1}\right)}^{3} - {\color{blue}{\left(\sqrt[3]{\sqrt{x}} \cdot \sqrt[3]{\sqrt{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)} \]
      6. rem-cube-cbrt1.7%

        \[\leadsto \left(\color{blue}{\left(x + 1\right)} - {\left(\sqrt[3]{\sqrt{x}} \cdot \sqrt[3]{\sqrt{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)} \]
      7. cbrt-unprod1.9%

        \[\leadsto \left(\left(x + 1\right) - {\color{blue}{\left(\sqrt[3]{\sqrt{x} \cdot \sqrt{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)} \]
      8. add-sqr-sqrt3.8%

        \[\leadsto \left(\left(x + 1\right) - {\left(\sqrt[3]{\color{blue}{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)} \]
      9. rem-cube-cbrt4.3%

        \[\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)} \]
      10. pow24.3%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        \[\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)}} \]
      6. +-commutative98.5%

        \[\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)}} \]
    10. Applied egg-rr98.5%

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

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

    if 0.0 < (-.f64 (cbrt.f64 (+.f64 x 1)) (cbrt.f64 x))

    1. Initial program 98.1%

      \[\sqrt[3]{x + 1} - \sqrt[3]{x} \]
    2. Add Preprocessing
    3. Step-by-step derivation
      1. add-exp-log96.5%

        \[\leadsto \color{blue}{e^{\log \left(\sqrt[3]{x + 1}\right)}} - \sqrt[3]{x} \]
      2. pow1/396.6%

        \[\leadsto e^{\log \color{blue}{\left({\left(x + 1\right)}^{0.3333333333333333}\right)}} - \sqrt[3]{x} \]
      3. log-pow96.5%

        \[\leadsto e^{\color{blue}{0.3333333333333333 \cdot \log \left(x + 1\right)}} - \sqrt[3]{x} \]
      4. +-commutative96.5%

        \[\leadsto e^{0.3333333333333333 \cdot \log \color{blue}{\left(1 + x\right)}} - \sqrt[3]{x} \]
      5. log1p-udef96.5%

        \[\leadsto e^{0.3333333333333333 \cdot \color{blue}{\mathsf{log1p}\left(x\right)}} - \sqrt[3]{x} \]
    4. Applied egg-rr96.5%

      \[\leadsto \color{blue}{e^{0.3333333333333333 \cdot \mathsf{log1p}\left(x\right)}} - \sqrt[3]{x} \]
    5. Step-by-step derivation
      1. *-commutative96.5%

        \[\leadsto e^{\color{blue}{\mathsf{log1p}\left(x\right) \cdot 0.3333333333333333}} - \sqrt[3]{x} \]
      2. exp-prod96.5%

        \[\leadsto \color{blue}{{\left(e^{\mathsf{log1p}\left(x\right)}\right)}^{0.3333333333333333}} - \sqrt[3]{x} \]
      3. unpow1/396.5%

        \[\leadsto \color{blue}{\sqrt[3]{e^{\mathsf{log1p}\left(x\right)}}} - \sqrt[3]{x} \]
    6. Simplified96.5%

      \[\leadsto \color{blue}{\sqrt[3]{e^{\mathsf{log1p}\left(x\right)}}} - \sqrt[3]{x} \]
    7. Step-by-step derivation
      1. log1p-udef96.5%

        \[\leadsto \sqrt[3]{e^{\color{blue}{\log \left(1 + x\right)}}} - \sqrt[3]{x} \]
      2. add-exp-log98.1%

        \[\leadsto \sqrt[3]{\color{blue}{1 + x}} - \sqrt[3]{x} \]
      3. flip-+98.1%

        \[\leadsto \sqrt[3]{\color{blue}{\frac{1 \cdot 1 - x \cdot x}{1 - x}}} - \sqrt[3]{x} \]
      4. metadata-eval98.1%

        \[\leadsto \sqrt[3]{\frac{\color{blue}{1} - x \cdot x}{1 - x}} - \sqrt[3]{x} \]
      5. div-sub98.1%

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

        \[\leadsto \sqrt[3]{\frac{1}{1 - x} - \frac{\color{blue}{{x}^{2}}}{1 - x}} - \sqrt[3]{x} \]
    8. Applied egg-rr98.1%

      \[\leadsto \sqrt[3]{\color{blue}{\frac{1}{1 - x} - \frac{{x}^{2}}{1 - x}}} - \sqrt[3]{x} \]
    9. Step-by-step derivation
      1. div-sub98.1%

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

      \[\leadsto \sqrt[3]{\color{blue}{\frac{1 - {x}^{2}}{1 - x}}} - \sqrt[3]{x} \]
  3. Recombined 2 regimes into one program.
  4. Final simplification63.0%

    \[\leadsto \begin{array}{l} \mathbf{if}\;\sqrt[3]{1 + x} - \sqrt[3]{x} \leq 0:\\ \;\;\;\;\frac{1}{1 + \sqrt[3]{x} \cdot \left(\sqrt[3]{1 + x} + \sqrt[3]{x}\right)}\\ \mathbf{else}:\\ \;\;\;\;\sqrt[3]{\frac{1 - {x}^{2}}{1 - x}} - \sqrt[3]{x}\\ \end{array} \]
  5. Add Preprocessing

Alternative 6: 78.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:\\ \;\;\;\;\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 7.7%

      \[\sqrt[3]{x + 1} - \sqrt[3]{x} \]
    2. Add Preprocessing
    3. Step-by-step derivation
      1. pow1/30.0%

        \[\leadsto \sqrt[3]{x + 1} - \color{blue}{{x}^{0.3333333333333333}} \]
    4. Applied egg-rr0.0%

      \[\leadsto \sqrt[3]{x + 1} - \color{blue}{{x}^{0.3333333333333333}} \]
    5. Step-by-step derivation
      1. pow1/37.7%

        \[\leadsto \sqrt[3]{x + 1} - \color{blue}{\sqrt[3]{x}} \]
      2. flip3--7.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(\sqrt[3]{x} \cdot \sqrt[3]{x} + \sqrt[3]{x + 1} \cdot \sqrt[3]{x}\right)}} \]
      3. div-inv7.7%

        \[\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)}} \]
      4. add-sqr-sqrt0.0%

        \[\leadsto \left({\left(\sqrt[3]{x + 1}\right)}^{3} - {\left(\sqrt[3]{\color{blue}{\sqrt{x} \cdot \sqrt{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)} \]
      5. cbrt-unprod0.0%

        \[\leadsto \left({\left(\sqrt[3]{x + 1}\right)}^{3} - {\color{blue}{\left(\sqrt[3]{\sqrt{x}} \cdot \sqrt[3]{\sqrt{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)} \]
      6. rem-cube-cbrt0.0%

        \[\leadsto \left(\color{blue}{\left(x + 1\right)} - {\left(\sqrt[3]{\sqrt{x}} \cdot \sqrt[3]{\sqrt{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)} \]
      7. cbrt-unprod0.0%

        \[\leadsto \left(\left(x + 1\right) - {\color{blue}{\left(\sqrt[3]{\sqrt{x} \cdot \sqrt{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)} \]
      8. add-sqr-sqrt7.9%

        \[\leadsto \left(\left(x + 1\right) - {\left(\sqrt[3]{\color{blue}{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)} \]
      9. rem-cube-cbrt9.1%

        \[\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)} \]
      10. pow29.1%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        \[\leadsto \frac{1}{\color{blue}{{\left(\sqrt[3]{1 + x}\right)}^{2} + \left(\sqrt[3]{x} \cdot \sqrt[3]{x} + \sqrt[3]{1 + x} \cdot \sqrt[3]{x}\right)}} \]
      5. distribute-rgt-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)}} \]
      6. +-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)}} \]
    10. Applied egg-rr98.4%

      \[\leadsto \frac{1}{\color{blue}{{\left(\sqrt[3]{1 + x}\right)}^{2} + \sqrt[3]{x} \cdot \left(\sqrt[3]{1 + x} + \sqrt[3]{x}\right)}} \]
    11. 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 70.7%

      \[\sqrt[3]{x + 1} - \sqrt[3]{x} \]
    2. Add Preprocessing
    3. Step-by-step derivation
      1. pow1/335.8%

        \[\leadsto \sqrt[3]{x + 1} - \color{blue}{{x}^{0.3333333333333333}} \]
    4. Applied egg-rr35.8%

      \[\leadsto \sqrt[3]{x + 1} - \color{blue}{{x}^{0.3333333333333333}} \]
    5. Step-by-step derivation
      1. pow1/370.7%

        \[\leadsto \sqrt[3]{x + 1} - \color{blue}{\sqrt[3]{x}} \]
      2. flip3--70.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(\sqrt[3]{x} \cdot \sqrt[3]{x} + \sqrt[3]{x + 1} \cdot \sqrt[3]{x}\right)}} \]
      3. div-inv70.7%

        \[\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)}} \]
      4. add-sqr-sqrt35.6%

        \[\leadsto \left({\left(\sqrt[3]{x + 1}\right)}^{3} - {\left(\sqrt[3]{\color{blue}{\sqrt{x} \cdot \sqrt{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)} \]
      5. cbrt-unprod35.3%

        \[\leadsto \left({\left(\sqrt[3]{x + 1}\right)}^{3} - {\color{blue}{\left(\sqrt[3]{\sqrt{x}} \cdot \sqrt[3]{\sqrt{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)} \]
      6. rem-cube-cbrt35.2%

        \[\leadsto \left(\color{blue}{\left(x + 1\right)} - {\left(\sqrt[3]{\sqrt{x}} \cdot \sqrt[3]{\sqrt{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)} \]
      7. cbrt-unprod35.4%

        \[\leadsto \left(\left(x + 1\right) - {\color{blue}{\left(\sqrt[3]{\sqrt{x} \cdot \sqrt{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)} \]
      8. add-sqr-sqrt70.4%

        \[\leadsto \left(\left(x + 1\right) - {\left(\sqrt[3]{\color{blue}{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)} \]
      9. rem-cube-cbrt71.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)} \]
      10. pow271.5%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        \[\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)}} \]
      6. +-commutative99.5%

        \[\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)}} \]
    10. Applied egg-rr99.5%

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

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

        \[\leadsto \frac{1}{e^{\color{blue}{2 \cdot \log \left(\sqrt[3]{1 + x}\right)}} + \sqrt[3]{x} \cdot \left(\sqrt[3]{1 + x} + \sqrt[3]{x}\right)} \]
      3. pow1/397.9%

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

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

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

      \[\leadsto \frac{1}{\color{blue}{e^{2 \cdot \left(0.3333333333333333 \cdot \mathsf{log1p}\left(x\right)\right)}} + \sqrt[3]{x} \cdot \left(\sqrt[3]{1 + x} + \sqrt[3]{x}\right)} \]
    13. Step-by-step derivation
      1. associate-*r*97.9%

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

        \[\leadsto \frac{1}{e^{\color{blue}{0.6666666666666666} \cdot \mathsf{log1p}\left(x\right)} + \sqrt[3]{x} \cdot \left(\sqrt[3]{1 + x} + \sqrt[3]{x}\right)} \]
    14. Simplified97.9%

      \[\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 simplification79.6%

    \[\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} \]
  5. Add Preprocessing

Alternative 7: 77.9% accurate, 0.4× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_0 := \sqrt[3]{1 + x} + \sqrt[3]{x}\\ \mathbf{if}\;x \leq -1:\\ \;\;\;\;\frac{1}{1 + \sqrt[3]{x} \cdot t_0}\\ \mathbf{else}:\\ \;\;\;\;\frac{1}{\mathsf{fma}\left(\sqrt[3]{x}, t_0, {\left(1 + x\right)}^{0.6666666666666666}\right)}\\ \end{array} \end{array} \]
(FPCore (x)
 :precision binary64
 (let* ((t_0 (+ (cbrt (+ 1.0 x)) (cbrt x))))
   (if (<= x -1.0)
     (/ 1.0 (+ 1.0 (* (cbrt x) t_0)))
     (/ 1.0 (fma (cbrt x) t_0 (pow (+ 1.0 x) 0.6666666666666666))))))
double code(double x) {
	double t_0 = cbrt((1.0 + x)) + cbrt(x);
	double tmp;
	if (x <= -1.0) {
		tmp = 1.0 / (1.0 + (cbrt(x) * t_0));
	} else {
		tmp = 1.0 / fma(cbrt(x), t_0, pow((1.0 + x), 0.6666666666666666));
	}
	return tmp;
}
function code(x)
	t_0 = Float64(cbrt(Float64(1.0 + x)) + cbrt(x))
	tmp = 0.0
	if (x <= -1.0)
		tmp = Float64(1.0 / Float64(1.0 + Float64(cbrt(x) * t_0)));
	else
		tmp = Float64(1.0 / fma(cbrt(x), t_0, (Float64(1.0 + x) ^ 0.6666666666666666)));
	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[x, -1.0], N[(1.0 / N[(1.0 + N[(N[Power[x, 1/3], $MachinePrecision] * t$95$0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(1.0 / N[(N[Power[x, 1/3], $MachinePrecision] * t$95$0 + N[Power[N[(1.0 + x), $MachinePrecision], 0.6666666666666666], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}

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

\mathbf{else}:\\
\;\;\;\;\frac{1}{\mathsf{fma}\left(\sqrt[3]{x}, t_0, {\left(1 + x\right)}^{0.6666666666666666}\right)}\\


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

    1. Initial program 7.7%

      \[\sqrt[3]{x + 1} - \sqrt[3]{x} \]
    2. Add Preprocessing
    3. Step-by-step derivation
      1. pow1/30.0%

        \[\leadsto \sqrt[3]{x + 1} - \color{blue}{{x}^{0.3333333333333333}} \]
    4. Applied egg-rr0.0%

      \[\leadsto \sqrt[3]{x + 1} - \color{blue}{{x}^{0.3333333333333333}} \]
    5. Step-by-step derivation
      1. pow1/37.7%

        \[\leadsto \sqrt[3]{x + 1} - \color{blue}{\sqrt[3]{x}} \]
      2. flip3--7.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(\sqrt[3]{x} \cdot \sqrt[3]{x} + \sqrt[3]{x + 1} \cdot \sqrt[3]{x}\right)}} \]
      3. div-inv7.7%

        \[\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)}} \]
      4. add-sqr-sqrt0.0%

        \[\leadsto \left({\left(\sqrt[3]{x + 1}\right)}^{3} - {\left(\sqrt[3]{\color{blue}{\sqrt{x} \cdot \sqrt{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)} \]
      5. cbrt-unprod0.0%

        \[\leadsto \left({\left(\sqrt[3]{x + 1}\right)}^{3} - {\color{blue}{\left(\sqrt[3]{\sqrt{x}} \cdot \sqrt[3]{\sqrt{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)} \]
      6. rem-cube-cbrt0.0%

        \[\leadsto \left(\color{blue}{\left(x + 1\right)} - {\left(\sqrt[3]{\sqrt{x}} \cdot \sqrt[3]{\sqrt{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)} \]
      7. cbrt-unprod0.0%

        \[\leadsto \left(\left(x + 1\right) - {\color{blue}{\left(\sqrt[3]{\sqrt{x} \cdot \sqrt{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)} \]
      8. add-sqr-sqrt7.9%

        \[\leadsto \left(\left(x + 1\right) - {\left(\sqrt[3]{\color{blue}{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)} \]
      9. rem-cube-cbrt9.1%

        \[\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)} \]
      10. pow29.1%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        \[\leadsto \frac{1}{\color{blue}{{\left(\sqrt[3]{1 + x}\right)}^{2} + \left(\sqrt[3]{x} \cdot \sqrt[3]{x} + \sqrt[3]{1 + x} \cdot \sqrt[3]{x}\right)}} \]
      5. distribute-rgt-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)}} \]
      6. +-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)}} \]
    10. Applied egg-rr98.4%

      \[\leadsto \frac{1}{\color{blue}{{\left(\sqrt[3]{1 + x}\right)}^{2} + \sqrt[3]{x} \cdot \left(\sqrt[3]{1 + x} + \sqrt[3]{x}\right)}} \]
    11. 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 70.7%

      \[\sqrt[3]{x + 1} - \sqrt[3]{x} \]
    2. Add Preprocessing
    3. Step-by-step derivation
      1. pow1/335.8%

        \[\leadsto \sqrt[3]{x + 1} - \color{blue}{{x}^{0.3333333333333333}} \]
    4. Applied egg-rr35.8%

      \[\leadsto \sqrt[3]{x + 1} - \color{blue}{{x}^{0.3333333333333333}} \]
    5. Step-by-step derivation
      1. pow1/370.7%

        \[\leadsto \sqrt[3]{x + 1} - \color{blue}{\sqrt[3]{x}} \]
      2. flip3--70.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(\sqrt[3]{x} \cdot \sqrt[3]{x} + \sqrt[3]{x + 1} \cdot \sqrt[3]{x}\right)}} \]
      3. div-inv70.7%

        \[\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)}} \]
      4. add-sqr-sqrt35.6%

        \[\leadsto \left({\left(\sqrt[3]{x + 1}\right)}^{3} - {\left(\sqrt[3]{\color{blue}{\sqrt{x} \cdot \sqrt{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)} \]
      5. cbrt-unprod35.3%

        \[\leadsto \left({\left(\sqrt[3]{x + 1}\right)}^{3} - {\color{blue}{\left(\sqrt[3]{\sqrt{x}} \cdot \sqrt[3]{\sqrt{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)} \]
      6. rem-cube-cbrt35.2%

        \[\leadsto \left(\color{blue}{\left(x + 1\right)} - {\left(\sqrt[3]{\sqrt{x}} \cdot \sqrt[3]{\sqrt{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)} \]
      7. cbrt-unprod35.4%

        \[\leadsto \left(\left(x + 1\right) - {\color{blue}{\left(\sqrt[3]{\sqrt{x} \cdot \sqrt{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)} \]
      8. add-sqr-sqrt70.4%

        \[\leadsto \left(\left(x + 1\right) - {\left(\sqrt[3]{\color{blue}{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)} \]
      9. rem-cube-cbrt71.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)} \]
      10. pow271.5%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        \[\leadsto \frac{1}{\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{1 + x} + \sqrt[3]{x}, \color{blue}{\left(\sqrt[3]{1 + x} \cdot \sqrt{\sqrt[3]{1 + x}}\right) \cdot \sqrt{\sqrt[3]{1 + x}}}\right)} \]
      4. add-sqr-sqrt99.4%

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

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

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

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

        \[\leadsto \frac{1}{\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{1 + x} + \sqrt[3]{x}, \sqrt{\color{blue}{\left(\sqrt[3]{1 + x} \cdot \sqrt[3]{1 + x}\right)} \cdot \sqrt[3]{1 + x}} \cdot \sqrt{\sqrt[3]{1 + x}}\right)} \]
      9. add-cube-cbrt99.6%

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

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

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

        \[\leadsto \frac{1}{\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{1 + x} + \sqrt[3]{x}, \sqrt{e^{\color{blue}{\log \left(1 + x\right)}}} \cdot \sqrt{\sqrt[3]{1 + x}}\right)} \]
      13. add-exp-log99.6%

        \[\leadsto \frac{1}{\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{1 + x} + \sqrt[3]{x}, \sqrt{\color{blue}{1 + x}} \cdot \sqrt{\sqrt[3]{1 + x}}\right)} \]
      14. add-sqr-sqrt64.4%

        \[\leadsto \frac{1}{\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{1 + x} + \sqrt[3]{x}, \sqrt{1 + \color{blue}{\sqrt{x} \cdot \sqrt{x}}} \cdot \sqrt{\sqrt[3]{1 + x}}\right)} \]
      15. hypot-1-def64.4%

        \[\leadsto \frac{1}{\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{1 + x} + \sqrt[3]{x}, \color{blue}{\mathsf{hypot}\left(1, \sqrt{x}\right)} \cdot \sqrt{\sqrt[3]{1 + x}}\right)} \]
      16. pow1/363.4%

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

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

      \[\leadsto \frac{1}{\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{1 + x} + \sqrt[3]{x}, \color{blue}{\mathsf{hypot}\left(1, \sqrt{x}\right) \cdot {\left(1 + x\right)}^{0.16666666666666666}}\right)} \]
    11. Step-by-step derivation
      1. *-commutative63.4%

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

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

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

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

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

        \[\leadsto \frac{1}{\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{1 + x} + \sqrt[3]{x}, \color{blue}{{\left(1 + x\right)}^{\left(0.16666666666666666 + 0.5\right)}}\right)} \]
      3. +-commutative97.7%

        \[\leadsto \frac{1}{\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{1 + x} + \sqrt[3]{x}, {\color{blue}{\left(x + 1\right)}}^{\left(0.16666666666666666 + 0.5\right)}\right)} \]
      4. metadata-eval97.7%

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

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

    \[\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}{\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{1 + x} + \sqrt[3]{x}, {\left(1 + x\right)}^{0.6666666666666666}\right)}\\ \end{array} \]
  5. Add Preprocessing

Alternative 8: 99.1% 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 55.9%

    \[\sqrt[3]{x + 1} - \sqrt[3]{x} \]
  2. Add Preprocessing
  3. Step-by-step derivation
    1. pow1/327.4%

      \[\leadsto \sqrt[3]{x + 1} - \color{blue}{{x}^{0.3333333333333333}} \]
  4. Applied egg-rr27.4%

    \[\leadsto \sqrt[3]{x + 1} - \color{blue}{{x}^{0.3333333333333333}} \]
  5. Step-by-step derivation
    1. pow1/355.9%

      \[\leadsto \sqrt[3]{x + 1} - \color{blue}{\sqrt[3]{x}} \]
    2. flip3--55.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)}} \]
    3. div-inv55.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)}} \]
    4. add-sqr-sqrt27.2%

      \[\leadsto \left({\left(\sqrt[3]{x + 1}\right)}^{3} - {\left(\sqrt[3]{\color{blue}{\sqrt{x} \cdot \sqrt{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)} \]
    5. cbrt-unprod27.1%

      \[\leadsto \left({\left(\sqrt[3]{x + 1}\right)}^{3} - {\color{blue}{\left(\sqrt[3]{\sqrt{x}} \cdot \sqrt[3]{\sqrt{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)} \]
    6. rem-cube-cbrt26.9%

      \[\leadsto \left(\color{blue}{\left(x + 1\right)} - {\left(\sqrt[3]{\sqrt{x}} \cdot \sqrt[3]{\sqrt{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)} \]
    7. cbrt-unprod27.1%

      \[\leadsto \left(\left(x + 1\right) - {\color{blue}{\left(\sqrt[3]{\sqrt{x} \cdot \sqrt{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)} \]
    8. add-sqr-sqrt55.7%

      \[\leadsto \left(\left(x + 1\right) - {\left(\sqrt[3]{\color{blue}{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)} \]
    9. rem-cube-cbrt56.9%

      \[\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)} \]
    10. pow256.9%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

      \[\leadsto \frac{1}{\color{blue}{{\left(\sqrt[3]{1 + x}\right)}^{2} + \left(\sqrt[3]{x} \cdot \sqrt[3]{x} + \sqrt[3]{1 + x} \cdot \sqrt[3]{x}\right)}} \]
    5. distribute-rgt-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)}} \]
    6. +-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)}} \]
  10. Applied egg-rr99.2%

    \[\leadsto \frac{1}{\color{blue}{{\left(\sqrt[3]{1 + x}\right)}^{2} + \sqrt[3]{x} \cdot \left(\sqrt[3]{1 + x} + \sqrt[3]{x}\right)}} \]
  11. 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)} \]
  12. Add Preprocessing

Alternative 9: 53.0% accurate, 1.0× speedup?

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

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

    \[\sqrt[3]{x + 1} - \sqrt[3]{x} \]
  2. Add Preprocessing
  3. Final simplification55.9%

    \[\leadsto \sqrt[3]{1 + x} - \sqrt[3]{x} \]
  4. Add Preprocessing

Alternative 10: 50.5% accurate, 1.9× speedup?

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

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

    \[\sqrt[3]{x + 1} - \sqrt[3]{x} \]
  2. Add Preprocessing
  3. Step-by-step derivation
    1. add-cube-cbrt55.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. pow355.7%

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

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

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

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

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

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

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

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

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

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

    \[\leadsto 1 + \left(x \cdot 0.3333333333333333 - \sqrt[3]{x}\right) \]
  9. Add Preprocessing

Alternative 11: 50.4% 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 55.9%

    \[\sqrt[3]{x + 1} - \sqrt[3]{x} \]
  2. Add Preprocessing
  3. Step-by-step derivation
    1. add-cube-cbrt55.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. pow355.7%

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

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

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

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

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

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

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

    \[\leadsto \color{blue}{1 - \sqrt[3]{x}} \]
  8. Final simplification52.4%

    \[\leadsto 1 - \sqrt[3]{x} \]
  9. Add Preprocessing

Alternative 12: 3.6% 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 55.9%

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

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

    \[\leadsto 0 \]
  5. Add Preprocessing

Alternative 13: 49.7% 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 55.9%

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

    \[\leadsto \color{blue}{1} \]
  4. Final simplification51.0%

    \[\leadsto 1 \]
  5. Add Preprocessing

Reproduce

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