Average Error: 52.0 → 52.0
Time: 7.1s
Precision: 64
\[x = 10864 \land y = 18817\]
\[\left(9 \cdot {x}^{4} - {y}^{4}\right) + 2 \cdot \left(y \cdot y\right)\]
\[\sqrt[3]{{\left(9 \cdot {x}^{4} - {y}^{4}\right)}^{3}} + 2 \cdot \left(y \cdot y\right)\]
\left(9 \cdot {x}^{4} - {y}^{4}\right) + 2 \cdot \left(y \cdot y\right)
\sqrt[3]{{\left(9 \cdot {x}^{4} - {y}^{4}\right)}^{3}} + 2 \cdot \left(y \cdot y\right)
double f(double x, double y) {
        double r39751 = 9.0;
        double r39752 = x;
        double r39753 = 4.0;
        double r39754 = pow(r39752, r39753);
        double r39755 = r39751 * r39754;
        double r39756 = y;
        double r39757 = pow(r39756, r39753);
        double r39758 = r39755 - r39757;
        double r39759 = 2.0;
        double r39760 = r39756 * r39756;
        double r39761 = r39759 * r39760;
        double r39762 = r39758 + r39761;
        return r39762;
}

double f(double x, double y) {
        double r39763 = 9.0;
        double r39764 = x;
        double r39765 = 4.0;
        double r39766 = pow(r39764, r39765);
        double r39767 = r39763 * r39766;
        double r39768 = y;
        double r39769 = pow(r39768, r39765);
        double r39770 = r39767 - r39769;
        double r39771 = 3.0;
        double r39772 = pow(r39770, r39771);
        double r39773 = cbrt(r39772);
        double r39774 = 2.0;
        double r39775 = r39768 * r39768;
        double r39776 = r39774 * r39775;
        double r39777 = r39773 + r39776;
        return r39777;
}

Error

Try it out

Your Program's Arguments

Results

Enter valid numbers for all inputs

Derivation

  1. Initial program 52.0

    \[\left(9 \cdot {x}^{4} - {y}^{4}\right) + 2 \cdot \left(y \cdot y\right)\]
  2. Using strategy rm
  3. Applied add-cbrt-cube52.0

    \[\leadsto \color{blue}{\sqrt[3]{\left(\left(9 \cdot {x}^{4} - {y}^{4}\right) \cdot \left(9 \cdot {x}^{4} - {y}^{4}\right)\right) \cdot \left(9 \cdot {x}^{4} - {y}^{4}\right)}} + 2 \cdot \left(y \cdot y\right)\]
  4. Simplified52.0

    \[\leadsto \sqrt[3]{\color{blue}{{\left(9 \cdot {x}^{4} - {y}^{4}\right)}^{3}}} + 2 \cdot \left(y \cdot y\right)\]
  5. Final simplification52.0

    \[\leadsto \sqrt[3]{{\left(9 \cdot {x}^{4} - {y}^{4}\right)}^{3}} + 2 \cdot \left(y \cdot y\right)\]

Reproduce

herbie shell --seed 2019209 
(FPCore (x y)
  :name "From Rump in a 1983 paper"
  :precision binary64
  :pre (and (== x 10864) (== y 18817))
  (+ (- (* 9 (pow x 4)) (pow y 4)) (* 2 (* y y))))