2cbrt (problem 3.3.4)

Percentage Accurate: 53.5% → 99.2%
Time: 19.9s
Alternatives: 16
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 16 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.5% accurate, 1.0× speedup?

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

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

Alternative 1: 99.2% accurate, 0.2× speedup?

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

\\
\begin{array}{l}
t_0 := \sqrt[3]{x + 1}\\
t_1 := t_0 + \sqrt[3]{x}\\
\mathbf{if}\;t_0 - \sqrt[3]{x} \leq 0:\\
\;\;\;\;\frac{1}{\mathsf{fma}\left(\sqrt[3]{x}, t_1, {\left(\sqrt[3]{x}\right)}^{2}\right)}\\

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


\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.2%

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

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

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

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

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

        \[\leadsto \left(\left(x + 1\right) - x\right) \cdot \color{blue}{\mathsf{reciprocal}\left(\left(\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)\right)\right)} \]
      6. +-commutative4.2%

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

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

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

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

        \[\leadsto \left(\left(x + 1\right) - x\right) \cdot \mathsf{reciprocal}\left(\left(\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{x + 1} + \sqrt[3]{x}, \color{blue}{e^{\log \left(\sqrt[3]{x + 1} \cdot \sqrt[3]{x + 1}\right)}}\right)\right)\right) \]
    4. Applied egg-rr2.3%

      \[\leadsto \color{blue}{\left(\left(x + 1\right) - x\right) \cdot \mathsf{reciprocal}\left(\left(\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{x + 1} + \sqrt[3]{x}, e^{0.6666666666666666 \cdot \mathsf{log1p}\left(x\right)}\right)\right)\right)} \]
    5. Step-by-step derivation
      1. reciprocal-undefine2.3%

        \[\leadsto \left(\left(x + 1\right) - x\right) \cdot \color{blue}{\frac{1}{\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{x + 1} + \sqrt[3]{x}, e^{0.6666666666666666 \cdot \mathsf{log1p}\left(x\right)}\right)}} \]
      2. associate-*r/2.3%

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

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

        \[\leadsto \frac{\color{blue}{\left(1 + x\right)} - x}{\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{x + 1} + \sqrt[3]{x}, e^{0.6666666666666666 \cdot \mathsf{log1p}\left(x\right)}\right)} \]
      5. associate--l+50.0%

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

        \[\leadsto \frac{1 + \color{blue}{0}}{\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{x + 1} + \sqrt[3]{x}, e^{0.6666666666666666 \cdot \mathsf{log1p}\left(x\right)}\right)} \]
      7. metadata-eval50.0%

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

        \[\leadsto \color{blue}{\mathsf{reciprocal}\left(\left(\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{x + 1} + \sqrt[3]{x}, e^{0.6666666666666666 \cdot \mathsf{log1p}\left(x\right)}\right)\right)\right)} \]
      9. +-commutative21.3%

        \[\leadsto \mathsf{reciprocal}\left(\left(\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{\color{blue}{1 + x}} + \sqrt[3]{x}, e^{0.6666666666666666 \cdot \mathsf{log1p}\left(x\right)}\right)\right)\right) \]
      10. exp-prod21.3%

        \[\leadsto \mathsf{reciprocal}\left(\left(\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{1 + x} + \sqrt[3]{x}, \color{blue}{{\left(e^{0.6666666666666666}\right)}^{\left(\mathsf{log1p}\left(x\right)\right)}}\right)\right)\right) \]
    6. Simplified21.3%

      \[\leadsto \color{blue}{\mathsf{reciprocal}\left(\left(\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{1 + x} + \sqrt[3]{x}, {\left(e^{0.6666666666666666}\right)}^{\left(\mathsf{log1p}\left(x\right)\right)}\right)\right)\right)} \]
    7. Step-by-step derivation
      1. reciprocal-undefine49.8%

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

        \[\leadsto \frac{1}{\mathsf{fma}\left(\sqrt[3]{x}, \color{blue}{\sqrt[3]{x} + \sqrt[3]{1 + x}}, {\left(e^{0.6666666666666666}\right)}^{\left(\mathsf{log1p}\left(x\right)\right)}\right)} \]
      3. +-commutative49.8%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    1. Initial program 96.7%

      \[\sqrt[3]{x + 1} - \sqrt[3]{x} \]
    2. Add Preprocessing
    3. Step-by-step derivation
      1. flip3--97.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)}} \]
      2. rem-cube-cbrt97.2%

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

        \[\leadsto \frac{\left(x + 1\right) - \color{blue}{x}}{\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. +-commutative99.8%

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

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

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

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

        \[\leadsto \frac{\left(x + 1\right) - x}{\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{x + 1} + \sqrt[3]{x}, \color{blue}{e^{\log \left(\sqrt[3]{x + 1} \cdot \sqrt[3]{x + 1}\right)}}\right)} \]
      9. pow1/395.6%

        \[\leadsto \frac{\left(x + 1\right) - x}{\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{x + 1} + \sqrt[3]{x}, e^{\log \left(\color{blue}{{\left(x + 1\right)}^{0.3333333333333333}} \cdot \sqrt[3]{x + 1}\right)}\right)} \]
      10. pow1/395.5%

        \[\leadsto \frac{\left(x + 1\right) - x}{\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{x + 1} + \sqrt[3]{x}, e^{\log \left({\left(x + 1\right)}^{0.3333333333333333} \cdot \color{blue}{{\left(x + 1\right)}^{0.3333333333333333}}\right)}\right)} \]
      11. pow-prod-up95.6%

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

      \[\leadsto \color{blue}{\frac{\left(x + 1\right) - x}{\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{x + 1} + \sqrt[3]{x}, e^{0.6666666666666666 \cdot \mathsf{log1p}\left(x\right)}\right)}} \]
    5. Step-by-step derivation
      1. *-commutative95.6%

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

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

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

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

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

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

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

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

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

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

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

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

Alternative 2: 99.1% accurate, 0.3× speedup?

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

\\
\begin{array}{l}
t_0 := \sqrt[3]{x + 1}\\
t_1 := t_0 + \sqrt[3]{x}\\
\mathbf{if}\;t_0 - \sqrt[3]{x} \leq 0:\\
\;\;\;\;\frac{1}{\mathsf{fma}\left(\sqrt[3]{x}, t_1, {\left(\sqrt[3]{x}\right)}^{2}\right)}\\

\mathbf{else}:\\
\;\;\;\;\frac{\left(x + 1\right) - x}{\sqrt[3]{x} \cdot t_1 + {t_0}^{2}}\\


\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.2%

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

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

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

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

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

        \[\leadsto \left(\left(x + 1\right) - x\right) \cdot \color{blue}{\mathsf{reciprocal}\left(\left(\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)\right)\right)} \]
      6. +-commutative4.2%

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

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

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

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

        \[\leadsto \left(\left(x + 1\right) - x\right) \cdot \mathsf{reciprocal}\left(\left(\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{x + 1} + \sqrt[3]{x}, \color{blue}{e^{\log \left(\sqrt[3]{x + 1} \cdot \sqrt[3]{x + 1}\right)}}\right)\right)\right) \]
    4. Applied egg-rr2.3%

      \[\leadsto \color{blue}{\left(\left(x + 1\right) - x\right) \cdot \mathsf{reciprocal}\left(\left(\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{x + 1} + \sqrt[3]{x}, e^{0.6666666666666666 \cdot \mathsf{log1p}\left(x\right)}\right)\right)\right)} \]
    5. Step-by-step derivation
      1. reciprocal-undefine2.3%

        \[\leadsto \left(\left(x + 1\right) - x\right) \cdot \color{blue}{\frac{1}{\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{x + 1} + \sqrt[3]{x}, e^{0.6666666666666666 \cdot \mathsf{log1p}\left(x\right)}\right)}} \]
      2. associate-*r/2.3%

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

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

        \[\leadsto \frac{\color{blue}{\left(1 + x\right)} - x}{\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{x + 1} + \sqrt[3]{x}, e^{0.6666666666666666 \cdot \mathsf{log1p}\left(x\right)}\right)} \]
      5. associate--l+50.0%

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

        \[\leadsto \frac{1 + \color{blue}{0}}{\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{x + 1} + \sqrt[3]{x}, e^{0.6666666666666666 \cdot \mathsf{log1p}\left(x\right)}\right)} \]
      7. metadata-eval50.0%

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

        \[\leadsto \color{blue}{\mathsf{reciprocal}\left(\left(\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{x + 1} + \sqrt[3]{x}, e^{0.6666666666666666 \cdot \mathsf{log1p}\left(x\right)}\right)\right)\right)} \]
      9. +-commutative21.3%

        \[\leadsto \mathsf{reciprocal}\left(\left(\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{\color{blue}{1 + x}} + \sqrt[3]{x}, e^{0.6666666666666666 \cdot \mathsf{log1p}\left(x\right)}\right)\right)\right) \]
      10. exp-prod21.3%

        \[\leadsto \mathsf{reciprocal}\left(\left(\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{1 + x} + \sqrt[3]{x}, \color{blue}{{\left(e^{0.6666666666666666}\right)}^{\left(\mathsf{log1p}\left(x\right)\right)}}\right)\right)\right) \]
    6. Simplified21.3%

      \[\leadsto \color{blue}{\mathsf{reciprocal}\left(\left(\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{1 + x} + \sqrt[3]{x}, {\left(e^{0.6666666666666666}\right)}^{\left(\mathsf{log1p}\left(x\right)\right)}\right)\right)\right)} \]
    7. Step-by-step derivation
      1. reciprocal-undefine49.8%

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

        \[\leadsto \frac{1}{\mathsf{fma}\left(\sqrt[3]{x}, \color{blue}{\sqrt[3]{x} + \sqrt[3]{1 + x}}, {\left(e^{0.6666666666666666}\right)}^{\left(\mathsf{log1p}\left(x\right)\right)}\right)} \]
      3. +-commutative49.8%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    1. Initial program 96.7%

      \[\sqrt[3]{x + 1} - \sqrt[3]{x} \]
    2. Add Preprocessing
    3. Step-by-step derivation
      1. add-cbrt-cube96.6%

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

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

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

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

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

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

        \[\leadsto e^{\color{blue}{\left(\log \left(\sqrt[3]{x + 1} - \sqrt[3]{x}\right) \cdot 3\right)} \cdot 0.3333333333333333} \]
      2. associate-*l*96.7%

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

        \[\leadsto e^{\log \left(\sqrt[3]{x + 1} - \sqrt[3]{x}\right) \cdot \color{blue}{1}} \]
      4. pow-to-exp96.7%

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

        \[\leadsto \color{blue}{\sqrt[3]{x + 1} - \sqrt[3]{x}} \]
      6. flip3--97.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)}} \]
      7. rem-cube-cbrt97.2%

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

        \[\leadsto \frac{\left(x + 1\right) - \color{blue}{x}}{\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. distribute-rgt-in99.8%

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

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

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

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

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

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

Alternative 3: 99.1% accurate, 0.3× speedup?

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

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

\mathbf{else}:\\
\;\;\;\;\frac{\left(x + 1\right) - x}{t_1 + {t_0}^{2}}\\


\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.2%

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

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

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

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

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

        \[\leadsto \left(\left(x + 1\right) - x\right) \cdot \color{blue}{\mathsf{reciprocal}\left(\left(\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)\right)\right)} \]
      6. +-commutative4.2%

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

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

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

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

        \[\leadsto \left(\left(x + 1\right) - x\right) \cdot \mathsf{reciprocal}\left(\left(\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{x + 1} + \sqrt[3]{x}, \color{blue}{e^{\log \left(\sqrt[3]{x + 1} \cdot \sqrt[3]{x + 1}\right)}}\right)\right)\right) \]
    4. Applied egg-rr2.3%

      \[\leadsto \color{blue}{\left(\left(x + 1\right) - x\right) \cdot \mathsf{reciprocal}\left(\left(\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{x + 1} + \sqrt[3]{x}, e^{0.6666666666666666 \cdot \mathsf{log1p}\left(x\right)}\right)\right)\right)} \]
    5. Step-by-step derivation
      1. reciprocal-undefine2.3%

        \[\leadsto \left(\left(x + 1\right) - x\right) \cdot \color{blue}{\frac{1}{\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{x + 1} + \sqrt[3]{x}, e^{0.6666666666666666 \cdot \mathsf{log1p}\left(x\right)}\right)}} \]
      2. associate-*r/2.3%

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

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

        \[\leadsto \frac{\color{blue}{\left(1 + x\right)} - x}{\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{x + 1} + \sqrt[3]{x}, e^{0.6666666666666666 \cdot \mathsf{log1p}\left(x\right)}\right)} \]
      5. associate--l+50.0%

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

        \[\leadsto \frac{1 + \color{blue}{0}}{\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{x + 1} + \sqrt[3]{x}, e^{0.6666666666666666 \cdot \mathsf{log1p}\left(x\right)}\right)} \]
      7. metadata-eval50.0%

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

        \[\leadsto \color{blue}{\mathsf{reciprocal}\left(\left(\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{x + 1} + \sqrt[3]{x}, e^{0.6666666666666666 \cdot \mathsf{log1p}\left(x\right)}\right)\right)\right)} \]
      9. +-commutative21.3%

        \[\leadsto \mathsf{reciprocal}\left(\left(\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{\color{blue}{1 + x}} + \sqrt[3]{x}, e^{0.6666666666666666 \cdot \mathsf{log1p}\left(x\right)}\right)\right)\right) \]
      10. exp-prod21.3%

        \[\leadsto \mathsf{reciprocal}\left(\left(\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{1 + x} + \sqrt[3]{x}, \color{blue}{{\left(e^{0.6666666666666666}\right)}^{\left(\mathsf{log1p}\left(x\right)\right)}}\right)\right)\right) \]
    6. Simplified21.3%

      \[\leadsto \color{blue}{\mathsf{reciprocal}\left(\left(\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{1 + x} + \sqrt[3]{x}, {\left(e^{0.6666666666666666}\right)}^{\left(\mathsf{log1p}\left(x\right)\right)}\right)\right)\right)} \]
    7. Step-by-step derivation
      1. reciprocal-undefine49.8%

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

        \[\leadsto \frac{1}{\mathsf{fma}\left(\sqrt[3]{x}, \color{blue}{\sqrt[3]{x} + \sqrt[3]{1 + x}}, {\left(e^{0.6666666666666666}\right)}^{\left(\mathsf{log1p}\left(x\right)\right)}\right)} \]
      3. +-commutative49.8%

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

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

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

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

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

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

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

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

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

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

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

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

    1. Initial program 96.7%

      \[\sqrt[3]{x + 1} - \sqrt[3]{x} \]
    2. Add Preprocessing
    3. Step-by-step derivation
      1. add-cbrt-cube96.6%

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

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

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

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

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

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

        \[\leadsto e^{\color{blue}{\left(\log \left(\sqrt[3]{x + 1} - \sqrt[3]{x}\right) \cdot 3\right)} \cdot 0.3333333333333333} \]
      2. associate-*l*96.7%

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

        \[\leadsto e^{\log \left(\sqrt[3]{x + 1} - \sqrt[3]{x}\right) \cdot \color{blue}{1}} \]
      4. pow-to-exp96.7%

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

        \[\leadsto \color{blue}{\sqrt[3]{x + 1} - \sqrt[3]{x}} \]
      6. flip3--97.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)}} \]
      7. rem-cube-cbrt97.2%

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

        \[\leadsto \frac{\left(x + 1\right) - \color{blue}{x}}{\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. distribute-rgt-in99.8%

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

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

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

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

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

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

Alternative 4: 98.7% accurate, 0.3× speedup?

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

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

\mathbf{else}:\\
\;\;\;\;\frac{\sqrt[3]{1 + {x}^{3}}}{\sqrt[3]{\mathsf{fma}\left(x, x, 1\right) - 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)) < 4.99999999999999977e-7

    1. Initial program 5.9%

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

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

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

        \[\leadsto \left(\color{blue}{\left(x + 1\right)} - {\left(\sqrt[3]{x}\right)}^{3}\right) \cdot \frac{1}{\sqrt[3]{x + 1} \cdot \sqrt[3]{x + 1} + \left(\sqrt[3]{x} \cdot \sqrt[3]{x} + \sqrt[3]{x + 1} \cdot \sqrt[3]{x}\right)} \]
      4. rem-cube-cbrt8.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)} \]
      5. reciprocal-define5.8%

        \[\leadsto \left(\left(x + 1\right) - x\right) \cdot \color{blue}{\mathsf{reciprocal}\left(\left(\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)\right)\right)} \]
      6. +-commutative5.8%

        \[\leadsto \left(\left(x + 1\right) - x\right) \cdot \mathsf{reciprocal}\left(\color{blue}{\left(\left(\sqrt[3]{x} \cdot \sqrt[3]{x} + \sqrt[3]{x + 1} \cdot \sqrt[3]{x}\right) + \sqrt[3]{x + 1} \cdot \sqrt[3]{x + 1}\right)}\right) \]
      7. distribute-rgt-out5.8%

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

        \[\leadsto \left(\left(x + 1\right) - x\right) \cdot \mathsf{reciprocal}\left(\left(\sqrt[3]{x} \cdot \color{blue}{\left(\sqrt[3]{x + 1} + \sqrt[3]{x}\right)} + \sqrt[3]{x + 1} \cdot \sqrt[3]{x + 1}\right)\right) \]
      9. fma-def5.8%

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

        \[\leadsto \left(\left(x + 1\right) - x\right) \cdot \mathsf{reciprocal}\left(\left(\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{x + 1} + \sqrt[3]{x}, \color{blue}{e^{\log \left(\sqrt[3]{x + 1} \cdot \sqrt[3]{x + 1}\right)}}\right)\right)\right) \]
    4. Applied egg-rr2.8%

      \[\leadsto \color{blue}{\left(\left(x + 1\right) - x\right) \cdot \mathsf{reciprocal}\left(\left(\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{x + 1} + \sqrt[3]{x}, e^{0.6666666666666666 \cdot \mathsf{log1p}\left(x\right)}\right)\right)\right)} \]
    5. Step-by-step derivation
      1. reciprocal-undefine3.7%

        \[\leadsto \left(\left(x + 1\right) - x\right) \cdot \color{blue}{\frac{1}{\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{x + 1} + \sqrt[3]{x}, e^{0.6666666666666666 \cdot \mathsf{log1p}\left(x\right)}\right)}} \]
      2. associate-*r/3.7%

        \[\leadsto \color{blue}{\frac{\left(\left(x + 1\right) - x\right) \cdot 1}{\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{x + 1} + \sqrt[3]{x}, e^{0.6666666666666666 \cdot \mathsf{log1p}\left(x\right)}\right)}} \]
      3. *-rgt-identity3.7%

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

        \[\leadsto \frac{\color{blue}{\left(1 + x\right)} - x}{\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{x + 1} + \sqrt[3]{x}, e^{0.6666666666666666 \cdot \mathsf{log1p}\left(x\right)}\right)} \]
      5. associate--l+49.1%

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

        \[\leadsto \frac{1 + \color{blue}{0}}{\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{x + 1} + \sqrt[3]{x}, e^{0.6666666666666666 \cdot \mathsf{log1p}\left(x\right)}\right)} \]
      7. metadata-eval49.1%

        \[\leadsto \frac{\color{blue}{1}}{\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{x + 1} + \sqrt[3]{x}, e^{0.6666666666666666 \cdot \mathsf{log1p}\left(x\right)}\right)} \]
      8. reciprocal-undefine20.9%

        \[\leadsto \color{blue}{\mathsf{reciprocal}\left(\left(\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{x + 1} + \sqrt[3]{x}, e^{0.6666666666666666 \cdot \mathsf{log1p}\left(x\right)}\right)\right)\right)} \]
      9. +-commutative20.9%

        \[\leadsto \mathsf{reciprocal}\left(\left(\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{\color{blue}{1 + x}} + \sqrt[3]{x}, e^{0.6666666666666666 \cdot \mathsf{log1p}\left(x\right)}\right)\right)\right) \]
      10. exp-prod20.9%

        \[\leadsto \mathsf{reciprocal}\left(\left(\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{1 + x} + \sqrt[3]{x}, \color{blue}{{\left(e^{0.6666666666666666}\right)}^{\left(\mathsf{log1p}\left(x\right)\right)}}\right)\right)\right) \]
    6. Simplified20.9%

      \[\leadsto \color{blue}{\mathsf{reciprocal}\left(\left(\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{1 + x} + \sqrt[3]{x}, {\left(e^{0.6666666666666666}\right)}^{\left(\mathsf{log1p}\left(x\right)\right)}\right)\right)\right)} \]
    7. Step-by-step derivation
      1. reciprocal-undefine48.9%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    if 4.99999999999999977e-7 < (-.f64 (cbrt.f64 (+.f64 x 1)) (cbrt.f64 x))

    1. Initial program 99.2%

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

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

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

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

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

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

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

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

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

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

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

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

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

