Average Error: 0.1 → 0.1
Time: 21.6s
Precision: 64
Internal precision: 128
\[\left(\left(\left(\left(x + y\right) + y\right) + x\right) + z\right) + x\]
\[z + \left(2 \cdot y + 3 \cdot x\right)\]

Error

Bits error versus x

Bits error versus y

Bits error versus z

Target

Original0.1
Comparison0.1
Herbie0.1
\[ \left(\left(\left(\left(x + y\right) + y\right) + x\right) + z\right) + x \]

Derivation

  1. Initial program 0.1

    \[\left(\left(\left(\left(x + y\right) + y\right) + x\right) + z\right) + x\]
  2. Applied taylor 0.1

    \[\leadsto z + \left(2 \cdot y + 3 \cdot x\right)\]
  3. Taylor expanded around 0 0.1

    \[\leadsto \color{blue}{z + \left(2 \cdot y + 3 \cdot x\right)}\]
  4. Removed slow pow expressions

Runtime

Time bar (total: 21.6s) Debug log

Please include this information when filing a bug report:

herbie --seed '#(1350167340 4015612712 2585358063 2238154164 1898875439 2356239117)'
(FPCore (x y z)
  :name "Graphics.Rendering.Plot.Render.Plot.Legend:renderLegendInside from plot-0.2.3.4"

  :target
  (+ (+ (+ (+ (+ x y) y) x) z) x)

  (+ (+ (+ (+ (+ x y) y) x) z) x))