Average Error: 15.0 → 0.9
Time: 28.8s
Precision: 64
Internal Precision: 128
\[\sqrt[3]{\frac{g}{2 \cdot a}}\]
\[\sqrt[3]{g} \cdot \frac{1}{\sqrt[3]{2 \cdot a}}\]

Error

Bits error versus g

Bits error versus a

Derivation

  1. Initial program 15.0

    \[\sqrt[3]{\frac{g}{2 \cdot a}}\]
  2. Using strategy rm
  3. Applied *-un-lft-identity15.0

    \[\leadsto \sqrt[3]{\frac{g}{\color{blue}{\left(1 \cdot 2\right)} \cdot a}}\]
  4. Applied associate-*l*15.0

    \[\leadsto \sqrt[3]{\frac{g}{\color{blue}{1 \cdot \left(2 \cdot a\right)}}}\]
  5. Applied associate-/r*15.0

    \[\leadsto \sqrt[3]{\color{blue}{\frac{\frac{g}{1}}{2 \cdot a}}}\]
  6. Applied cbrt-div0.8

    \[\leadsto \color{blue}{\frac{\sqrt[3]{\frac{g}{1}}}{\sqrt[3]{2 \cdot a}}}\]
  7. Simplified0.8

    \[\leadsto \frac{\color{blue}{\sqrt[3]{g}}}{\sqrt[3]{2 \cdot a}}\]
  8. Using strategy rm
  9. Applied div-inv0.9

    \[\leadsto \color{blue}{\sqrt[3]{g} \cdot \frac{1}{\sqrt[3]{2 \cdot a}}}\]
  10. Final simplification0.9

    \[\leadsto \sqrt[3]{g} \cdot \frac{1}{\sqrt[3]{2 \cdot a}}\]

Reproduce

herbie shell --seed 2019072 
(FPCore (g a)
  :name "2-ancestry mixing, zero discriminant"
  (cbrt (/ g (* 2 a))))