Average Error: 0.0 → 0.0
Time: 34.6s
Precision: 64
Internal Precision: 320
\[\left(\frac{\sqrt{2}}{4} \cdot \sqrt{1 - 3 \cdot \left(v \cdot v\right)}\right) \cdot \left(1 - v \cdot v\right)\]
\[e^{\log \left(\sqrt{1 + \left(v \cdot v\right) \cdot -3}\right) + \log \left(\frac{1 - v \cdot v}{\frac{4}{\sqrt{2}}}\right)}\]

Error

Bits error versus v

Try it out

Your Program's Arguments

Results

Enter valid numbers for all inputs

Derivation

  1. Initial program 0.0

    \[\left(\frac{\sqrt{2}}{4} \cdot \sqrt{1 - 3 \cdot \left(v \cdot v\right)}\right) \cdot \left(1 - v \cdot v\right)\]
  2. Initial simplification0.0

    \[\leadsto \frac{1 - v \cdot v}{\frac{4}{\sqrt{2}}} \cdot \sqrt{-3 \cdot \left(v \cdot v\right) + 1}\]
  3. Using strategy rm
  4. Applied add-exp-log0.0

    \[\leadsto \frac{1 - v \cdot v}{\frac{4}{\sqrt{2}}} \cdot \color{blue}{e^{\log \left(\sqrt{-3 \cdot \left(v \cdot v\right) + 1}\right)}}\]
  5. Applied add-exp-log0.0

    \[\leadsto \color{blue}{e^{\log \left(\frac{1 - v \cdot v}{\frac{4}{\sqrt{2}}}\right)}} \cdot e^{\log \left(\sqrt{-3 \cdot \left(v \cdot v\right) + 1}\right)}\]
  6. Applied prod-exp0.0

    \[\leadsto \color{blue}{e^{\log \left(\frac{1 - v \cdot v}{\frac{4}{\sqrt{2}}}\right) + \log \left(\sqrt{-3 \cdot \left(v \cdot v\right) + 1}\right)}}\]
  7. Final simplification0.0

    \[\leadsto e^{\log \left(\sqrt{1 + \left(v \cdot v\right) \cdot -3}\right) + \log \left(\frac{1 - v \cdot v}{\frac{4}{\sqrt{2}}}\right)}\]

Runtime

Time bar (total: 34.6s)Debug logProfile

BaselineHerbieOracleSpan%
Regimes0.00.00.00.00%
herbie shell --seed 2018286 
(FPCore (v)
  :name "Falkner and Boettcher, Appendix B, 2"
  (* (* (/ (sqrt 2) 4) (sqrt (- 1 (* 3 (* v v))))) (- 1 (* v v))))