Alternative 5: 98.7% accurate, 0.3× speedup?

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

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

\mathbf{else}:\\
\;\;\;\;\frac{\sqrt[3]{1 + {x}^{3}}}{\sqrt[3]{\mathsf{fma}\left(x, x, 1\right) - 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)) < 4.99999999999999977e-7

    1. Initial program 5.9%

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

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

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

        \[\leadsto \left(\color{blue}{\left(x + 1\right)} - {\left(\sqrt[3]{x}\right)}^{3}\right) \cdot \frac{1}{\sqrt[3]{x + 1} \cdot \sqrt[3]{x + 1} + \left(\sqrt[3]{x} \cdot \sqrt[3]{x} + \sqrt[3]{x + 1} \cdot \sqrt[3]{x}\right)} \]
      4. rem-cube-cbrt8.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)} \]
      5. reciprocal-define5.8%

        \[\leadsto \left(\left(x + 1\right) - x\right) \cdot \color{blue}{\mathsf{reciprocal}\left(\left(\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)\right)\right)} \]
      6. +-commutative5.8%

        \[\leadsto \left(\left(x + 1\right) - x\right) \cdot \mathsf{reciprocal}\left(\color{blue}{\left(\left(\sqrt[3]{x} \cdot \sqrt[3]{x} + \sqrt[3]{x + 1} \cdot \sqrt[3]{x}\right) + \sqrt[3]{x + 1} \cdot \sqrt[3]{x + 1}\right)}\right) \]
      7. distribute-rgt-out5.8%

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

        \[\leadsto \left(\left(x + 1\right) - x\right) \cdot \mathsf{reciprocal}\left(\left(\sqrt[3]{x} \cdot \color{blue}{\left(\sqrt[3]{x + 1} + \sqrt[3]{x}\right)} + \sqrt[3]{x + 1} \cdot \sqrt[3]{x + 1}\right)\right) \]
      9. fma-def5.8%

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

        \[\leadsto \left(\left(x + 1\right) - x\right) \cdot \mathsf{reciprocal}\left(\left(\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{x + 1} + \sqrt[3]{x}, \color{blue}{e^{\log \left(\sqrt[3]{x + 1} \cdot \sqrt[3]{x + 1}\right)}}\right)\right)\right) \]
    4. Applied egg-rr2.8%

      \[\leadsto \color{blue}{\left(\left(x + 1\right) - x\right) \cdot \mathsf{reciprocal}\left(\left(\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{x + 1} + \sqrt[3]{x}, e^{0.6666666666666666 \cdot \mathsf{log1p}\left(x\right)}\right)\right)\right)} \]
    5. Step-by-step derivation
      1. reciprocal-undefine3.7%

        \[\leadsto \left(\left(x + 1\right) - x\right) \cdot \color{blue}{\frac{1}{\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{x + 1} + \sqrt[3]{x}, e^{0.6666666666666666 \cdot \mathsf{log1p}\left(x\right)}\right)}} \]
      2. associate-*r/3.7%

        \[\leadsto \color{blue}{\frac{\left(\left(x + 1\right) - x\right) \cdot 1}{\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{x + 1} + \sqrt[3]{x}, e^{0.6666666666666666 \cdot \mathsf{log1p}\left(x\right)}\right)}} \]
      3. *-rgt-identity3.7%

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

        \[\leadsto \frac{\color{blue}{\left(1 + x\right)} - x}{\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{x + 1} + \sqrt[3]{x}, e^{0.6666666666666666 \cdot \mathsf{log1p}\left(x\right)}\right)} \]
      5. associate--l+49.1%

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

        \[\leadsto \frac{1 + \color{blue}{0}}{\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{x + 1} + \sqrt[3]{x}, e^{0.6666666666666666 \cdot \mathsf{log1p}\left(x\right)}\right)} \]
      7. metadata-eval49.1%

        \[\leadsto \frac{\color{blue}{1}}{\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{x + 1} + \sqrt[3]{x}, e^{0.6666666666666666 \cdot \mathsf{log1p}\left(x\right)}\right)} \]
      8. reciprocal-undefine20.9%

        \[\leadsto \color{blue}{\mathsf{reciprocal}\left(\left(\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{x + 1} + \sqrt[3]{x}, e^{0.6666666666666666 \cdot \mathsf{log1p}\left(x\right)}\right)\right)\right)} \]
      9. +-commutative20.9%

        \[\leadsto \mathsf{reciprocal}\left(\left(\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{\color{blue}{1 + x}} + \sqrt[3]{x}, e^{0.6666666666666666 \cdot \mathsf{log1p}\left(x\right)}\right)\right)\right) \]
      10. exp-prod20.9%

        \[\leadsto \mathsf{reciprocal}\left(\left(\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{1 + x} + \sqrt[3]{x}, \color{blue}{{\left(e^{0.6666666666666666}\right)}^{\left(\mathsf{log1p}\left(x\right)\right)}}\right)\right)\right) \]
    6. Simplified20.9%

      \[\leadsto \color{blue}{\mathsf{reciprocal}\left(\left(\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{1 + x} + \sqrt[3]{x}, {\left(e^{0.6666666666666666}\right)}^{\left(\mathsf{log1p}\left(x\right)\right)}\right)\right)\right)} \]
    7. Step-by-step derivation
      1. reciprocal-undefine48.9%

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

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

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

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

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

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

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

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

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

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

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

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

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

    if 4.99999999999999977e-7 < (-.f64 (cbrt.f64 (+.f64 x 1)) (cbrt.f64 x))

    1. Initial program 99.2%

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

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

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

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

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

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

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

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

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

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

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

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

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

Alternative 6: 98.7% accurate, 0.3× speedup?

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

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

\mathbf{else}:\\
\;\;\;\;\frac{\sqrt[3]{\mathsf{fma}\left(x, x, -1\right)}}{\sqrt[3]{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)) < 4.99999999999999977e-7

    1. Initial program 5.9%

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

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

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

        \[\leadsto \left(\color{blue}{\left(x + 1\right)} - {\left(\sqrt[3]{x}\right)}^{3}\right) \cdot \frac{1}{\sqrt[3]{x + 1} \cdot \sqrt[3]{x + 1} + \left(\sqrt[3]{x} \cdot \sqrt[3]{x} + \sqrt[3]{x + 1} \cdot \sqrt[3]{x}\right)} \]
      4. rem-cube-cbrt8.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)} \]
      5. reciprocal-define5.8%

        \[\leadsto \left(\left(x + 1\right) - x\right) \cdot \color{blue}{\mathsf{reciprocal}\left(\left(\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)\right)\right)} \]
      6. +-commutative5.8%

        \[\leadsto \left(\left(x + 1\right) - x\right) \cdot \mathsf{reciprocal}\left(\color{blue}{\left(\left(\sqrt[3]{x} \cdot \sqrt[3]{x} + \sqrt[3]{x + 1} \cdot \sqrt[3]{x}\right) + \sqrt[3]{x + 1} \cdot \sqrt[3]{x + 1}\right)}\right) \]
      7. distribute-rgt-out5.8%

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

        \[\leadsto \left(\left(x + 1\right) - x\right) \cdot \mathsf{reciprocal}\left(\left(\sqrt[3]{x} \cdot \color{blue}{\left(\sqrt[3]{x + 1} + \sqrt[3]{x}\right)} + \sqrt[3]{x + 1} \cdot \sqrt[3]{x + 1}\right)\right) \]
      9. fma-def5.8%

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

        \[\leadsto \left(\left(x + 1\right) - x\right) \cdot \mathsf{reciprocal}\left(\left(\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{x + 1} + \sqrt[3]{x}, \color{blue}{e^{\log \left(\sqrt[3]{x + 1} \cdot \sqrt[3]{x + 1}\right)}}\right)\right)\right) \]
    4. Applied egg-rr2.8%

      \[\leadsto \color{blue}{\left(\left(x + 1\right) - x\right) \cdot \mathsf{reciprocal}\left(\left(\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{x + 1} + \sqrt[3]{x}, e^{0.6666666666666666 \cdot \mathsf{log1p}\left(x\right)}\right)\right)\right)} \]
    5. Step-by-step derivation
      1. reciprocal-undefine3.7%

        \[\leadsto \left(\left(x + 1\right) - x\right) \cdot \color{blue}{\frac{1}{\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{x + 1} + \sqrt[3]{x}, e^{0.6666666666666666 \cdot \mathsf{log1p}\left(x\right)}\right)}} \]
      2. associate-*r/3.7%

        \[\leadsto \color{blue}{\frac{\left(\left(x + 1\right) - x\right) \cdot 1}{\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{x + 1} + \sqrt[3]{x}, e^{0.6666666666666666 \cdot \mathsf{log1p}\left(x\right)}\right)}} \]
      3. *-rgt-identity3.7%

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

        \[\leadsto \frac{\color{blue}{\left(1 + x\right)} - x}{\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{x + 1} + \sqrt[3]{x}, e^{0.6666666666666666 \cdot \mathsf{log1p}\left(x\right)}\right)} \]
      5. associate--l+49.1%

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

        \[\leadsto \frac{1 + \color{blue}{0}}{\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{x + 1} + \sqrt[3]{x}, e^{0.6666666666666666 \cdot \mathsf{log1p}\left(x\right)}\right)} \]
      7. metadata-eval49.1%

        \[\leadsto \frac{\color{blue}{1}}{\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{x + 1} + \sqrt[3]{x}, e^{0.6666666666666666 \cdot \mathsf{log1p}\left(x\right)}\right)} \]
      8. reciprocal-undefine20.9%

        \[\leadsto \color{blue}{\mathsf{reciprocal}\left(\left(\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{x + 1} + \sqrt[3]{x}, e^{0.6666666666666666 \cdot \mathsf{log1p}\left(x\right)}\right)\right)\right)} \]
      9. +-commutative20.9%

        \[\leadsto \mathsf{reciprocal}\left(\left(\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{\color{blue}{1 + x}} + \sqrt[3]{x}, e^{0.6666666666666666 \cdot \mathsf{log1p}\left(x\right)}\right)\right)\right) \]
      10. exp-prod20.9%

        \[\leadsto \mathsf{reciprocal}\left(\left(\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{1 + x} + \sqrt[3]{x}, \color{blue}{{\left(e^{0.6666666666666666}\right)}^{\left(\mathsf{log1p}\left(x\right)\right)}}\right)\right)\right) \]
    6. Simplified20.9%

      \[\leadsto \color{blue}{\mathsf{reciprocal}\left(\left(\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{1 + x} + \sqrt[3]{x}, {\left(e^{0.6666666666666666}\right)}^{\left(\mathsf{log1p}\left(x\right)\right)}\right)\right)\right)} \]
    7. Step-by-step derivation
      1. reciprocal-undefine48.9%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    if 4.99999999999999977e-7 < (-.f64 (cbrt.f64 (+.f64 x 1)) (cbrt.f64 x))

    1. Initial program 99.2%

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

        \[\leadsto \sqrt[3]{\color{blue}{\frac{x \cdot x - 1 \cdot 1}{x - 1}}} - \sqrt[3]{x} \]
      2. cbrt-div99.3%

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

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

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

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

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

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

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

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

