Average Error: 0.0 → 0.0
Time: 26.2s
Precision: 64
Internal precision: 128
\[\left(x \cdot x + \left(x \cdot 2.0\right) \cdot y\right) + y \cdot y\]
\[\left(x \cdot x + \left(x \cdot 2.0\right) \cdot y\right) + y \cdot y\]

Error

Bits error versus x

Bits error versus y

Target

Original0.0
Comparison0.0
Herbie0.0
\[ {x}^2 + \left({y}^2 + \left(x \cdot y\right) \cdot 2.0\right) \]

Derivation

  1. Initial program 0.0

    \[\left(x \cdot x + \left(x \cdot 2.0\right) \cdot y\right) + y \cdot y\]
  2. Removed slow pow expressions

Runtime

Time bar (total: 26.2s) Debug log

Please include this information when filing a bug report:

herbie --seed '#(421422953 1167453806 2188118109 2980585556 241897466 2825855570)'
(FPCore (x y)
  :name "Examples.Basics.ProofTests:f4 from sbv-4.4"

  :target
  (+ (sqr x) (+ (sqr y) (* (* x y) 2.0)))

  (+ (+ (* x x) (* (* x 2.0) y)) (* y y)))