Average Error: 0.4 → 0.3
Time: 2.6m
Precision: 64
Internal Precision: 576
\[\frac{1 - 5 \cdot \left(v \cdot v\right)}{\left(\left(\pi \cdot t\right) \cdot \sqrt{2 \cdot \left(1 - 3 \cdot \left(v \cdot v\right)\right)}\right) \cdot \left(1 - v \cdot v\right)}\]
\[\left(\left(1 - v \cdot \left(v \cdot 5\right)\right) \cdot \frac{\frac{\frac{\frac{1}{\pi}}{t}}{1 - \left(v \cdot v\right) \cdot \left(v \cdot v\right)}}{\sqrt{2 - \left(2 \cdot v\right) \cdot \left(3 \cdot v\right)}}\right) \cdot \left(1 + v \cdot v\right)\]

Error

Bits error versus v

Bits error versus t

Derivation

  1. Initial program 0.4

    \[\frac{1 - 5 \cdot \left(v \cdot v\right)}{\left(\left(\pi \cdot t\right) \cdot \sqrt{2 \cdot \left(1 - 3 \cdot \left(v \cdot v\right)\right)}\right) \cdot \left(1 - v \cdot v\right)}\]
  2. Using strategy rm
  3. Applied flip--0.4

    \[\leadsto \frac{1 - 5 \cdot \left(v \cdot v\right)}{\left(\left(\pi \cdot t\right) \cdot \sqrt{2 \cdot \left(1 - 3 \cdot \left(v \cdot v\right)\right)}\right) \cdot \color{blue}{\frac{1 \cdot 1 - \left(v \cdot v\right) \cdot \left(v \cdot v\right)}{1 + v \cdot v}}}\]
  4. Applied associate-*r/0.4

    \[\leadsto \frac{1 - 5 \cdot \left(v \cdot v\right)}{\color{blue}{\frac{\left(\left(\pi \cdot t\right) \cdot \sqrt{2 \cdot \left(1 - 3 \cdot \left(v \cdot v\right)\right)}\right) \cdot \left(1 \cdot 1 - \left(v \cdot v\right) \cdot \left(v \cdot v\right)\right)}{1 + v \cdot v}}}\]
  5. Applied associate-/r/0.4

    \[\leadsto \color{blue}{\frac{1 - 5 \cdot \left(v \cdot v\right)}{\left(\left(\pi \cdot t\right) \cdot \sqrt{2 \cdot \left(1 - 3 \cdot \left(v \cdot v\right)\right)}\right) \cdot \left(1 \cdot 1 - \left(v \cdot v\right) \cdot \left(v \cdot v\right)\right)} \cdot \left(1 + v \cdot v\right)}\]
  6. Applied simplify0.3

    \[\leadsto \color{blue}{\frac{\frac{1 - v \cdot \left(v \cdot 5\right)}{t}}{\left(\pi \cdot \left(1 - \left(v \cdot v\right) \cdot \left(v \cdot v\right)\right)\right) \cdot \sqrt{2 \cdot \left(1 - 3 \cdot \left(v \cdot v\right)\right)}}} \cdot \left(1 + v \cdot v\right)\]
  7. Using strategy rm
  8. Applied div-inv0.3

    \[\leadsto \color{blue}{\left(\frac{1 - v \cdot \left(v \cdot 5\right)}{t} \cdot \frac{1}{\left(\pi \cdot \left(1 - \left(v \cdot v\right) \cdot \left(v \cdot v\right)\right)\right) \cdot \sqrt{2 \cdot \left(1 - 3 \cdot \left(v \cdot v\right)\right)}}\right)} \cdot \left(1 + v \cdot v\right)\]
  9. Using strategy rm
  10. Applied div-inv0.3

    \[\leadsto \left(\color{blue}{\left(\left(1 - v \cdot \left(v \cdot 5\right)\right) \cdot \frac{1}{t}\right)} \cdot \frac{1}{\left(\pi \cdot \left(1 - \left(v \cdot v\right) \cdot \left(v \cdot v\right)\right)\right) \cdot \sqrt{2 \cdot \left(1 - 3 \cdot \left(v \cdot v\right)\right)}}\right) \cdot \left(1 + v \cdot v\right)\]
  11. Applied associate-*l*0.3

    \[\leadsto \color{blue}{\left(\left(1 - v \cdot \left(v \cdot 5\right)\right) \cdot \left(\frac{1}{t} \cdot \frac{1}{\left(\pi \cdot \left(1 - \left(v \cdot v\right) \cdot \left(v \cdot v\right)\right)\right) \cdot \sqrt{2 \cdot \left(1 - 3 \cdot \left(v \cdot v\right)\right)}}\right)\right)} \cdot \left(1 + v \cdot v\right)\]
  12. Applied simplify0.3

    \[\leadsto \left(\left(1 - v \cdot \left(v \cdot 5\right)\right) \cdot \color{blue}{\frac{\frac{\frac{\frac{1}{\pi}}{t}}{1 - \left(v \cdot v\right) \cdot \left(v \cdot v\right)}}{\sqrt{2 - \left(2 \cdot v\right) \cdot \left(3 \cdot v\right)}}}\right) \cdot \left(1 + v \cdot v\right)\]

Runtime

Time bar (total: 2.6m)Debug logProfile

herbie shell --seed '#(1071979731 1496239409 439705970 2863295848 982327776 189749553)' 
(FPCore (v t)
  :name "Falkner and Boettcher, Equation (20:1,3)"
  (/ (- 1 (* 5 (* v v))) (* (* (* PI t) (sqrt (* 2 (- 1 (* 3 (* v v)))))) (- 1 (* v v)))))