Alternative 7: 74.3% accurate, 0.3× speedup?

\[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;\sqrt[3]{x + 1} - \sqrt[3]{x} \leq 5 \cdot 10^{-7}:\\ \;\;\;\;0.3333333333333333 \cdot {\left(\frac{1}{{x}^{2}}\right)}^{0.3333333333333333}\\ \mathbf{else}:\\ \;\;\;\;\frac{\sqrt[3]{\mathsf{fma}\left(x, x, -1\right)}}{\sqrt[3]{x + -1}} - \sqrt[3]{x}\\ \end{array} \end{array} \]
(FPCore (x)
 :precision binary64
 (if (<= (- (cbrt (+ x 1.0)) (cbrt x)) 5e-7)
   (* 0.3333333333333333 (pow (/ 1.0 (pow x 2.0)) 0.3333333333333333))
   (- (/ (cbrt (fma x x -1.0)) (cbrt (+ x -1.0))) (cbrt x))))
double code(double x) {
	double tmp;
	if ((cbrt((x + 1.0)) - cbrt(x)) <= 5e-7) {
		tmp = 0.3333333333333333 * pow((1.0 / pow(x, 2.0)), 0.3333333333333333);
	} else {
		tmp = (cbrt(fma(x, x, -1.0)) / cbrt((x + -1.0))) - cbrt(x);
	}
	return tmp;
}
function code(x)
	tmp = 0.0
	if (Float64(cbrt(Float64(x + 1.0)) - cbrt(x)) <= 5e-7)
		tmp = Float64(0.3333333333333333 * (Float64(1.0 / (x ^ 2.0)) ^ 0.3333333333333333));
	else
		tmp = Float64(Float64(cbrt(fma(x, x, -1.0)) / cbrt(Float64(x + -1.0))) - cbrt(x));
	end
	return tmp
end
code[x_] := If[LessEqual[N[(N[Power[N[(x + 1.0), $MachinePrecision], 1/3], $MachinePrecision] - N[Power[x, 1/3], $MachinePrecision]), $MachinePrecision], 5e-7], N[(0.3333333333333333 * N[Power[N[(1.0 / N[Power[x, 2.0], $MachinePrecision]), $MachinePrecision], 0.3333333333333333], $MachinePrecision]), $MachinePrecision], N[(N[(N[Power[N[(x * x + -1.0), $MachinePrecision], 1/3], $MachinePrecision] / N[Power[N[(x + -1.0), $MachinePrecision], 1/3], $MachinePrecision]), $MachinePrecision] - N[Power[x, 1/3], $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}

\\
\begin{array}{l}
\mathbf{if}\;\sqrt[3]{x + 1} - \sqrt[3]{x} \leq 5 \cdot 10^{-7}:\\
\;\;\;\;0.3333333333333333 \cdot {\left(\frac{1}{{x}^{2}}\right)}^{0.3333333333333333}\\

\mathbf{else}:\\
\;\;\;\;\frac{\sqrt[3]{\mathsf{fma}\left(x, x, -1\right)}}{\sqrt[3]{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)) < 4.99999999999999977e-7

    1. Initial program 5.9%

      \[\sqrt[3]{x + 1} - \sqrt[3]{x} \]
    2. Add Preprocessing
    3. Step-by-step derivation
      1. add-sqr-sqrt2.7%

        \[\leadsto \color{blue}{\sqrt{\sqrt[3]{x + 1}} \cdot \sqrt{\sqrt[3]{x + 1}}} - \sqrt[3]{x} \]
      2. add-sqr-sqrt2.9%

        \[\leadsto \sqrt{\sqrt[3]{x + 1}} \cdot \sqrt{\sqrt[3]{x + 1}} - \color{blue}{\sqrt{\sqrt[3]{x}} \cdot \sqrt{\sqrt[3]{x}}} \]
      3. difference-of-squares2.9%

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

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

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

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

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

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

        \[\leadsto \left({\left(x + 1\right)}^{0.16666666666666666} + {x}^{\color{blue}{0.16666666666666666}}\right) \cdot \left(\sqrt{\sqrt[3]{x + 1}} - \sqrt{\sqrt[3]{x}}\right) \]
      10. pow1/31.6%

        \[\leadsto \left({\left(x + 1\right)}^{0.16666666666666666} + {x}^{0.16666666666666666}\right) \cdot \left(\sqrt{\color{blue}{{\left(x + 1\right)}^{0.3333333333333333}}} - \sqrt{\sqrt[3]{x}}\right) \]
      11. sqrt-pow11.6%

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

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

        \[\leadsto \left({\left(x + 1\right)}^{0.16666666666666666} + {x}^{0.16666666666666666}\right) \cdot \left({\left(x + 1\right)}^{0.16666666666666666} - \sqrt{\color{blue}{{x}^{0.3333333333333333}}}\right) \]
      14. sqrt-pow12.9%

        \[\leadsto \left({\left(x + 1\right)}^{0.16666666666666666} + {x}^{0.16666666666666666}\right) \cdot \left({\left(x + 1\right)}^{0.16666666666666666} - \color{blue}{{x}^{\left(\frac{0.3333333333333333}{2}\right)}}\right) \]
      15. metadata-eval2.9%

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

      \[\leadsto \color{blue}{\left({\left(x + 1\right)}^{0.16666666666666666} + {x}^{0.16666666666666666}\right) \cdot \left({\left(x + 1\right)}^{0.16666666666666666} - {x}^{0.16666666666666666}\right)} \]
    5. Taylor expanded in x around inf 50.1%

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

    if 4.99999999999999977e-7 < (-.f64 (cbrt.f64 (+.f64 x 1)) (cbrt.f64 x))

    1. Initial program 99.2%

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

        \[\leadsto \sqrt[3]{\color{blue}{\frac{x \cdot x - 1 \cdot 1}{x - 1}}} - \sqrt[3]{x} \]
      2. cbrt-div99.3%

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

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

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

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

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

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

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

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

Alternative 8: 82.9% accurate, 0.5× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_0 := 0.3333333333333333 \cdot {\left(\frac{1}{{x}^{2}}\right)}^{0.3333333333333333}\\ t_1 := \mathsf{reciprocal}\left(\left(\sqrt[3]{x} \cdot \left(\sqrt[3]{x} + \left(\sqrt[3]{x + 1} + \sqrt[3]{x}\right)\right)\right)\right)\\ \mathbf{if}\;x \leq -1.32 \cdot 10^{+154}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;x \leq -29000000:\\ \;\;\;\;t_0\\ \mathbf{elif}\;x \leq 34000000:\\ \;\;\;\;\frac{\sqrt[3]{\mathsf{fma}\left(x, x, -1\right)}}{\sqrt[3]{x + -1}} - \sqrt[3]{x}\\ \mathbf{elif}\;x \leq 1.35 \cdot 10^{+154}:\\ \;\;\;\;t_0\\ \mathbf{else}:\\ \;\;\;\;t_1\\ \end{array} \end{array} \]
(FPCore (x)
 :precision binary64
 (let* ((t_0
         (* 0.3333333333333333 (pow (/ 1.0 (pow x 2.0)) 0.3333333333333333)))
        (t_1
         (reciprocal (* (cbrt x) (+ (cbrt x) (+ (cbrt (+ x 1.0)) (cbrt x)))))))
   (if (<= x -1.32e+154)
     t_1
     (if (<= x -29000000.0)
       t_0
       (if (<= x 34000000.0)
         (- (/ (cbrt (fma x x -1.0)) (cbrt (+ x -1.0))) (cbrt x))
         (if (<= x 1.35e+154) t_0 t_1))))))
\begin{array}{l}

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

\mathbf{elif}\;x \leq -29000000:\\
\;\;\;\;t_0\\

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

\mathbf{elif}\;x \leq 1.35 \cdot 10^{+154}:\\
\;\;\;\;t_0\\

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


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

    1. Initial program 4.7%

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

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

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

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

        \[\leadsto \left(\left(x + 1\right) - x\right) \cdot \color{blue}{\mathsf{reciprocal}\left(\left(\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)\right)\right)} \]
      6. +-commutative4.7%

        \[\leadsto \left(\left(x + 1\right) - x\right) \cdot \mathsf{reciprocal}\left(\color{blue}{\left(\left(\sqrt[3]{x} \cdot \sqrt[3]{x} + \sqrt[3]{x + 1} \cdot \sqrt[3]{x}\right) + \sqrt[3]{x + 1} \cdot \sqrt[3]{x + 1}\right)}\right) \]
      7. distribute-rgt-out4.7%

        \[\leadsto \left(\left(x + 1\right) - x\right) \cdot \mathsf{reciprocal}\left(\left(\color{blue}{\sqrt[3]{x} \cdot \left(\sqrt[3]{x} + \sqrt[3]{x + 1}\right)} + \sqrt[3]{x + 1} \cdot \sqrt[3]{x + 1}\right)\right) \]
      8. +-commutative4.7%

        \[\leadsto \left(\left(x + 1\right) - x\right) \cdot \mathsf{reciprocal}\left(\left(\sqrt[3]{x} \cdot \color{blue}{\left(\sqrt[3]{x + 1} + \sqrt[3]{x}\right)} + \sqrt[3]{x + 1} \cdot \sqrt[3]{x + 1}\right)\right) \]
      9. fma-def4.7%

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

        \[\leadsto \left(\left(x + 1\right) - x\right) \cdot \mathsf{reciprocal}\left(\left(\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{x + 1} + \sqrt[3]{x}, \color{blue}{e^{\log \left(\sqrt[3]{x + 1} \cdot \sqrt[3]{x + 1}\right)}}\right)\right)\right) \]
    4. Applied egg-rr2.6%

      \[\leadsto \color{blue}{\left(\left(x + 1\right) - x\right) \cdot \mathsf{reciprocal}\left(\left(\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{x + 1} + \sqrt[3]{x}, e^{0.6666666666666666 \cdot \mathsf{log1p}\left(x\right)}\right)\right)\right)} \]
    5. Step-by-step derivation
      1. reciprocal-undefine2.6%

        \[\leadsto \left(\left(x + 1\right) - x\right) \cdot \color{blue}{\frac{1}{\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{x + 1} + \sqrt[3]{x}, e^{0.6666666666666666 \cdot \mathsf{log1p}\left(x\right)}\right)}} \]
      2. associate-*r/2.6%

        \[\leadsto \color{blue}{\frac{\left(\left(x + 1\right) - x\right) \cdot 1}{\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{x + 1} + \sqrt[3]{x}, e^{0.6666666666666666 \cdot \mathsf{log1p}\left(x\right)}\right)}} \]
      3. *-rgt-identity2.6%

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

        \[\leadsto \frac{\color{blue}{\left(1 + x\right)} - x}{\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{x + 1} + \sqrt[3]{x}, e^{0.6666666666666666 \cdot \mathsf{log1p}\left(x\right)}\right)} \]
      5. associate--l+50.8%

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

        \[\leadsto \frac{1 + \color{blue}{0}}{\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{x + 1} + \sqrt[3]{x}, e^{0.6666666666666666 \cdot \mathsf{log1p}\left(x\right)}\right)} \]
      7. metadata-eval50.8%

        \[\leadsto \frac{\color{blue}{1}}{\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{x + 1} + \sqrt[3]{x}, e^{0.6666666666666666 \cdot \mathsf{log1p}\left(x\right)}\right)} \]
      8. reciprocal-undefine21.9%

        \[\leadsto \color{blue}{\mathsf{reciprocal}\left(\left(\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{x + 1} + \sqrt[3]{x}, e^{0.6666666666666666 \cdot \mathsf{log1p}\left(x\right)}\right)\right)\right)} \]
      9. +-commutative21.9%

        \[\leadsto \mathsf{reciprocal}\left(\left(\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{\color{blue}{1 + x}} + \sqrt[3]{x}, e^{0.6666666666666666 \cdot \mathsf{log1p}\left(x\right)}\right)\right)\right) \]
      10. exp-prod21.9%

        \[\leadsto \mathsf{reciprocal}\left(\left(\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{1 + x} + \sqrt[3]{x}, \color{blue}{{\left(e^{0.6666666666666666}\right)}^{\left(\mathsf{log1p}\left(x\right)\right)}}\right)\right)\right) \]
    6. Simplified21.9%

      \[\leadsto \color{blue}{\mathsf{reciprocal}\left(\left(\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{1 + x} + \sqrt[3]{x}, {\left(e^{0.6666666666666666}\right)}^{\left(\mathsf{log1p}\left(x\right)\right)}\right)\right)\right)} \]
    7. Step-by-step derivation
      1. reciprocal-undefine50.4%

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

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

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

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

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

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

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

        \[\leadsto e^{\mathsf{log1p}\left(\color{blue}{\mathsf{reciprocal}\left(\left(\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{x} + \sqrt[3]{x + 1}, {\left({x}^{2}\right)}^{0.3333333333333333}\right)\right)\right)}\right)} - 1 \]
      4. +-commutative4.7%

        \[\leadsto e^{\mathsf{log1p}\left(\mathsf{reciprocal}\left(\left(\mathsf{fma}\left(\sqrt[3]{x}, \color{blue}{\sqrt[3]{x + 1} + \sqrt[3]{x}}, {\left({x}^{2}\right)}^{0.3333333333333333}\right)\right)\right)\right)} - 1 \]
      5. unpow1/34.7%

        \[\leadsto e^{\mathsf{log1p}\left(\mathsf{reciprocal}\left(\left(\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{x + 1} + \sqrt[3]{x}, \color{blue}{\sqrt[3]{{x}^{2}}}\right)\right)\right)\right)} - 1 \]
      6. unpow24.7%

        \[\leadsto e^{\mathsf{log1p}\left(\mathsf{reciprocal}\left(\left(\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{x + 1} + \sqrt[3]{x}, \sqrt[3]{\color{blue}{x \cdot x}}\right)\right)\right)\right)} - 1 \]
      7. cbrt-prod4.7%

        \[\leadsto e^{\mathsf{log1p}\left(\mathsf{reciprocal}\left(\left(\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{x + 1} + \sqrt[3]{x}, \color{blue}{\sqrt[3]{x} \cdot \sqrt[3]{x}}\right)\right)\right)\right)} - 1 \]
      8. pow24.7%

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

      \[\leadsto \color{blue}{e^{\mathsf{log1p}\left(\mathsf{reciprocal}\left(\left(\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{x + 1} + \sqrt[3]{x}, {\left(\sqrt[3]{x}\right)}^{2}\right)\right)\right)\right)} - 1} \]
    12. Step-by-step derivation
      1. expm1-def39.5%

        \[\leadsto \color{blue}{\mathsf{expm1}\left(\mathsf{log1p}\left(\mathsf{reciprocal}\left(\left(\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{x + 1} + \sqrt[3]{x}, {\left(\sqrt[3]{x}\right)}^{2}\right)\right)\right)\right)\right)} \]
      2. expm1-log1p39.5%

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

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

        \[\leadsto \mathsf{reciprocal}\left(\color{blue}{\left({\left(\sqrt[3]{x}\right)}^{2} + \sqrt[3]{x} \cdot \left(\sqrt[3]{x + 1} + \sqrt[3]{x}\right)\right)}\right) \]
      5. unpow239.5%

        \[\leadsto \mathsf{reciprocal}\left(\left(\color{blue}{\sqrt[3]{x} \cdot \sqrt[3]{x}} + \sqrt[3]{x} \cdot \left(\sqrt[3]{x + 1} + \sqrt[3]{x}\right)\right)\right) \]
      6. distribute-lft-out39.5%

        \[\leadsto \mathsf{reciprocal}\left(\color{blue}{\left(\sqrt[3]{x} \cdot \left(\sqrt[3]{x} + \left(\sqrt[3]{x + 1} + \sqrt[3]{x}\right)\right)\right)}\right) \]
      7. +-commutative39.5%

        \[\leadsto \mathsf{reciprocal}\left(\left(\sqrt[3]{x} \cdot \left(\sqrt[3]{x} + \color{blue}{\left(\sqrt[3]{x} + \sqrt[3]{x + 1}\right)}\right)\right)\right) \]
      8. +-commutative39.5%

        \[\leadsto \mathsf{reciprocal}\left(\left(\sqrt[3]{x} \cdot \left(\sqrt[3]{x} + \left(\sqrt[3]{x} + \sqrt[3]{\color{blue}{1 + x}}\right)\right)\right)\right) \]
    13. Simplified39.5%

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

    if -1.31999999999999998e154 < x < -2.9e7 or 3.4e7 < x < 1.35000000000000003e154

    1. Initial program 7.0%

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

        \[\leadsto \color{blue}{\sqrt{\sqrt[3]{x + 1}} \cdot \sqrt{\sqrt[3]{x + 1}}} - \sqrt[3]{x} \]
      2. add-sqr-sqrt3.2%

        \[\leadsto \sqrt{\sqrt[3]{x + 1}} \cdot \sqrt{\sqrt[3]{x + 1}} - \color{blue}{\sqrt{\sqrt[3]{x}} \cdot \sqrt{\sqrt[3]{x}}} \]
      3. difference-of-squares3.1%

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

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

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

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

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

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

        \[\leadsto \left({\left(x + 1\right)}^{0.16666666666666666} + {x}^{\color{blue}{0.16666666666666666}}\right) \cdot \left(\sqrt{\sqrt[3]{x + 1}} - \sqrt{\sqrt[3]{x}}\right) \]
      10. pow1/32.1%

        \[\leadsto \left({\left(x + 1\right)}^{0.16666666666666666} + {x}^{0.16666666666666666}\right) \cdot \left(\sqrt{\color{blue}{{\left(x + 1\right)}^{0.3333333333333333}}} - \sqrt{\sqrt[3]{x}}\right) \]
      11. sqrt-pow12.1%

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

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

        \[\leadsto \left({\left(x + 1\right)}^{0.16666666666666666} + {x}^{0.16666666666666666}\right) \cdot \left({\left(x + 1\right)}^{0.16666666666666666} - \sqrt{\color{blue}{{x}^{0.3333333333333333}}}\right) \]
      14. sqrt-pow13.1%

        \[\leadsto \left({\left(x + 1\right)}^{0.16666666666666666} + {x}^{0.16666666666666666}\right) \cdot \left({\left(x + 1\right)}^{0.16666666666666666} - \color{blue}{{x}^{\left(\frac{0.3333333333333333}{2}\right)}}\right) \]
      15. metadata-eval3.1%

        \[\leadsto \left({\left(x + 1\right)}^{0.16666666666666666} + {x}^{0.16666666666666666}\right) \cdot \left({\left(x + 1\right)}^{0.16666666666666666} - {x}^{\color{blue}{0.16666666666666666}}\right) \]
    4. Applied egg-rr3.1%

      \[\leadsto \color{blue}{\left({\left(x + 1\right)}^{0.16666666666666666} + {x}^{0.16666666666666666}\right) \cdot \left({\left(x + 1\right)}^{0.16666666666666666} - {x}^{0.16666666666666666}\right)} \]
    5. Taylor expanded in x around inf 90.5%

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

    if -2.9e7 < x < 3.4e7

    1. Initial program 99.2%

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

        \[\leadsto \sqrt[3]{\color{blue}{\frac{x \cdot x - 1 \cdot 1}{x - 1}}} - \sqrt[3]{x} \]
      2. cbrt-div99.3%

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

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

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

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

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

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

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

    \[\leadsto \begin{array}{l} \mathbf{if}\;x \leq -1.32 \cdot 10^{+154}:\\ \;\;\;\;\mathsf{reciprocal}\left(\left(\sqrt[3]{x} \cdot \left(\sqrt[3]{x} + \left(\sqrt[3]{x + 1} + \sqrt[3]{x}\right)\right)\right)\right)\\ \mathbf{elif}\;x \leq -29000000:\\ \;\;\;\;0.3333333333333333 \cdot {\left(\frac{1}{{x}^{2}}\right)}^{0.3333333333333333}\\ \mathbf{elif}\;x \leq 34000000:\\ \;\;\;\;\frac{\sqrt[3]{\mathsf{fma}\left(x, x, -1\right)}}{\sqrt[3]{x + -1}} - \sqrt[3]{x}\\ \mathbf{elif}\;x \leq 1.35 \cdot 10^{+154}:\\ \;\;\;\;0.3333333333333333 \cdot {\left(\frac{1}{{x}^{2}}\right)}^{0.3333333333333333}\\ \mathbf{else}:\\ \;\;\;\;\mathsf{reciprocal}\left(\left(\sqrt[3]{x} \cdot \left(\sqrt[3]{x} + \left(\sqrt[3]{x + 1} + \sqrt[3]{x}\right)\right)\right)\right)\\ \end{array} \]
  5. Add Preprocessing

