Average Error: 52.0 → 52.0
Time: 11.2s
Precision: 64
\[x = 10864 \land y = 18817\]
\[\left(9 \cdot {x}^{4} - {y}^{4}\right) + 2 \cdot \left(y \cdot y\right)\]
\[2 \cdot \left(y \cdot y\right) + \sqrt[3]{\left({x}^{4} \cdot 9 - {y}^{4}\right) \cdot \left(\left({x}^{4} \cdot 9 - {y}^{4}\right) \cdot \left({x}^{4} \cdot 9 - {y}^{4}\right)\right)}\]
\left(9 \cdot {x}^{4} - {y}^{4}\right) + 2 \cdot \left(y \cdot y\right)
2 \cdot \left(y \cdot y\right) + \sqrt[3]{\left({x}^{4} \cdot 9 - {y}^{4}\right) \cdot \left(\left({x}^{4} \cdot 9 - {y}^{4}\right) \cdot \left({x}^{4} \cdot 9 - {y}^{4}\right)\right)}
double f(double x, double y) {
        double r3253580 = 9.0;
        double r3253581 = x;
        double r3253582 = 4.0;
        double r3253583 = pow(r3253581, r3253582);
        double r3253584 = r3253580 * r3253583;
        double r3253585 = y;
        double r3253586 = pow(r3253585, r3253582);
        double r3253587 = r3253584 - r3253586;
        double r3253588 = 2.0;
        double r3253589 = r3253585 * r3253585;
        double r3253590 = r3253588 * r3253589;
        double r3253591 = r3253587 + r3253590;
        return r3253591;
}

double f(double x, double y) {
        double r3253592 = 2.0;
        double r3253593 = y;
        double r3253594 = r3253593 * r3253593;
        double r3253595 = r3253592 * r3253594;
        double r3253596 = x;
        double r3253597 = 4.0;
        double r3253598 = pow(r3253596, r3253597);
        double r3253599 = 9.0;
        double r3253600 = r3253598 * r3253599;
        double r3253601 = pow(r3253593, r3253597);
        double r3253602 = r3253600 - r3253601;
        double r3253603 = r3253602 * r3253602;
        double r3253604 = r3253602 * r3253603;
        double r3253605 = cbrt(r3253604);
        double r3253606 = r3253595 + r3253605;
        return r3253606;
}

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. Final simplification52.0

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

Reproduce

herbie shell --seed 2019192 
(FPCore (x y)
  :name "From Rump in a 1983 paper"
  :pre (and (== x 10864.0) (== y 18817.0))
  (+ (- (* 9.0 (pow x 4.0)) (pow y 4.0)) (* 2.0 (* y y))))