Average Error: 0.0 → 0.0
Time: 23.5s
Precision: 64
Internal precision: 128
\[e^{\left(x + y \cdot \log y\right) - z}\]
\[e^{\left(x - z\right) + \log y \cdot y}\]

Error

Bits error versus x

Bits error versus y

Bits error versus z

Target

Original0.0
Comparison0.0
Herbie0.0
\[ e^{\left(x - z\right) + \log y \cdot y} \]

Derivation

  1. Initial program 0.0

    \[e^{\left(x + y \cdot \log y\right) - z}\]
  2. Applied simplify 15.4

    \[\leadsto \color{blue}{e^{x - z} \cdot {y}^{y}}\]
  3. Using strategy rm
  4. Applied pow-to-exp 15.4

    \[\leadsto e^{x - z} \cdot \color{blue}{e^{\log y \cdot y}}\]
  5. Applied prod-exp 0.0

    \[\leadsto \color{blue}{e^{\left(x - z\right) + \log y \cdot y}}\]
  6. Removed slow pow expressions

Runtime

Time bar (total: 23.5s) Debug log

Please include this information when filing a bug report:

herbie --seed '#(586353816 1694829850 2550675368 2789438269 1758319940 2349361658)'
(FPCore (x y z)
  :name "Statistics.Distribution.Poisson.Internal:probability from math-functions-0.1.5.2"

  :target
  (exp (+ (- x z) (* (log y) y)))

  (exp (- (+ x (* y (log y))) z)))