Alternative 9: 74.3% accurate, 0.5× speedup?

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

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

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


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

    1. Initial program 5.9%

      \[\sqrt[3]{x + 1} - \sqrt[3]{x} \]
    2. Add Preprocessing
    3. Step-by-step derivation
      1. add-sqr-sqrt2.7%

        \[\leadsto \color{blue}{\sqrt{\sqrt[3]{x + 1}} \cdot \sqrt{\sqrt[3]{x + 1}}} - \sqrt[3]{x} \]
      2. add-sqr-sqrt2.9%

        \[\leadsto \sqrt{\sqrt[3]{x + 1}} \cdot \sqrt{\sqrt[3]{x + 1}} - \color{blue}{\sqrt{\sqrt[3]{x}} \cdot \sqrt{\sqrt[3]{x}}} \]
      3. difference-of-squares2.9%

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

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

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

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

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

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

        \[\leadsto \left({\left(x + 1\right)}^{0.16666666666666666} + {x}^{\color{blue}{0.16666666666666666}}\right) \cdot \left(\sqrt{\sqrt[3]{x + 1}} - \sqrt{\sqrt[3]{x}}\right) \]
      10. pow1/31.6%

        \[\leadsto \left({\left(x + 1\right)}^{0.16666666666666666} + {x}^{0.16666666666666666}\right) \cdot \left(\sqrt{\color{blue}{{\left(x + 1\right)}^{0.3333333333333333}}} - \sqrt{\sqrt[3]{x}}\right) \]
      11. sqrt-pow11.6%

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

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

        \[\leadsto \left({\left(x + 1\right)}^{0.16666666666666666} + {x}^{0.16666666666666666}\right) \cdot \left({\left(x + 1\right)}^{0.16666666666666666} - \sqrt{\color{blue}{{x}^{0.3333333333333333}}}\right) \]
      14. sqrt-pow12.9%

        \[\leadsto \left({\left(x + 1\right)}^{0.16666666666666666} + {x}^{0.16666666666666666}\right) \cdot \left({\left(x + 1\right)}^{0.16666666666666666} - \color{blue}{{x}^{\left(\frac{0.3333333333333333}{2}\right)}}\right) \]
      15. metadata-eval2.9%

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

      \[\leadsto \color{blue}{\left({\left(x + 1\right)}^{0.16666666666666666} + {x}^{0.16666666666666666}\right) \cdot \left({\left(x + 1\right)}^{0.16666666666666666} - {x}^{0.16666666666666666}\right)} \]
    5. Taylor expanded in x around inf 50.1%

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

    if 4.99999999999999977e-7 < (-.f64 (cbrt.f64 (+.f64 x 1)) (cbrt.f64 x))

    1. Initial program 99.2%

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

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

Alternative 10: 62.5% accurate, 0.5× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_0 := \sqrt[3]{x + 1} - \sqrt[3]{x}\\ \mathbf{if}\;t_0 \leq 2 \cdot 10^{-8}:\\ \;\;\;\;0.3333333333333333 \cdot \sqrt[3]{\mathsf{reciprocal}\left(\left({x}^{2}\right)\right)}\\ \mathbf{else}:\\ \;\;\;\;t_0\\ \end{array} \end{array} \]
(FPCore (x)
 :precision binary64
 (let* ((t_0 (- (cbrt (+ x 1.0)) (cbrt x))))
   (if (<= t_0 2e-8)
     (* 0.3333333333333333 (cbrt (reciprocal (pow x 2.0))))
     t_0)))
\begin{array}{l}

\\
\begin{array}{l}
t_0 := \sqrt[3]{x + 1} - \sqrt[3]{x}\\
\mathbf{if}\;t_0 \leq 2 \cdot 10^{-8}:\\
\;\;\;\;0.3333333333333333 \cdot \sqrt[3]{\mathsf{reciprocal}\left(\left({x}^{2}\right)\right)}\\

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


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

    1. Initial program 5.5%

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

        \[\leadsto \color{blue}{\sqrt{\sqrt[3]{x + 1}} \cdot \sqrt{\sqrt[3]{x + 1}}} - \sqrt[3]{x} \]
      2. add-sqr-sqrt2.5%

        \[\leadsto \sqrt{\sqrt[3]{x + 1}} \cdot \sqrt{\sqrt[3]{x + 1}} - \color{blue}{\sqrt{\sqrt[3]{x}} \cdot \sqrt{\sqrt[3]{x}}} \]
      3. difference-of-squares2.5%

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

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

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

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

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

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

        \[\leadsto \left({\left(x + 1\right)}^{0.16666666666666666} + {x}^{\color{blue}{0.16666666666666666}}\right) \cdot \left(\sqrt{\sqrt[3]{x + 1}} - \sqrt{\sqrt[3]{x}}\right) \]
      10. pow1/31.2%

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

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

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

        \[\leadsto \left({\left(x + 1\right)}^{0.16666666666666666} + {x}^{0.16666666666666666}\right) \cdot \left({\left(x + 1\right)}^{0.16666666666666666} - \sqrt{\color{blue}{{x}^{0.3333333333333333}}}\right) \]
      14. sqrt-pow12.5%

        \[\leadsto \left({\left(x + 1\right)}^{0.16666666666666666} + {x}^{0.16666666666666666}\right) \cdot \left({\left(x + 1\right)}^{0.16666666666666666} - \color{blue}{{x}^{\left(\frac{0.3333333333333333}{2}\right)}}\right) \]
      15. metadata-eval2.5%

        \[\leadsto \left({\left(x + 1\right)}^{0.16666666666666666} + {x}^{0.16666666666666666}\right) \cdot \left({\left(x + 1\right)}^{0.16666666666666666} - {x}^{\color{blue}{0.16666666666666666}}\right) \]
    4. Applied egg-rr2.5%

      \[\leadsto \color{blue}{\left({\left(x + 1\right)}^{0.16666666666666666} + {x}^{0.16666666666666666}\right) \cdot \left({\left(x + 1\right)}^{0.16666666666666666} - {x}^{0.16666666666666666}\right)} \]
    5. Taylor expanded in x around inf 49.9%

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

        \[\leadsto 0.3333333333333333 \cdot \color{blue}{\sqrt[3]{\frac{1}{{x}^{2}}}} \]
      2. reciprocal-define24.4%

        \[\leadsto 0.3333333333333333 \cdot \sqrt[3]{\color{blue}{\mathsf{reciprocal}\left(\left({x}^{2}\right)\right)}} \]
    7. Simplified24.4%

      \[\leadsto \color{blue}{0.3333333333333333 \cdot \sqrt[3]{\mathsf{reciprocal}\left(\left({x}^{2}\right)\right)}} \]

    if 2e-8 < (-.f64 (cbrt.f64 (+.f64 x 1)) (cbrt.f64 x))

    1. Initial program 98.9%

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

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

Alternative 11: 60.4% accurate, 0.9× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_0 := 0.3333333333333333 \cdot \sqrt[3]{\mathsf{reciprocal}\left(\left({x}^{2}\right)\right)}\\ \mathbf{if}\;x \leq -1:\\ \;\;\;\;t_0\\ \mathbf{elif}\;x \leq 0.26:\\ \;\;\;\;1 + x \cdot -0.6666666666666666\\ \mathbf{elif}\;x \leq 1.35 \cdot 10^{+154}:\\ \;\;\;\;t_0\\ \mathbf{else}:\\ \;\;\;\;{\left(\sqrt[3]{\mathsf{reciprocal}\left(x\right)}\right)}^{2}\\ \end{array} \end{array} \]
(FPCore (x)
 :precision binary64
 (let* ((t_0 (* 0.3333333333333333 (cbrt (reciprocal (pow x 2.0))))))
   (if (<= x -1.0)
     t_0
     (if (<= x 0.26)
       (+ 1.0 (* x -0.6666666666666666))
       (if (<= x 1.35e+154) t_0 (pow (cbrt (reciprocal x)) 2.0))))))
\begin{array}{l}

\\
\begin{array}{l}
t_0 := 0.3333333333333333 \cdot \sqrt[3]{\mathsf{reciprocal}\left(\left({x}^{2}\right)\right)}\\
\mathbf{if}\;x \leq -1:\\
\;\;\;\;t_0\\

\mathbf{elif}\;x \leq 0.26:\\
\;\;\;\;1 + x \cdot -0.6666666666666666\\

\mathbf{elif}\;x \leq 1.35 \cdot 10^{+154}:\\
\;\;\;\;t_0\\

