Average Error: 4.2 → 0.2
Time: 28.1s
Precision: 64
Internal Precision: 128
\[\sqrt{\frac{e^{2 \cdot x} - 1}{e^{x} - 1}}\]
\[\sqrt{\frac{\sqrt{e^{x} \cdot e^{x} + \left(1 - e^{x}\right)} \cdot \left(\sqrt{e^{x} + 1} \cdot \sqrt{{\left(e^{x}\right)}^{3} + 1}\right)}{e^{x} \cdot e^{x} + \left(1 - e^{x}\right)}}\]

Error

Bits error versus x

Derivation

  1. Initial program 4.2

    \[\sqrt{\frac{e^{2 \cdot x} - 1}{e^{x} - 1}}\]
  2. Simplified0.1

    \[\leadsto \color{blue}{\sqrt{e^{x} + 1}}\]
  3. Using strategy rm
  4. Applied flip3-+0.2

    \[\leadsto \sqrt{\color{blue}{\frac{{\left(e^{x}\right)}^{3} + {1}^{3}}{e^{x} \cdot e^{x} + \left(1 \cdot 1 - e^{x} \cdot 1\right)}}}\]
  5. Using strategy rm
  6. Applied add-sqr-sqrt0.2

    \[\leadsto \sqrt{\frac{\color{blue}{\sqrt{{\left(e^{x}\right)}^{3} + {1}^{3}} \cdot \sqrt{{\left(e^{x}\right)}^{3} + {1}^{3}}}}{e^{x} \cdot e^{x} + \left(1 \cdot 1 - e^{x} \cdot 1\right)}}\]
  7. Using strategy rm
  8. Applied sum-cubes0.2

    \[\leadsto \sqrt{\frac{\sqrt{\color{blue}{\left(e^{x} \cdot e^{x} + \left(1 \cdot 1 - e^{x} \cdot 1\right)\right) \cdot \left(e^{x} + 1\right)}} \cdot \sqrt{{\left(e^{x}\right)}^{3} + {1}^{3}}}{e^{x} \cdot e^{x} + \left(1 \cdot 1 - e^{x} \cdot 1\right)}}\]
  9. Applied sqrt-prod0.2

    \[\leadsto \sqrt{\frac{\color{blue}{\left(\sqrt{e^{x} \cdot e^{x} + \left(1 \cdot 1 - e^{x} \cdot 1\right)} \cdot \sqrt{e^{x} + 1}\right)} \cdot \sqrt{{\left(e^{x}\right)}^{3} + {1}^{3}}}{e^{x} \cdot e^{x} + \left(1 \cdot 1 - e^{x} \cdot 1\right)}}\]
  10. Applied associate-*l*0.2

    \[\leadsto \sqrt{\frac{\color{blue}{\sqrt{e^{x} \cdot e^{x} + \left(1 \cdot 1 - e^{x} \cdot 1\right)} \cdot \left(\sqrt{e^{x} + 1} \cdot \sqrt{{\left(e^{x}\right)}^{3} + {1}^{3}}\right)}}{e^{x} \cdot e^{x} + \left(1 \cdot 1 - e^{x} \cdot 1\right)}}\]
  11. Final simplification0.2

    \[\leadsto \sqrt{\frac{\sqrt{e^{x} \cdot e^{x} + \left(1 - e^{x}\right)} \cdot \left(\sqrt{e^{x} + 1} \cdot \sqrt{{\left(e^{x}\right)}^{3} + 1}\right)}{e^{x} \cdot e^{x} + \left(1 - e^{x}\right)}}\]

Reproduce

herbie shell --seed 2019068 
(FPCore (x)
  :name "sqrtexp (problem 3.4.4)"
  (sqrt (/ (- (exp (* 2 x)) 1) (- (exp x) 1))))