\mathbf{else}:\\
\;\;\;\;{\left(\sqrt[3]{\mathsf{reciprocal}\left(x\right)}\right)}^{2}\\


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

    1. Initial program 9.3%

      \[\sqrt[3]{x + 1} - \sqrt[3]{x} \]
    2. Add Preprocessing
    3. Step-by-step derivation
      1. add-sqr-sqrt3.9%

        \[\leadsto \color{blue}{\sqrt{\sqrt[3]{x + 1}} \cdot \sqrt{\sqrt[3]{x + 1}}} - \sqrt[3]{x} \]
      2. add-sqr-sqrt3.9%

        \[\leadsto \sqrt{\sqrt[3]{x + 1}} \cdot \sqrt{\sqrt[3]{x + 1}} - \color{blue}{\sqrt{\sqrt[3]{x}} \cdot \sqrt{\sqrt[3]{x}}} \]
      3. difference-of-squares3.9%

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

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

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

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

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

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

        \[\leadsto \left({\left(x + 1\right)}^{0.16666666666666666} + {x}^{\color{blue}{0.16666666666666666}}\right) \cdot \left(\sqrt{\sqrt[3]{x + 1}} - \sqrt{\sqrt[3]{x}}\right) \]
      10. pow1/33.2%

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

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

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

        \[\leadsto \left({\left(x + 1\right)}^{0.16666666666666666} + {x}^{0.16666666666666666}\right) \cdot \left({\left(x + 1\right)}^{0.16666666666666666} - \sqrt{\color{blue}{{x}^{0.3333333333333333}}}\right) \]
      14. sqrt-pow14.0%

        \[\leadsto \left({\left(x + 1\right)}^{0.16666666666666666} + {x}^{0.16666666666666666}\right) \cdot \left({\left(x + 1\right)}^{0.16666666666666666} - \color{blue}{{x}^{\left(\frac{0.3333333333333333}{2}\right)}}\right) \]
      15. metadata-eval4.0%

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

      \[\leadsto \color{blue}{\left({\left(x + 1\right)}^{0.16666666666666666} + {x}^{0.16666666666666666}\right) \cdot \left({\left(x + 1\right)}^{0.16666666666666666} - {x}^{0.16666666666666666}\right)} \]
    5. Taylor expanded in x around inf 65.1%

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

        \[\leadsto 0.3333333333333333 \cdot \color{blue}{\sqrt[3]{\frac{1}{{x}^{2}}}} \]
      2. reciprocal-define31.9%

        \[\leadsto 0.3333333333333333 \cdot \sqrt[3]{\color{blue}{\mathsf{reciprocal}\left(\left({x}^{2}\right)\right)}} \]
    7. Simplified31.9%

      \[\leadsto \color{blue}{0.3333333333333333 \cdot \sqrt[3]{\mathsf{reciprocal}\left(\left({x}^{2}\right)\right)}} \]

    if -1 < x < 0.26000000000000001

    1. Initial program 100.0%

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

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

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

        \[\leadsto \left(\color{blue}{\left(x + 1\right)} - {\left(\sqrt[3]{x}\right)}^{3}\right) \cdot \frac{1}{\sqrt[3]{x + 1} \cdot \sqrt[3]{x + 1} + \left(\sqrt[3]{x} \cdot \sqrt[3]{x} + \sqrt[3]{x + 1} \cdot \sqrt[3]{x}\right)} \]
      4. rem-cube-cbrt99.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)} \]
      5. reciprocal-define95.7%

        \[\leadsto \left(\left(x + 1\right) - x\right) \cdot \color{blue}{\mathsf{reciprocal}\left(\left(\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)\right)\right)} \]
      6. +-commutative95.7%

        \[\leadsto \left(\left(x + 1\right) - x\right) \cdot \mathsf{reciprocal}\left(\color{blue}{\left(\left(\sqrt[3]{x} \cdot \sqrt[3]{x} + \sqrt[3]{x + 1} \cdot \sqrt[3]{x}\right) + \sqrt[3]{x + 1} \cdot \sqrt[3]{x + 1}\right)}\right) \]
      7. distribute-rgt-out95.7%

        \[\leadsto \left(\left(x + 1\right) - x\right) \cdot \mathsf{reciprocal}\left(\left(\color{blue}{\sqrt[3]{x} \cdot \left(\sqrt[3]{x} + \sqrt[3]{x + 1}\right)} + \sqrt[3]{x + 1} \cdot \sqrt[3]{x + 1}\right)\right) \]
      8. +-commutative95.7%

        \[\leadsto \left(\left(x + 1\right) - x\right) \cdot \mathsf{reciprocal}\left(\left(\sqrt[3]{x} \cdot \color{blue}{\left(\sqrt[3]{x + 1} + \sqrt[3]{x}\right)} + \sqrt[3]{x + 1} \cdot \sqrt[3]{x + 1}\right)\right) \]
      9. fma-def95.7%

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

        \[\leadsto \left(\left(x + 1\right) - x\right) \cdot \mathsf{reciprocal}\left(\left(\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{x + 1} + \sqrt[3]{x}, \color{blue}{e^{\log \left(\sqrt[3]{x + 1} \cdot \sqrt[3]{x + 1}\right)}}\right)\right)\right) \]
    4. Applied egg-rr95.7%

      \[\leadsto \color{blue}{\left(\left(x + 1\right) - x\right) \cdot \mathsf{reciprocal}\left(\left(\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{x + 1} + \sqrt[3]{x}, e^{0.6666666666666666 \cdot \mathsf{log1p}\left(x\right)}\right)\right)\right)} \]
    5. Step-by-step derivation
      1. reciprocal-undefine99.9%

        \[\leadsto \left(\left(x + 1\right) - x\right) \cdot \color{blue}{\frac{1}{\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{x + 1} + \sqrt[3]{x}, e^{0.6666666666666666 \cdot \mathsf{log1p}\left(x\right)}\right)}} \]
      2. associate-*r/99.9%

        \[\leadsto \color{blue}{\frac{\left(\left(x + 1\right) - x\right) \cdot 1}{\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{x + 1} + \sqrt[3]{x}, e^{0.6666666666666666 \cdot \mathsf{log1p}\left(x\right)}\right)}} \]
      3. *-rgt-identity99.9%

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

        \[\leadsto \frac{\color{blue}{\left(1 + x\right)} - x}{\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{x + 1} + \sqrt[3]{x}, e^{0.6666666666666666 \cdot \mathsf{log1p}\left(x\right)}\right)} \]
      5. associate--l+99.9%

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

        \[\leadsto \frac{1 + \color{blue}{0}}{\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{x + 1} + \sqrt[3]{x}, e^{0.6666666666666666 \cdot \mathsf{log1p}\left(x\right)}\right)} \]
      7. metadata-eval99.9%

        \[\leadsto \frac{\color{blue}{1}}{\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{x + 1} + \sqrt[3]{x}, e^{0.6666666666666666 \cdot \mathsf{log1p}\left(x\right)}\right)} \]
      8. reciprocal-undefine95.7%

        \[\leadsto \color{blue}{\mathsf{reciprocal}\left(\left(\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{x + 1} + \sqrt[3]{x}, e^{0.6666666666666666 \cdot \mathsf{log1p}\left(x\right)}\right)\right)\right)} \]
      9. +-commutative95.7%

        \[\leadsto \mathsf{reciprocal}\left(\left(\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{\color{blue}{1 + x}} + \sqrt[3]{x}, e^{0.6666666666666666 \cdot \mathsf{log1p}\left(x\right)}\right)\right)\right) \]
      10. exp-prod95.7%

        \[\leadsto \mathsf{reciprocal}\left(\left(\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{1 + x} + \sqrt[3]{x}, \color{blue}{{\left(e^{0.6666666666666666}\right)}^{\left(\mathsf{log1p}\left(x\right)\right)}}\right)\right)\right) \]
    6. Simplified95.7%

      \[\leadsto \color{blue}{\mathsf{reciprocal}\left(\left(\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{1 + x} + \sqrt[3]{x}, {\left(e^{0.6666666666666666}\right)}^{\left(\mathsf{log1p}\left(x\right)\right)}\right)\right)\right)} \]
    7. Taylor expanded in x around 0 95.3%

      \[\leadsto \color{blue}{1 + -0.6666666666666666 \cdot x} \]

    if 1.35000000000000003e154 < x

    1. Initial program 4.7%

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

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

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

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

        \[\leadsto \left(\left(x + 1\right) - x\right) \cdot \color{blue}{\mathsf{reciprocal}\left(\left(\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)\right)\right)} \]
      6. +-commutative4.7%

        \[\leadsto \left(\left(x + 1\right) - x\right) \cdot \mathsf{reciprocal}\left(\color{blue}{\left(\left(\sqrt[3]{x} \cdot \sqrt[3]{x} + \sqrt[3]{x + 1} \cdot \sqrt[3]{x}\right) + \sqrt[3]{x + 1} \cdot \sqrt[3]{x + 1}\right)}\right) \]
      7. distribute-rgt-out4.7%

        \[\leadsto \left(\left(x + 1\right) - x\right) \cdot \mathsf{reciprocal}\left(\left(\color{blue}{\sqrt[3]{x} \cdot \left(\sqrt[3]{x} + \sqrt[3]{x + 1}\right)} + \sqrt[3]{x + 1} \cdot \sqrt[3]{x + 1}\right)\right) \]
      8. +-commutative4.7%

        \[\leadsto \left(\left(x + 1\right) - x\right) \cdot \mathsf{reciprocal}\left(\left(\sqrt[3]{x} \cdot \color{blue}{\left(\sqrt[3]{x + 1} + \sqrt[3]{x}\right)} + \sqrt[3]{x + 1} \cdot \sqrt[3]{x + 1}\right)\right) \]
      9. fma-def4.7%

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

        \[\leadsto \left(\left(x + 1\right) - x\right) \cdot \mathsf{reciprocal}\left(\left(\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{x + 1} + \sqrt[3]{x}, \color{blue}{e^{\log \left(\sqrt[3]{x + 1} \cdot \sqrt[3]{x + 1}\right)}}\right)\right)\right) \]
    4. Applied egg-rr4.7%

      \[\leadsto \color{blue}{\left(\left(x + 1\right) - x\right) \cdot \mathsf{reciprocal}\left(\left(\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{x + 1} + \sqrt[3]{x}, e^{0.6666666666666666 \cdot \mathsf{log1p}\left(x\right)}\right)\right)\right)} \]
    5. Step-by-step derivation
      1. reciprocal-undefine4.7%

        \[\leadsto \left(\left(x + 1\right) - x\right) \cdot \color{blue}{\frac{1}{\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{x + 1} + \sqrt[3]{x}, e^{0.6666666666666666 \cdot \mathsf{log1p}\left(x\right)}\right)}} \]
      2. associate-*r/4.7%

        \[\leadsto \color{blue}{\frac{\left(\left(x + 1\right) - x\right) \cdot 1}{\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{x + 1} + \sqrt[3]{x}, e^{0.6666666666666666 \cdot \mathsf{log1p}\left(x\right)}\right)}} \]
      3. *-rgt-identity4.7%

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

        \[\leadsto \frac{\color{blue}{\left(1 + x\right)} - x}{\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{x + 1} + \sqrt[3]{x}, e^{0.6666666666666666 \cdot \mathsf{log1p}\left(x\right)}\right)} \]
      5. associate--l+92.1%

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

        \[\leadsto \frac{1 + \color{blue}{0}}{\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{x + 1} + \sqrt[3]{x}, e^{0.6666666666666666 \cdot \mathsf{log1p}\left(x\right)}\right)} \]
      7. metadata-eval92.1%

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

        \[\leadsto \color{blue}{\mathsf{reciprocal}\left(\left(\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{x + 1} + \sqrt[3]{x}, e^{0.6666666666666666 \cdot \mathsf{log1p}\left(x\right)}\right)\right)\right)} \]
      9. +-commutative39.8%

        \[\leadsto \mathsf{reciprocal}\left(\left(\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{\color{blue}{1 + x}} + \sqrt[3]{x}, e^{0.6666666666666666 \cdot \mathsf{log1p}\left(x\right)}\right)\right)\right) \]
      10. exp-prod39.8%

        \[\leadsto \mathsf{reciprocal}\left(\left(\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{1 + x} + \sqrt[3]{x}, \color{blue}{{\left(e^{0.6666666666666666}\right)}^{\left(\mathsf{log1p}\left(x\right)\right)}}\right)\right)\right) \]
    6. Simplified39.8%

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

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

        \[\leadsto \color{blue}{\sqrt[3]{\frac{1}{{x}^{2}}}} \]
      2. reciprocal-define4.7%

        \[\leadsto \sqrt[3]{\color{blue}{\mathsf{reciprocal}\left(\left({x}^{2}\right)\right)}} \]
    9. Simplified4.7%

      \[\leadsto \color{blue}{\sqrt[3]{\mathsf{reciprocal}\left(\left({x}^{2}\right)\right)}} \]
    10. Step-by-step derivation
      1. add-sqr-sqrt4.7%

        \[\leadsto \sqrt[3]{\color{blue}{\sqrt{\mathsf{reciprocal}\left(\left({x}^{2}\right)\right)} \cdot \sqrt{\mathsf{reciprocal}\left(\left({x}^{2}\right)\right)}}} \]
      2. cbrt-prod4.7%

        \[\leadsto \color{blue}{\sqrt[3]{\sqrt{\mathsf{reciprocal}\left(\left({x}^{2}\right)\right)}} \cdot \sqrt[3]{\sqrt{\mathsf{reciprocal}\left(\left({x}^{2}\right)\right)}}} \]
      3. reciprocal-undefine4.7%

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

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

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

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

        \[\leadsto \sqrt[3]{\frac{1}{\color{blue}{\sqrt{x} \cdot \sqrt{x}}}} \cdot \sqrt[3]{\sqrt{\mathsf{reciprocal}\left(\left({x}^{2}\right)\right)}} \]
      8. add-sqr-sqrt4.7%

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

        \[\leadsto \sqrt[3]{\color{blue}{\mathsf{reciprocal}\left(x\right)}} \cdot \sqrt[3]{\sqrt{\mathsf{reciprocal}\left(\left({x}^{2}\right)\right)}} \]
      10. reciprocal-undefine4.7%

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

        \[\leadsto \sqrt[3]{\mathsf{reciprocal}\left(x\right)} \cdot \sqrt[3]{\color{blue}{\frac{\sqrt{1}}{\sqrt{{x}^{2}}}}} \]
      12. metadata-eval4.7%

        \[\leadsto \sqrt[3]{\mathsf{reciprocal}\left(x\right)} \cdot \sqrt[3]{\frac{\color{blue}{1}}{\sqrt{{x}^{2}}}} \]
      13. unpow24.7%

        \[\leadsto \sqrt[3]{\mathsf{reciprocal}\left(x\right)} \cdot \sqrt[3]{\frac{1}{\sqrt{\color{blue}{x \cdot x}}}} \]
      14. sqrt-prod17.7%

        \[\leadsto \sqrt[3]{\mathsf{reciprocal}\left(x\right)} \cdot \sqrt[3]{\frac{1}{\color{blue}{\sqrt{x} \cdot \sqrt{x}}}} \]
      15. add-sqr-sqrt17.7%

        \[\leadsto \sqrt[3]{\mathsf{reciprocal}\left(x\right)} \cdot \sqrt[3]{\frac{1}{\color{blue}{x}}} \]
      16. reciprocal-define17.7%

        \[\leadsto \sqrt[3]{\mathsf{reciprocal}\left(x\right)} \cdot \sqrt[3]{\color{blue}{\mathsf{reciprocal}\left(x\right)}} \]
    11. Applied egg-rr17.7%

      \[\leadsto \color{blue}{\sqrt[3]{\mathsf{reciprocal}\left(x\right)} \cdot \sqrt[3]{\mathsf{reciprocal}\left(x\right)}} \]
    12. Step-by-step derivation
      1. unpow217.7%

        \[\leadsto \color{blue}{{\left(\sqrt[3]{\mathsf{reciprocal}\left(x\right)}\right)}^{2}} \]
    13. Simplified17.7%

      \[\leadsto \color{blue}{{\left(\sqrt[3]{\mathsf{reciprocal}\left(x\right)}\right)}^{2}} \]
  3. Recombined 3 regimes into one program.
  4. Final simplification62.1%

    \[\leadsto \begin{array}{l} \mathbf{if}\;x \leq -1:\\ \;\;\;\;0.3333333333333333 \cdot \sqrt[3]{\mathsf{reciprocal}\left(\left({x}^{2}\right)\right)}\\ \mathbf{elif}\;x \leq 0.26:\\ \;\;\;\;1 + x \cdot -0.6666666666666666\\ \mathbf{elif}\;x \leq 1.35 \cdot 10^{+154}:\\ \;\;\;\;0.3333333333333333 \cdot \sqrt[3]{\mathsf{reciprocal}\left(\left({x}^{2}\right)\right)}\\ \mathbf{else}:\\ \;\;\;\;{\left(\sqrt[3]{\mathsf{reciprocal}\left(x\right)}\right)}^{2}\\ \end{array} \]
  5. Add Preprocessing

Alternative 12: 55.8% accurate, 1.0× speedup?

\[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;x \leq -0.38:\\ \;\;\;\;\mathsf{reciprocal}\left(\left({\left(\sqrt[3]{x}\right)}^{2}\right)\right)\\ \mathbf{elif}\;x \leq 1.4:\\ \;\;\;\;1 + x \cdot -0.6666666666666666\\ \mathbf{else}:\\ \;\;\;\;e^{\log x \cdot \left(-0.6666666666666666\right)}\\ \end{array} \end{array} \]
(FPCore (x)
 :precision binary64
 (if (<= x -0.38)
   (reciprocal (pow (cbrt x) 2.0))
   (if (<= x 1.4)
     (+ 1.0 (* x -0.6666666666666666))
     (exp (* (log x) (- 0.6666666666666666))))))
\begin{array}{l}

\\
\begin{array}{l}
\mathbf{if}\;x \leq -0.38:\\
\;\;\;\;\mathsf{reciprocal}\left(\left({\left(\sqrt[3]{x}\right)}^{2}\right)\right)\\

\mathbf{elif}\;x \leq 1.4:\\
\;\;\;\;1 + x \cdot -0.6666666666666666\\

\mathbf{else}:\\
\;\;\;\;e^{\log x \cdot \left(-0.6666666666666666\right)}\\


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

    1. Initial program 10.1%

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

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

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

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

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

        \[\leadsto \left(\left(x + 1\right) - x\right) \cdot \color{blue}{\mathsf{reciprocal}\left(\left(\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)\right)\right)} \]
      6. +-commutative8.3%

        \[\leadsto \left(\left(x + 1\right) - x\right) \cdot \mathsf{reciprocal}\left(\color{blue}{\left(\left(\sqrt[3]{x} \cdot \sqrt[3]{x} + \sqrt[3]{x + 1} \cdot \sqrt[3]{x}\right) + \sqrt[3]{x + 1} \cdot \sqrt[3]{x + 1}\right)}\right) \]
      7. distribute-rgt-out8.3%

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

        \[\leadsto \left(\left(x + 1\right) - x\right) \cdot \mathsf{reciprocal}\left(\left(\sqrt[3]{x} \cdot \color{blue}{\left(\sqrt[3]{x + 1} + \sqrt[3]{x}\right)} + \sqrt[3]{x + 1} \cdot \sqrt[3]{x + 1}\right)\right) \]
      9. fma-def8.3%

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

        \[\leadsto \left(\left(x + 1\right) - x\right) \cdot \mathsf{reciprocal}\left(\left(\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{x + 1} + \sqrt[3]{x}, \color{blue}{e^{\log \left(\sqrt[3]{x + 1} \cdot \sqrt[3]{x + 1}\right)}}\right)\right)\right) \]
    4. Applied egg-rr0.8%

      \[\leadsto \color{blue}{\left(\left(x + 1\right) - x\right) \cdot \mathsf{reciprocal}\left(\left(\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{x + 1} + \sqrt[3]{x}, e^{0.6666666666666666 \cdot \mathsf{log1p}\left(x\right)}\right)\right)\right)} \]
    5. Step-by-step derivation
      1. reciprocal-undefine1.6%

        \[\leadsto \left(\left(x + 1\right) - x\right) \cdot \color{blue}{\frac{1}{\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{x + 1} + \sqrt[3]{x}, e^{0.6666666666666666 \cdot \mathsf{log1p}\left(x\right)}\right)}} \]
      2. associate-*r/1.6%

        \[\leadsto \color{blue}{\frac{\left(\left(x + 1\right) - x\right) \cdot 1}{\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{x + 1} + \sqrt[3]{x}, e^{0.6666666666666666 \cdot \mathsf{log1p}\left(x\right)}\right)}} \]
      3. *-rgt-identity1.6%

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

        \[\leadsto \frac{\color{blue}{\left(1 + x\right)} - x}{\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{x + 1} + \sqrt[3]{x}, e^{0.6666666666666666 \cdot \mathsf{log1p}\left(x\right)}\right)} \]
      5. associate--l+1.6%

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

        \[\leadsto \frac{1 + \color{blue}{0}}{\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{x + 1} + \sqrt[3]{x}, e^{0.6666666666666666 \cdot \mathsf{log1p}\left(x\right)}\right)} \]
      7. metadata-eval1.6%

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

        \[\leadsto \color{blue}{\mathsf{reciprocal}\left(\left(\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{x + 1} + \sqrt[3]{x}, e^{0.6666666666666666 \cdot \mathsf{log1p}\left(x\right)}\right)\right)\right)} \]
      9. +-commutative0.8%

        \[\leadsto \mathsf{reciprocal}\left(\left(\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{\color{blue}{1 + x}} + \sqrt[3]{x}, e^{0.6666666666666666 \cdot \mathsf{log1p}\left(x\right)}\right)\right)\right) \]
      10. exp-prod0.8%

        \[\leadsto \mathsf{reciprocal}\left(\left(\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{1 + x} + \sqrt[3]{x}, \color{blue}{{\left(e^{0.6666666666666666}\right)}^{\left(\mathsf{log1p}\left(x\right)\right)}}\right)\right)\right) \]
    6. Simplified0.8%

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

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

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

        \[\leadsto \sqrt[3]{\color{blue}{\mathsf{reciprocal}\left(\left({x}^{2}\right)\right)}} \]
    9. Simplified12.3%

      \[\leadsto \color{blue}{\sqrt[3]{\mathsf{reciprocal}\left(\left({x}^{2}\right)\right)}} \]
    10. Step-by-step derivation
      1. reciprocal-undefine12.3%

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

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

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

        \[\leadsto \frac{1}{\sqrt[3]{\color{blue}{x \cdot x}}} \]
      5. cbrt-prod17.8%

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

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

      \[\leadsto \color{blue}{\frac{1}{{\left(\sqrt[3]{x}\right)}^{2}}} \]
    12. Step-by-step derivation
      1. reciprocal-define17.8%

        \[\leadsto \color{blue}{\mathsf{reciprocal}\left(\left({\left(\sqrt[3]{x}\right)}^{2}\right)\right)} \]
    13. Simplified17.8%

      \[\leadsto \color{blue}{\mathsf{reciprocal}\left(\left({\left(\sqrt[3]{x}\right)}^{2}\right)\right)} \]

    if -0.38 < x < 1.3999999999999999

    1. Initial program 100.0%

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

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

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

        \[\leadsto \left(\color{blue}{\left(x + 1\right)} - {\left(\sqrt[3]{x}\right)}^{3}\right) \cdot \frac{1}{\sqrt[3]{x + 1} \cdot \sqrt[3]{x + 1} + \left(\sqrt[3]{x} \cdot \sqrt[3]{x} + \sqrt[3]{x + 1} \cdot \sqrt[3]{x}\right)} \]
      4. rem-cube-cbrt99.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)} \]
      5. reciprocal-define96.1%

        \[\leadsto \left(\left(x + 1\right) - x\right) \cdot \color{blue}{\mathsf{reciprocal}\left(\left(\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)\right)\right)} \]
      6. +-commutative96.1%

        \[\leadsto \left(\left(x + 1\right) - x\right) \cdot \mathsf{reciprocal}\left(\color{blue}{\left(\left(\sqrt[3]{x} \cdot \sqrt[3]{x} + \sqrt[3]{x + 1} \cdot \sqrt[3]{x}\right) + \sqrt[3]{x + 1} \cdot \sqrt[3]{x + 1}\right)}\right) \]
      7. distribute-rgt-out96.1%

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

        \[\leadsto \left(\left(x + 1\right) - x\right) \cdot \mathsf{reciprocal}\left(\left(\sqrt[3]{x} \cdot \color{blue}{\left(\sqrt[3]{x + 1} + \sqrt[3]{x}\right)} + \sqrt[3]{x + 1} \cdot \sqrt[3]{x + 1}\right)\right) \]
      9. fma-def96.1%

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

        \[\leadsto \left(\left(x + 1\right) - x\right) \cdot \mathsf{reciprocal}\left(\left(\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{x + 1} + \sqrt[3]{x}, \color{blue}{e^{\log \left(\sqrt[3]{x + 1} \cdot \sqrt[3]{x + 1}\right)}}\right)\right)\right) \]
    4. Applied egg-rr96.1%

      \[\leadsto \color{blue}{\left(\left(x + 1\right) - x\right) \cdot \mathsf{reciprocal}\left(\left(\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{x + 1} + \sqrt[3]{x}, e^{0.6666666666666666 \cdot \mathsf{log1p}\left(x\right)}\right)\right)\right)} \]
    5. Step-by-step derivation
      1. reciprocal-undefine99.9%

        \[\leadsto \left(\left(x + 1\right) - x\right) \cdot \color{blue}{\frac{1}{\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{x + 1} + \sqrt[3]{x}, e^{0.6666666666666666 \cdot \mathsf{log1p}\left(x\right)}\right)}} \]
      2. associate-*r/99.9%

        \[\leadsto \color{blue}{\frac{\left(\left(x + 1\right) - x\right) \cdot 1}{\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{x + 1} + \sqrt[3]{x}, e^{0.6666666666666666 \cdot \mathsf{log1p}\left(x\right)}\right)}} \]
      3. *-rgt-identity99.9%

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

        \[\leadsto \frac{\color{blue}{\left(1 + x\right)} - x}{\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{x + 1} + \sqrt[3]{x}, e^{0.6666666666666666 \cdot \mathsf{log1p}\left(x\right)}\right)} \]
      5. associate--l+99.9%

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

        \[\leadsto \frac{1 + \color{blue}{0}}{\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{x + 1} + \sqrt[3]{x}, e^{0.6666666666666666 \cdot \mathsf{log1p}\left(x\right)}\right)} \]
      7. metadata-eval99.9%

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

        \[\leadsto \color{blue}{\mathsf{reciprocal}\left(\left(\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{x + 1} + \sqrt[3]{x}, e^{0.6666666666666666 \cdot \mathsf{log1p}\left(x\right)}\right)\right)\right)} \]
      9. +-commutative96.1%

        \[\leadsto \mathsf{reciprocal}\left(\left(\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{\color{blue}{1 + x}} + \sqrt[3]{x}, e^{0.6666666666666666 \cdot \mathsf{log1p}\left(x\right)}\right)\right)\right) \]
      10. exp-prod96.1%

        \[\leadsto \mathsf{reciprocal}\left(\left(\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{1 + x} + \sqrt[3]{x}, \color{blue}{{\left(e^{0.6666666666666666}\right)}^{\left(\mathsf{log1p}\left(x\right)\right)}}\right)\right)\right) \]
    6. Simplified96.1%

      \[\leadsto \color{blue}{\mathsf{reciprocal}\left(\left(\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{1 + x} + \sqrt[3]{x}, {\left(e^{0.6666666666666666}\right)}^{\left(\mathsf{log1p}\left(x\right)\right)}\right)\right)\right)} \]
    7. Taylor expanded in x around 0 95.8%

      \[\leadsto \color{blue}{1 + -0.6666666666666666 \cdot x} \]

    if 1.3999999999999999 < x

    1. Initial program 7.7%

      \[\sqrt[3]{x + 1} - \sqrt[3]{x} \]
    2. Add Preprocessing
    3. Step-by-step derivation
      1. flip3--7.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)}} \]
      2. div-inv7.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)}} \]
      3. rem-cube-cbrt7.2%

        \[\leadsto \left(\color{blue}{\left(x + 1\right)} - {\left(\sqrt[3]{x}\right)}^{3}\right) \cdot \frac{1}{\sqrt[3]{x + 1} \cdot \sqrt[3]{x + 1} + \left(\sqrt[3]{x} \cdot \sqrt[3]{x} + \sqrt[3]{x + 1} \cdot \sqrt[3]{x}\right)} \]
      4. rem-cube-cbrt9.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)} \]
      5. reciprocal-define6.3%

        \[\leadsto \left(\left(x + 1\right) - x\right) \cdot \color{blue}{\mathsf{reciprocal}\left(\left(\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)\right)\right)} \]
      6. +-commutative6.3%

        \[\leadsto \left(\left(x + 1\right) - x\right) \cdot \mathsf{reciprocal}\left(\color{blue}{\left(\left(\sqrt[3]{x} \cdot \sqrt[3]{x} + \sqrt[3]{x + 1} \cdot \sqrt[3]{x}\right) + \sqrt[3]{x + 1} \cdot \sqrt[3]{x + 1}\right)}\right) \]
      7. distribute-rgt-out6.3%

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

        \[\leadsto \left(\left(x + 1\right) - x\right) \cdot \mathsf{reciprocal}\left(\left(\sqrt[3]{x} \cdot \color{blue}{\left(\sqrt[3]{x + 1} + \sqrt[3]{x}\right)} + \sqrt[3]{x + 1} \cdot \sqrt[3]{x + 1}\right)\right) \]
      9. fma-def6.3%

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

        \[\leadsto \left(\left(x + 1\right) - x\right) \cdot \mathsf{reciprocal}\left(\left(\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{x + 1} + \sqrt[3]{x}, \color{blue}{e^{\log \left(\sqrt[3]{x + 1} \cdot \sqrt[3]{x + 1}\right)}}\right)\right)\right) \]
    4. Applied egg-rr6.3%

      \[\leadsto \color{blue}{\left(\left(x + 1\right) - x\right) \cdot \mathsf{reciprocal}\left(\left(\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{x + 1} + \sqrt[3]{x}, e^{0.6666666666666666 \cdot \mathsf{log1p}\left(x\right)}\right)\right)\right)} \]
    5. Step-by-step derivation
      1. reciprocal-undefine9.8%

        \[\leadsto \left(\left(x + 1\right) - x\right) \cdot \color{blue}{\frac{1}{\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{x + 1} + \sqrt[3]{x}, e^{0.6666666666666666 \cdot \mathsf{log1p}\left(x\right)}\right)}} \]
      2. associate-*r/9.8%

        \[\leadsto \color{blue}{\frac{\left(\left(x + 1\right) - x\right) \cdot 1}{\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{x + 1} + \sqrt[3]{x}, e^{0.6666666666666666 \cdot \mathsf{log1p}\left(x\right)}\right)}} \]
      3. *-rgt-identity9.8%

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

        \[\leadsto \frac{\color{blue}{\left(1 + x\right)} - x}{\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{x + 1} + \sqrt[3]{x}, e^{0.6666666666666666 \cdot \mathsf{log1p}\left(x\right)}\right)} \]
      5. associate--l+93.2%

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

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

        \[\leadsto \frac{\color{blue}{1}}{\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{x + 1} + \sqrt[3]{x}, e^{0.6666666666666666 \cdot \mathsf{log1p}\left(x\right)}\right)} \]
      8. reciprocal-undefine39.5%

        \[\leadsto \color{blue}{\mathsf{reciprocal}\left(\left(\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{x + 1} + \sqrt[3]{x}, e^{0.6666666666666666 \cdot \mathsf{log1p}\left(x\right)}\right)\right)\right)} \]
      9. +-commutative39.5%

        \[\leadsto \mathsf{reciprocal}\left(\left(\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{\color{blue}{1 + x}} + \sqrt[3]{x}, e^{0.6666666666666666 \cdot \mathsf{log1p}\left(x\right)}\right)\right)\right) \]
      10. exp-prod39.5%

        \[\leadsto \mathsf{reciprocal}\left(\left(\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{1 + x} + \sqrt[3]{x}, \color{blue}{{\left(e^{0.6666666666666666}\right)}^{\left(\mathsf{log1p}\left(x\right)\right)}}\right)\right)\right) \]
    6. Simplified39.5%

      \[\leadsto \color{blue}{\mathsf{reciprocal}\left(\left(\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{1 + x} + \sqrt[3]{x}, {\left(e^{0.6666666666666666}\right)}^{\left(\mathsf{log1p}\left(x\right)\right)}\right)\right)\right)} \]
    7. Step-by-step derivation
      1. add-exp-log39.5%

        \[\leadsto \color{blue}{e^{\log \mathsf{reciprocal}\left(\left(\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{1 + x} + \sqrt[3]{x}, {\left(e^{0.6666666666666666}\right)}^{\left(\mathsf{log1p}\left(x\right)\right)}\right)\right)\right)}} \]
      2. reciprocal-undefine91.6%

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

        \[\leadsto e^{\color{blue}{-\log \left(\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{1 + x} + \sqrt[3]{x}, {\left(e^{0.6666666666666666}\right)}^{\left(\mathsf{log1p}\left(x\right)\right)}\right)\right)}} \]
      4. +-commutative91.6%

        \[\leadsto e^{-\log \left(\mathsf{fma}\left(\sqrt[3]{x}, \color{blue}{\sqrt[3]{x} + \sqrt[3]{1 + x}}, {\left(e^{0.6666666666666666}\right)}^{\left(\mathsf{log1p}\left(x\right)\right)}\right)\right)} \]
      5. +-commutative91.6%

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

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

      \[\leadsto \color{blue}{e^{-\log \left({\left(\frac{1}{x}\right)}^{-0.6666666666666666}\right)}} \]
    10. Step-by-step derivation
      1. reciprocal-define17.7%

        \[\leadsto e^{-\log \left({\color{blue}{\mathsf{reciprocal}\left(x\right)}}^{-0.6666666666666666}\right)} \]
      2. log-pow17.7%

        \[\leadsto e^{-\color{blue}{-0.6666666666666666 \cdot \log \mathsf{reciprocal}\left(x\right)}} \]
      3. reciprocal-define17.7%

        \[\leadsto e^{--0.6666666666666666 \cdot \log \color{blue}{\left(\frac{1}{x}\right)}} \]
      4. distribute-lft-neg-in17.7%

        \[\leadsto e^{\color{blue}{\left(--0.6666666666666666\right) \cdot \log \left(\frac{1}{x}\right)}} \]
      5. metadata-eval17.7%

        \[\leadsto e^{\color{blue}{0.6666666666666666} \cdot \log \left(\frac{1}{x}\right)} \]
      6. log-rec17.7%

        \[\leadsto e^{0.6666666666666666 \cdot \color{blue}{\left(-\log x\right)}} \]
    11. Simplified17.7%

      \[\leadsto \color{blue}{e^{0.6666666666666666 \cdot \left(-\log x\right)}} \]
  3. Recombined 3 regimes into one program.
  4. Final simplification56.8%

    \[\leadsto \begin{array}{l} \mathbf{if}\;x \leq -0.38:\\ \;\;\;\;\mathsf{reciprocal}\left(\left({\left(\sqrt[3]{x}\right)}^{2}\right)\right)\\ \mathbf{elif}\;x \leq 1.4:\\ \;\;\;\;1 + x \cdot -0.6666666666666666\\ \mathbf{else}:\\ \;\;\;\;e^{\log x \cdot \left(-0.6666666666666666\right)}\\ \end{array} \]
  5. Add Preprocessing

Alternative 13: 55.8% accurate, 1.0× speedup?

\[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;x \leq -0.38 \lor \neg \left(x \leq 1.4\right):\\ \;\;\;\;\mathsf{reciprocal}\left(\left({\left(\sqrt[3]{x}\right)}^{2}\right)\right)\\ \mathbf{else}:\\ \;\;\;\;1 + x \cdot -0.6666666666666666\\ \end{array} \end{array} \]
(FPCore (x)
 :precision binary64
 (if (or (<= x -0.38) (not (<= x 1.4)))
   (reciprocal (pow (cbrt x) 2.0))
   (+ 1.0 (* x -0.6666666666666666))))
\begin{array}{l}

\\
\begin{array}{l}
\mathbf{if}\;x \leq -0.38 \lor \neg \left(x \leq 1.4\right):\\
\;\;\;\;\mathsf{reciprocal}\left(\left({\left(\sqrt[3]{x}\right)}^{2}\right)\right)\\

\mathbf{else}:\\
\;\;\;\;1 + x \cdot -0.6666666666666666\\


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

    1. Initial program 8.9%

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

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

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

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

        \[\leadsto \left(\left(x + 1\right) - x\right) \cdot \color{blue}{\mathsf{reciprocal}\left(\left(\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)\right)\right)} \]
      6. +-commutative7.2%

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

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

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

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

        \[\leadsto \left(\left(x + 1\right) - x\right) \cdot \mathsf{reciprocal}\left(\left(\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{x + 1} + \sqrt[3]{x}, \color{blue}{e^{\log \left(\sqrt[3]{x + 1} \cdot \sqrt[3]{x + 1}\right)}}\right)\right)\right) \]
    4. Applied egg-rr3.7%

      \[\leadsto \color{blue}{\left(\left(x + 1\right) - x\right) \cdot \mathsf{reciprocal}\left(\left(\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{x + 1} + \sqrt[3]{x}, e^{0.6666666666666666 \cdot \mathsf{log1p}\left(x\right)}\right)\right)\right)} \]
    5. Step-by-step derivation
      1. reciprocal-undefine5.9%

        \[\leadsto \left(\left(x + 1\right) - x\right) \cdot \color{blue}{\frac{1}{\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{x + 1} + \sqrt[3]{x}, e^{0.6666666666666666 \cdot \mathsf{log1p}\left(x\right)}\right)}} \]
      2. associate-*r/5.9%

        \[\leadsto \color{blue}{\frac{\left(\left(x + 1\right) - x\right) \cdot 1}{\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{x + 1} + \sqrt[3]{x}, e^{0.6666666666666666 \cdot \mathsf{log1p}\left(x\right)}\right)}} \]
      3. *-rgt-identity5.9%

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

        \[\leadsto \frac{\color{blue}{\left(1 + x\right)} - x}{\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{x + 1} + \sqrt[3]{x}, e^{0.6666666666666666 \cdot \mathsf{log1p}\left(x\right)}\right)} \]
      5. associate--l+49.5%

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

        \[\leadsto \frac{1 + \color{blue}{0}}{\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{x + 1} + \sqrt[3]{x}, e^{0.6666666666666666 \cdot \mathsf{log1p}\left(x\right)}\right)} \]
      7. metadata-eval49.5%

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

        \[\leadsto \color{blue}{\mathsf{reciprocal}\left(\left(\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{x + 1} + \sqrt[3]{x}, e^{0.6666666666666666 \cdot \mathsf{log1p}\left(x\right)}\right)\right)\right)} \]
      9. +-commutative21.1%

        \[\leadsto \mathsf{reciprocal}\left(\left(\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{\color{blue}{1 + x}} + \sqrt[3]{x}, e^{0.6666666666666666 \cdot \mathsf{log1p}\left(x\right)}\right)\right)\right) \]
      10. exp-prod21.1%

        \[\leadsto \mathsf{reciprocal}\left(\left(\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{1 + x} + \sqrt[3]{x}, \color{blue}{{\left(e^{0.6666666666666666}\right)}^{\left(\mathsf{log1p}\left(x\right)\right)}}\right)\right)\right) \]
    6. Simplified21.1%

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

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

        \[\leadsto \color{blue}{\sqrt[3]{\frac{1}{{x}^{2}}}} \]
      2. reciprocal-define11.9%

        \[\leadsto \sqrt[3]{\color{blue}{\mathsf{reciprocal}\left(\left({x}^{2}\right)\right)}} \]
    9. Simplified11.9%

      \[\leadsto \color{blue}{\sqrt[3]{\mathsf{reciprocal}\left(\left({x}^{2}\right)\right)}} \]
    10. Step-by-step derivation
      1. reciprocal-undefine11.9%

        \[\leadsto \sqrt[3]{\color{blue}{\frac{1}{{x}^{2}}}} \]
      2. cbrt-div11.9%

        \[\leadsto \color{blue}{\frac{\sqrt[3]{1}}{\sqrt[3]{{x}^{2}}}} \]
      3. metadata-eval11.9%

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

        \[\leadsto \frac{1}{\sqrt[3]{\color{blue}{x \cdot x}}} \]
      5. cbrt-prod17.8%

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

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

      \[\leadsto \color{blue}{\frac{1}{{\left(\sqrt[3]{x}\right)}^{2}}} \]
    12. Step-by-step derivation
      1. reciprocal-define17.8%

        \[\leadsto \color{blue}{\mathsf{reciprocal}\left(\left({\left(\sqrt[3]{x}\right)}^{2}\right)\right)} \]
    13. Simplified17.8%

      \[\leadsto \color{blue}{\mathsf{reciprocal}\left(\left({\left(\sqrt[3]{x}\right)}^{2}\right)\right)} \]

    if -0.38 < x < 1.3999999999999999

    1. Initial program 100.0%

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

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

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

        \[\leadsto \left(\color{blue}{\left(x + 1\right)} - {\left(\sqrt[3]{x}\right)}^{3}\right) \cdot \frac{1}{\sqrt[3]{x + 1} \cdot \sqrt[3]{x + 1} + \left(\sqrt[3]{x} \cdot \sqrt[3]{x} + \sqrt[3]{x + 1} \cdot \sqrt[3]{x}\right)} \]
      4. rem-cube-cbrt99.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)} \]
      5. reciprocal-define96.1%

        \[\leadsto \left(\left(x + 1\right) - x\right) \cdot \color{blue}{\mathsf{reciprocal}\left(\left(\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)\right)\right)} \]
      6. +-commutative96.1%

        \[\leadsto \left(\left(x + 1\right) - x\right) \cdot \mathsf{reciprocal}\left(\color{blue}{\left(\left(\sqrt[3]{x} \cdot \sqrt[3]{x} + \sqrt[3]{x + 1} \cdot \sqrt[3]{x}\right) + \sqrt[3]{x + 1} \cdot \sqrt[3]{x + 1}\right)}\right) \]
      7. distribute-rgt-out96.1%

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

        \[\leadsto \left(\left(x + 1\right) - x\right) \cdot \mathsf{reciprocal}\left(\left(\sqrt[3]{x} \cdot \color{blue}{\left(\sqrt[3]{x + 1} + \sqrt[3]{x}\right)} + \sqrt[3]{x + 1} \cdot \sqrt[3]{x + 1}\right)\right) \]
      9. fma-def96.1%

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

        \[\leadsto \left(\left(x + 1\right) - x\right) \cdot \mathsf{reciprocal}\left(\left(\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{x + 1} + \sqrt[3]{x}, \color{blue}{e^{\log \left(\sqrt[3]{x + 1} \cdot \sqrt[3]{x + 1}\right)}}\right)\right)\right) \]
    4. Applied egg-rr96.1%

      \[\leadsto \color{blue}{\left(\left(x + 1\right) - x\right) \cdot \mathsf{reciprocal}\left(\left(\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{x + 1} + \sqrt[3]{x}, e^{0.6666666666666666 \cdot \mathsf{log1p}\left(x\right)}\right)\right)\right)} \]
    5. Step-by-step derivation
      1. reciprocal-undefine99.9%

        \[\leadsto \left(\left(x + 1\right) - x\right) \cdot \color{blue}{\frac{1}{\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{x + 1} + \sqrt[3]{x}, e^{0.6666666666666666 \cdot \mathsf{log1p}\left(x\right)}\right)}} \]
      2. associate-*r/99.9%

        \[\leadsto \color{blue}{\frac{\left(\left(x + 1\right) - x\right) \cdot 1}{\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{x + 1} + \sqrt[3]{x}, e^{0.6666666666666666 \cdot \mathsf{log1p}\left(x\right)}\right)}} \]
      3. *-rgt-identity99.9%

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

        \[\leadsto \frac{\color{blue}{\left(1 + x\right)} - x}{\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{x + 1} + \sqrt[3]{x}, e^{0.6666666666666666 \cdot \mathsf{log1p}\left(x\right)}\right)} \]
      5. associate--l+99.9%

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

        \[\leadsto \frac{1 + \color{blue}{0}}{\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{x + 1} + \sqrt[3]{x}, e^{0.6666666666666666 \cdot \mathsf{log1p}\left(x\right)}\right)} \]
      7. metadata-eval99.9%

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

        \[\leadsto \color{blue}{\mathsf{reciprocal}\left(\left(\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{x + 1} + \sqrt[3]{x}, e^{0.6666666666666666 \cdot \mathsf{log1p}\left(x\right)}\right)\right)\right)} \]
      9. +-commutative96.1%

        \[\leadsto \mathsf{reciprocal}\left(\left(\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{\color{blue}{1 + x}} + \sqrt[3]{x}, e^{0.6666666666666666 \cdot \mathsf{log1p}\left(x\right)}\right)\right)\right) \]
      10. exp-prod96.1%

        \[\leadsto \mathsf{reciprocal}\left(\left(\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{1 + x} + \sqrt[3]{x}, \color{blue}{{\left(e^{0.6666666666666666}\right)}^{\left(\mathsf{log1p}\left(x\right)\right)}}\right)\right)\right) \]
    6. Simplified96.1%

      \[\leadsto \color{blue}{\mathsf{reciprocal}\left(\left(\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{1 + x} + \sqrt[3]{x}, {\left(e^{0.6666666666666666}\right)}^{\left(\mathsf{log1p}\left(x\right)\right)}\right)\right)\right)} \]
    7. Taylor expanded in x around 0 95.8%

      \[\leadsto \color{blue}{1 + -0.6666666666666666 \cdot x} \]
  3. Recombined 2 regimes into one program.
  4. Final simplification56.8%

    \[\leadsto \begin{array}{l} \mathbf{if}\;x \leq -0.38 \lor \neg \left(x \leq 1.4\right):\\ \;\;\;\;\mathsf{reciprocal}\left(\left({\left(\sqrt[3]{x}\right)}^{2}\right)\right)\\ \mathbf{else}:\\ \;\;\;\;1 + x \cdot -0.6666666666666666\\ \end{array} \]
  5. Add Preprocessing

Alternative 14: 55.8% accurate, 1.0× speedup?

\[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;x \leq -0.38:\\ \;\;\;\;\mathsf{reciprocal}\left(\left({\left(\sqrt[3]{x}\right)}^{2}\right)\right)\\ \mathbf{elif}\;x \leq 1.4:\\ \;\;\;\;1 + x \cdot -0.6666666666666666\\ \mathbf{else}:\\ \;\;\;\;{\left(\sqrt[3]{\mathsf{reciprocal}\left(x\right)}\right)}^{2}\\ \end{array} \end{array} \]
(FPCore (x)
 :precision binary64
 (if (<= x -0.38)
   (reciprocal (pow (cbrt x) 2.0))
   (if (<= x 1.4)
     (+ 1.0 (* x -0.6666666666666666))
     (pow (cbrt (reciprocal x)) 2.0))))
\begin{array}{l}

\\
\begin{array}{l}
\mathbf{if}\;x \leq -0.38:\\
\;\;\;\;\mathsf{reciprocal}\left(\left({\left(\sqrt[3]{x}\right)}^{2}\right)\right)\\

\mathbf{elif}\;x \leq 1.4:\\
\;\;\;\;1 + x \cdot -0.6666666666666666\\

\mathbf{else}:\\
\;\;\;\;{\left(\sqrt[3]{\mathsf{reciprocal}\left(x\right)}\right)}^{2}\\


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

    1. Initial program 10.1%

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

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

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

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

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

        \[\leadsto \left(\left(x + 1\right) - x\right) \cdot \color{blue}{\mathsf{reciprocal}\left(\left(\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)\right)\right)} \]
      6. +-commutative8.3%

        \[\leadsto \left(\left(x + 1\right) - x\right) \cdot \mathsf{reciprocal}\left(\color{blue}{\left(\left(\sqrt[3]{x} \cdot \sqrt[3]{x} + \sqrt[3]{x + 1} \cdot \sqrt[3]{x}\right) + \sqrt[3]{x + 1} \cdot \sqrt[3]{x + 1}\right)}\right) \]
      7. distribute-rgt-out8.3%

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

        \[\leadsto \left(\left(x + 1\right) - x\right) \cdot \mathsf{reciprocal}\left(\left(\sqrt[3]{x} \cdot \color{blue}{\left(\sqrt[3]{x + 1} + \sqrt[3]{x}\right)} + \sqrt[3]{x + 1} \cdot \sqrt[3]{x + 1}\right)\right) \]
      9. fma-def8.3%

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

        \[\leadsto \left(\left(x + 1\right) - x\right) \cdot \mathsf{reciprocal}\left(\left(\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{x + 1} + \sqrt[3]{x}, \color{blue}{e^{\log \left(\sqrt[3]{x + 1} \cdot \sqrt[3]{x + 1}\right)}}\right)\right)\right) \]
    4. Applied egg-rr0.8%

      \[\leadsto \color{blue}{\left(\left(x + 1\right) - x\right) \cdot \mathsf{reciprocal}\left(\left(\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{x + 1} + \sqrt[3]{x}, e^{0.6666666666666666 \cdot \mathsf{log1p}\left(x\right)}\right)\right)\right)} \]
    5. Step-by-step derivation
      1. reciprocal-undefine1.6%

        \[\leadsto \left(\left(x + 1\right) - x\right) \cdot \color{blue}{\frac{1}{\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{x + 1} + \sqrt[3]{x}, e^{0.6666666666666666 \cdot \mathsf{log1p}\left(x\right)}\right)}} \]
      2. associate-*r/1.6%

        \[\leadsto \color{blue}{\frac{\left(\left(x + 1\right) - x\right) \cdot 1}{\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{x + 1} + \sqrt[3]{x}, e^{0.6666666666666666 \cdot \mathsf{log1p}\left(x\right)}\right)}} \]
      3. *-rgt-identity1.6%

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

        \[\leadsto \frac{\color{blue}{\left(1 + x\right)} - x}{\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{x + 1} + \sqrt[3]{x}, e^{0.6666666666666666 \cdot \mathsf{log1p}\left(x\right)}\right)} \]
      5. associate--l+1.6%

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

        \[\leadsto \frac{1 + \color{blue}{0}}{\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{x + 1} + \sqrt[3]{x}, e^{0.6666666666666666 \cdot \mathsf{log1p}\left(x\right)}\right)} \]
      7. metadata-eval1.6%

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

        \[\leadsto \color{blue}{\mathsf{reciprocal}\left(\left(\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{x + 1} + \sqrt[3]{x}, e^{0.6666666666666666 \cdot \mathsf{log1p}\left(x\right)}\right)\right)\right)} \]
      9. +-commutative0.8%

        \[\leadsto \mathsf{reciprocal}\left(\left(\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{\color{blue}{1 + x}} + \sqrt[3]{x}, e^{0.6666666666666666 \cdot \mathsf{log1p}\left(x\right)}\right)\right)\right) \]
      10. exp-prod0.8%

        \[\leadsto \mathsf{reciprocal}\left(\left(\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{1 + x} + \sqrt[3]{x}, \color{blue}{{\left(e^{0.6666666666666666}\right)}^{\left(\mathsf{log1p}\left(x\right)\right)}}\right)\right)\right) \]
    6. Simplified0.8%

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

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

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

        \[\leadsto \sqrt[3]{\color{blue}{\mathsf{reciprocal}\left(\left({x}^{2}\right)\right)}} \]
    9. Simplified12.3%

      \[\leadsto \color{blue}{\sqrt[3]{\mathsf{reciprocal}\left(\left({x}^{2}\right)\right)}} \]
    10. Step-by-step derivation
      1. reciprocal-undefine12.3%

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

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

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

        \[\leadsto \frac{1}{\sqrt[3]{\color{blue}{x \cdot x}}} \]
      5. cbrt-prod17.8%

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

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

      \[\leadsto \color{blue}{\frac{1}{{\left(\sqrt[3]{x}\right)}^{2}}} \]
    12. Step-by-step derivation
      1. reciprocal-define17.8%

        \[\leadsto \color{blue}{\mathsf{reciprocal}\left(\left({\left(\sqrt[3]{x}\right)}^{2}\right)\right)} \]
    13. Simplified17.8%

      \[\leadsto \color{blue}{\mathsf{reciprocal}\left(\left({\left(\sqrt[3]{x}\right)}^{2}\right)\right)} \]

    if -0.38 < x < 1.3999999999999999

    1. Initial program 100.0%

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

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

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

        \[\leadsto \left(\color{blue}{\left(x + 1\right)} - {\left(\sqrt[3]{x}\right)}^{3}\right) \cdot \frac{1}{\sqrt[3]{x + 1} \cdot \sqrt[3]{x + 1} + \left(\sqrt[3]{x} \cdot \sqrt[3]{x} + \sqrt[3]{x + 1} \cdot \sqrt[3]{x}\right)} \]
      4. rem-cube-cbrt99.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)} \]
      5. reciprocal-define96.1%

        \[\leadsto \left(\left(x + 1\right) - x\right) \cdot \color{blue}{\mathsf{reciprocal}\left(\left(\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)\right)\right)} \]
      6. +-commutative96.1%

        \[\leadsto \left(\left(x + 1\right) - x\right) \cdot \mathsf{reciprocal}\left(\color{blue}{\left(\left(\sqrt[3]{x} \cdot \sqrt[3]{x} + \sqrt[3]{x + 1} \cdot \sqrt[3]{x}\right) + \sqrt[3]{x + 1} \cdot \sqrt[3]{x + 1}\right)}\right) \]
      7. distribute-rgt-out96.1%

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

        \[\leadsto \left(\left(x + 1\right) - x\right) \cdot \mathsf{reciprocal}\left(\left(\sqrt[3]{x} \cdot \color{blue}{\left(\sqrt[3]{x + 1} + \sqrt[3]{x}\right)} + \sqrt[3]{x + 1} \cdot \sqrt[3]{x + 1}\right)\right) \]
      9. fma-def96.1%

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

        \[\leadsto \left(\left(x + 1\right) - x\right) \cdot \mathsf{reciprocal}\left(\left(\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{x + 1} + \sqrt[3]{x}, \color{blue}{e^{\log \left(\sqrt[3]{x + 1} \cdot \sqrt[3]{x + 1}\right)}}\right)\right)\right) \]
    4. Applied egg-rr96.1%

      \[\leadsto \color{blue}{\left(\left(x + 1\right) - x\right) \cdot \mathsf{reciprocal}\left(\left(\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{x + 1} + \sqrt[3]{x}, e^{0.6666666666666666 \cdot \mathsf{log1p}\left(x\right)}\right)\right)\right)} \]
    5. Step-by-step derivation
      1. reciprocal-undefine99.9%

        \[\leadsto \left(\left(x + 1\right) - x\right) \cdot \color{blue}{\frac{1}{\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{x + 1} + \sqrt[3]{x}, e^{0.6666666666666666 \cdot \mathsf{log1p}\left(x\right)}\right)}} \]
      2. associate-*r/99.9%

        \[\leadsto \color{blue}{\frac{\left(\left(x + 1\right) - x\right) \cdot 1}{\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{x + 1} + \sqrt[3]{x}, e^{0.6666666666666666 \cdot \mathsf{log1p}\left(x\right)}\right)}} \]
      3. *-rgt-identity99.9%

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

        \[\leadsto \frac{\color{blue}{\left(1 + x\right)} - x}{\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{x + 1} + \sqrt[3]{x}, e^{0.6666666666666666 \cdot \mathsf{log1p}\left(x\right)}\right)} \]
      5. associate--l+99.9%

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

        \[\leadsto \frac{1 + \color{blue}{0}}{\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{x + 1} + \sqrt[3]{x}, e^{0.6666666666666666 \cdot \mathsf{log1p}\left(x\right)}\right)} \]
      7. metadata-eval99.9%

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

        \[\leadsto \color{blue}{\mathsf{reciprocal}\left(\left(\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{x + 1} + \sqrt[3]{x}, e^{0.6666666666666666 \cdot \mathsf{log1p}\left(x\right)}\right)\right)\right)} \]
      9. +-commutative96.1%

        \[\leadsto \mathsf{reciprocal}\left(\left(\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{\color{blue}{1 + x}} + \sqrt[3]{x}, e^{0.6666666666666666 \cdot \mathsf{log1p}\left(x\right)}\right)\right)\right) \]
      10. exp-prod96.1%

        \[\leadsto \mathsf{reciprocal}\left(\left(\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{1 + x} + \sqrt[3]{x}, \color{blue}{{\left(e^{0.6666666666666666}\right)}^{\left(\mathsf{log1p}\left(x\right)\right)}}\right)\right)\right) \]
    6. Simplified96.1%

      \[\leadsto \color{blue}{\mathsf{reciprocal}\left(\left(\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{1 + x} + \sqrt[3]{x}, {\left(e^{0.6666666666666666}\right)}^{\left(\mathsf{log1p}\left(x\right)\right)}\right)\right)\right)} \]
    7. Taylor expanded in x around 0 95.8%

      \[\leadsto \color{blue}{1 + -0.6666666666666666 \cdot x} \]

    if 1.3999999999999999 < x

    1. Initial program 7.7%

      \[\sqrt[3]{x + 1} - \sqrt[3]{x} \]
    2. Add Preprocessing
    3. Step-by-step derivation
      1. flip3--7.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)}} \]
      2. div-inv7.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)}} \]
      3. rem-cube-cbrt7.2%

        \[\leadsto \left(\color{blue}{\left(x + 1\right)} - {\left(\sqrt[3]{x}\right)}^{3}\right) \cdot \frac{1}{\sqrt[3]{x + 1} \cdot \sqrt[3]{x + 1} + \left(\sqrt[3]{x} \cdot \sqrt[3]{x} + \sqrt[3]{x + 1} \cdot \sqrt[3]{x}\right)} \]
      4. rem-cube-cbrt9.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)} \]
      5. reciprocal-define6.3%

        \[\leadsto \left(\left(x + 1\right) - x\right) \cdot \color{blue}{\mathsf{reciprocal}\left(\left(\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)\right)\right)} \]
      6. +-commutative6.3%

        \[\leadsto \left(\left(x + 1\right) - x\right) \cdot \mathsf{reciprocal}\left(\color{blue}{\left(\left(\sqrt[3]{x} \cdot \sqrt[3]{x} + \sqrt[3]{x + 1} \cdot \sqrt[3]{x}\right) + \sqrt[3]{x + 1} \cdot \sqrt[3]{x + 1}\right)}\right) \]
      7. distribute-rgt-out6.3%

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

        \[\leadsto \left(\left(x + 1\right) - x\right) \cdot \mathsf{reciprocal}\left(\left(\sqrt[3]{x} \cdot \color{blue}{\left(\sqrt[3]{x + 1} + \sqrt[3]{x}\right)} + \sqrt[3]{x + 1} \cdot \sqrt[3]{x + 1}\right)\right) \]
      9. fma-def6.3%

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

        \[\leadsto \left(\left(x + 1\right) - x\right) \cdot \mathsf{reciprocal}\left(\left(\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{x + 1} + \sqrt[3]{x}, \color{blue}{e^{\log \left(\sqrt[3]{x + 1} \cdot \sqrt[3]{x + 1}\right)}}\right)\right)\right) \]
    4. Applied egg-rr6.3%

      \[\leadsto \color{blue}{\left(\left(x + 1\right) - x\right) \cdot \mathsf{reciprocal}\left(\left(\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{x + 1} + \sqrt[3]{x}, e^{0.6666666666666666 \cdot \mathsf{log1p}\left(x\right)}\right)\right)\right)} \]
    5. Step-by-step derivation
      1. reciprocal-undefine9.8%

        \[\leadsto \left(\left(x + 1\right) - x\right) \cdot \color{blue}{\frac{1}{\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{x + 1} + \sqrt[3]{x}, e^{0.6666666666666666 \cdot \mathsf{log1p}\left(x\right)}\right)}} \]
      2. associate-*r/9.8%

        \[\leadsto \color{blue}{\frac{\left(\left(x + 1\right) - x\right) \cdot 1}{\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{x + 1} + \sqrt[3]{x}, e^{0.6666666666666666 \cdot \mathsf{log1p}\left(x\right)}\right)}} \]
      3. *-rgt-identity9.8%

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

        \[\leadsto \frac{\color{blue}{\left(1 + x\right)} - x}{\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{x + 1} + \sqrt[3]{x}, e^{0.6666666666666666 \cdot \mathsf{log1p}\left(x\right)}\right)} \]
      5. associate--l+93.2%

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

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

        \[\leadsto \frac{\color{blue}{1}}{\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{x + 1} + \sqrt[3]{x}, e^{0.6666666666666666 \cdot \mathsf{log1p}\left(x\right)}\right)} \]
      8. reciprocal-undefine39.5%

        \[\leadsto \color{blue}{\mathsf{reciprocal}\left(\left(\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{x + 1} + \sqrt[3]{x}, e^{0.6666666666666666 \cdot \mathsf{log1p}\left(x\right)}\right)\right)\right)} \]
      9. +-commutative39.5%

        \[\leadsto \mathsf{reciprocal}\left(\left(\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{\color{blue}{1 + x}} + \sqrt[3]{x}, e^{0.6666666666666666 \cdot \mathsf{log1p}\left(x\right)}\right)\right)\right) \]
      10. exp-prod39.5%

        \[\leadsto \mathsf{reciprocal}\left(\left(\mathsf{fma}\left(\sqrt[3]{x}, \sqrt[3]{1 + x} + \sqrt[3]{x}, \color{blue}{{\left(e^{0.6666666666666666}\right)}^{\left(\mathsf{log1p}\left(x\right)\right)}}\right)\right)\right) \]
    6. Simplified39.5%

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

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

        \[\leadsto \color{blue}{\sqrt[3]{\frac{1}{{x}^{2}}}} \]
      2. reciprocal-define11.5%

        \[\leadsto \sqrt[3]{\color{blue}{\mathsf{reciprocal}\left(\left({x}^{2}\right)\right)}} \]
    9. Simplified11.5%

      \[\leadsto \color{blue}{\sqrt[3]{\mathsf{reciprocal}\left(\left({x}^{2}\right)\right)}} \]
    10. Step-by-step derivation
      1. add-sqr-sqrt11.5%

        \[\leadsto \sqrt[3]{\color{blue}{\sqrt{\mathsf{reciprocal}\left(\left({x}^{2}\right)\right)} \cdot \sqrt{\mathsf{reciprocal}\left(\left({x}^{2}\right)\right)}}} \]
      2. cbrt-prod11.5%

        \[\leadsto \color{blue}{\sqrt[3]{\sqrt{\mathsf{reciprocal}\left(\left({x}^{2}\right)\right)}} \cdot \sqrt[3]{\sqrt{\mathsf{reciprocal}\left(\left({x}^{2}\right)\right)}}} \]
      3. reciprocal-undefine11.5%

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

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

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

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

        \[\leadsto \sqrt[3]{\frac{1}{\color{blue}{\sqrt{x} \cdot \sqrt{x}}}} \cdot \sqrt[3]{\sqrt{\mathsf{reciprocal}\left(\left({x}^{2}\right)\right)}} \]
      8. add-sqr-sqrt11.5%

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

        \[\leadsto \sqrt[3]{\color{blue}{\mathsf{reciprocal}\left(x\right)}} \cdot \sqrt[3]{\sqrt{\mathsf{reciprocal}\left(\left({x}^{2}\right)\right)}} \]
      10. reciprocal-undefine11.5%

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

        \[\leadsto \sqrt[3]{\mathsf{reciprocal}\left(x\right)} \cdot \sqrt[3]{\color{blue}{\frac{\sqrt{1}}{\sqrt{{x}^{2}}}}} \]
      12. metadata-eval11.5%

        \[\leadsto \sqrt[3]{\mathsf{reciprocal}\left(x\right)} \cdot \sqrt[3]{\frac{\color{blue}{1}}{\sqrt{{x}^{2}}}} \]
      13. unpow211.5%

        \[\leadsto \sqrt[3]{\mathsf{reciprocal}\left(x\right)} \cdot \sqrt[3]{\frac{1}{\sqrt{\color{blue}{x \cdot x}}}} \]
      14. sqrt-prod17.7%

        \[\leadsto \sqrt[3]{\mathsf{reciprocal}\left(x\right)} \cdot \sqrt[3]{\frac{1}{\color{blue}{\sqrt{x} \cdot \sqrt{x}}}} \]
      15. add-sqr-sqrt17.7%

        \[\leadsto \sqrt[3]{\mathsf{reciprocal}\left(x\right)} \cdot \sqrt[3]{\frac{1}{\color{blue}{x}}} \]
      16. reciprocal-define17.7%

        \[\leadsto \sqrt[3]{\mathsf{reciprocal}\left(x\right)} \cdot \sqrt[3]{\color{blue}{\mathsf{reciprocal}\left(x\right)}} \]
    11. Applied egg-rr17.7%

      \[\leadsto \color{blue}{\sqrt[3]{\mathsf{reciprocal}\left(x\right)} \cdot \sqrt[3]{\mathsf{reciprocal}\left(x\right)}} \]
    12. Step-by-step derivation
      1. unpow217.7%

        \[\leadsto \color{blue}{{\left(\sqrt[3]{\mathsf{reciprocal}\left(x\right)}\right)}^{2}} \]
    13. Simplified17.7%

      \[\leadsto \color{blue}{{\left(\sqrt[3]{\mathsf{reciprocal}\left(x\right)}\right)}^{2}} \]
  3. Recombined 3 regimes into one program.
  4. Final simplification56.8%

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

Alternative 15: 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 54.4%

    \[\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 16: 50.1% accurate, 205.0× speedup?

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

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

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

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

    \[\leadsto 1 \]
  5. Add Preprocessing

Reproduce

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